/* =====================================================================
   ЮвелирМир — стили прототипа
   Направление: современный фешн-люкс (ориентир — shiffonco / nidatabba).
   База — чёрный/белый (тёплая бумага), бордо — акцент,
   золото с металлическим отливом — премиум-акцент. Без курсива.
   Типографика: Jost (геометрический гротеск, заголовки) ·
   Manrope (текст) · Oswald (шрифт логотипа — акцентные лейблы/вордмарк).
   Mobile-first. Комментарии — для будущего разработчика (Битрикс).
   ===================================================================== */

/* ───────────── Переменные ─────────────
   Палитра и доли использования (по утверждённой раскладке):
   ФОНЫ: --paper (кремовый), --mist (холодный белый), --greige (грейж).
   АКЦЕНТ 1: --ink (почти-чёрный) ─┐ примерно поровну
   АКЦЕНТ 2: --red (яркое вино)   ─┘
   СВЯЗУЮЩИЙ: --wine (тёмное вино) ─ не более ~20% (тёмные секции/футер/ховеры).
   ЗОЛОТО: --gold ─ опционально, ≤5%, только на --wine и с текстурой.            */
:root {
  /* Фоны */
  --paper:   #FAF6EF;   /* фон 1 — кремовый (основной) */
  --mist:    #EFEDE8;   /* фон 2 — холодный светлый */
  --greige:  #C4BAAE;   /* фон 3 — тёплый грейж */
  --white:   #FFFFFF;

  /* Акценты */
  --ink:     #1A1210;   /* акцент 1 — почти-чёрный (текст, кнопки, тёмные зоны) */
  --red:     #8C1C1E;   /* акцент 2 — яркое вино (бронь, активные состояния) */
  --red-dark:#771E1F;   /* hover для --red */
  --wine:    #3E1D1A;   /* связующий ≤20% (футер, тёмные секции, ховеры) */

  /* Золото с металлическим отливом */
  --gold:    #C9A86A;
  /* светлый отлив — для тёмных фонов (футер) */
  --gold-grad: linear-gradient(115deg,
              #9c7838 0%, #e7cd93 24%, #c9a86a 44%,
              #f4e4ba 60%, #b08a4f 80%, #ddc086 100%);
  /* глубокий «антик-голд» — для цены на светлом фоне */
  --gold-deep: linear-gradient(115deg,
              #5a4117 0%, #9a7a33 26%, #715626 46%,
              #ab8638 62%, #5a4117 84%, #856629 100%);

  --text:        var(--ink);
  --text-muted:  rgba(26, 18, 16, 0.56);
  --line:        rgba(26, 18, 16, 0.12);

  /* Типографика */
  --font-display: 'Jost', 'Segoe UI', sans-serif;
  --font-body:    'Manrope', 'Segoe UI', sans-serif;
  --font-accent:  'Forum', 'Times New Roman', serif;  /* утончённый акцент */

  /* Сетка / ритм */
  --container: 1280px;
  --pad-x: 20px;
  --topbar-h: 36px;
  --header-h: 66px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ───────────── Сброс и база ───────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--ink);        /* тёмный фон под оверскроллом (как верх героя/футер) */
  overscroll-behavior: none;     /* убираем «пружину», из-за которой светлел край */
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* Утилиты */
.gold-text {            /* светлый отлив — на тёмном фоне */
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-gold {           /* глубокий «антик-голд» — цена на светлом фоне */
  background: var(--gold-deep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ───────────── Кнопки (сдержанные, как в фешн-люксе) ───────────── */
.btn {
  --btn-py: 14px;
  --btn-px: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-py) var(--btn-px);
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 1px;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { --btn-py: 16px; --btn-px: 34px; }

/* Основная кнопка — почти-чёрный (акцент 1) */
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--wine); }

/* Кнопка брони — яркое вино (акцент 2) */
.btn--book { background: var(--red); color: var(--white); }
.btn--book:hover { background: var(--red-dark); }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(26,18,16,0.25); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }

/* Светлая кнопка — основное действие поверх тёмного фото (заметная) */
.btn--light {
  background: var(--white); color: var(--ink);
  box-shadow: 0 16px 36px -12px rgba(0,0,0,0.55);
}
.btn--light:hover {
  background: var(--white);
  box-shadow: 0 20px 44px -12px rgba(0,0,0,0.62);
  transform: translateY(-2px);
}
.btn--xl { --btn-py: 19px; --btn-px: 40px; font-size: 0.92rem; }
.btn--hero { --btn-py: 22px; --btn-px: 50px; font-size: 1.18rem; letter-spacing: 0.16em; }
/* Idle-блик на главной кнопке — под характер блеска серёг в видео:
   короткая яркая холодно-белая вспышка (узкое ядро + мягкий ореол),
   затем пауза — как редкий отблеск камня. На hover не мешает. */
.btn--hero { position: relative; overflow: hidden; }
.btn--hero::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 32%;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(196, 208, 224, 0.28) 34%,
    rgba(234, 242, 252, 0.9) 50%,
    rgba(196, 208, 224, 0.28) 66%,
    transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: heroGlint 3.8s ease-in-out infinite;
}
@keyframes heroGlint {
  0%   { left: -60%; }
  24%  { left: 130%; }   /* быстрый проход ~0.9 с */
  100% { left: 130%; }   /* пауза до следующей вспышки */
}
@media (prefers-reduced-motion: reduce) {
  .btn--hero::after { animation: none; }
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Текстовая ссылка-кнопка со стрелкой */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}
.btn-link::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--red);
  transform: scaleX(1); transform-origin: left;
  transition: transform .4s var(--ease);
}
.btn-link:hover { color: var(--red); }
.btn-link .arrow { transition: transform .35s var(--ease); }
.btn-link:hover .arrow { transform: translateX(5px); }

