/* ============================================================
   ROOT VARIABLES — Ледяная Новогодняя Сказка
   ============================================================ */

:root {
    /* Основные фоны */
    --bg: #0b1a12; /* глубокий хвойный */
    --bg-alt: #0f2f24;
    --bg-light: #f5faff; /* снежно-ледяной */

    /* Ледяная палитра */
    --pine-green: #0f3d2e;
    --pine-green-dark: #0b2d22;
    --snow-white: #ffffff;
    --ice-blue:  linear-gradient(#21eaba, #a5a7f3);
    --ice-blue-light: #987c68;
    --frost-blue: #dff3ff;
    --frost-glow: rgba(125, 211, 252, 0.35);

    /* Текст */
    --text: #f7f9fc;
    --text-muted: #cbd5e1;
    --text-dark: #0f241a;

    /* Радиусы */
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;

    /* Тени */
    --shadow-ice: 0 18px 45px rgba(125, 211, 252, 0.25);
    --shadow-soft: 0 10px 30px rgba(255, 255, 255, 0.15);

    --transition: 0.25s ease;
    --font-main: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ============================================================
   GLOBAL
   ============================================================ */

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url('/img/background/elki.jpg');

    background-position: center;
    background-attachment: fixed; /* фон остаётся на месте */
    color: #222; 
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.section--dark {
    padding-top: 10px; /* было больше — уменьшаем */
}

/* ============================================================
   MODAL — премиальное окно с галереей
   ============================================================ */

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.modal--visible {
    opacity: 1;
    pointer-events: auto;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
}

/* Контент модалки */
.modal__content {
    position: relative;
    z-index: 2;

    background: rgba(255,255,255,0.95);
    border-radius: 22px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;

    padding: 28px;
    box-shadow: 0 18px 45px rgba(125,211,252,0.35);

    overflow-y: auto; /* ВНУТРЕННИЙ СКРОЛЛ */
    animation: modalFadeUp .45s ease forwards;
    transform: translateY(20px);
    opacity: 0;
}

@keyframes modalFadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Крестик */
.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 48px;
    height: 48px;
    border-radius: 50%;

    background: #fff;
    border: none;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;

    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: .25s ease;
}

.modal__close:hover {
    background: #f4c61f;
    color: #000;
}

/* Галерея */
.modal__gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal__image-main {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.modal__thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal__thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: .25s ease;
}

.modal__thumbs img:hover {
    border-color: #21eaba;
}

/* Информация */
.modal__info h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #0b2d22;
}

.modal__description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #333;
}

.modal__sku {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f3d2e;
}

.modal__price-box {
    background: #f5faff;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(125,211,252,0.35);
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .modal__body {
        grid-template-columns: 1fr;
    }
}



