/* ============================================================
   ЩЕТИНИНСКИЕ БАНИ — дизайн-система
   Источник токенов: claude.ai/design «Щетининские Бани — Design System»
   Шрифты: Playfair Display (дисплей, антиква) + Manrope (текст)
   ============================================================ */

/* ── 1. Токены ─────────────────────────────────────────────── */
:root {
  /* Брендовое золото / бронза */
  --gold-100: #F3E9D6;
  --gold-200: #E4CFA6;
  --gold-300: #CBAA74;
  --gold-400: #B58A54;   /* основное золото — кнопки, знак */
  --gold-500: #A8762E;   /* глубокая охра — акценты, ссылки */
  --gold-600: #8A5F20;   /* нажатое золото */

  /* Тёплые нейтральные (фоны и поверхности) */
  --cream-50:  #FEFCF9;  /* карточный белый */
  --cream-100: #FAF6F0;  /* фон страницы */
  --cream-200: #F5F0E8;  /* секции / панели */
  --cream-300: #ECE4D7;  /* лёгкие заливки */
  --line-200:  #E6DED1;  /* тонкие бордеры */
  --line-300:  #D9CFBD;  /* заметные бордеры */

  /* Тёплый тёмный (текст и футер) */
  --brown-900: #241B10;
  --brown-800: #33281A;
  --ink-900:   #2B2620;
  --ink-600:   #6D6862;
  --ink-400:   #6E675D;
  --white:     #FFFFFF;

  /* Семантика */
  --surface-page:    var(--cream-100);
  --surface-section: var(--cream-200);
  --surface-card:    var(--cream-50);
  --surface-dark:    var(--brown-900);
  --text-primary:    var(--ink-900);
  --text-secondary:  var(--ink-600);
  --text-muted:      var(--ink-400);
  --text-on-dark:    #F3EDE3;
  --text-accent:     var(--gold-500);
  --brand-gold:      var(--gold-400);
  --brand-gold-deep: var(--gold-500);
  --border-subtle:   var(--line-200);
  --border-strong:   var(--line-300);
  --focus-ring:      var(--gold-400);

  /* Типографика */
  --font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-body:    'Manrope', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display-xl:  clamp(2.6rem, 7vw, 4.5rem);
  --display-lg:  clamp(1.9rem, 4vw, 2.75rem);
  --display-md:  clamp(1.5rem, 3vw, 2rem);
  --display-sm:  1.5rem;
  --text-lg:   1.25rem;
  --text-md:   1.0625rem;
  --text-sm:   0.9375rem;
  --text-xs:   0.8125rem;
  --text-2xs:  0.6875rem;
  --leading-tight:  1.1;
  --leading-snug:   1.3;
  --leading-normal: 1.6;
  --tracking-eyebrow: 0.22em;
  --tracking-display: 0.01em;
  --tracking-wide:    0.08em;

  /* Отступы, радиусы, тени */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.5rem; --space-6: 2rem;
  --space-8: 3rem;    --space-10: 4rem;  --space-12: 5rem; --space-16: 7rem;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px; --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(50, 38, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(50, 38, 22, 0.08);
  --shadow-lg: 0 20px 48px rgba(50, 38, 22, 0.12);
  --container-max: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-base: 260ms;

  --header-h: 84px;
}

/* ── 2. База ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text-accent); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: var(--leading-tight); letter-spacing: var(--tracking-display); text-transform: uppercase; color: var(--text-primary); text-wrap: balance; }
.prose p, .sub { text-wrap: pretty; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.25em; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold-200); color: var(--ink-900); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-gold); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ── 3. Типографика ────────────────────────────────────────── */
.display-xl { font-size: var(--display-xl); line-height: 1.02; }
.display-lg { font-size: var(--display-lg); }
.display-md { font-size: var(--display-md); }
.display-sm { font-size: var(--display-sm); }
.accent { color: var(--brand-gold-deep); }
.accent-italic { color: var(--brand-gold-deep); font-style: italic; }
.lead { font-size: var(--text-lg); line-height: 1.55; color: var(--text-secondary); }
.muted { color: var(--text-secondary); }

/* Рубрика секции: капс + охра + орнамент по бокам (по ТЗ) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: var(--text-2xs); font-weight: 600;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--brand-gold-deep);
}
.eyebrow .star { color: var(--brand-gold); font-size: 0.85em; letter-spacing: 0; }
.eyebrow--lines { justify-content: center; width: 100%; }
.eyebrow--lines::before, .eyebrow--lines::after {
  content: ""; height: 1px; width: clamp(28px, 8vw, 96px);
  background: linear-gradient(to right, transparent, var(--gold-300));
}
.eyebrow--lines::after { background: linear-gradient(to left, transparent, var(--gold-300)); }
.eyebrow--dark { color: var(--gold-300); }

.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: var(--space-8); }
.section-head--left { text-align: left; align-items: flex-start; }
.section-head .sub { max-width: 720px; color: var(--text-secondary); margin: 0 auto; }
.section-head--left .sub { margin: 0; }

/* Статья (длинный копирайт) */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--display-md); margin: var(--space-8) 0 var(--space-4); }
.prose h3 { font-size: var(--display-sm); margin: var(--space-6) 0 var(--space-3); }
.prose p  { color: var(--text-secondary); }
.prose > p:first-child { color: var(--text-primary); }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-secondary); }
.prose ul li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--brand-gold); font-size: 0.8em; }
.prose ol { counter-reset: prose; list-style: none; padding: 0; }
.prose ol li { position: relative; padding-left: 44px; margin-bottom: 14px; color: var(--text-secondary); counter-increment: prose; }
.prose ol li::before {
  content: counter(prose, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: var(--font-display); font-size: 1.15em; color: var(--brand-gold);
}
.prose strong { color: var(--text-primary); font-weight: 700; }
.prose blockquote {
  position: relative; margin: var(--space-6) 0;
  padding: var(--space-5) var(--space-6) var(--space-5) 64px;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  font-style: italic; color: var(--text-secondary);
}
.prose blockquote::before {
  content: "«"; position: absolute; left: 20px; top: 4px;
  font-family: var(--font-display); font-style: normal;
  font-size: 2.6rem; line-height: 1; color: var(--gold-300);
}
.prose blockquote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; color: var(--text-primary); font-size: var(--text-sm); }