/* ───────────── Мачта: топ-бар УТП + шапка (ориентир nidatabba) ───────────── */
.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease),
              box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.masthead.solid {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

/* Топ-бар с преимуществами (УТП) */
.topbar {
  background: var(--ink);
  color: rgba(250, 246, 239, 0.9);
  height: var(--topbar-h);
  overflow: hidden;
  transition: height .4s var(--ease), opacity .3s var(--ease);
}
.masthead.compact .topbar { height: 0; opacity: 0; }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: center; }
.topbar__list {
  display: flex; align-items: center; gap: 26px;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 233, 222, 0.88);
  white-space: nowrap;
}
.topbar__list li { display: inline-flex; align-items: center; }
.topbar__list li + li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--red); margin-right: 26px; opacity: .95;
}
/* На мобильном показываем по одному пункту (листаются через JS) */
@media (max-width: 720px) {
  .topbar__list { gap: 0; }
  .topbar__list li { display: none; }
  .topbar__list li.active { display: inline-flex; }
  .topbar__list li + li::before { content: none; }
}

/* Шапка: слева бренд+тэглайн, справа меню и CTA (ориентир nidatabba) */
.site-header { height: var(--header-h); display: flex; align-items: center; }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.header__right { display: flex; align-items: center; gap: 30px; }

/* Бренд слева: марка «ЮМ» (пряжка) + вордмарк + тэглайн-УТП.
   По умолчанию текст светлый (поверх тёмного героя), при скролле — тёмный. */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__markbox { display: flex; align-items: center; flex: 0 0 auto; }
.brand__mark {
  height: 37px; width: auto; display: block;    /* центр иконки ≈ оптический центр текста */
  transform: translateY(-3px);                  /* оптическая коррекция: тэглайн тянет геом.центр вниз */
  filter: brightness(0) invert(1);              /* светлая марка над тёмным героем */
  transition: filter .4s var(--ease);
}
.brand__text {
  display: inline-flex; flex-direction: column;
  align-items: flex-start; gap: 1px;            /* по левому краю, плотные строки */
}
.brand__wordmark {
  display: block;
  height: 20px; width: auto;
  filter: brightness(0) invert(1);              /* светлый леттеринг над тёмным героем */
  transition: filter .4s var(--ease);
}
.brand__tagline {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.72);
  transition: color .4s var(--ease);
  white-space: nowrap;
}
/* На узких экранах: тэглайн скрыт (одна строка) — иконку центрируем, фикс-высота */
@media (max-width: 560px) {
  .brand { align-items: center; gap: 7px; }
  .brand__mark { height: 28px; transform: none; }
  .brand__wordmark { height: 17px; }
  .brand__tagline { display: none; }
}
/* Тёмные состояния шапки при скролле */
.masthead.solid .brand__mark { filter: none; }
.masthead.solid .brand__wordmark { filter: none; }
.masthead.solid .brand__tagline { color: var(--text-muted); }
.masthead.solid .burger span { background: var(--ink); }

