/* =====================================================================
   PRIME M44 — апарт-отель, Санкт-Петербург
   Дизайн-система. Графит + петербургский ночной синий + латунь.
   Сигнатура: вертикаль двух уровней (двухуровневые лофты).
   Author: PRIME M44 site build
   ===================================================================== */

/* ------------------------------------------------------------------ */
/*  1. ТОКЕНЫ                                                          */
/* ------------------------------------------------------------------ */
:root {
  /* Цвета — заземлены в фотографиях апартаментов */
  --ink:        #12100c;   /* тёплый почти-чёрный — основная тёмная */
  --ink-2:      #1b1813;
  --coal:       #262119;
  --night:      #16232f;   /* петербургский ночной синий (шторы) */
  --night-2:    #1d3142;
  --brass:      #b68a4e;   /* латунь — основной акцент */
  --brass-lt:   #cda767;
  --brass-bright: #e6b96c;  /* яркое латунно-золотое — для текста на фото (читаемость) */
  --brass-deep: #8c6736;
  --cream:      #f7f3ec;   /* тёплый свет — светлые секции */
  --cream-2:    #f1eae0;
  --sand:       #e6dac7;   /* мягкие панели */
  --line:       rgba(18,16,12,.14);
  --line-lt:    rgba(247,243,236,.16);
  --muted:      #6b6356;   /* затемнён для контраста ~5.5:1 на кремовом */
  --muted-lt:   rgba(247,243,236,.74);  /* выше читаемость на тёмном */

  /* Типографика */
  --display: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Шкала (fluid) */
  --fs-eyebrow: clamp(.68rem, .62rem + .25vw, .78rem);
  --fs-body:    clamp(.98rem, .94rem + .2vw, 1.06rem);
  --fs-lead:    clamp(1.1rem, 1rem + .5vw, 1.35rem);
  --fs-h3:      clamp(1.3rem, 1.1rem + .9vw, 1.75rem);
  --fs-h2:      clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --fs-h1:      clamp(2.6rem, 1.7rem + 4.2vw, 5.4rem);
  --fs-display: clamp(3.2rem, 1.6rem + 7vw, 8rem);

  /* Сетка / ритм */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 140px);
  --radius: 2px;        /* почти прямой угол — редакционный, премиальный */
  --radius-lg: 4px;

  /* Движение */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .25s;
  --t: .5s;
  --t-slow: .9s;

  --shadow: 0 24px 60px -28px rgba(18,16,12,.45);
  --shadow-sm: 0 10px 30px -18px rgba(18,16,12,.4);

  --header-h: 84px;
}

/* ------------------------------------------------------------------ */
/*  2. RESET / БАЗА                                                    */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

::selection { background: var(--brass); color: var(--cream); }

/* ------------------------------------------------------------------ */
/*  3. ТИПОГРАФИКА                                                     */
/* ------------------------------------------------------------------ */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; }
.display { font-family: var(--display); font-weight: 300; line-height: .96; letter-spacing: -.02em; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow.is-light { color: var(--brass-lt); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--coal); font-weight: 400; }
.muted { color: var(--muted); }

/* Курсивный акцент в заголовках — характерный приём */
.accent-i { font-style: italic; color: var(--brass); font-weight: 400; }

/* ------------------------------------------------------------------ */
/*  4. РАСКЛАДКА                                                       */
/* ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1480px; }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--night { background: var(--night); color: var(--cream); }
.section--cream2 { background: var(--cream-2); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { margin-top: 20px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }

/* ------------------------------------------------------------------ */
/*  5. КНОПКИ                                                          */
/* ------------------------------------------------------------------ */
.btn {
  --bg: var(--brass);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  padding: 1.05em 2.1em;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
  isolation: isolate;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
  z-index: -1;
}
.btn:hover { color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:hover::after { transform: translateY(0); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: var(--cream); border-color: var(--ink); }

.btn--ghost-light {
  --bg: transparent;
  --fg: var(--cream);
  border-color: var(--line-lt);
}
.btn--ghost-light::after { background: var(--brass); }
.btn--ghost-light:hover { color: var(--ink); border-color: var(--brass); }

.btn--lg { padding: 1.25em 2.6em; font-size: .85rem; }
.btn--block { display: flex; width: 100%; }

.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* текстовая ссылка с подчёркиванием-ростом */
.link-u {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brass-deep);
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: background-size var(--t) var(--ease), color var(--t-fast);
}
.link-u:hover { background-size: 100% 1px; }
.is-light .link-u, .section--dark .link-u, .section--night .link-u { color: var(--brass-lt); }