/* ── 4. Каркас ─────────────────────────────────────────────── */
.container { max-width: var(--container-max); margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }

/* Панель-секция со скруглением (как «Выбери свой формат» в референсе) */
.panel {
  background: var(--surface-section);
  margin: 0 clamp(12px, 2vw, 24px);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 80px) 0;
}

/* ── 5. Кнопки и бейджи ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; line-height: 1;
  padding: 14px 30px; font-size: var(--text-sm);
  border: 1px solid transparent;
  transition: filter var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-gold); color: #fff; border-color: var(--brand-gold); }
.btn--primary:hover { filter: brightness(0.93); color: #fff; }
.btn--outline { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--gold-400); color: var(--gold-600); }
.btn--dark { background: var(--brown-900); color: var(--text-on-dark); border-color: var(--brown-900); }
.btn--dark:hover { filter: brightness(1.15); color: var(--text-on-dark); }
.btn--light { background: transparent; color: var(--text-on-dark); border-color: rgba(243, 237, 227, 0.4); }
.btn--light:hover { border-color: var(--gold-300); color: var(--gold-200); }
.btn--sm { padding: 9px 18px; font-size: var(--text-xs); }
.btn--lg { padding: 17px 38px; font-size: var(--text-md); }
.btn--block { width: 100%; }

.badge {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: var(--text-2xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--gold-100); color: var(--gold-600); white-space: nowrap;
}

/* ── 6. Шапка ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo img { height: 40px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text .logo-title {
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-primary); white-space: nowrap;
}
.logo-text .logo-sub { font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brand-gold-deep); white-space: nowrap; }
.logo { flex-shrink: 0; }

.main-nav { display: none; }
.header-contact { display: none; margin-left: auto; text-align: right; line-height: 1.3; }
.header-contact .phone { font-size: 1.05rem; font-weight: 700; color: var(--brand-gold-deep); text-decoration: none; white-space: nowrap; }
.header-contact .phone:hover { color: var(--gold-600); }
.header-contact .hours { font-size: 0.69rem; color: var(--text-muted); }
.header-cta { display: none; }

.burger {
  margin-left: auto;
  width: 46px; height: 46px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: transparent; cursor: pointer; position: relative; flex-shrink: 0;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink-900);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Десктоп-навигация с выпадающими */
@media (min-width: 1024px) {
  .burger { display: none; }
  .main-nav { display: flex; align-items: center; gap: 1px; margin-left: 6px; }
  .header-inner { gap: 12px; }
}
@media (min-width: 1024px) and (max-width: 1339px) {
  .nav-link { padding: 10px 6px !important; font-size: 0.73rem !important; }
  .header-contact .phone { font-size: 0.92rem; }
  .header-contact .hours { display: none; }
  .logo-text .logo-title { font-size: 0.9rem; }
  .logo-text .logo-sub { display: none; }
  .logo-mark { height: 34px; }
  .header-cta { padding: 9px 12px; font-size: 0.7rem; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-link { padding: 9px 5px !important; font-size: 0.7rem !important; }
  .main-nav { gap: 0; margin-left: 4px; }
  .logo-text .logo-title { font-size: 0.82rem; }
  .header-contact .phone { font-size: 0.84rem; }
  .header-cta { padding: 8px 10px; font-size: 0.66rem; }
  .header-inner { gap: 8px; }
}
@media (min-width: 1024px) {
  .header-contact { display: block; }
  .header-cta { display: inline-flex; }
  .nav-item { position: relative; }
  .nav-link {
    display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
    padding: 10px 9px; font-size: 0.79rem; letter-spacing: 0.01em;
    color: var(--text-secondary); text-decoration: none; border-radius: var(--radius-sm);
    transition: color var(--dur-fast) var(--ease-out);
    background: none; border: 0; cursor: pointer; font-family: var(--font-body);
  }
  .nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--gold-500); }
  .nav-link .chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--dur-fast); }
  .nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(225deg) translateY(-1px); }
  .dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px;
    background: var(--surface-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
  }
  .nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s;
  }
  .dropdown a {
    display: block; padding: 10px 14px; border-radius: var(--radius-sm);
    font-size: var(--text-sm); color: var(--text-primary); text-decoration: none;
  }
  .dropdown a:hover { background: var(--cream-200); color: var(--gold-600); }
  .dropdown a small { display: block; font-size: var(--text-2xs); color: var(--text-muted); letter-spacing: 0.04em; }
}

/* Мобильная панель меню */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--surface-page);
  padding: 20px clamp(20px, 4vw, 48px) 120px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu .m-group { border-bottom: 1px solid var(--border-subtle); }
.mobile-menu .m-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: 0; cursor: pointer; padding: 16px 0;
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-primary);
}
.mobile-menu .m-toggle .chev { width: 9px; height: 9px; border-right: 1.5px solid var(--gold-500); border-bottom: 1.5px solid var(--gold-500); transform: rotate(45deg); transition: transform var(--dur-base); }
.mobile-menu .m-group.is-open .m-toggle .chev { transform: rotate(225deg); }
.mobile-menu .m-sub { display: none; padding: 0 0 14px; }
.mobile-menu .m-group.is-open .m-sub { display: block; }
.mobile-menu .m-sub a { display: block; padding: 9px 0 9px 16px; color: var(--text-secondary); font-size: var(--text-md); border-left: 1px solid var(--line-300); margin-left: 2px; }
.mobile-menu .m-sub a:hover { color: var(--gold-600); border-left-color: var(--gold-400); }
.mobile-menu .m-link { display: block; padding: 16px 0; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-primary); border-bottom: 1px solid var(--border-subtle); }
.mobile-menu .m-contacts { padding: 24px 0 0; text-align: center; }
.mobile-menu .m-contacts .phone { display: block; font-size: 1.4rem; font-weight: 700; color: var(--brand-gold-deep); margin-bottom: 4px; }
.mobile-menu .m-contacts .hours { font-size: var(--text-xs); color: var(--text-muted); margin-bottom: 18px; }
body.menu-open { overflow: hidden; }