/* Навигация */
.nav { display: none; gap: 30px; }
.nav__link {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.8);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--red);
  transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--paper); }
.nav__link:hover::after { width: 100%; }

/* Тёмный текст меню при скролле (шапка на светлом фоне) */
.masthead.solid .nav__link { color: var(--text-muted); }
.masthead.solid .nav__link:hover { color: var(--ink); }

.header__cta { display: none; }

/* Бургер */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 42px; height: 42px; margin-left: -10px;
  background: none; border: none; cursor: pointer; padding: 10px;
}
.burger span {
  display: block; height: 2px; width: 100%; background: var(--paper);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .4s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню */
.nav.open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(250, 246, 239, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 22px var(--pad-x) 28px; gap: 22px;
}
/* В раскрытом меню (светлая панель) ссылки всегда тёмные */
.nav.open .nav__link { font-size: 0.95rem; color: var(--text-muted); }
.nav.open .nav__link:hover { color: var(--ink); }

/* ───────────── Первый экран (фуллскрин-фото, контент снизу-слева) ───────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #100908;   /* тёмный фон на время загрузки видео */
}
.hero__media-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  /* Лёгкая коррекция «на лету» — картинка чуть контрастнее и сочнее.
     Реальную детализацию не добавляет; значения деликатные, легко откатить. */
  filter: contrast(1.06) saturate(1.08) brightness(1.02);
}