/* ------------------------------------------------------------------ */
/*  6. ШАПКА                                                          */
/* ------------------------------------------------------------------ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t) var(--ease), height var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header__inner {
  width: 100%; max-width: 1480px; margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header.is-scrolled {
  background: rgba(18,16,12,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  height: 70px;
  box-shadow: 0 1px 0 var(--line-lt);
}
/* На светлых внутренних страницах шапка всегда тёмная подложка */
body.has-solid-header .header { background: rgba(18,16,12,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__txt { line-height: 1; min-width: 0; }
.brand__name { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.brand__sub { display: block; font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--brass-lt); margin-top: 3px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav a {
  color: var(--cream);
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  position: relative; padding: 6px 0;
  opacity: .85; transition: opacity var(--t-fast);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--brass-lt); transition: width var(--t) var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone {
  color: var(--cream); font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.header__phone svg { color: var(--brass-lt); }

/* бургер */
.burger {
  display: none;
  width: 46px; height: 46px;
  position: relative; z-index: 110;
  flex: none;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--cream); transition: transform var(--t) var(--ease), opacity var(--t-fast);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.is-menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-menu-open .burger span:nth-child(2) { opacity: 0; }
.is-menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.is-menu-open .header { z-index: 106; }

/* мобильное меню */
.mobile-menu {
  position: fixed; inset: 0; z-index: 105;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform .6s var(--ease-out);
  visibility: hidden;
}
.is-menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__nav a {
  font-family: var(--display); font-size: clamp(1.8rem, 9vw, 2.8rem); font-weight: 500;
  padding: 8px 0; color: var(--cream);
  display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(16px);
}
.is-menu-open .mobile-menu__nav a { animation: mmIn .5s var(--ease-out) forwards; }
.mobile-menu__nav a .idx { font-family: var(--sans); font-size: .7rem; color: var(--brass-lt); letter-spacing: .2em; }
@keyframes mmIn { to { opacity: 1; transform: translateY(0); } }
.mobile-menu__foot { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.mobile-menu__foot .header__phone { font-size: 1.3rem; }

/* ------------------------------------------------------------------ */
/*  7. HERO                                                            */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translateY(-2%); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,16,12,.55) 0%, rgba(18,16,12,.12) 32%, rgba(18,16,12,.2) 60%, rgba(18,16,12,.86) 100%),
    linear-gradient(90deg, rgba(18,16,12,.5) 0%, transparent 55%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1480px; margin-inline: auto;
  padding: 0 var(--gutter) clamp(48px, 8vh, 96px);
}
.hero__eyebrow { color: var(--brass-bright); margin-bottom: 26px; text-shadow: 0 1px 10px rgba(18,16,12,.6), 0 1px 2px rgba(18,16,12,.55); }
.hero h1 {
  font-weight: 300;
  font-size: var(--fs-h1);
  max-width: 14ch;
  margin-bottom: 26px;
  text-shadow: 0 2px 22px rgba(18,16,12,.4);
}
.hero h1 em { font-style: italic; color: var(--brass-bright); text-shadow: 0 2px 18px rgba(18,16,12,.55), 0 1px 3px rgba(18,16,12,.6); }
.hero__sub { font-size: var(--fs-lead); max-width: 46ch; color: rgba(247,243,236,.9); margin-bottom: 36px; }
.hero__sub-mobile { display: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.mobile-booking-bar { display: none; }

.hero__meta {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(48px, 8vh, 96px);
  display: flex; flex-direction: column; gap: 18px; align-items: flex-end;
  text-align: right;
}
.hero__meta .stat { display: flex; flex-direction: column; }
.hero__meta .stat b { font-family: var(--display); font-size: 2.4rem; font-weight: 500; line-height: 1; color: var(--brass-lt); }
.hero__meta .stat span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-lt); margin-top: 4px; }

/* вертикальная боковая подпись — сигнатура */
.side-rail {
  position: fixed; left: 22px; top: 50%; z-index: 90;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  mix-blend-mode: difference;
  pointer-events: none;
}
.side-rail__line { width: 1px; height: 60px; background: rgba(255,255,255,.5); }
.side-rail__txt {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: #fff;
}

/* скролл-индикатор */
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-lt);
}
.hero__scroll .dot { width: 1px; height: 40px; background: linear-gradient(var(--brass-lt), transparent); animation: scrollPulse 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollPulse { 0%,100%{transform:scaleY(.4);opacity:.4} 50%{transform:scaleY(1);opacity:1} }

/* ------------------------------------------------------------------ */
/*  8. SPINE — сигнатура «двух уровней»                                */
/* ------------------------------------------------------------------ */
.spine { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 60px); }
.spine__rail { position: relative; padding-top: 8px; }
.spine__rail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); transform: translateX(-50%); }
.spine__node { position: relative; width: 14px; height: 14px; }
.spine__node::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--brass); border-radius: 50%; }
.spine__node::after { content: ""; position: absolute; inset: 4px; background: var(--brass); border-radius: 50%; }