/* Липкая нижняя панель (мобильная) */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 8px; font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.mobile-bar .bar-phone { background: var(--surface-page); color: var(--text-primary); }
.mobile-bar .bar-book { background: var(--brand-gold); color: #fff; }
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 56px; } }

/* ── 7. Hero главной ───────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--surface-page); }
.hero-media {
  position: absolute; right: 0; top: 0; bottom: 0; width: 100%;
}
.hero-media img, .hero-media picture {
  position: absolute; right: 0; top: 0; height: 100%; width: 100%;
  object-fit: cover; object-position: center;
}
.hero-inner { position: relative; padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); }
.hero-content { max-width: 620px; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1.eyebrow { font-size: var(--text-2xs); }
.hero .lead { margin: 24px 0 12px; max-width: 460px; }
.hero-text { max-width: 560px; color: var(--text-secondary); font-size: var(--text-sm); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

@media (min-width: 900px) {
  .hero-media { width: min(58%, 1020px); left: auto; }
  .hero-media img {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 44%);
            mask-image: linear-gradient(to right, transparent, #000 44%);
    object-position: center top;
  }
  /* низ фото плавно растворяется в кремовом фоне */
  .hero-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
    background: linear-gradient(to top, var(--cream-100), rgba(250, 246, 240, 0));
    pointer-events: none;
  }
}
@media (max-width: 899px) {
  .hero-media { position: relative; height: 300px; }
  .hero-media img {
    -webkit-mask-image: linear-gradient(to top, transparent 2%, #000 40%);
            mask-image: linear-gradient(to top, transparent 2%, #000 40%);
  }
  .hero-inner { padding-top: 8px; }
}

/* Печать-саламандра (вращающаяся круговая надпись) */
.seal {
  position: absolute; z-index: 3; width: 132px; height: 132px; pointer-events: none;
}
.seal svg { width: 100%; height: 100%; display: block; }
.seal .seal-ring { animation: seal-spin 46s linear infinite; transform-origin: 50% 50%; }
.seal .seal-center {
  position: absolute; left: 50%; top: 50%; width: 50%; height: 50%;
  transform: translate(-50%, -50%); object-fit: contain;
}
.hero .seal { right: clamp(16px, 5vw, 72px); bottom: clamp(16px, 4vw, 48px); }
@keyframes seal-spin { to { transform: rotate(360deg); } }

/* Живой пар — фирменная анимация */
.steam { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.steam i {
  position: absolute; bottom: -80px; display: block;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 252, 249, 0.55), rgba(254, 252, 249, 0) 70%);
  filter: blur(14px); opacity: 0;
  animation: steam-rise 14s ease-in-out infinite;
}
.steam i:nth-child(1) { left: 12%; animation-delay: 0s;   transform: scale(0.9); }
.steam i:nth-child(2) { left: 38%; animation-delay: 4.5s; transform: scale(1.25); }
.steam i:nth-child(3) { left: 62%; animation-delay: 9s;   transform: scale(0.8); }
.steam i:nth-child(4) { left: 82%; animation-delay: 2.5s; transform: scale(1.1); }
@keyframes steam-rise {
  0%   { opacity: 0; transform: translateY(0) translateX(0) scale(0.9); }
  25%  { opacity: 0.5; }
  60%  { opacity: 0.28; }
  100% { opacity: 0; transform: translateY(-64vh) translateX(6vw) scale(1.6); }
}
.steam--dark i { background: radial-gradient(circle, rgba(228, 207, 166, 0.16), rgba(228, 207, 166, 0) 70%); }

/* Hero внутренних страниц */
.page-hero { position: relative; overflow: hidden; background: var(--surface-section); border-bottom: 1px solid var(--border-subtle); }
.page-hero .container { position: relative; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 900px; }
.page-hero .lead { margin: 20px 0 0; max-width: 720px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero .seal { right: clamp(12px, 4vw, 60px); top: 50%; transform: translateY(-50%); opacity: 0.9; display: none; }
@media (min-width: 1100px) { .page-hero .seal { display: block; } }

/* Хлебные крошки */
.breadcrumbs { padding: 14px 0 0; font-size: var(--text-xs); color: var(--text-muted); position: relative; z-index: 3; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "·"; color: var(--gold-300); }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--gold-600); }
.breadcrumbs [aria-current] { color: var(--text-muted); }

/* ── 8. Фичи (иконка + две строки) ─────────────────────────── */
.features { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); }
.feature { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.feature .ficon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold-200); color: var(--brand-gold);
  display: flex; align-items: center; justify-content: center; background: var(--surface-card);
}
.feature .ficon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.feature b { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--text-primary); line-height: 1.35; }
.feature span { font-size: var(--text-xs); color: var(--text-secondary); }