/* Тёмная «вуаль» для читаемости светлого текста (снизу-слева усилена) */
.hero__wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(16,9,8,0.62) 0%, rgba(16,9,8,0.10) 20%,
      rgba(16,9,8,0.0) 42%, rgba(16,9,8,0.55) 72%, rgba(16,9,8,0.92) 100%),
    linear-gradient(95deg,
      rgba(16,9,8,0.78) 0%, rgba(16,9,8,0.30) 36%, rgba(16,9,8,0.0) 64%);
}

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--topbar-h) + var(--header-h) + 24px);
  padding-bottom: clamp(32px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero__content { max-width: 640px; }

.hero__eyebrow { color: rgba(250, 246, 239, 0.85); display: block; margin-bottom: 22px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 7.2vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 24px;
}
.hero__title strong { display: block; margin-top: 0.72em; font-weight: 500; color: #fff; }

.hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  color: rgba(250, 246, 239, 0.82);
  max-width: 480px;
  margin-bottom: 32px;
}

/* Текст-ссылка поверх тёмного героя — светлая */
.hero__btn-link { color: var(--paper); }
.hero__btn-link:hover { color: #fff; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* ───────────── Появления при скролле ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.hero__content .reveal:nth-child(1) { transition-delay: .05s; }
.hero__content .reveal:nth-child(2) { transition-delay: .16s; }
.hero__content .reveal:nth-child(3) { transition-delay: .28s; }
.hero__content .reveal:nth-child(4) { transition-delay: .40s; }
.hero__content .reveal:nth-child(5) { transition-delay: .52s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ───────────── Адаптив ───────────── */
@media (min-width: 720px) {
  :root { --pad-x: 44px; }
}

@media (min-width: 960px) {
  :root { --header-h: 80px; }
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .header__inner { gap: 24px; }

  /* Десктоп: тёмная вуаль слева + сверху (для читаемости светлого текста/меню) */
  .hero__wash {
    background:
      linear-gradient(100deg,
        rgba(16,9,8,0.86) 0%, rgba(16,9,8,0.40) 34%, rgba(16,9,8,0.0) 62%),
      linear-gradient(180deg,
        rgba(16,9,8,0.55) 0%, rgba(16,9,8,0.0) 22%);
  }
  /* Вертикальная версия видео на портретном экране почти совпадает с кадром —
     держим центр; при необходимости сдвигать композицию здесь */
  .hero__media-bg { object-position: center; }

  .hero__body {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: clamp(40px, 7vh, 76px);
  }
  /* Кнопки — справа, столбиком, у нижнего края */
  .hero__actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    flex: 0 0 auto;
    margin-bottom: 6px;
  }
}

/* Мобайл: украшение видно сверху, текст — на плотной нижней вуали */
@media (max-width: 719px) {
  .hero__wash {
    background: linear-gradient(180deg,
      rgba(16,9,8,0.60) 0%, rgba(16,9,8,0.12) 13%,
      rgba(16,9,8,0.0) 32%, rgba(16,9,8,0.45) 50%,
      rgba(16,9,8,0.85) 70%, rgba(16,9,8,0.97) 100%);
  }
  .hero__body { gap: 18px; padding-bottom: 30px; }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__title { font-size: clamp(2.1rem, 9.2vw, 3rem); margin-bottom: 20px; }
  .hero__lead { margin-bottom: 26px; }
  /* Кнопка-действие на телефоне компактнее */
  .btn--hero { --btn-py: 16px; --btn-px: 34px; font-size: 1rem; }
}

/* ═══════════════ КАТАЛОГ (стиль Aroz) ═══════════════ */
.catalog { background: var(--paper); padding: clamp(56px, 8vw, 110px) 0; }

/* Заголовок секции: эйбрау + крупный гротеск + мета справа */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.section-eyebrow { color: var(--red); display: block; margin-bottom: 16px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-head__meta {
  font-family: var(--font-accent);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 6px;
}

/* Фильтры — serif-табы (металл + коллекция) */
.filters {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}
/* Заголовок группы — отдельной строкой; опции списком под ним (всё по левому краю) */
.filter-group { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.filter-group__label {
  font-family: var(--font-accent);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.filter-group__opts { display: flex; flex-wrap: wrap; gap: 9px; }
/* Опции-пиллы, множественный выбор */
.chip {
  font-family: var(--font-accent);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  padding: 7px 14px;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.chip:hover { color: var(--ink); border-color: rgba(26,18,16,0.3); }
.chip.is-active {
  color: var(--red);
  border-color: var(--red);
  background: rgba(140, 28, 30, 0.06);
}

/* ── Карусель (горизонтальная прокрутка, стиль Aroz) ── */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 auto; scroll-snap-align: start; }

.carousel__controls {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}
.carousel__progress { position: relative; flex: 1; height: 2px; background: var(--line); }
.carousel__bar {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--ink); width: 25%;
  transition: left .25s var(--ease), width .25s var(--ease);
}
.carousel__arrows { display: flex; gap: 10px; }
.carousel__nav {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), opacity .3s var(--ease);
}
.carousel__nav svg { width: 18px; height: 18px; }
.carousel__nav:hover:not(:disabled) { border-color: var(--ink); }
.carousel__nav:disabled { opacity: 0.32; cursor: default; }
/* если прокручивать нечего — управление скрываем, НО место под него резервируем
   (visibility вместо display:none), чтобы высота блока не «прыгала» при фильтрации */
.carousel.is-static .carousel__controls { visibility: hidden; }
/* карточки не растягиваются на всю ширину при малом числе — формат стабилен */
.carousel__track { justify-content: flex-start; }

/* Ширина плашек в карусели */
#catalogGrid > .card { width: clamp(220px, 72vw, 286px); }
#locationsGrid > .loc-card { width: clamp(268px, 84vw, 340px); }

/* Карточка-плашка */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .35s var(--ease), transform .35s var(--ease),
              box-shadow .35s var(--ease);
}
.card:hover {
  border-color: rgba(26,18,16,0.32);
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -28px rgba(26,18,16,0.5);
}
/* Светлое поле изделия (украшения — только на светлом фоне) */
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(155deg, #F8F3EB 0%, #EFE6D8 100%);
  overflow: hidden;
}
/* Слои фото: основное + «при наведении» (плавная смена) */
.card__pic { position: absolute; inset: 0; }
.card__pic .media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__pic .ph { width: 100%; height: 100%; display: grid; place-items: center; }
.card__pic .ph svg { width: 62%; height: 62%; }
.card__hover { opacity: 0; transition: opacity .45s var(--ease); }
.card:hover .card__hover { opacity: 1; }

/* Круглая кнопка брони — появляется при наведении (как у Aroz) */
.card__book {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.card__book svg { width: 18px; height: 18px; }
.card:hover .card__book { opacity: 1; transform: none; }
.card__book:hover { background: var(--red-dark); }

.card__body { padding: 15px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.card__title {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.card__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.card__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  margin-top: 6px;
}

/* Бейдж «демо» на изделии */
.card__demo {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  font-family: var(--font-accent);
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(250,246,239,0.8);
  padding: 3px 7px;
}
/* Бейдж «в заявке» + подсветка карточки, добавленной в корзину */
.card__incart {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  display: none; align-items: center; gap: 5px;
  font-family: var(--font-accent);
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: var(--red);
  padding: 5px 9px;
}
.card__incart svg { width: 12px; height: 12px; }
.card.is-in-cart .card__incart { display: inline-flex; }
.card.is-in-cart {
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red), 0 22px 40px -28px rgba(140,28,30,0.45);
}

.catalog__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 0;
  color: var(--text-muted);
}
.catalog__note {
  margin-top: 22px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (min-width: 1000px) {
  .chip { font-size: 0.92rem; }
}

/* ═══════════════ КАК РАБОТАЕТ БРОНЬ ═══════════════ */
.how { background: var(--mist); padding: clamp(56px, 8vw, 110px) 0; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 40px;
}
.step { padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--gold-deep);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step__title {
  font-family: var(--font-accent);
  font-size: 1.22rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.step__text { font-size: 0.95rem; color: var(--text-muted); max-width: 30ch; }

.how__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.how__facts li { font-size: 0.96rem; color: var(--text-muted); }
.how__facts-k {
  display: block;
  font-family: var(--font-accent);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 3px;
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 30px; }
  .step:nth-child(2) { border-top: 1px solid var(--line); }
  .how__facts { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 34px; }
  .step__num { font-size: 2.7rem; }
}

/* ═══════════════ ЛОКАЦИИ (фон — степной кадр Хакасии) ═══════════════ */
.locations {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(250,246,239,0.80) 0%, rgba(250,246,239,0.62) 42%, rgba(250,246,239,0.88) 100%),
    url('../img/steppe.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.locations .section-head__meta,
.locations .section-eyebrow { text-shadow: 0 1px 2px rgba(250,246,239,0.6); }

/* Мобайл: показываем молодожёнов (левая часть кадра), оверлей чуть легче */
@media (max-width: 719px) {
  .locations {
    background-position: 16% center;
    background-image:
      linear-gradient(180deg, rgba(250,246,239,0.88) 0%, rgba(250,246,239,0.45) 28%, rgba(250,246,239,0.45) 60%, rgba(250,246,239,0.9) 100%),
      url('../img/steppe.png');
  }
}

.loc-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 40px -26px rgba(26,18,16,0.5);
  transition: border-color .35s var(--ease), transform .35s var(--ease),
              box-shadow .35s var(--ease);
}
.loc-card:hover {
  border-color: rgba(26,18,16,0.3);
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -28px rgba(26,18,16,0.5);
}
.loc-card__city { color: var(--red); margin-bottom: 8px; }
.loc-card__title {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.loc-card__rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.loc-card__row { display: flex; gap: 12px; font-size: 0.92rem; }
.loc-card__row dt {
  flex: 0 0 64px;
  font-family: var(--font-accent);
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); padding-top: 2px;
}
.loc-card__row dd { color: var(--ink); }
.loc-card__links {
  margin-top: auto;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 20px;
}
.loc-card__map {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-accent);
  font-size: 0.84rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.loc-card__map:hover { border-bottom-color: var(--red); }
/* Яндекс — вторичная ссылка */
.loc-card__map--ghost { color: var(--text-muted); }
.loc-card__map--ghost:hover { color: var(--ink); border-bottom-color: var(--ink); }


/* ═══════════════ КОНТАКТЫ / ФУТЕР (тёмное вино + золото) ═══════════════ */
.contacts { background: var(--wine); color: rgba(244, 236, 224, 0.78); padding: clamp(56px, 8vw, 96px) 0 36px; }

.contacts__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 168, 106, 0.22);
}
.contacts__brand { max-width: 380px; }
.contacts__mark { width: 48px; height: auto; margin-bottom: 16px; }
.contacts__word {
  display: block; height: 20px; width: auto;
  filter: brightness(0) invert(1);            /* белый леттеринг на вине */
  margin-bottom: 12px;
}
.contacts__tagline {
  font-family: var(--font-accent);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.contacts__pitch { font-size: 0.95rem; color: rgba(244, 236, 224, 0.62); }

.contacts__col { display: flex; flex-direction: column; gap: 12px; }
.contacts__col-title {
  font-family: var(--font-accent);
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.contacts__col a {
  font-size: 0.96rem;
  color: rgba(244, 236, 224, 0.78);
  width: fit-content;
  transition: color .3s var(--ease);
}
.contacts__col a:hover { color: var(--gold); }

.contacts__bottom {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.78rem;
  color: rgba(244, 236, 224, 0.5);
}

@media (min-width: 720px) {
  .contacts__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
}

/* ═══════════════ ЧАТ-ВИДЖЕТ (заглушка) ═══════════════ */
.chat-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 18px;
  background: var(--red); color: #fff;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(26,18,16,0.6);
  transition: background .3s var(--ease), transform .25s var(--ease);
}
.chat-fab:hover { background: var(--red-dark); transform: translateY(-2px); }
.chat-fab svg { width: 20px; height: 20px; }
.chat-fab__label {
  font-family: var(--font-accent);
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
}
@media (max-width: 480px) {
  .chat-fab { padding: 13px; right: 16px; bottom: 16px; }
  .chat-fab__label { display: none; }
}

/* ═══════════════ ФОРМА БРОНИРОВАНИЯ ═══════════════ */
.booking { background: var(--paper); padding: clamp(56px, 8vw, 110px) 0; }
.booking__wrap {
  max-width: 900px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
}

.bform__grid { display: grid; grid-template-columns: 1fr; gap: 18px 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--font-accent);
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
}
.field label i { color: var(--red); font-style: normal; }
.field input,
.field select {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  padding: 13px 14px;
  border: 1px solid rgba(26,18,16,0.2);
  background: var(--paper);
  border-radius: 2px;
  width: 100%;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input::placeholder { color: rgba(26,18,16,0.4); }
.field input:focus,
.field select:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field input[readonly] { background: var(--mist); color: var(--text); cursor: default; }
.field select:disabled { opacity: 0.55; cursor: default; }
.field.has-error input,
.field.has-error select { border-color: var(--red); }
.field__err { font-size: 0.78rem; color: var(--red); }
.field__err:empty { display: none; }

.consent {
  display: flex; align-items: flex-start; gap: 11px;
  cursor: pointer; font-size: 0.92rem; color: var(--text-muted);
  font-family: var(--font-body); text-transform: none; letter-spacing: 0;
  user-select: none;                 /* клик по тексту не выделяет его */
}
/* Сбрасываем базовые стили поля (padding/border/фон/анимация) — иначе при клике
   по тексту фокус на чекбоксе перекрашивал его и он «дёргался». */
.consent input {
  width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto;
  padding: 0; border: 0; border-radius: 0; background: none;
  accent-color: var(--red); cursor: pointer;
}
.consent input:focus { background: none; }   /* не перекрашивать на фокусе */
.consent i { color: var(--red); font-style: normal; }

.bform__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 26px; margin-top: 28px; }
.bform__note { font-size: 0.86rem; color: var(--text-muted); max-width: 42ch; }

/* Экран успеха */
.bsuccess { text-align: center; padding: 26px 10px; }
.bsuccess__eyebrow { color: var(--red); display: block; margin-bottom: 16px; }
.bsuccess__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 16px;
}
.bsuccess__title span {
  background: var(--gold-deep);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Статус «ожидает подтверждения оператором» — мягкая плашка (soft-бронь) */
.bsuccess__status {
  display: inline-block;
  margin: 0 auto 16px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--red);
  background: rgba(119, 30, 31, 0.05);
}
.bsuccess__text { color: var(--text-muted); max-width: 52ch; margin: 0 auto 24px; }