/* ------------------------------------------------------------------ */
/*  9. INTRO / О НАС блок                                              */
/* ------------------------------------------------------------------ */
.intro__grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.intro__media { position: relative; }
.intro__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro__badge {
  position: absolute; right: -10px; bottom: -22px;
  background: var(--ink); color: var(--cream);
  padding: 22px 26px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow);
}
.intro__badge b { font-family: var(--display); font-size: 2.2rem; color: var(--brass-lt); line-height: 1; }
.intro__badge span { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-lt); }
.intro h2 { font-size: var(--fs-h2); margin-bottom: 24px; }
.intro p + p { margin-top: 18px; }
.intro__sign { margin-top: 32px; display: flex; align-items: center; gap: 18px; }

/* ------------------------------------------------------------------ */
/*  10. APARTMENTS                                                     */
/* ------------------------------------------------------------------ */
.rooms { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 90px); }
.room {
  display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.room__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.room:hover .room__media:not(.room-slider) img { transform: scale(1.05); }

.room__body .eyebrow { margin-bottom: 14px; }
.room__body h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.room__body h3 small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.room__desc { margin: 16px 0 22px; color: var(--coal); }
.room__feat { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 26px; }
.room__feat li { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--coal); }
.room__feat svg { color: var(--brass); flex: none; }
.room__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

@media (min-width: 880px) {
  .room { grid-template-columns: 1.05fr 1fr; }
  .room--rev .room__media { order: 2; }
  .room__media { aspect-ratio: 5 / 4; }
}

/* карточная сетка (страница апартаментов компакт) */
.cards { display: grid; grid-template-columns: 1fr; gap: clamp(20px,3vw,32px); }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media.room-slider img { transform: none; }
.card__media.room-slider { aspect-ratio: 3/2; }
.card__body { padding: clamp(20px,2.4vw,28px); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.4rem; margin-bottom: 6px; }
.card__price { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.card__price b { font-family: var(--display); font-size: 1.7rem; color: var(--brass-deep); }
.card__price span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ */
/*  11. ПРЕИМУЩЕСТВА                                                   */
/* ------------------------------------------------------------------ */
.adv { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-lt); }
.adv__item {
  display: grid; grid-template-columns: auto 1fr; gap: 24px;
  padding: clamp(26px,3vw,40px) 0; border-bottom: 1px solid var(--line-lt);
  align-items: start;
}
.adv__num { font-family: var(--display); font-size: 1.5rem; color: var(--brass-lt); line-height: 1; }
.adv__item h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--cream); }
.adv__item p { color: var(--muted-lt); font-size: .96rem; }
.adv__icon { color: var(--brass-lt); }
@media (min-width: 760px) {
  .adv { grid-template-columns: 1fr 1fr; column-gap: clamp(40px,5vw,90px); }
}

