/* ========== СТРАНИЦА КАТАЛОГА ========== */
.catalog-page {
  background:
    radial-gradient(circle at 80% 20%, rgba(171,191,21,.08), transparent 32%),
    var(--dark);
  color: var(--white);
}

.catalog-container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

/* ========== HERO СТРАНИЦЫ КАТАЛОГА ========== */
.catalog-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -100px;
  padding-top: 100px;
}

.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3,6,4,.95) 0%,
      rgba(3,6,4,.75) 40%,
      rgba(3,6,4,.30) 100%
    ),
    url("../img/catalog-hero.jpg") center center / cover no-repeat;
  z-index: 0;
}

.catalog-hero .catalog-container {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.catalog-hero .section-label {
  display: inline-block;
  margin-bottom: 16px;
}

.catalog-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.06em;
  max-width: 700px;
}

.catalog-hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.5;
  margin: 0;
}

.catalog-categories {
  padding: 80px 0 100px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.catalog-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 28px;
  text-decoration: none;
  background: #08100A;
  border: 1px solid rgba(171,191,21,.14);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  transition: all 0.3s ease;
}

.catalog-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.catalog-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(3,6,4,.05) 0%,
      rgba(3,6,4,.34) 45%,
      rgba(3,6,4,.92) 100%
    );
}

.catalog-card h2 {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  z-index: 2;
}

.catalog-card::after {
  content: "→";
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #071006;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 600;
  z-index: 3;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.3s ease;
}

.catalog-card:hover {
  border-color: rgba(171,191,21,.42);
  transform: translateY(-4px);
}

.catalog-card:hover img {
  transform: scale(1.07);
}

.catalog-card:hover::after {
  transform: translateY(0);
  opacity: 1;
}

.catalog-seo {
  padding: 0 0 120px;
}

.catalog-seo__box {
  padding: 60px;
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(6,14,8,.94), rgba(6,14,8,.72)),
    url("../img/pattern-reptile-bg.jpg") center / cover no-repeat;
  border: 1px solid rgba(171,191,21,.14);
}

.catalog-seo h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}

.catalog-seo p {
  max-width: 900px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.catalog-seo__button {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 58px;
  border-radius: 14px;
  background: var(--green);
  color: #071006;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
}

.catalog-seo__button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.catalog-seo__button:hover::before {
  width: 300px;
  height: 300px;
}

.catalog-seo__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(171,191,21,.28);
}

/* Адаптив для Hero и секций */
@media (max-width: 980px) {
  .catalog-hero {
    min-height: 420px;
  }
  
  .catalog-hero h1 {
    font-size: clamp(40px, 6vw, 72px);
  }
  
  .catalog-hero p {
    font-size: 20px;
  }
  
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-seo__box {
    padding: 38px;
  }
}

@media (max-width: 640px) {
  .catalog-hero {
    min-height: 380px;
    align-items: flex-end;
    padding-bottom: 40px;
  }
  
  .catalog-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
  }
  
  .catalog-hero p {
    font-size: 18px;
  }
  
  .catalog-categories {
    padding: 40px 0 60px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    aspect-ratio: 4 / 5;
  }

  .catalog-seo__box {
    padding: 28px;
  }
}