@font-face {
  font-family: 'HP001Full1-Medium';
  src: url('/fonts/babayka_font.woff2') format('woff2'),
       url('/fonts/babayka_font.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

    .vogue-vertical {
      max-width: 900px;
      margin-top: 3px;
      padding-top: 0;
      display: flex;
      flex-direction: column;
      gap: 32px;
      font-family: "Playfair Display", serif;
      color: #ffffff;
    }

    .v-line {
      font-size: 32px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      position: relative;
      padding-left: 12px;
      line-height: 1.25;
    }

    .v-line::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 3px;
      background: linear-gradient(180deg, #bfa98a, #7a5c3a);
      border-radius: 2px;
      opacity: 0.8;
    }

    .v-sub {
      font-family: "HP001Full1-Medium", sans-serif;
      font-size: 20px;
      line-height: 1.9;
      color: #000000;
      padding-left: 14px;
      position: relative;
    }

    .v-sub span {
      background: linear-gradient(#ffffff, #f4c61f);
      padding: 2px 6px;
      border-radius: 6px;
      font-weight: 500;
    }

    .v-em {
        color: #000000;
      font-style: normal;
      font-weight: 600;
      letter-spacing: 0.02em;
    }

    .v-small {
      font-family: "Montserrat", sans-serif;
      font-size: 13px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #000000;
      padding-left: 14px;
      margin-top: 12px;
    }

    /* Анимация появления строк */
    .vogue-vertical > * {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeUp 1s ease forwards;
    }

    .vogue-vertical > *:nth-child(1) { animation-delay: 0.1s; }
    .vogue-vertical > *:nth-child(2) { animation-delay: 0.25s; }
    .vogue-vertical > *:nth-child(3) { animation-delay: 0.4s; }
    .vogue-vertical > *:nth-child(4) { animation-delay: 0.55s; }
    .vogue-vertical > *:nth-child(5) { animation-delay: 0.7s; }



    @keyframes fadeUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Основной контейнер */
.about-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

/* Внутренний блок */
.about-inner {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-left: 0;
    margin-left: 0;
    transform: translateX(-90px);
    color: #ffffff;
    font-family: "Playfair Display", serif;
}

/* Заголовок с вертикальной линией */
.about-line {
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    padding-left: 14px;
}

.about-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #fff, #f7d48b);
    border-radius: 2px;
    opacity: 0.9;
}

/* Основной текст */
.about-text {
    font-family: "HP001Full1-Medium", sans-serif;
    font-size: 20px;
    line-height: 1.9;
    color: #000000;
    padding-left: 14px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpAbout 1s ease forwards;
}

/* Акцентные слова */
.about-accent {
    background: linear-gradient(90deg, #ffffff, #f4c61f);
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
}

/* Золотистый хайлайт */
.about-highlight {
    background: linear-gradient(90deg, #fff7d1, #ffe08a);
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
}

/* Нижняя строка */
.about-footer {
    margin-top: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #000000;
    padding-left: 14px;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpAbout 1s ease forwards;
    animation-delay: 0.6s;
}

/* Контейнер секции */
.contacts-section {
    padding: 80px 0;
    justify-content: center;
}

/* Внутренний блок */
.contacts-inner {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-left: 0;
    margin-left: 0; 
    transform: translateX(220px);
    color: #000000;
    font-family: "Playfair Display", serif;
}

/* Заголовок */
.contacts-title {
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    padding-left: 14px;
}

/* Вертикальная линия слева */
.contacts-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #fff, #f7d48b);
    border-radius: 2px;
    opacity: 0.9;
}

/* Подзаголовок */
.contacts-subtitle {
    font-family: "HP001Full1-Medium", sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: #000000;
    padding-left: 14px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpContacts 1s ease forwards;
    animation-delay: 0.15s;
}

/* Список контактов */
.contacts-list {
    list-style: none;
    padding-left: 14px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: "HP001Full1-Medium", sans-serif;
    font-size: 18px;
    color: #000000;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpContacts 1s ease forwards;
    animation-delay: 0.3s;
}

/* Лейблы */
.contacts-list .label {
    font-weight: 600;
    background: linear-gradient(90deg, #ffffff, #f4c61f);
    padding: 2px 6px;
    border-radius: 6px;
}

/* Анимация */
@keyframes fadeUpContacts {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER */
.footer-premium {
    padding: 60px 0;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    transform: translateX(-210px);
    flex-direction: column;
    gap: 24px;
    color: #000000;
    font-family: "Montserrat", sans-serif;
}

/* Юридическая информация */
.footer-legal {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.85;
}

/* Слоган */
.footer-info span {
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #fff, #ffe7b2);
    -webkit-background-clip: text;
    color: transparent;
}

/* Анимация появления */
@keyframes fadeUpAbout {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация задержки для каждого абзаца */
.about-text:nth-child(2) { animation-delay: 0.15s; }
.about-text:nth-child(3) { animation-delay: 0.3s; }
.about-text:nth-child(4) { animation-delay: 0.45s; }

    @media (max-width: 768px) {
      .v-line { font-size: 26px; }
      .v-sub { font-size: 16px; }
      .about-line { font-size: 26px; }
    .about-text { font-size: 16px; }
    }

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-two-columns {
    width: 100%;
    padding: 60px 0;
}

.hero-two-columns__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* ← ЛЕВАЯ КОЛОНКА СТАЛА ШИРЕ */
    gap: 60px;
    align-items: start; /* ← ВЫРАВНИВАЕТ ОБЕ КОЛОНКИ ПО ВЕРХУ */
}

/* ЛЕВАЯ КОЛОНКА */
.hero-left {
    margin-top: -60px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    /* ← ВАЖНО: ЭТИ ДВА СВОЙСТВА ДЕЛАЮТ ЛЕВУЮ КОЛОНКУ ВЫШЕ */
    min-height: 650px; /* ← ТУТ МЕНЯЕШЬ ВЫСОТУ ЛЕВОЙ КОЛОНКИ */
    padding-top: 40px; /* ← ДОПОЛНИТЕЛЬНО ПОДНИМАЕТ ТЕКСТ ВВЕРХ */
}

/* ПРАВАЯ КОЛОНКА */
.hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start; /* ← ВЫРАВНИВАЕТ ФОРМУ ПО ВЕРХУ */
}

@media (max-width: 900px) {
    .hero-two-columns__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left {
        min-height: auto; /* ← На мобильных высота не фиксируется */
        padding-top: 0;
    }

    .hero-right {
        justify-content: flex-start;
    }
}


/* ============================================================
   HEADER — структура сохранена
   ============================================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(11, 26, 18, 0.85);
    border-bottom: 1px solid rgba(125, 211, 252, 0.25);
}

.header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto; /* лого | меню | телефон */
    align-items: center;
    gap: 40px; /* увеличили расстояние */
}

/* Лого */
.logo__icon {
    width: 156px;              /* ширина фиксирована */
    height: auto;              /* высота адаптивная — НЕ сплюснуто */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;                /* убираем внутренние отступы */
    background: none;          /* убираем фон */
    border-radius: 0;          /* убираем круглость */
    box-shadow: none;          /* убираем квадратное свечение */
}

/* Картинка лого */
.logo__icon img {
    width: 100%;
    height: auto;              /* сохраняет пропорции */
    object-fit: contain;       /* не растягивает */
    display: block;
}

/* Лёгкое премиальное ледяное сияние вокруг лого */
.logo {
    filter: drop-shadow(0 0 12px rgba(125, 211, 252, 0.35));
}

/* Навигация */
.nav {
    justify-content: flex-end; /* меню теперь справа */
    display: flex;
    gap: 28px;
}

.nav a {
    color: var(--text-muted);
    font-size: 15px;
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--ice-blue-light);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--ice-blue-light);
    border-radius: 999px;
    transition: width var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

/* Телефон */
.header__phone-btn {
    background: var(--ice-blue);
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #003049;
    border-radius: 999px;
    box-shadow: var(--shadow-ice);
    transition: var(--transition);
}

.header__phone-btn:hover {
    background: linear-gradient(#a5a7f3, #21eaba);
    
}

/* ============================================================
   HERO — структура и выравнивание колонок
   ============================================================ */
.hero {
  padding: 60px 0 70px;
}

.hero__inner {
  display: grid;
  /* левая колонка шире, правая уже — как у тебя */
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start; /* выравниваем обе колонки по верхнему краю */
}

/* Адаптив: на планшетах и мобильных — одна колонка */
@media (max-width: 992px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================================
   HERO GREETING — «обложка журнала»: типографика и акценты
   ============================================================ */

.hero__content h1 {
  font-size: clamp(28px, 4vw, 42px); /* адаптивный размер: от 28px до 42px */
  line-height: 1.15;
  margin-bottom: 24px;
  color: #000000;
  /* лёгкая тень, чтобы отделить от яркого фона */
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.hero__subtitle {
  color: #332b25; /* тёплый тёмно‑коричневый — читается лучше чёрного на жёлто‑оранжевом */
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;

  /* вместо внутреннего градиента — мягкая полупрозрачная подложка */
  background-color: rgba(255, 255, 255, 0.18);
  padding: 20px 24px;
  border-radius: 14px;
  border-left: 5px solid #f96210; /* акцент в цвет оранжевой части градиента */
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);

  backdrop-filter: blur(6px); /* лёгкое размытие фона под подложкой */
}

/* Чтобы длинные строки не были слишком широкими даже на больших экранах */
.hero__subtitle {
  max-width: 640px;
}

/* Акцентные фразы внутри текста (если захочешь выделить отдельные строки) */
.hero__highlight {
  font-weight: 600;
  color: #e6df0f; /* цвет из градиента фона — как «золотая ниточка» */
}

/* Кнопка */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: var(--ice-blue);
    color: #003049;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-ice);
    transition: var(--transition);
}

.btn:hover {
    background: var(--ice-blue-light);
    box-shadow: 0 18px 40px rgba(125, 211, 252, 0.55);
}
.section__title {
    color: #000000;
}

.btn--ghost {
    background: linear-gradient(#21eaba, #a5a7f3);
    border: 1px solid rgba(125, 211, 252, 0.35);
    color: #000000;
}

.btn--ghost:hover {
    background: linear-gradient(#a5a7f3, #21eaba);
}

/* ============================================================
   FORM — ледяная премиальная форма
   ============================================================ */

.form {
    background: var(--snow-white);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    box-shadow: var(--shadow-ice);
    border: 1px solid rgba(125, 211, 252, 0.35);
    color: var(--text-dark);
    width: 100%;
    max-width: 380px;
}

.form__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pine-green);
    margin-bottom: 16px;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--pine-green);
}

.form__field input,
.form__field select,
.form__field textarea {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 14px;
    background: #fff;
    transition: var(--transition);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
    border-color: var(--ice-blue);
    box-shadow: 0 0 0 2px var(--frost-glow);
    background: #f0fbff;
}

.form__submit {
    width: 100%;
    margin-top: 10px;
    background: var(--ice-blue);
    color: #003049;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 999px;
    box-shadow: var(--shadow-ice);
}

.form__submit:hover {
    background: linear-gradient(#a5a7f3, #21eaba);
}

.form__note {
    margin-top: 10px;
    font-size: 12px;
    color: #6b7280;
}

/* ============================================================
   GRID — 4 карточки в ряд
   ============================================================ */

.grid--4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    
}

/* ============================================================
   CATALOG CARDS — выделение на ярком градиенте
   ============================================================ */

.card--catalog {
    display: flex;
    flex-direction: column;
    background: rgba(15, 36, 26, 0.55); /* тёмно‑зелёный прозрачный фон */
    border-radius: var(--radius-lg);
    overflow: hidden;

    /* Статичная обводка */
    border: 2px solid rgba(255, 255, 255, 0.35); /* снежная рамка */

    /* Ледяное свечение */
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.35),
        0 0 22px rgba(125, 211, 252, 0.25);

    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card--catalog:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.45),
        0 0 32px rgba(125, 211, 252, 0.35);
}