/* ------------------------------------------------------------------ */
/*  12. ГАЛЕРЕЯ                                                        */
/* ------------------------------------------------------------------ */
.gallery-grid { columns: 1; column-gap: clamp(12px,1.5vw,20px); }
@media (min-width: 600px) { .gallery-grid { columns: 2; } }
@media (min-width: 1000px) { .gallery-grid { columns: 3; } }
.gallery-grid figure {
  break-inside: avoid; margin-bottom: clamp(12px,1.5vw,20px);
  position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in;
  background: var(--sand);
}
.gallery-grid img { width: 100%; transition: transform 1s var(--ease-out); }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 60%, rgba(18,16,12,.5));
  opacity: 0; transition: opacity var(--t);
}
.gallery-grid figure:hover::after { opacity: 1; }
.gallery-grid figcaption {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: var(--cream); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: all var(--t) var(--ease);
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12,10,8,.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity var(--t);
  padding: clamp(16px, 4vw, 60px);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 3; color: var(--cream);
  width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid var(--line-lt); border-radius: 50%;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.lightbox__close { top: clamp(16px,3vw,32px); right: clamp(16px,3vw,32px); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(12px,2vw,28px); }
.lightbox__nav--next { right: clamp(12px,2vw,28px); }
.lightbox__counter { position: absolute; bottom: clamp(16px,3vw,28px); left: 50%; transform: translateX(-50%); color: var(--muted-lt); font-size: .78rem; letter-spacing: .2em; }

/* ------------------------------------------------------------------ */
/*  13. ОТЗЫВЫ                                                         */
/* ------------------------------------------------------------------ */
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: clamp(16px,2vw,28px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.reviews__track::-webkit-scrollbar { height: 4px; }
.reviews__track::-webkit-scrollbar-thumb { background: var(--brass); border-radius: 4px; }
.review {
  scroll-snap-align: start;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px,2.6vw,34px); display: flex; flex-direction: column; gap: 16px;
}
.review__stars { color: var(--brass); letter-spacing: 3px; font-size: .9rem; }
.review__text { font-family: var(--display); font-size: 1.28rem; line-height: 1.4; color: var(--coal); font-style: italic; }
.review__who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.review__ava { width: 42px; height: 42px; border-radius: 50%; background: var(--night); color: var(--brass-lt); display: grid; place-items: center; font-family: var(--display); font-size: 1.1rem; flex: none; }
.review__who b { display: block; font-size: .92rem; }
.review__who span { font-size: .76rem; color: var(--muted); }

.rating-strip { display: flex; flex-wrap: wrap; gap: clamp(24px,4vw,60px); align-items: center; margin-top: clamp(36px,4vw,56px); padding-top: clamp(28px,3vw,40px); border-top: 1px solid var(--line); }
.rating-strip .r { display: flex; flex-direction: column; }
.rating-strip .r b { font-family: var(--display); font-size: 2.6rem; color: var(--brass-deep); line-height: 1; }
.rating-strip .r span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ------------------------------------------------------------------ */
/*  14. РАСПОЛОЖЕНИЕ                                                   */
/* ------------------------------------------------------------------ */
.location__grid { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(28px,4vw,56px); align-items: stretch; }
.location__grid > * { min-width: 0; max-width: 100%; }
.location__info h2 { font-size: var(--fs-h2); margin-bottom: 22px; }
.location__points { margin-top: 28px; display: grid; gap: 2px; }
.location__points li { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.location__points .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.location__points b { font-weight: 600; }
.location__points .min { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.location__map { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.02); }
@media (min-width: 900px) { .location__grid { grid-template-columns: 1fr 1.1fr; } }

/* ------------------------------------------------------------------ */
/*  15. CTA-баннер                                                     */
/* ------------------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; color: var(--cream); text-align: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18,16,12,.74), rgba(22,35,47,.82)); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: var(--fs-h2); font-weight: 300; margin: 18px auto 22px; max-width: 18ch; }
.cta-band p { max-width: 50ch; margin: 0 auto 36px; color: rgba(247,243,236,.86); }
.cta-band .hero__actions { justify-content: center; }

/* ------------------------------------------------------------------ */
/*  16. ФУТЕР                                                          */
/* ------------------------------------------------------------------ */
.footer { background: var(--ink); color: var(--cream); padding-top: clamp(56px,7vw,96px); }
.footer__top { display: grid; grid-template-columns: 1fr; gap: clamp(32px,4vw,56px); padding-bottom: clamp(40px,5vw,64px); border-bottom: 1px solid var(--line-lt); }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { color: var(--muted-lt); max-width: 36ch; font-size: .95rem; }
.footer__brand .socials { display: flex; gap: 12px; margin-top: 24px; }
.footer__brand .socials a { width: 42px; height: 42px; border: 1px solid var(--line-lt); border-radius: 50%; display: grid; place-items: center; color: var(--cream); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.footer__brand .socials a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.footer__col h4 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-lt); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a, .footer__col li { color: var(--muted-lt); font-size: .94rem; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--cream); }

.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-block: 28px; font-size: .8rem; color: var(--muted-lt); }
.footer__bottom a { color: var(--muted-lt); }
.footer__bottom a:hover { color: var(--brass-lt); }
@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* ------------------------------------------------------------------ */
/*  17. СТРАНИЦА БРОНИРОВАНИЯ / BNOVO                                  */
/* ------------------------------------------------------------------ */
.page-hero {
  position: relative; padding-top: calc(var(--header-h) + clamp(48px,7vw,90px));
  padding-bottom: clamp(48px,7vw,90px);
  background: var(--ink); color: var(--cream); overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(rgba(18,16,12,.5), var(--ink)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--brass-lt); margin-bottom: 18px; }