.features-grid { display: grid; grid-template-columns: 1fr; gap: 20px 40px; }
@media (min-width: 640px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid--4 { grid-template-columns: repeat(4, 1fr); } .features-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ── 9. Карточки программ ──────────────────────────────────── */
.programs-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px)  { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .programs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .programs-grid { grid-template-columns: repeat(5, 1fr); } .programs-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.program-card {
  display: flex; flex-direction: column;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.program-card .pc-media { aspect-ratio: 1 / 1; overflow: hidden; }
.program-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.program-card:hover .pc-media img { transform: scale(1.04); }
.program-card .pc-body { padding: var(--space-5); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.program-card .pc-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.program-card h3 { font-size: 1.28rem; }
.program-card p { margin: 0; font-size: var(--text-sm); color: var(--text-secondary); }
.program-card .pc-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.program-card .pc-price { font-size: var(--text-lg); font-weight: 700; color: var(--text-primary); }

/* Полоса «Дополнительно к аренде» */
.extras-bar {
  margin-top: var(--space-6);
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 20px 26px;
  display: flex; align-items: center; gap: 28px 40px; flex-wrap: wrap;
}
.extras-bar .extras-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.extras-bar .btn { margin-left: auto; }
@media (max-width: 767px) { .extras-bar .btn { margin-left: 0; width: 100%; } }

/* ── 10. Сплит-секции ──────────────────────────────────────── */
.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > .split-media { order: 2; } }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.split-media .watermark {
  position: absolute; right: -24px; top: -56px; width: 190px; opacity: 0.9; pointer-events: none;
}
.split-body .eyebrow { margin-bottom: 12px; }
.split-body h2 { font-size: var(--display-lg); margin-bottom: 18px; }
.split-body p { color: var(--text-secondary); }

/* ── 11. Отзывы ────────────────────────────────────────────── */
.reviews-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.reviews-head h2 { font-size: var(--display-md); }
.reviews-nav { margin-left: auto; display: flex; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: transparent; color: var(--text-primary); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.icon-btn:hover { border-color: var(--gold-400); color: var(--gold-600); }
.icon-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 360px);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track > * { scroll-snap-align: start; }
@media (min-width: 1024px) { .reviews-track--3 { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }

.review-card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: var(--space-5); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.review-card .stars { color: var(--brand-gold); letter-spacing: 4px; font-size: var(--text-sm); }
.review-card .quote { margin: 0; font-size: var(--text-sm); line-height: 1.65; color: var(--text-secondary); font-style: italic; }
.review-card .who { margin-top: auto; display: flex; align-items: center; gap: 8px; padding-top: 6px; }
.review-card .who b { font-size: var(--text-sm); color: var(--text-primary); }
.review-card .who span { font-size: var(--text-xs); color: var(--text-muted); }

/* ── 12. Прайс со связующим пунктиром ──────────────────────── */
.price-list { list-style: none; margin: 0 0 var(--space-5); padding: 0; max-width: 720px; }
.price-row { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; }
.price-row + .price-row { border-top: 0; }
.price-row .p-name { color: var(--text-primary); font-weight: 600; }
.price-row .p-name small { display: block; font-weight: 400; font-size: var(--text-xs); color: var(--text-muted); letter-spacing: 0.02em; }
.price-row .p-dots { flex: 1; border-bottom: 1px dotted var(--line-300); transform: translateY(-4px); min-width: 24px; }
.price-row .p-price { font-weight: 700; color: var(--brand-gold-deep); white-space: nowrap; }

/* ── 13. Шаги «Как всё устроено» ───────────────────────────── */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 26px 22px 22px; counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2rem; color: var(--gold-300); line-height: 1;
  display: block; margin-bottom: 14px;
}
.step b { display: block; font-size: var(--text-md); margin-bottom: 6px; color: var(--text-primary); }
.step p { margin: 0; font-size: var(--text-sm); color: var(--text-secondary); }

/* ── 14. Списки-галочки (что входит) ───────────────────────── */
.check-grid { display: grid; gap: 12px 32px; grid-template-columns: 1fr; list-style: none; margin: 0 0 var(--space-5); padding: 0; }
@media (min-width: 700px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-grid li { position: relative; padding-left: 30px; color: var(--text-secondary); }
.check-grid li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px;
  border-left: 1.6px solid var(--brand-gold); border-bottom: 1.6px solid var(--brand-gold);
  transform: rotate(-45deg);
}
.check-grid li b { color: var(--text-primary); }

/* ── 15. FAQ ───────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 600; color: var(--text-primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 10px; height: 10px;
  border-right: 1.5px solid var(--gold-500); border-bottom: 1.5px solid var(--gold-500);
  transform: rotate(45deg); transition: transform var(--dur-base) var(--ease-out); margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq .faq-a { padding: 0 22px 20px; color: var(--text-secondary); }
.faq .faq-a p { margin: 0; }

/* ── 16. Тёмная CTA-секция ─────────────────────────────────── */
.dark-band {
  position: relative; overflow: hidden;
  background: var(--surface-dark); color: var(--text-on-dark);
  padding: clamp(56px, 8vw, 88px) 0;
}
/* топографический орнамент гор */
.dark-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='420' viewBox='0 0 900 420'%3E%3Cg fill='none' stroke='%23C89B5A' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M0 340 Q 150 250 300 320 T 620 300 T 900 330'/%3E%3Cpath d='M0 370 Q 160 290 320 350 T 640 330 T 900 360'/%3E%3Cpath d='M0 400 Q 170 330 340 380 T 660 360 T 900 390'/%3E%3Cpath d='M60 300 Q 200 190 340 280 Q 420 320 520 270 Q 640 215 760 270 Q 830 300 900 285'/%3E%3Cpath d='M120 250 Q 240 150 380 240 Q 470 290 590 230 Q 700 180 820 235'/%3E%3Cpath d='M200 200 Q 320 110 460 200 Q 560 255 700 195'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 420px; background-position: bottom center; background-repeat: repeat-x;
}
/* дыхание углей */
.dark-band::after {
  content: ""; position: absolute; left: 50%; bottom: -220px; width: 720px; height: 380px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(200, 155, 90, 0.14), transparent 65%);
  animation: embers 7s ease-in-out infinite alternate;
}
@keyframes embers { from { opacity: 0.55; } to { opacity: 1; } }
.dark-band .container { position: relative; z-index: 2; }
.dark-band h2 { color: var(--text-on-dark); font-size: var(--display-lg); }
.dark-band .sub { color: rgba(243, 237, 227, 0.75); margin: 14px 0 28px; max-width: 460px; }
.dark-band a:not(.btn) { color: var(--gold-300); }
.dark-band a:not(.btn):hover { color: var(--gold-200); }