/* Фото внутри карточки */
.card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;

    /* нижняя граница тоже ледяная */
    border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.card--catalog:hover .card__image img {
    transform: scale(1.08);
}

/* Заголовок карточки */
.card__title {
    font-size: 20px;
    font-weight: 600;
    color: #fff; /* белый лучше читается на тёмном фоне */
    text-align: center;
    padding: 16px 0 20px;

    /* лёгкое сияние */
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}
/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    border-top: 1px solid rgba(125, 211, 252, 0.25);
    background: #0b1a12;
    padding: 20px 0;
}

.footer__legal strong {
    color: var(--ice-blue-light);
}

/* ============================================================
   HERO BANNER — один слайд, автосмена 8 фото
   ============================================================ */

.hero-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.hero-banner__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.85);
    z-index: 1;
}

.hero-banner__fade {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.85);
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    z-index: 2;
}

.hero-banner__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.85);
    transition: opacity 1.6s ease-in-out; /* мягкий fade */
}

#banner-front {
    z-index: 2;
    opacity: 1;
}

#banner-back {
    z-index: 1;
    opacity: 0;
}

/* Текст */
.hero-banner__content {
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.35);
    padding: 20px 40px;
    border-radius: 14px;
    backdrop-filter: blur(4px);
    color: #fff;
    text-align: center;
}