.page-hero h1 { font-size: var(--fs-h1); font-weight: 300; max-width: 16ch; }
.page-hero p { margin-top: 20px; max-width: 54ch; color: rgba(247,243,236,.84); font-size: var(--fs-lead); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-lt); margin-bottom: 26px; }
.breadcrumbs a:hover { color: var(--brass-lt); }
.breadcrumbs span { color: var(--brass-lt); }

#booking_iframe, #booking_iframe iframe { width: 100%; min-height: 620px; border: 0; }

/* шаги пути бронирования */
.steps { display: grid; grid-template-columns: 1fr; gap: clamp(20px,3vw,32px); counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step__n { width: 48px; height: 48px; border: 1px solid var(--brass); border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.4rem; color: var(--brass-deep); flex: none; }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--coal); font-size: .94rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------------ */
/*  18. КОНТАКТЫ / ФОРМА                                               */
/* ------------------------------------------------------------------ */
.contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); align-items: center; transition: border-color var(--t-fast), transform var(--t-fast); }
.contact-card:hover { border-color: var(--brass); transform: translateY(-3px); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; color: var(--brass-deep); }
.contact-card h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.contact-card b { font-size: 1.1rem; }

/* ------------------------------------------------------------------ */
/*  20. SCROLL-REVEAL                                                  */
/* ------------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* плавная загрузка изображений */
img.lazy-img { opacity: 0; transition: opacity .8s var(--ease); background: var(--sand); }
img.lazy-img.is-loaded { opacity: 1; }

/* ------------------------------------------------------------------ */
/*  21. NAVIGATION / БУРГЕР АДАПТИВ                                    */
/* ------------------------------------------------------------------ */
@media (max-width: 1400px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .burger { display: block; }
  .header__cta .btn { display: none; }
}
@media (min-width: 1401px) { .mobile-menu { display: none; } }

/* утилиты */
.u-center { text-align: center; }
.u-mt-l { margin-top: clamp(32px,4vw,56px); }
.split-title { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: end; margin-bottom: clamp(40px,5vw,72px); }
.split-title .actions { display: flex; gap: 14px; }
@media (min-width: 820px) { .split-title { grid-template-columns: 1fr auto; } }
.no-scroll { overflow: hidden; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* ------------------------------------------------------------------ */
/*  22. СЛАЙДЕР ФОТО В КАРТОЧКЕ НОМЕРА (мини-галерея)                  */
/* ------------------------------------------------------------------ */
.room-slider { position: relative; overflow: hidden; }
.room-slider__track { display: flex; height: 100%; width: 100%; transition: transform .5s var(--ease-out); will-change: transform; }
.room-slider__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; transform: none; }
.room-slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; z-index: 3; cursor: pointer;
  background: rgba(18,16,12,.5); color: var(--cream);
  font-size: 1.6rem; line-height: 1; backdrop-filter: blur(6px);
  transition: background var(--t-fast), opacity var(--t-fast);
}
.room-slider__btn:hover { background: var(--brass); color: var(--ink); }
.room-slider__btn--prev { left: 12px; }
.room-slider__btn--next { right: 12px; }
.room-slider__count {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  background: rgba(18,16,12,.6); color: var(--cream);
  font-size: .72rem; letter-spacing: .08em; padding: 5px 10px;
  border-radius: 100px; backdrop-filter: blur(6px);
}
.room-slider__dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 7px; }
.room-slider__dots button {
  width: 7px; height: 7px; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(247,243,236,.55); border: 0; transition: width var(--t-fast), background var(--t-fast);
}
.room-slider__dots button[aria-current="true"] { width: 22px; border-radius: 5px; background: var(--brass); }
@media (max-width: 600px) {
  .room-slider__btn { width: 40px; height: 40px; }
}