/* Honeypot: полностью убираем из потока и от глаз/скринридеров, но поле в DOM есть */
.hp-field {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .bform__grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
}

/* ═══════════════ МОДАЛКА КАРТОЧКИ ═══════════════ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  animation: modalIn .25s var(--ease);
}
.modal[hidden] { display: none; }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(16,9,8,0.66);
  backdrop-filter: blur(3px);
}
.modal__panel {
  position: relative; z-index: 1;
  width: min(900px, 100%);
  max-height: 90vh; overflow: auto;
  background: var(--white);
  box-shadow: 0 40px 90px -30px rgba(16,9,8,0.7);
}
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(250,246,239,0.92); color: var(--ink);
  border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  transition: background .25s var(--ease);
}
.modal__close:hover { background: var(--white); }
.modal__close svg { width: 18px; height: 18px; }

.modal__body { display: grid; grid-template-columns: 1fr; }
.modal__gallery { display: flex; flex-direction: column; }
.modal__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(155deg, #F8F3EB 0%, #EFE6D8 100%);
}
/* Полоса миниатюр (до 3 фото) */
.modal__thumbs { display: flex; gap: 8px; padding: 12px; flex-wrap: wrap; }
.modal__thumb {
  width: 58px; height: 58px; flex: 0 0 auto;
  padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #F8F3EB 0%, #EFE6D8 100%);
  transition: border-color .25s var(--ease);
}
.modal__thumb.is-active { border-color: var(--red); }
.modal__thumb .media-img { width: 100%; height: 100%; object-fit: cover; }
.modal__thumb .ph { width: 100%; height: 100%; display: grid; place-items: center; }
.modal__thumb .ph svg { width: 74%; height: 74%; }
.modal__info { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; }
.modal__type { color: var(--red); margin-bottom: 12px; }
.modal__title { font-family: var(--font-accent); font-size: 1.7rem; color: var(--ink); margin-bottom: 10px; }
.modal__price { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-bottom: 20px; }
.modal__specs { display: flex; flex-direction: column; margin-bottom: 18px; }
.modal__specs > div {
  display: flex; gap: 14px; padding: 9px 0;
  border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.modal__specs dt {
  flex: 0 0 104px;
  font-family: var(--font-accent);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); padding-top: 2px;
}
.modal__specs dd { color: var(--ink); }
.modal__desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 22px; }
.modal__actions { margin-top: auto; }
.modal__note { font-size: 0.82rem; color: var(--text-muted); margin-top: 12px; }