.hero-banner__content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-banner__content p {
    font-size: 18px;
    opacity: 0.9;
}

/* Стрелки */
/* Стрелки */
.hero-banner__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.65);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    z-index: 20;
}

.hero-banner__arrow:hover {
    background: #f4c61f;
    color: #000;
}

.hero-banner__arrow--left { left: 20px; }
.hero-banner__arrow--right { right: 20px; }

@media (max-width: 768px) {
    .hero-banner {
        height: 300px;
    }

    .hero-banner__content h2 {
        font-size: 22px;
    }

    .hero-banner__content p {
        font-size: 14px;
    }
}


/* ============================================================
   POPUP
   ============================================================ */

.popup {
    background: var(--pine-green);
    color: var(--snow-white);
    border: 1px solid rgba(125, 211, 252, 0.35);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

/* ============================================================
   RESPONSIVE — структура сохранена
   ============================================================ */

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header__inner {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "logo phone"
            "nav nav";
    }
}

@media (max-width: 480px) {
    .nav {
        flex-wrap: wrap;
        gap: 12px;
    }
}


/* ============================================================
   SUPER-PREMIUM MOBILE REFACTOR — идеальное центрирование
   ============================================================ */

/* ГЛОБАЛЬНО УБИРАЕМ ЛЮБОЙ ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* ГЛОБАЛЬНО ФИКСИРУЕМ ВСЕ КОНТЕЙНЕРЫ */
.container,
.section,
.hero,
.footer-premium,
.header,
.grid--4 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* ============================================================
   1024px — планшеты
   ============================================================ */