/* ------------------------------------------------------------------ */
/*  23. «КАК ДОБРАТЬСЯ» + ЯНДЕКС.КАРТА                                 */
/* ------------------------------------------------------------------ */
.location__how { margin-top: clamp(26px, 3vw, 40px); padding-top: clamp(22px, 2.4vw, 30px); border-top: 1px solid var(--line); }
.location__how h3 { font-size: 1.3rem; margin-bottom: 10px; }
.location__how p { color: var(--coal); margin-bottom: 20px; }
.location__how-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.location__map .ymap { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.15) contrast(1.02); }
@media (max-width: 520px) {
  .location__how-actions .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------ */
/*  24. МОБИЛЬНЫЙ ПЕРВЫЙ ЭКРАН (премиальная раскладка)                 */
/*  Телефоны до 768px. Цель — чище и собраннее, чем оригинал Tilda.   */
/* ------------------------------------------------------------------ */
@media (max-width: 768px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  /* Первый экран = фон-фото на всю высоту, контент прижат вниз.
     Текст всегда поверх затемнённого фото, без «обрыва» о картинку. */
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding-top: calc(var(--header-h) + 12px);
  }
  /* Равномерное затемнение по всей высоте — белый текст читается везде */
  .hero__bg::after {
    background:
      linear-gradient(180deg,
        rgba(18,16,12,.66) 0%,
        rgba(18,16,12,.42) 34%,
        rgba(18,16,12,.58) 64%,
        rgba(18,16,12,.92) 100%);
  }
  .hero__inner {
    padding-left: 22px;
    padding-right: 22px;
    padding-bottom: 16px;
  }
  .hero__eyebrow { margin-bottom: 14px; }

  /* Заголовок: компактный, сбалансированный перенос, без переносов по слогам */
  .hero h1 {
    font-size: clamp(1.95rem, 8.4vw, 2.7rem);
    line-height: 1.06;
    max-width: 100%;
    margin-bottom: 16px;
    text-wrap: balance;
    hyphens: none;
    overflow-wrap: break-word;
  }
  .hero__sub {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 22px;
    color: rgba(247,243,236,.92);
  }

  .hero__sub-desktop { display: none; }
  .hero__sub-mobile { display: inline; }

  /* Кнопки: одинаковая ширина (на всю строку), ровный вертикальный стек */
  .hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__actions .btn { width: 100%; padding-block: 1.05em; }
  .hero__actions .btn--ghost-light { display: none; }

  .hero .conversion-points { display: none; }
  .hero .cro-proof { margin-top: 14px; }
  .hero .cro-proof__item { display: none; }
  .hero .cro-proof__item:first-child {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    border: 0;
    padding: 4px 0;
    background: transparent;
    backdrop-filter: none;
    font-size: .86rem;
  }

  /* Метрики: отдельный блок ПОД кнопками, в потоке (не absolute) */
  .hero__meta {
    position: static;
    inset: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    gap: 0;
    margin-top: 18px;
    padding: 14px 22px 16px;
    border-top: 1px solid rgba(247,243,236,.18);
  }
  .hero__meta .stat { flex: 0 0 auto; flex-direction: column; }
  .hero__meta .stat + .stat { margin-left: 26px; padding-left: 26px; border-left: 1px solid rgba(247,243,236,.18); }
  .hero__meta .stat b { font-size: 1.6rem; }
  .hero__meta .stat span { font-size: .58rem; letter-spacing: .14em; margin-top: 2px; }

  /* Декоративные элементы, мешающие на мобильном — скрыть */
  .hero__scroll { display: none; }
  .side-rail { display: none; }

  .mobile-booking-bar {
    position: fixed;
    z-index: 120;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 66px;
    padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--brass);
    color: #fff;
    box-shadow: 0 -10px 30px rgba(18,16,12,.24);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
  }
  .mobile-booking-bar:active { background: var(--brass-deep); }

  #booking_iframe { width: 100%; }

  /* Брендовый блок «М44 / центр Петербурга»: на мобильном — единая
     карточка: фото сверху, тёмная брендовая плашка ПОД ним.
     Никаких absolute-наплывов на изображение. */
  .intro__media {
    position: static;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .intro__media img {
    display: block;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .intro__badge {
    position: static;
    inset: auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 16px 20px;
    border-radius: 0;
    background: var(--ink);
    box-shadow: none;
  }
  .intro__badge b { font-size: 1.65rem; }
  .intro__badge span {
    color: var(--cream);
    opacity: .85;
    padding-left: 16px;
    border-left: 1px solid rgba(182,138,78,.45);
  }
}

/* Узкие телефоны 320–380px — ещё компактнее, чтобы всё помещалось */
@media (max-width: 380px) {
  .hero__inner { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: clamp(1.8rem, 9vw, 2.2rem); }
  .hero__sub { font-size: .95rem; margin-bottom: 18px; }
  .hero__meta { padding-left: 18px; padding-right: 18px; }
  .hero__meta .stat + .stat { margin-left: 18px; padding-left: 18px; }
  .hero__meta .stat b { font-size: 1.45rem; }
  .mobile-booking-bar { font-size: .76rem; letter-spacing: .1em; }
}

@media (max-width: 360px) {
  .header__inner { gap: 12px; }
  .brand { gap: 9px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.3rem; }
  .brand__sub { display: none; }
  .location__points li { grid-template-columns: auto minmax(0,1fr); gap: 8px 12px; align-items: start; }
  .location__points .min { grid-column: 2; white-space: normal; }
  .location__how-actions .btn { white-space: normal; text-align: center; }
}

/* Страховка от горизонтального выезда всей страницы на любых экранах */
html, body { max-width: 100%; overflow-x: hidden; }

/* ------------------------------------------------------------------ */
/*  26. МОДУЛЬ BNOVO — МАКСИМАЛЬНАЯ ПОЛЕЗНАЯ ШИРИНА                    */
/*  Модуль выходит за боковые отступы контейнера (--gutter) и         */
/*  использует почти всю ширину, оставляя минимальные поля ~10px.     */
/*  Горизонтальной прокрутки страницы не возникает (см. overflow-x).  */
/* ------------------------------------------------------------------ */
.bnovo-module-wrap {
  /* выходим за padding контейнера: модуль в ~10px от края контейнера */
  margin-inline: calc(-1 * var(--gutter) + 10px);
}

/* Планшеты и телефоны — модуль почти во весь экран (поля ~10px) */

/* ------------------------------------------------------------------ */
/*  27. КОНВЕРСИЯ: ПРЯМЫЕ БРОНИРОВАНИЯ                                */
/* ------------------------------------------------------------------ */
.conversion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: rgba(247,243,236,.92);
  font-size: .86rem;
  line-height: 1.35;
}
.conversion-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.conversion-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass-bright);
  box-shadow: 0 0 0 4px rgba(230,185,108,.14);
  flex: none;
}