.band-grid { display: grid; gap: clamp(32px, 6vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .band-grid { grid-template-columns: 1.05fr 1fr; } }

.dates-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; }
.date-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.date-card {
  text-align: center; padding: 18px 10px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-on-dark);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base);
}
.date-card:hover { transform: translateY(-3px); }
.date-card.is-active { background: var(--brand-gold); border-color: var(--brand-gold); color: #fff; }
.date-card .d-day { font-size: 0.72rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.08em; }
.date-card .d-date { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 6px 0 8px; }
.date-card .d-note { font-size: 0.7rem; opacity: 0.85; }

/* Форма бронирования */
.book-form { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .book-form { grid-template-columns: 1fr 1fr; } .book-form .fw { grid-column: 1 / -1; } }
.field label { display: block; font-size: var(--text-2xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }
.dark-band .field label { color: rgba(243, 237, 227, 0.6); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: var(--text-md);
  color: var(--text-primary); background: var(--surface-card);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(181, 138, 84, 0.15); }
.field textarea { resize: vertical; min-height: 90px; }
.dark-band .field input, .dark-band .field select, .dark-band .field textarea {
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); color: var(--text-on-dark);
}
.dark-band .field ::placeholder { color: rgba(243, 237, 227, 0.4); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-xs); color: var(--text-muted); }
.consent input { margin-top: 3px; accent-color: var(--brand-gold); }
.dark-band .consent { color: rgba(243, 237, 227, 0.6); }
.consent a { text-decoration: underline; }
.form-note { font-size: var(--text-xs); color: var(--text-muted); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: var(--text-sm); }
.form-status.is-ok { display: block; background: rgba(181, 138, 84, 0.15); color: var(--gold-600); border: 1px solid var(--gold-300); }
.dark-band .form-status.is-ok { color: var(--gold-200); }
.form-status.is-err { display: block; background: rgba(160, 60, 40, 0.1); color: #A03C28; border: 1px solid rgba(160, 60, 40, 0.3); }

/* Экран «спасибо» */
.thanks { text-align: center; padding: clamp(24px, 5vw, 48px) 0; }
.thanks .seal { position: relative; margin: 0 auto 20px; }
.thanks h3 { font-size: var(--display-md); margin-bottom: 12px; }
.thanks p { color: var(--text-secondary); max-width: 420px; margin: 0 auto; }
.dark-band .thanks h3 { color: var(--text-on-dark); }
.dark-band .thanks p { color: rgba(243, 237, 227, 0.75); }

/* ── 17. Галерея ───────────────────────────────────────────── */
.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid a { display: block; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 600ms var(--ease-out); }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid .tall img { aspect-ratio: 3 / 4; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(36, 27, 16, 0.94); padding: 4vh 4vw;
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid rgba(243, 237, 227, 0.35); background: transparent;
  color: var(--text-on-dark); font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.lightbox .lb-close:hover { border-color: var(--gold-300); color: var(--gold-200); }

/* ── 18. Футер ─────────────────────────────────────────────── */
.site-footer {
  position: relative; background: var(--surface-dark); color: rgba(243, 237, 227, 0.72);
  padding: clamp(48px, 7vw, 72px) 0 0; overflow: hidden; font-size: var(--text-sm);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='420' viewBox='0 0 900 420'%3E%3Cg fill='none' stroke='%23C89B5A' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M0 340 Q 150 250 300 320 T 620 300 T 900 330'/%3E%3Cpath d='M0 380 Q 160 300 320 360 T 640 340 T 900 370'/%3E%3Cpath d='M100 280 Q 240 180 380 270 Q 470 320 590 260 Q 700 210 820 265'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 420px; background-position: top center; background-repeat: repeat-x;
}
.site-footer .container { position: relative; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.footer-brand .logo-text .logo-title { color: var(--text-on-dark); }
.footer-brand .slogan { margin: 14px 0 0; font-style: italic; font-family: var(--font-display); text-transform: none; letter-spacing: 0.02em; color: var(--gold-300); font-size: 1.05rem; }
.footer-brand .seal { position: relative; width: 96px; height: 96px; margin-top: 20px; opacity: 0.9; }
.site-footer h4 { color: var(--text-on-dark); font-size: 0.85rem; letter-spacing: 0.16em; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: rgba(243, 237, 227, 0.72); }
.site-footer a:hover { color: var(--gold-300); }
.footer-contacts .phone { font-size: 1.2rem; font-weight: 700; color: var(--gold-300); }
.footer-contacts .row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-contacts svg { width: 16px; height: 16px; stroke: var(--gold-300); fill: none; stroke-width: 1.5; flex-shrink: 0; margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243, 237, 227, 0.25);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.footer-social a:hover { border-color: var(--gold-300); color: var(--gold-300); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-map { border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(243, 237, 227, 0.15); }
.footer-map img { width: 100%; }
.footer-bottom {
  border-top: 1px solid rgba(243, 237, 227, 0.12);
  padding: 24px 0; display: flex; flex-direction: column; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: center; text-align: center;
  font-size: var(--text-xs); color: rgba(243, 237, 227, 0.45); position: relative;
}
.footer-bottom a { color: rgba(243, 237, 227, 0.55); }
.footer-requisites { line-height: 1.55; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.footer-legal a { text-decoration: underline; text-decoration-color: rgba(243, 237, 227, 0.2); text-underline-offset: 3px; }
.footer-developer {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px; letter-spacing: 0.02em;
}
.footer-developer__brand {
  color: var(--gold-300);
  font-weight: 700;
}

/* ── 19. Плавающие контакты ────────────────────────────────── */
.float-contacts { position: fixed; right: 18px; bottom: 18px; z-index: 48; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 767px) { .float-contacts { bottom: 72px; } }
.float-contacts a {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); color: #fff;
  transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast);
}
.float-contacts a:hover { transform: translateY(-2px); filter: brightness(0.95); color: #fff; }
.float-contacts svg { width: 24px; height: 24px; fill: currentColor; }
.float-tg { background: #4A9EDE; }
.float-ph { background: var(--brand-gold); }
@media (min-width: 768px) { .float-ph { display: none; } }

/* ── 20. Модальное окно ────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 90; display: none;
  align-items: flex-start; justify-content: center;
  background: rgba(36, 27, 16, 0.6); padding: 4vh 16px; overflow-y: auto;
}
.modal.is-open { display: flex; }
.modal-card {
  background: var(--surface-page); border-radius: var(--radius-lg);
  max-width: 560px; width: 100%; padding: clamp(24px, 5vw, 40px);
  position: relative; box-shadow: var(--shadow-lg); margin: auto 0;
  animation: modal-in 320ms var(--ease-out);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.modal-card h3 { font-size: var(--display-md); margin-bottom: 6px; }
.modal-card .m-sub { color: var(--text-secondary); font-size: var(--text-sm); margin-bottom: 22px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--border-strong); background: transparent;
  color: var(--text-secondary); font-size: 1.15rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { border-color: var(--gold-400); color: var(--gold-600); }
body.modal-open { overflow: hidden; }

/* Юридические документы и cookie-согласие */
.legal-modal { z-index: 96; }
.legal-modal-card {
  max-width: 900px; max-height: 92vh; overflow-y: auto;
  padding: clamp(26px, 5vw, 52px);
}
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: var(--display-md); padding-right: 44px; margin-bottom: 4px; }
.legal-content h3 { font-size: var(--display-sm); margin: 28px 0 10px; }
.legal-content p, .legal-content li { color: var(--text-secondary); }
.legal-content ul { margin: 0; padding-left: 22px; }
.legal-content li { margin-bottom: 10px; }
.legal-content strong { color: var(--text-primary); }
.legal-content code {
  padding: 2px 6px; border-radius: 5px; background: var(--cream-300);
  color: var(--text-primary); font-size: 0.88em;
}
.legal-meta { margin: 0 0 24px; font-size: var(--text-xs); color: var(--text-muted) !important; }
.legal-operator {
  padding: 18px 20px; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); background: var(--surface-card);
}

.cookie-banner {
  position: fixed; z-index: 86; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
}
.cookie-banner__card {
  max-width: 940px; margin: 0 auto; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid rgba(181, 138, 84, 0.35); border-radius: var(--radius-lg);
  background: rgba(254, 252, 249, 0.98); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}
.cookie-banner__copy { max-width: 560px; }
.cookie-banner__copy > strong {
  display: block; margin-bottom: 3px; font-family: var(--font-display);
  color: var(--text-primary); font-size: 1.08rem;
}
.cookie-banner__copy p { margin: 0; color: var(--text-secondary); font-size: var(--text-sm); }
.cookie-banner a, .legal-content a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-actions .btn { white-space: nowrap; }

@media (max-width: 820px) {
  .cookie-banner { bottom: calc(70px + env(safe-area-inset-bottom)); }
  .cookie-banner__card { display: block; padding: 14px; }
  .cookie-banner .cookie-actions { margin-top: 12px; display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cookie-banner { left: 8px; right: 8px; }
  .cookie-banner__copy p { font-size: var(--text-xs); }
  .cookie-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .cookie-actions .btn { width: 100%; }
  .legal-modal-card { padding: 24px 20px; }
}

/* ── 21. Вспомогательные блоки ─────────────────────────────── */
/* Маршруты «сколько ехать» */
.route-list { list-style: none; margin: 0 0 var(--space-5); padding: 0; max-width: 640px; }
.route-list li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border-subtle); }
.route-list li:last-child { border-bottom: 0; }
.route-list b { color: var(--text-primary); font-weight: 600; }
.route-list .p-dots { flex: 1; border-bottom: 1px dotted var(--line-300); transform: translateY(-4px); min-width: 24px; }
.route-list .time { color: var(--brand-gold-deep); font-weight: 700; white-space: nowrap; }

/* Блок «см. также» */
.see-also { border-top: 1px solid var(--border-subtle); padding: var(--space-6) 0 0; margin-top: var(--space-8); }
.see-also .sa-label { font-size: var(--text-2xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.see-also-links { display: flex; flex-wrap: wrap; gap: 10px; }
.see-also-links a {
  display: inline-flex; padding: 10px 18px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill); font-size: var(--text-sm); color: var(--text-primary);
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.see-also-links a:hover { border-color: var(--gold-400); color: var(--gold-600); background: var(--gold-100); }

/* Карточки форматов (простые, без фото) */
.format-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .format-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .format-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.format-card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: var(--space-6); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.format-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.format-card h3 { font-size: var(--display-sm); }
.format-card .fc-price { font-size: 1.35rem; font-weight: 700; color: var(--brand-gold-deep); }
.format-card p { margin: 0; font-size: var(--text-sm); color: var(--text-secondary); }
.format-card .btn { margin-top: auto; }

/* CTA-строка в тексте */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: var(--space-6) 0; }

/* Карта */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); background: var(--cream-300); min-height: 380px; position: relative; }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; position: absolute; inset: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--text-secondary); cursor: pointer; text-align: center; padding: 20px; }