@media (max-width: 1024px) {

    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-inner,
    .contacts-inner,
    .footer-inner {
        transform: none !important;
        margin: 0 !important;
        padding: 0 20px !important;
    }
}

/* ============================================================
   768px — большие смартфоны
   ============================================================ */
@media (max-width: 768px) {

    /* HEADER — кнопка телефона */
    .header__phone-btn {
        padding: 8px 14px !important;
        font-size: 14px !important;
        white-space: nowrap;
        max-width: max-content;
    }

    .header__inner {
        grid-template-columns: auto auto;
        grid-template-areas:
            "logo phone"
            "nav nav";
        gap: 12px;
        width: 100% !important;
    }

    .nav {
        grid-area: nav;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    /* ============================================================
       КАТАЛОГ — идеальное центрирование карточек
       ============================================================ */

    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        width: 100%;
        padding: 0 12px;
        justify-items: center; /* центрируем карточки */
    }

    .card--catalog {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 14px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }

    .card__image {
        width: 100%;
        height: 150px;
        overflow: hidden;
        border-bottom: 2px solid rgba(255,255,255,0.35);
    }

    .card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .card__title {
        font-size: 18px;
        padding: 12px 0 16px;
        text-align: center;
    }

    /* ============================================================
       HERO — текст компактный, форма под текстом
       ============================================================ */

    .hero {
        padding: 40px 0;
        width: 100%;
    }

    .hero__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .hero__content {
        max-width: 90%;
        margin: 0 auto;
    }

    .hero__content h1 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .hero__subtitle {
        font-size: 15px;
        padding: 14px;
        margin-bottom: 20px;
        background: rgba(255,255,255,0.25);
        border-radius: 14px;
        border-left: 4px solid #f4c61f;
        backdrop-filter: blur(6px);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* ============================================================
       ФОРМА — центрируем, делаем чуть уже и красивее
       ============================================================ */

    .form {
        width: 100% !important;
        max-width: 92% !important; /* форма чуть уже */
        padding: 20px;
        border-radius: 16px;
        margin: 0 auto;
        margin-top: 10px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        background: #fff;
        box-sizing: border-box;
    }

    .form__field input,
    .form__field select {
        font-size: 15px;
        padding: 10px 12px;
    }

    .form__submit {
        padding: 12px 20px;
        font-size: 15px;
    }

    /* ============================================================
       MODAL — идеальная мобильная версия
       ============================================================ */

    .modal__content {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        padding: 16px;
        box-sizing: border-box;
    }

    .modal__body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal__image-main {
        border-radius: 10px;
        max-height: 260px;
        object-fit: cover;
    }

    .modal__thumbs img {
        width: 60px;
        height: 60px;
    }

    /* ============================================================
       ABOUT / CONTACTS — убираем translateX
       ============================================================ */

    .about-inner,
    .contacts-inner {
        transform: none !important;
        padding: 0 10px !important;
        margin: 0 !important;
        width: 100% !important;
        text-align: left;
        box-sizing: border-box;
    }

    /* FOOTER */
    .footer-inner {
        transform: none !important;
        padding: 0 10px !important;
        text-align: center;
        width: 100% !important;
        box-sizing: border-box;
    }
}

/* ============================================================
   480px — маленькие смартфоны
   ============================================================ */
@media (max-width: 480px) {

    .grid--4 {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
        justify-items: center;
    }

    .card__image {
        height: 140px;
    }

    .card__title {
        font-size: 17px;
    }

    .header__phone-btn {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }

    .hero__content h1 {
        font-size: 22px;
    }

    .hero__subtitle {
        font-size: 14px;
        padding: 12px;
    }

    .form {
        padding: 16px;
        max-width: 94% !important;
    }
}

/* ============================================================
   360px — iPhone SE / маленькие Android
   ============================================================ */
@media (max-width: 360px) {

    .nav {
        gap: 6px;
        font-size: 13px;
    }

    .card__image {
        height: 120px;
    }

    .card__title {
        font-size: 16px;
    }

    .form__submit {
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* ============================================================
   ADAPTIVE FOR TREES PAGE — премиальная мобильная версия
   ============================================================ */

/* Глобально фиксируем контейнеры */
#trees-grid,
.section--dark .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* ============================================================
   1024px — планшеты
   ============================================================ */
@media (max-width: 1024px) {
    #trees-grid.grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 20px;
    }
}

/* ============================================================
   768px — большие смартфоны
   ============================================================ */
@media (max-width: 768px) {

    /* Сетка карточек */
    #trees-grid.grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        padding: 0 14px;
        justify-items: center;
    }

    /* Карточки */
    #trees-grid .card {
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
        overflow: hidden;
        box-sizing: border-box;
        background: #fff;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    #trees-grid .card__image {
        width: 100%;
        height: 150px;
        overflow: hidden;
    }

    #trees-grid .card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    #trees-grid .card__title {
        font-size: 18px;
        padding: 12px 0 16px;
    }

    /* Заголовок */
    .section__title {
        text-align: center;
        font-size: 26px;
        margin-bottom: 20px;
    }

    /* ============================================================
       MODAL — адаптивная модалка для елей
       ============================================================ */

    #tree-modal .modal__content {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        padding: 16px;
        box-sizing: border-box;
    }

    #tree-modal .modal__body {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Галерея */
    #tree-modal .modal__gallery {
        width: 100%;
    }

    #tree-modal .modal__image-main {
        width: 100%;
        max-height: 260px;
        object-fit: cover;
        border-radius: 12px;
    }

    #tree-modal .modal__thumbs {
        display: flex;
        gap: 10px;
        margin-top: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    #tree-modal .modal__thumbs img {
        width: 70px;
        height: 70px;
        border-radius: 8px;
        object-fit: cover;
    }

    /* Информация */
    #tree-modal .modal__info h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    #tree-modal .modal__description {
        font-size: 15px;
        margin-bottom: 16px;
    }

    #tree-modal .modal__sku {
        font-size: 15px;
        margin-bottom: 16px;
    }

    /* Цена */
    #tree-modal .modal__price-box {
        background: rgba(255,255,255,0.15);
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 18px;
        font-size: 15px;
    }

    /* Форма */
    #tree-modal .form {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        box-sizing: border-box;
    }

    #tree-modal .form__field input,
    #tree-modal .form__field select {
        font-size: 15px;
        padding: 10px 12px;
    }

    #tree-modal .form__submit {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
    }

    #tree-modal .form__note {
        font-size: 14px;
        margin-top: 10px;
        text-align: center;
    }

    /* Кнопка закрытия */
    #tree-modal .modal__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}