.room__actions .btn {
  min-width: min(100%, 260px);
}
.room__body .muted {
  color: var(--muted);
}

@media (max-width: 760px) {
  .conversion-points {
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
  }
  .room__actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

/* ------------------------------------------------------------------ */
/* CRO ДОРАБОТКИ: прямые бронирования                                 */
/* ------------------------------------------------------------------ */
.cro-proof {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}
.cro-proof__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(230,185,108,.42);
  border-radius: 999px;
  background: rgba(18,16,12,.38);
  color: var(--cream);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(10px);
}
.cro-proof__item::before {
  content: "✓";
  color: var(--brass-bright);
  font-weight: 900;
}
.cro-cta-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}
.card__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.card__trust span {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(182,138,78,.12);
  color: var(--coal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.booking-assist {
  margin: 28px auto 0;
  max-width: 860px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: clamp(18px,2.5vw,26px);
  border: 1px solid rgba(182,138,78,.35);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}
.booking-assist h3 { margin: 0 0 6px; font-size: clamp(1.25rem,2vw,1.7rem); }
.booking-assist p { margin: 0; color: var(--muted); }
@media (max-width: 820px) {
  .booking-assist { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 520px) {
  .cro-proof { gap: 8px; }
  .cro-proof__item { font-size: .78rem; padding: 8px 10px; }
}

/* ------------------------------------------------------------------ */
/*  СТРАНИЦА БРОНИРОВАНИЯ — официальный модуль Bnovo                   */
/* ------------------------------------------------------------------ */
.booking-section { padding-top: calc(var(--header-h, 72px) + 30px); }
.bnovo-module-wrap {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; padding: 6px;
}
#booking_iframe { width: 100%; min-height: 600px; }
#booking_iframe iframe { width: 100%; border: 0; display: block; }
.bnovo-loading {
  display: flex; align-items: center; justify-content: center;
  min-height: 560px; color: var(--muted); font-size: .95rem; gap: 12px;
}
.bnovo-loading::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--sand); border-top-color: var(--brass);
  animation: bnovo-spin .8s linear infinite;
}
@keyframes bnovo-spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
  .bnovo-module-wrap { margin-inline: calc(-1 * var(--gutter) + 8px); padding: 4px; }
}