/* 404 */
.err-page { text-align: center; padding: clamp(64px, 12vw, 140px) 0; position: relative; overflow: hidden; }
.err-page .err-code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: var(--gold-200); }
.err-page h1 { font-size: var(--display-md); margin: 10px 0 14px; }
.err-page p { color: var(--text-secondary); max-width: 460px; margin: 0 auto var(--space-6); }

/* ── 22. Появление при скролле и hero-каскад ───────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 90ms; }
.reveal-d2 { transition-delay: 180ms; }
.reveal-d3 { transition-delay: 270ms; }
.reveal-d4 { transition-delay: 360ms; }

.hero-seq > * { opacity: 0; transform: translateY(18px); animation: hero-in 900ms var(--ease-out) forwards; }
.hero-seq > *:nth-child(1) { animation-delay: 80ms; }
.hero-seq > *:nth-child(2) { animation-delay: 220ms; }
.hero-seq > *:nth-child(3) { animation-delay: 400ms; }
.hero-seq > *:nth-child(4) { animation-delay: 540ms; }
.hero-seq > *:nth-child(5) { animation-delay: 680ms; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .hero-seq > * { opacity: 1; transform: none; }
  .steam { display: none; }
}

/* ── 23. Печать (утилиты) ──────────────────────────────────── */
.text-center { text-align: center; }
@media (min-width: 700px) { .nowrap-lg { white-space: nowrap; } }
body { overflow-x: hidden; }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ════════════════════════════════════════════════════════════
   24. АПГРЕЙД 2026 — премиум (графит+золото), геккон, новые блоки,
       параллакс и scroll-driven появление карточек.
   ════════════════════════════════════════════════════════════ */