body.modal-open { overflow: hidden; }

@media (min-width: 720px) {
  .modal__body { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════ КНОПКА КОРЗИНЫ (в шапке) ═══════════════ */
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  color: rgba(250, 246, 239, 0.92);     /* светлая над тёмным героем */
  transition: color .3s var(--ease);
}
.masthead.solid .cart-btn { color: var(--ink); }
.cart-btn svg { width: 24px; height: 24px; }
.cart-btn__count {
  position: absolute; top: 3px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  font-family: var(--font-body); font-size: 0.64rem; font-weight: 700;
  line-height: 1; border-radius: 9px;
}
.cart-btn__count[hidden] { display: none; }

/* ═══════════════ КОРЗИНА БРОНИ (выезжающая панель) ═══════════════ */
.cart { position: fixed; inset: 0; z-index: 210; }
.cart[hidden] { display: none; }
.cart__backdrop {
  position: absolute; inset: 0;
  background: rgba(16, 9, 8, 0.55);
  backdrop-filter: blur(2px);
  animation: fadeIn .3s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cart__panel {
  position: absolute; top: 0; right: 0;
  width: min(480px, 100%); height: 100%;
  background: var(--paper);
  overflow-y: auto;
  box-shadow: -30px 0 80px -30px rgba(16, 9, 8, 0.6);
  animation: cartIn .35s var(--ease);
}
@keyframes cartIn { from { transform: translateX(100%); } to { transform: none; } }

.cart__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.cart__title {
  font-family: var(--font-accent);
  font-size: 1.08rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
}
.cart__close {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink); cursor: pointer; transition: border-color .25s var(--ease);
}
.cart__close:hover { border-color: var(--ink); }
.cart__close svg { width: 18px; height: 18px; }

.cart__items { padding: 16px 22px 4px; }
.cart__empty { color: var(--text-muted); font-size: 0.95rem; padding: 8px 0 16px; }
.cart-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item__media {
  width: 58px; height: 58px; flex: 0 0 auto;
  background: linear-gradient(155deg, #F8F3EB 0%, #EFE6D8 100%);
  display: grid; place-items: center;
}
.cart-item__media svg { width: 62%; height: 62%; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-family: var(--font-accent); font-size: 0.95rem; color: var(--ink); }
.cart-item__meta { font-size: 0.78rem; color: var(--text-muted); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.cart-item__price { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty__btn {
  width: 28px; height: 28px; display: grid; place-items: center;
  background: none; border: none; cursor: pointer;
  color: var(--ink); font-size: 1.1rem; line-height: 1;
  transition: color .2s var(--ease);
}
.qty__btn:hover { color: var(--red); }
.qty__n { min-width: 30px; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; }
.cart-item__remove {
  flex: 0 0 auto; width: 30px; height: 30px;
  background: none; border: none; cursor: pointer; color: var(--text-muted);
  display: grid; place-items: center; transition: color .25s var(--ease);
}
.cart-item__remove:hover { color: var(--red); }
.cart-item__remove svg { width: 16px; height: 16px; }

.cart__summary {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0 4px;
  font-family: var(--font-accent);
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}
.cart__summary b { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }

.cart__form { padding: 8px 22px 26px; }
/* в узкой панели форма всегда в одну колонку */
.cart .bform__grid { grid-template-columns: 1fr; }
.cart .bform__foot { margin-top: 22px; }
.cart .btn--book { width: 100%; }

body.cart-open { overflow: hidden; }

/* ═══════════════ РОАДМАП «КАК ЭТО РАБОТАЕТ» ═══════════════ */
.roadmap {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 44px;
}
.roadmap.reveal { opacity: 1; transform: none; transition: none; }
/* соединительная линия (вертикальная на мобайле) */
.roadmap::before {
  content: '';
  position: absolute; left: 27px; top: 10px; bottom: 46px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(201,168,106,0.25) 100%);
  transform: scaleY(0); transform-origin: top;
  transition: transform 1.1s var(--ease);
}
.roadmap.in::before { transform: scaleY(1); }

.rstep { position: relative; display: flex; gap: 20px; padding-bottom: 30px; }
.rstep__marker {
  position: relative; z-index: 1; flex: 0 0 auto;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--mist);
  display: grid; place-items: center;
  opacity: 0; transform: scale(0.6);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.roadmap.in .rstep__marker { opacity: 1; transform: none; }
.rstep__num {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.15rem;
  background: var(--gold-deep);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rstep__body {
  padding-top: 6px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.roadmap.in .rstep__body { opacity: 1; transform: none; }
.rstep__title { font-family: var(--font-accent); font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }
.rstep__text { font-size: 0.95rem; color: var(--text-muted); }

/* каскад появления */
.roadmap.in .rstep:nth-child(1) .rstep__marker,
.roadmap.in .rstep:nth-child(1) .rstep__body { transition-delay: .15s; }
.roadmap.in .rstep:nth-child(2) .rstep__marker,
.roadmap.in .rstep:nth-child(2) .rstep__body { transition-delay: .35s; }
.roadmap.in .rstep:nth-child(3) .rstep__marker,
.roadmap.in .rstep:nth-child(3) .rstep__body { transition-delay: .55s; }
.roadmap.in .rstep:nth-child(4) .rstep__marker,
.roadmap.in .rstep:nth-child(4) .rstep__body { transition-delay: .75s; }

@media (min-width: 760px) {
  .roadmap { grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
  .rstep { flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-bottom: 0; }
  .rstep__body { max-width: 26ch; padding-top: 0; }
  /* линия горизонтальная: от центра 1-го узла до центра 4-го */
  .roadmap::before {
    left: 12.5%; right: 12.5%; top: 27px; bottom: auto;
    width: auto; height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, rgba(201,168,106,0.35) 100%);
    transform: scaleX(0); transform-origin: left;
  }
  .roadmap.in::before { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .roadmap::before { transform: none; transition: none; }
  .rstep__marker, .rstep__body { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════ ТОСТ «добавлено в заявку» ═══════════════ */
.toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 220;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  max-width: min(360px, calc(100% - 40px));
  background: var(--ink); color: var(--paper);
  border: 1px solid rgba(201, 168, 106, 0.4);
  box-shadow: 0 16px 36px -14px rgba(16, 9, 8, 0.6);
  opacity: 0; transform: translateY(14px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
.toast[hidden] { display: none; }
.toast.show { opacity: 1; transform: none; }
.toast__icon { width: 22px; height: 22px; color: var(--gold); flex: 0 0 auto; }
.toast__text { font-size: 0.92rem; line-height: 1.3; flex: 1; min-width: 0; }
.toast__link {
  flex: 0 0 auto;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-accent);
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.toast__link:hover { border-bottom-color: var(--gold); }