/* ============================================================
   480px — маленькие смартфоны
   ============================================================ */
@media (max-width: 480px) {

    #trees-grid.grid--4 {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
    }

    #tree-modal .modal__thumbs img {
        width: 60px;
        height: 60px;
    }

    #tree-modal .modal__image-main {
        max-height: 220px;
    }

    #tree-modal .form {
        padding: 16px;
    }
}

/* ============================================================
   360px — самые маленькие экраны
   ============================================================ */
@media (max-width: 360px) {

    #tree-modal .modal__thumbs img {
        width: 50px;
        height: 50px;
    }

    #tree-modal .form__submit {
        font-size: 14px;
        padding: 10px 16px;
    }

    #tree-modal .modal__image-main {
        max-height: 200px;
    }
}

/* ============================================================
   UNIVERSAL ADAPTIVE FOR: decor / garlands / materials
   ============================================================ */

/* Глобально фиксируем контейнеры */
.catalog-grid,
.section--dark .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* ============================================================
   1024px — планшеты
   ============================================================ */
@media (max-width: 1024px) {
    .catalog-grid.grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 20px;
    }
}

/* ============================================================
   768px — большие смартфоны
   ============================================================ */
@media (max-width: 768px) {
    
    #decor-modal .modal__body,
    #garland-modal .modal__body,
    #materials-modal .modal__body {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 4px;
    }
    
     #decor-modal .modal__image-main,
    #garland-modal .modal__image-main,
    #materials-modal .modal__image-main {
        width: 100%;
        max-height: 260px;
        object-fit: cover;
        border-radius: 12px;
        display: block;
        margin: 0 auto;
    }
    
    #decor-modal h3,
    #garland-modal h3,
    #materials-modal h3 {
        font-size: 22px;
        margin-bottom: 10px;
        text-align: center;
    }
    
    #decor-modal .modal__description,
    #garland-modal .modal__description,
    #materials-modal .modal__description {
        font-size: 15px;
        margin-bottom: 16px;
        text-align: center;
    }
    
    #decor-modal .modal__sku,
    #garland-modal .modal__sku,
    #materials-modal .modal__sku {
        font-size: 15px;
        margin-bottom: 16px;
        text-align: center;
    }
    
    #decor-modal .form,
    #garland-modal .form,
    #materials-modal .form {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        box-sizing: border-box;
    }
    
    /* Блок цены */
    #decor-modal .modal__price-box,
    #garland-modal .modal__price-box,
    #materials-modal .modal__price-box {
        background: rgba(255,255,255,0.15);
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 18px;
        font-size: 15px;
    }
    
    #decor-modal .modal__thumb,
    #garland-modal .modal__thumb,
    #materials-modal .modal__thumb {
        width: 70px;
        height: 70px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }
    
    #decor-modal .modal__thumbs,
    #garland-modal .modal__thumbs,
    #materials-modal .modal__thumbs {
        display: flex;
        gap: 10px;
        margin-top: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    
    #decor-modal .form__field input,
    #garland-modal .form__field input,
    #materials-modal .form__field input,
    #decor-modal .form__field select,
    #garland-modal .form__field select,
    #materials-modal .form__field select {
        font-size: 15px;
        padding: 10px 12px;
    }

    #decor-modal .form__submit,
    #garland-modal .form__submit,
    #materials-modal .form__submit {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
    }

    #decor-modal .form__note,
    #garland-modal .form__note,
    #materials-modal .form__note {
        font-size: 14px;
        margin-top: 10px;
        text-align: center;
    }

    /* Кнопка закрытия */
    #decor-modal .modal__close,
    #garland-modal .modal__close,
    #materials-modal .modal__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
    
    /* Заголовок внутри карточек trees */
    #trees-grid .card {
        background: rgba(0, 0, 0, 0.35) !important;
        border-radius: 14px;
        padding-bottom: 14px;
        overflow: hidden;
    

    /* Карточка */
    #trees-grid .card {
        background: rgba(0, 0, 0, 0.35) !important;
        border-radius: 14px;
        padding-bottom: 14px;
        overflow: hidden;
    

    /* Изображение */
    #trees-grid .card__image {
        width: 100%;
        height: 150px;
        overflow: hidden;
        border-bottom: 2px solid rgba(255,255,255,0.25);
    }

    #trees-grid .card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Сетка карточек */
    .catalog-grid.grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        padding: 0 14px;
        justify-items: center;
    }

    /* Карточки */
    .catalog-grid .card {
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
        overflow: hidden;
        box-sizing: border-box;
        background: #fff;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .catalog-grid .card__image {
        width: 100%;
        height: 150px;
        overflow: hidden;
    }

    .catalog-grid .card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .catalog-grid .card__title {
        font-size: 18px;
        padding: 12px 0 16px;
    }

    /* Заголовок */
    .section__title {
        text-align: center;
        font-size: 26px;
        margin-bottom: 20px;
    }

    /* ============================================================
       MODAL — адаптивная модалка для всех каталогов
       ============================================================ */

    .modal__content {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        padding: 16px;
        box-sizing: border-box;
    }

    .modal__body {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Галерея */
    .modal__gallery {
        width: 100%;
    }

    .modal__image-main {
        width: 100%;
        max-height: 260px;
        object-fit: cover;
        border-radius: 12px;
    }

    .modal__thumbs {
        display: flex;
        gap: 10px;
        margin-top: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .modal__thumbs img {
        width: 70px;
        height: 70px;
        border-radius: 8px;
        object-fit: cover;
    }

    /* Информация */
    .modal__info h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .modal__description {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .modal__sku {
        font-size: 15px;
        margin-bottom: 16px;
    }

    /* Цена */
    .modal__price-box {
        background: rgba(255,255,255,0.15);
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 18px;
        font-size: 15px;
    }

    /* Форма */
    .modal .form {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        box-sizing: border-box;
    }

    .modal .form__field input,
    .modal .form__field select {
        font-size: 15px;
        padding: 10px 12px;
    }

    .modal .form__submit {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
    }

    .modal .form__note {
        font-size: 14px;
        margin-top: 10px;
        text-align: center;
    }

    /* Кнопка закрытия */
    .modal__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}

/* ============================================================
   480px — маленькие смартфоны
   ============================================================ */
@media (max-width: 480px) {
    
    #decor-modal .modal__thumb,
    #garland-modal .modal__thumb,
    #materials-modal .modal__thumb {
        width: 60px;
        height: 60px;
    }

    #decor-modal .modal__image-main,
    #garland-modal .modal__image-main,
    #materials-modal .modal__image-main {
        max-height: 220px;
    }

    #decor-modal .form,
    #garland-modal .form,
    #materials-modal .form {
        padding: 16px;
    
    
    #trees-grid h3 {
        font-size: 17px !important;
        margin: 10px 0 14px;
    }

    .catalog-grid.grid--4 {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
    }

    .modal__thumbs img {
        width: 60px;
        height: 60px;
    }

    .modal__image-main {
        max-height: 220px;
    }

    .modal .form {
        padding: 16px;
    }
}

/* ============================================================
   360px — самые маленькие экраны
   ============================================================ */
@media (max-width: 360px) {
    
    #decor-modal .modal__thumb,
    #garland-modal .modal__thumb,
    #materials-modal .modal__thumb {
        width: 50px;
        height: 50px;
    }

    #decor-modal .form__submit,
    #garland-modal .form__submit,
    #materials-modal .form__submit {
        font-size: 14px;
        padding: 10px 16px;
    }

    #decor-modal .modal__image-main,
    #garland-modal .modal__image-main,
    #materials-modal .modal__image-main {
        max-height: 200px;
    }
    
    #trees-grid h3 {
        font-size: 16px !important;
    }

    .modal__thumbs img {
        width: 50px;
        height: 50px;
    }

    .modal .form__submit {
        font-size: 14px;
        padding: 10px 16px;
    }

    .modal__image-main {
        max-height: 200px;
    }
}