:root {
  --black-900: #17120C;   /* глубокий премиум-графит (лого/сертификат) */
  --black-850: #1E1810;
  --gold-glow: rgba(181, 138, 84, 0.28);
  --z-header: 60; --z-float: 48; --z-bar: 50; --z-modal-bd: 88; --z-modal: 90; --z-lightbox: 100;
}

/* ── Логотип-геккон ─────────────────────────────────────────── */
.logo-mark { height: 40px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(23,18,12,.18)); }
@media (min-width: 1024px) and (max-width: 1339px) { .logo-mark { height: 34px; } }
.footer-brand .logo-mark { height: 52px; margin-bottom: 14px; filter: drop-shadow(0 3px 10px rgba(0,0,0,.4)); }

/* Декоративный геккон-водяной знак (в тёмных секциях / hero) */
.gecko-water {
  position: absolute; pointer-events: none; z-index: 1;
  width: clamp(240px, 34vw, 520px); opacity: 0.06;
  filter: grayscale(0.2);
}
.dark-band .gecko-water, .site-footer .gecko-water { opacity: 0.08; }

/* ── Премиум-hero (главная): графит + золото, фото справа ─────── */
.hero { background: linear-gradient(180deg, var(--cream-100), var(--cream-200)); }
.hero .eyebrow { color: var(--gold-500); }
.hero h1 { letter-spacing: -0.01em; }
.hero-content .hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  padding: 7px 16px 7px 12px; border-radius: var(--radius-pill);
  background: var(--black-900); color: var(--gold-200);
  font-size: var(--text-2xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero-content .hero-kicker img { height: 20px; width: auto; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px 40px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border-strong); }
.hero-stat b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--gold-600); line-height: 1; }
.hero-stat span { font-size: var(--text-xs); color: var(--text-secondary); letter-spacing: 0.02em; }

/* Золотой волосок-разделитель */
.rule-gold { height: 1px; border: 0; margin: var(--space-8) 0;
  background: linear-gradient(to right, transparent, var(--gold-300), transparent); }

/* ── Карточки программ: премиум-акцент ──────────────────────── */
.program-card { border-color: var(--line-300); }
.program-card:hover { border-color: var(--gold-300); box-shadow: 0 18px 40px rgba(50,38,22,.14); }
.program-card .pc-price { color: var(--gold-600); font-family: var(--font-display); }
.program-card .pc-price small { font-family: var(--font-body); font-weight: 500; font-size: var(--text-xs); color: var(--text-muted); display:block; }
.program-card--feature {
  grid-column: 1 / -1; background: var(--black-900); color: var(--text-on-dark);
  border-color: var(--black-850); position: relative; overflow: hidden;
}
.program-card--feature .pc-body { padding: clamp(24px,4vw,44px); }
.program-card--feature h3 { color: #fff; font-size: clamp(1.6rem,3vw,2.3rem); }
.program-card--feature p { color: rgba(243,237,227,.8); }
.program-card--feature .pc-price { color: var(--gold-300); }
@media (min-width: 900px) {
  .program-card--feature { display: grid; grid-template-columns: 1.05fr 1fr; }
  .program-card--feature .pc-media { aspect-ratio: auto; height: 100%; min-height: 340px; }
}

/* ── Аренда как основа: тариф-плитки (день/вечер, 6 чел / пара) ─ */
.tariff-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tariff-grid { grid-template-columns: 1fr 1fr; } }
.tariff {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base);
}
.tariff:hover { transform: translateY(-3px); border-color: var(--gold-300); box-shadow: var(--shadow-md); }
.tariff .t-cap { font-size: var(--text-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); }
.tariff h3 { font-size: var(--display-sm); margin: 8px 0 4px; }
.tariff .t-note { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: 18px; }
.tariff .t-rows { list-style: none; margin: 0; padding: 0; }
.tariff .t-rows li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border-subtle); }
.tariff .t-rows li:first-child { border-top: 0; }
.tariff .t-rows .p-dots { flex: 1; border-bottom: 1px dotted var(--line-300); transform: translateY(-4px); }
.tariff .t-rows b { color: var(--gold-600); font-family: var(--font-display); font-size: 1.15rem; white-space: nowrap; }

/* ── Преимущества (без карточек — волосок-сетка с золотой иконкой) */
.adv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 700px) { .adv-list { grid-template-columns: 1fr 1fr; column-gap: clamp(28px,5vw,64px); } }
.adv-list li { display: flex; gap: 18px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--border-subtle); }
.adv-ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--black-900); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
}
.adv-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.adv-list b { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; font-size: 1.12rem; margin-bottom: 6px; }
.adv-list p { margin: 0; font-size: var(--text-sm); color: var(--text-secondary); }

