.wrap-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp .6s ease forwards;
}
.card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}
.card:nth-child(1) {
  animation-delay: .1s;
}
.card:nth-child(2) {
  animation-delay: .2s;
}
.card:nth-child(3) {
  animation-delay: .3s;
}
.card:nth-child(4) {
  animation-delay: .4s;
}
.card:nth-child(5) {
  animation-delay: .5s;
}
.card:nth-child(6) {
  animation-delay: .6s;
}
.card:nth-child(7) {
  animation-delay: .7s;
}
.card:nth-child(8) {
  animation-delay: .8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ph {
  background: linear-gradient(90deg, #f3f3f3 25%, #e8e8e8 50%, #f3f3f3 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease;
}
.card:hover .ph {
  transform: scale(1.05);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.name {
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price {
  color: #444;
  margin: 0;
  font-weight: 600;
}
.info {
  font-size: 13px;
  color: #888;
  margin-top: auto;
}
.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.btn-row a {
  flex: 1 1 140px;
  text-align: center;
}

.hero {
  background: linear-gradient(135deg, #fff 0, #f7f7f7 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px 32px;
  margin-bottom: 32px;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease .3s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: .4px;
  line-height: 1.2;
}
.hero p {
  margin: 0;
  color: #666;
  font-size: 18px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.categories {
  margin-bottom: 48px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn .5s ease forwards;
}
.cat-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px) scale(1.02);
}
.cat-card:nth-child(1) {
  animation-delay: .1s;
}
.cat-card:nth-child(2) {
  animation-delay: .2s;
}
.cat-card:nth-child(3) {
  animation-delay: .3s;
}
.cat-card:nth-child(4) {
  animation-delay: .4s;
}
.cat-card:nth-child(5) {
  animation-delay: .5s;
}
.cat-card:nth-child(6) {
  animation-delay: .6s;
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.cat-card:hover .cat-icon {
  background: #2a2a2a;
  transform: rotate(10deg) scale(1.1);
}
.cat-card:hover .cat-icon svg {
  stroke: #fff;
}
.cat-icon svg {
  width: 24px;
  height: 24px;
  stroke: #444;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s ease;
}
.cat-name {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
}

.values {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px;
  margin-bottom: 48px;
}
.val-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.val-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all .6s ease;
}
.val-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.val-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.val-item:hover .val-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(42, 42, 42, 0.3);
}
.val-icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.val-title {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
}
.val-desc {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.testimonials {
  margin-bottom: 48px;
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.test-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: all .3s ease;
  opacity: 0;
  transform: translateX(-20px);
}
.test-card.visible {
  opacity: 1;
  transform: translateX(0);
}
.test-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.test-stars {
  color: #ffa500;
  margin-bottom: 12px;
  font-size: 18px;
}
.test-text {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin: 0 0 16px;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pill);
  border: 1px solid var(--line);
}
.test-info {
  flex: 1;
}
.test-name {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
}
.test-location {
  font-size: 13px;
  color: #888;
  margin: 2px 0 0;
}

.newsletter {
  background: #2a2a2a;
  color: #fff;
  border-radius: 14px;
  padding: 48px;
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  transform: scale(0.95);
}
.newsletter.visible {
  opacity: 1;
  transform: scale(1);
  transition: all .6s ease;
}
.newsletter h2 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 800;
}
.newsletter p {
  margin: 0 0 24px;
  color: #ccc;
  font-size: 16px;
}
.nl-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}
.nl-input {
  flex: 1;
  min-width: 260px;
  height: 48px;
  border: 1px solid #444;
  border-radius: 999px;
  padding: 0 20px;
  background: #1a1a1a;
  color: #fff;
  outline: none;
  font-size: 15px;
  transition: all .3s ease;
}
.nl-input:focus {
  border-color: #666;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.nl-input::placeholder {
  color: #888;
}
.nl-btn {
  height: 48px;
  padding: 0 32px;
  background: #fff;
  color: #2a2a2a;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
}
.nl-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}
.nl-btn:active {
  transform: translateY(0);
}

.section-title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 28px;
}
.section-subtitle {
  color: #666;
  font-size: 15px;
  margin: 0;
}