/* Фолбэк модуля бронирования (локальное открытие / блокировка скрипта) */
.bnovo-fallback {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center; padding: clamp(32px, 6vw, 72px) 20px;
  min-height: 360px; justify-content: center;
}
.bnovo-fallback p { max-width: 46ch; color: var(--muted); margin: 0; line-height: 1.6; }
.bnovo-fallback__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Режим модуля Bnovo со своей прокруткой (гарантированная подгрузка всех номеров) */
.bnovo-scroll-holder {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;   /* не «протаскивать» прокрутку на страницу */
  border-radius: calc(var(--radius) - 4px);
  background: #fff;
}
.bnovo-scroll-holder iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Высота области модуля — чистым CSS (мгновенно, без ожидания JS) */
.bnovo-scroll-holder {
  position: relative;
  height: calc(100vh - 110px);
  height: calc(100dvh - 110px);
  min-height: 620px;
}
.bnovo-scroll-holder > iframe { width: 100%; height: 100%; border: 0; display: block; }
.bnovo-scroll-holder .bnovo-loading {
  position: absolute; inset: 0; z-index: 1;
  background: var(--cream); min-height: 0;
}
@media (max-width: 768px) {
  .bnovo-scroll-holder { height: calc(100vh - 100px); height: calc(100dvh - 100px); min-height: 560px; }
}

/* Условия бронирования и FAQ */
.booking-guide { padding-top: 12px; background: var(--cream-2); }
.booking-guide .section-head { max-width: 820px; margin-inline: auto; }
.booking-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 46px);
}
.booking-rule {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}
.booking-rule__num {
  display: block;
  margin-bottom: 28px;
  color: var(--brass-deep);
  font-family: var(--display);
  font-size: 1.3rem;
}
.booking-rule h3 { margin: 0 0 10px; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.booking-rule p { margin: 0; color: var(--muted); line-height: 1.7; }
.booking-faq {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(0, 1.6fr);
  gap: clamp(28px, 6vw, 72px);
  margin-top: clamp(54px, 8vw, 92px);
  align-items: start;
}
.booking-faq__head { position: sticky; top: calc(var(--header-h, 72px) + 24px); }
.booking-faq__head h2 { margin: 6px 0 0; }
.booking-faq__items { border-top: 1px solid var(--line); }
.booking-faq details { border-bottom: 1px solid var(--line); }
.booking-faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 22px 52px 22px 0;
  color: var(--coal);
  font-weight: 700;
  line-height: 1.45;
}
.booking-faq summary::-webkit-details-marker { display: none; }
.booking-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brass-deep);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
}
.booking-faq details[open] summary::after { content: "−"; }
.booking-faq details p { margin: -4px 48px 22px 0; color: var(--muted); line-height: 1.75; }
.booking-faq details a { color: var(--brass-deep); }
@media (max-width: 860px) {
  .booking-rules { grid-template-columns: 1fr; }
  .booking-faq { grid-template-columns: 1fr; }
  .booking-faq__head { position: static; }
}
@media (max-width: 520px) {
  .booking-guide { padding-top: 0; }
  .booking-faq summary { padding-block: 18px; }
  .booking-faq details p { margin-right: 0; }
}

/* Компактный подвал страницы бронирования (без дублирования контактов) */
.footer--slim { padding-top: 6px; }
.footer--slim .footer__bottom { padding-block: 24px; }