/* ── Аксессуары ─────────────────────────────────────────────── */
.merch-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.merch-card {
  background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 30px 24px; box-shadow: var(--shadow-sm); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base), box-shadow var(--dur-base);
}
.merch-card:hover { transform: translateY(-4px); border-color: var(--gold-300); box-shadow: var(--shadow-md); }
.merch-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--cream-200); color: var(--gold-600); display:flex; align-items:center; justify-content:center; }
.merch-ic svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.merch-card h3 { font-size: 1.2rem; }
.merch-card p { margin: 0; font-size: var(--text-sm); color: var(--text-secondary); flex: 1; }
.merch-card .merch-price { font-family: var(--font-display); color: var(--gold-600); font-size: 1.15rem; }

/* ── Отзывы: площадки (Яндекс/2ГИС) + QR ────────────────────── */
.platforms { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: var(--space-6); }
@media (min-width: 640px) { .platforms { grid-template-columns: 1fr 1fr; } }
.platform-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 20px 22px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text-primary);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base), box-shadow var(--dur-base);
}
.platform-card:hover { transform: translateY(-3px); border-color: var(--gold-300); box-shadow: var(--shadow-md); color: var(--text-primary); }
.platform-logo { flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--radius-md); display:flex; align-items:center; justify-content:center; font-family: var(--font-display); font-weight: 700; color:#fff; font-size: .8rem; letter-spacing: .02em; text-align:center; line-height:1; }
.platform-logo--ya { background: #FC3F1D; }
.platform-logo--2gis { background: #2Fb84f; }
.platform-logo--zoon { background: #5946b2; }
.platform-card .pl-stars { color: var(--brand-gold); letter-spacing: 3px; font-size: var(--text-sm); }
.platform-card .pl-name b { display:block; font-size: var(--text-md); }
.platform-card .pl-name span { font-size: var(--text-xs); color: var(--text-muted); }
.platform-card .pl-go { margin-left: auto; color: var(--gold-600); }

.qr-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.qr-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.qr-card img, .qr-card .qr-ph { width: 168px; height: 168px; margin: 0 auto 16px; border-radius: var(--radius-sm); display: block; background: #fff; }
.qr-card .qr-ph { border: 1.5px dashed var(--line-300); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: var(--text-xs); padding: 16px; }
.qr-card b { display: block; font-size: var(--text-md); }
.qr-card span { font-size: var(--text-xs); color: var(--text-muted); }

/* ── Подписки для юрлиц ─────────────────────────────────────── */
.sub-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .sub-cards { grid-template-columns: repeat(3, 1fr); } }
.sub-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.sub-card--hi { background: var(--black-900); color: var(--text-on-dark); border-color: var(--black-850); }
.sub-card--hi h3, .sub-card--hi .sub-price { color: #fff; }
.sub-card--hi p, .sub-card--hi li { color: rgba(243,237,227,.8); }
.sub-card .sub-badge { align-self: flex-start; }
.sub-card h3 { font-size: var(--display-sm); }
.sub-card .sub-price { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-600); }
.sub-card .sub-price small { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-muted); font-weight: 500; }
.sub-card--hi .sub-price small { color: rgba(243,237,227,.6); }
.sub-card ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.sub-card li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: var(--text-sm); }
.sub-card li::before { content:""; position:absolute; left:2px; top:7px; width:11px; height:6px; border-left:1.6px solid var(--gold-500); border-bottom:1.6px solid var(--gold-500); transform: rotate(-45deg); }
.sub-card--hi li::before { border-color: var(--gold-300); }
.sub-card .btn { margin-top: auto; }

/* ── Меню-прайс с временем (парение/spa) ────────────────────── */
.menu-price { list-style: none; margin: 0 0 var(--space-6); padding: 0; }
.menu-price li { padding: 16px 0; border-top: 1px solid var(--border-subtle); }
.menu-price li:first-child { border-top: 0; }
.menu-price .mp-top { display: flex; align-items: baseline; gap: 12px; }
.menu-price .mp-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: var(--text-primary); font-size: 1.08rem; }
.menu-price .mp-dots { flex: 1; border-bottom: 1px dotted var(--line-300); transform: translateY(-5px); min-width: 20px; }
.menu-price .mp-time { font-size: var(--text-xs); color: var(--text-muted); white-space: nowrap; }
.menu-price .mp-price { font-family: var(--font-display); font-weight: 600; color: var(--gold-600); white-space: nowrap; font-size: 1.1rem; }
.menu-price .mp-desc { margin: 6px 0 0; font-size: var(--text-sm); color: var(--text-secondary); max-width: 62ch; }
.menu-group-title { font-size: var(--display-sm); margin: var(--space-8) 0 var(--space-4); display:flex; align-items:center; gap:14px; }
.menu-group-title::after { content:""; flex:1; height:1px; background: linear-gradient(to right, var(--gold-300), transparent); }

/* ── Параллакс (scroll-driven, CSS) ─────────────────────────── */
.parallax { overflow: hidden; }
.parallax > img, .parallax > picture > img { will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* мягкий параллакс медиа внутри .parallax */
    .parallax > img, .parallax > picture > img {
      animation: parallax-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes parallax-rise { from { transform: translateY(-6%) scale(1.08); } to { transform: translateY(6%) scale(1.08); } }

    /* «переписывание» карточек при прокрутке — scroll-linked появление */
    .sd { animation: sd-in linear both; animation-timeline: view(); animation-range: entry 5% cover 26%; }
    @keyframes sd-in {
      from { opacity: 0; transform: translateY(46px) scale(.965); }
      to   { opacity: 1; transform: none; }
    }
    /* декоративный геккон уплывает медленнее фона */
    .gecko-water { animation: gecko-drift linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes gecko-drift { from { transform: translateY(8%); } to { transform: translateY(-8%); } }
  }
}
/* Фолбэк, где нет scroll-driven: .sd подхватывает обычный reveal через JS (класс .reveal) */
@media (prefers-reduced-motion: reduce) {
  .parallax > img, .parallax > picture > img { transform: none !important; }
  .gecko-water { transform: none !important; }
}
