/* ==========================================================================
   Мини-отель «Гусарский» — общий стиль сайта
   Один файл на все страницы. Разделы:
   1. Переменные (:root)        6. Hero главной
   2. База и типографика        7. Секции и компоненты страниц
   3. Кнопки и ссылки           8. Галерея и лайтбокс
   4. Шапка и мобильное меню    9. Анимации появления
   5. Подвал и нижняя кнопка   10. Адаптив
   ========================================================================== */

/* 1. Переменные ----------------------------------------------------------- */
:root {
  /* фон */
  --bg: #141B2A;
  --bg-deep: #101622;
  --bg-raised: #182133;
  --bg-card: #1B2538;
  /* акценты */
  --gold: #C8A25E;
  --gold-light: #D9B878;
  --gold-ink: #7E5F28;          /* золото для текста на светлом фоне */
  --cream: #F3EBDD;
  --cream-2: #EAE0CD;
  /* текст */
  --text: #BFBBB4;
  --text-soft: #A5A3A0;
  --nav: #CCC7BD;
  --ink: #161C29;               /* тёмный текст на светлом фоне */
  --ink-soft: #4B5060;
  /* линии */
  --line: rgba(200, 162, 94, .25);
  --line-soft: rgba(243, 235, 221, .12);
  --line-btn: rgba(243, 235, 221, .35);
  --line-ink: rgba(22, 28, 41, .14);
  --ok: #7FC48B;
  /* шрифты */
  --f-serif: 'Prata', Georgia, 'Times New Roman', serif;
  --f-sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* сетка */
  --container: 1312px;
  --gutter: 64px;
  --header-h: 104px;     /* шапка на первом экране */
  --header-h-sm: 76px;   /* шапка после прокрутки */
  --header-cur: var(--header-h);
  --section-y: 120px;
  /* движение */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: .3s var(--ease);
}
html.is-scrolled { --header-cur: var(--header-h-sm); }

/* 2. База и типографика --------------------------------------------------- */
/* Базовые стили действуют только на разметку сайта (шапка, контент, подвал, нижняя кнопка, cookie-баннер).
   Виджет Контур.Отель (#WidgetVerticalBlockId и его всплывающие окна в конце <body>) их не получает,
   иначе ломается календарь в окне бронирования. Обёртки :where() не меняют специфичность правил. */
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner),
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) *:where(:not(#WidgetVerticalBlockId *)),
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) *:where(:not(#WidgetVerticalBlockId *))::before,
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) *:where(:not(#WidgetVerticalBlockId *))::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-sm) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: var(--header-h); /* место под зафиксированную шапку */
  background-color: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) :is(img, svg):where(:not(#WidgetVerticalBlockId *)) { display: block; max-width: 100%; }
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) img:where(:not(#WidgetVerticalBlockId *)) { height: auto; }
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) a:where(:not(#WidgetVerticalBlockId *)) { color: inherit; }
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) button:where(:not(#WidgetVerticalBlockId *)) { font: inherit; color: inherit; }
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) :is(ul, ol):where(:not(#WidgetVerticalBlockId *)) { margin: 0; padding: 0; }
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) :is(h1, h2, h3, h4, p, figure, dl, dd, blockquote):where(:not(#WidgetVerticalBlockId *)) { margin: 0; }

:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) :is(h1, h2, h3, h4):where(:not(#WidgetVerticalBlockId *)) {
  font-family: var(--f-serif);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.08;
  letter-spacing: -.01em;
}
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) :is(h1, h2, h3) em:where(:not(#WidgetVerticalBlockId *)) { font-style: normal; color: var(--gold); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 12px 18px;
  background: var(--gold); color: var(--ink);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) :focus-visible:where(:not(#WidgetVerticalBlockId *)) { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Метка «заполнить реальными данными» — видна только как обычный текст.
   Найти все такие места в коде: поиск по символу «[». */
.todo { color: inherit; }

/* Надзаголовок с линией — как в hero */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 600 13px/1.3 var(--f-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--line::before {
  content: ""; flex: none;
  width: 40px; height: 1px;
  background: currentColor;
}

.h2 { font-size: clamp(34px, 3.6vw, 52px); }
.h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.15; }

.lead { font-size: 18px; line-height: 1.6; color: var(--text); }

/* 3. Кнопки и ссылки ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 59px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  font: 600 15px/1.2 var(--f-sans);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--t), border-color var(--t), color var(--t), transform var(--t);
}
.btn svg { width: 24px; height: 24px; flex: none; transition: transform var(--t); }
.btn:hover svg.i-arrow { transform: translateX(4px); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }

.btn-ghost { border-color: var(--line-btn); color: var(--cream); gap: 10px; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline {
  min-height: 45px;
  padding: 0 22px;
  border-color: var(--gold);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.btn-outline:hover { background: var(--gold); color: var(--ink); }

/* кнопки на светлом фоне */
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #222B3D; }
.btn-ghost-ink { border-color: var(--line-ink); color: var(--ink); gap: 14px; }
.btn-ghost-ink:hover { border-color: var(--ink); }

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 15px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), gap var(--t);
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 16px; border-color: currentColor; }

.link-underline {
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.link-underline:hover { color: var(--gold-ink); }

/* 4. Шапка ---------------------------------------------------------------- */
/* Шапка как у Magnum Grand: на первом экране — выше и без фона,
   при прокрутке плавно становится ниже и плотнее (класс is-scrolled ставит js/main.js) */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(16, 22, 35, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .45s ease, border-color .45s ease, box-shadow .45s ease,
              -webkit-backdrop-filter .45s ease, backdrop-filter .45s ease;
}
.site-header.is-scrolled,
.nav-open .site-header {
  background: rgba(16, 22, 35, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(6, 10, 18, .35); }

.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: var(--header-cur);
  transition: height .45s var(--ease);
}

/* Появление шапки при загрузке: выезжает сверху (класс intro ставится в <head>) */
@keyframes header-in {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: none; }
}
.intro .site-header { animation: header-in .9s var(--ease) .1s both; }

.brand {
  display: flex; align-items: center; gap: 18px;
  flex: none;
  text-decoration: none;
  transform-origin: left center;
  transition: transform .45s var(--ease);
}
.site-header.is-scrolled .brand { transform: scale(.9); }
.brand-mark {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font: 400 26px/1 var(--f-serif);
  color: var(--gold);
  padding-top: 2px;
}
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name {
  font: 400 25px/1 var(--f-serif);
  color: var(--cream);
  letter-spacing: -.005em;
}
.brand-sub {
  font: 600 10.5px/1.2 var(--f-sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul {
  display: flex; align-items: center; gap: 34px;
  list-style: none;
}
.main-nav > ul a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 15px; font-weight: 500;
  color: var(--nav);
  text-decoration: none;
  transition: color var(--t);
}
.main-nav > ul a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.main-nav > ul a:hover { color: var(--cream); }
.main-nav > ul a:hover::after { transform: scaleX(1); }
.main-nav > ul a[aria-current="page"] { color: var(--gold); }
.main-nav > ul a[aria-current="page"]::after { transform: scaleX(1); }

.nav-extra { display: none; }

.header-contact {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  flex: none;
}
:where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) a[href^="tel:"]:where(:not(#WidgetVerticalBlockId *)) { white-space: nowrap; }
.header-phone {
  font-size: 17px; font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: .01em;
}
.header-phone:hover { color: var(--gold); }
.header-status {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--text-soft);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(127, 196, 139, .5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(127, 196, 139, .45); }
  70% { box-shadow: 0 0 0 7px rgba(127, 196, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 196, 139, 0); }
}

.header-book { flex: none; margin-left: -3px; }
.header-book[aria-current="page"] { background: var(--gold); color: var(--ink); }

.burger {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  margin-right: -10px;
  border: 0; background: none;
  cursor: pointer;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute; left: 12px;
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: transform var(--t), opacity var(--t), top var(--t);
}
.burger span { top: 23px; }
.burger span::before, .burger span::after { content: ""; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* 5. Подвал и нижняя кнопка ------------------------------------------------ */
.site-footer {
  position: relative;
  margin-top: 0;
  background: #0F1521;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 48px;
  padding-block: 80px 56px;
}
.footer-about p { max-width: 340px; margin-top: 22px; line-height: 1.65; }
.footer-title {
  margin-bottom: 20px;
  font: 600 12px/1.3 var(--f-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-nav ul { list-style: none; display: grid; gap: 10px; }
.footer-nav a, .footer-contacts a { color: var(--nav); text-decoration: none; transition: color var(--t); }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--gold); }
.footer-nav a[aria-current="page"] { color: var(--gold); }

.footer-contacts { list-style: none; display: grid; gap: 14px; }
.footer-contacts li { display: flex; gap: 14px; align-items: flex-start; }
.footer-contacts svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold); }

.socials { display: flex; gap: 10px; margin-top: 26px; }
.social {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-btn);
  color: var(--cream);
  transition: border-color var(--t), color var(--t);
}
.social svg { width: 20px; height: 20px; }
.social:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-block: 24px 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: #8D8B88;
}
.footer-bottom a { color: var(--nav); }
.footer-bottom a:hover { color: var(--gold); }

.mobile-cta { display: none; }

/* Cookie-баннер: плашка внизу экрана, создаёт js/cookie-banner.js */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(14, 19, 30, .96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 40px rgba(6, 10, 18, .35);
  color: var(--text);
  font-size: 14px; line-height: 1.55;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s linear .5s;
}
.cookie-banner.is-in {
  transform: none;
  visibility: visible;
  transition: transform .5s var(--ease), visibility 0s;
}
.cookie-banner-inner { display: flex; align-items: center; gap: 28px; padding-block: 16px; }
.cookie-banner p { flex: 1; max-width: 880px; }
.cookie-banner a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cookie-banner a:hover { color: var(--gold-light); }
.cookie-banner .btn { flex: none; margin-left: auto; min-height: 46px; padding: 0 30px; }
/* Запас внизу страницы, пока баннер на экране, — чтобы он не закрывал подвал */
.has-cookie-banner .footer-bottom { padding-bottom: calc(28px + var(--cookie-h, 0px)); }

/* 6. Hero главной --------------------------------------------------------- */
.hero {
  padding: 33px 0 56px;
  background:
    radial-gradient(1100px 650px at 0% 100%, rgba(30, 44, 72, .55), transparent 70%),
    radial-gradient(900px 600px at 100% 0%, rgba(26, 36, 58, .5), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  column-gap: 73px;
  align-items: stretch;
}
.hero-content {
  display: flex; flex-direction: column;
  min-width: 0;
  padding-top: 38px;
}
.hero-title {
  margin-top: 22px;
  font-size: clamp(42px, 5.42vw, 78px);
  line-height: 1.02;
  letter-spacing: -.012em;
}
.hero-title .l { display: block; }
.hero-lead {
  max-width: 545px;
  margin-top: 30px;
  font-size: 18px; line-height: 1.6;
  color: var(--text);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 41px;
}
.hero-actions .btn-gold { min-width: 263px; }
.hero-actions .btn-ghost { min-width: 245px; }

.hero-stats {
  display: grid;
  grid-template-columns: 278px 225px minmax(0, 1fr);
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.hero-stats > div { min-width: 0; }
.hero-stats > div + div { padding-left: 37px; border-left: 1px solid var(--line-soft); }
.stat-rating { display: flex; align-items: flex-start; gap: 18px; }
.stat-num {
  font: 400 34px/1 var(--f-serif);
  color: var(--cream);
  letter-spacing: -.01em;
}
.stat-rating .stat-num { font-size: 52px; margin-top: 1px; }
.stars { display: flex; gap: 5px; color: var(--gold); margin-top: 3px; }
.stars svg { width: 14px; height: 14px; }
.stat-label {
  margin-top: 12px;
  font-size: 14px; line-height: 1.3;
  color: #AEABA7;
}
.stat-rating .stat-label { margin-top: 9px; }

/* фото справа */
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 716;
}
.hero-photo {
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--bg-card);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 27, 42, 0) 62%, rgba(20, 27, 42, .62) 100%);
  pointer-events: none;
}
.hero-frame {
  position: absolute; inset: 14px; z-index: 1;
  border: 1px solid rgba(243, 235, 221, .45);
  pointer-events: none;
}
.hero-caption {
  position: absolute; left: 34px; right: 34px; bottom: 32px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; line-height: 1.4;
  color: var(--cream);
}
.hero-caption svg { width: 20px; height: 20px; flex: none; }

/* «бранденбуры» — золотые шнуры гусарского доломана на краю фото */
.frogging { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.frogging svg {
  position: absolute; left: 0;
  height: 28.5px; width: auto;
  max-width: none;
  color: var(--gold);
  transform: translate(-50%, -50%);
}
.frogging svg:nth-child(1) { top: 10.25%; }
.frogging svg:nth-child(2) { top: 20.81%; }
.frogging svg:nth-child(3) { top: 31.48%; }
.frogging svg:nth-child(4) { top: 42.15%; }
.frogging svg:nth-child(5) { top: 52.7%; }
.frogging svg:nth-child(6) { top: 63.35%; }

/* значок «Хорошее место» */
.award {
  position: absolute; top: 34px; right: 34px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 130px; height: 130px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: #111A2C;
  text-align: center;
}
.award::before {
  content: "";
  position: absolute; inset: 7px;
  border: 1px dashed rgba(200, 162, 94, .7);
  border-radius: 50%;
}
.award svg { width: 11px; height: 11px; color: var(--gold); margin-bottom: 7px; }
.award-top {
  font: 600 9.5px/1.25 var(--f-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.award-year { font: 400 27px/1.05 var(--f-serif); color: var(--cream); margin-top: 1px; }
.award-src {
  margin-top: 4px;
  font: 500 8.5px/1.2 var(--f-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--nav);
}

/* карточка цены */
.price-card {
  position: absolute; left: -64px; bottom: 89px; z-index: 4;
  display: flex; align-items: center; gap: 17px;
  width: 318px;
  padding: 12px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(6, 10, 18, .35);
}
.price-card img { width: 103px; height: 103px; object-fit: cover; flex: none; }
.price-card .kicker {
  display: block;
  white-space: nowrap;
  font: 600 10px/1.3 var(--f-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.price-card .price {
  margin-top: 3px;
  font: 400 28px/1.15 var(--f-serif);
  color: var(--ink);
  white-space: nowrap;
}
.price-card .price small { font-size: .78em; }
.price-card .per { font-size: 13.5px; color: var(--ink-soft); margin-top: 1px; }
.price-card .link-underline { display: inline-block; margin-top: 6px; font-size: 14px; }

.d-block { display: block; }

/* 7. Секции и компоненты страниц ------------------------------------------ */
.section { position: relative; padding-block: var(--section-y); }
.section--raised { background: var(--bg-raised); border-block: 1px solid var(--line-soft); }
.section--cream { background: var(--cream); color: var(--ink-soft); }
.section--cream h2, .section--cream h3 { color: var(--ink); }
.section--cream h2 em, .section--cream h3 em { color: var(--gold-ink); }
.section--cream .eyebrow { color: var(--gold-ink); }
.section--cream .link-arrow { color: var(--gold-ink); }
.section + .section:not(.section--raised):not(.section--cream) { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .h2 { margin-top: 22px; }
.section-head p:not(.eyebrow) { margin-top: 20px; font-size: 17px; }
.section-head--split {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px;
  flex-wrap: wrap;
  max-width: none;
}
.section-head--split > div { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.text-flow > * + * { margin-top: 18px; }
.text-flow p { font-size: 17px; }

.crumbs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--text-soft);
}
.crumbs a { color: var(--nav); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { color: var(--gold); }

/* Полоса фактов */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line-soft);
}
.fact {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 28px 28px 28px 0;
}
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line-soft); }
.fact svg { width: 26px; height: 26px; flex: none; color: var(--gold); margin-top: 2px; }
.fact-label { display: block; font-size: 13px; letter-spacing: .04em; color: var(--text-soft); }
.fact-value { display: block; margin-top: 4px; font: 400 20px/1.25 var(--f-serif); color: var(--cream); }
.section--cream .facts, .section--cream .fact + .fact { border-color: var(--line-ink); }
.section--cream .fact-value { color: var(--ink); }
.section--cream .fact-label { color: var(--ink-soft); }
.section--cream .fact svg { color: var(--gold-ink); }

/* Две колонки: текст + фото */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 96px;
  align-items: center;
}
.split--media-left .split-media { order: -1; }
.split .h2 { margin-top: 22px; }
.split-text > .text-flow { margin-top: 28px; }
.split-text > .link-arrow { margin-top: 32px; }
.route-grid .h2 { margin-top: 22px; }

.framed { position: relative; overflow: hidden; background: var(--bg-card); }
.framed img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.framed::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(243, 235, 221, .45);
  pointer-events: none;
}
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

.split-media { position: relative; }
.split-media .media-note {
  position: absolute; left: -40px; bottom: 48px;
  max-width: 260px;
  padding: 22px 24px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(6, 10, 18, .35);
}
.media-note .kicker {
  display: block;
  font: 600 10.5px/1.3 var(--f-sans);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-ink);
}
.media-note strong { display: block; margin-top: 6px; font: 400 24px/1.2 var(--f-serif); font-weight: 400; }
.media-note span:last-child { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }

/* Преимущества */
.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin-top: 88px;
  padding-top: 56px;
  border-top: 1px solid var(--line-soft);
}
.icon-ring {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.icon-ring svg { width: 26px; height: 26px; }
.feature h3 { margin-top: 24px; font-size: 22px; line-height: 1.2; }
.feature p { margin-top: 12px; font-size: 15px; line-height: 1.6; }

/* Карточки номеров (превью) */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.room-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--t), transform var(--t);
}
.room-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.room-card:hover .framed img { transform: scale(1.04); }
.room-card .framed { aspect-ratio: 4 / 3; }
.room-card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.room-card h3 { font-size: 26px; line-height: 1.2; }
.room-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 14px;
  font-size: 14px; color: var(--text-soft);
}
.room-meta span { display: inline-flex; align-items: center; gap: 8px; }
.room-meta svg { width: 18px; height: 18px; color: var(--gold); }
.room-card p { margin-top: 14px; font-size: 15px; }
.room-card-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}
.room-card-foot .price-from { font: 400 22px/1.2 var(--f-serif); color: var(--cream); }
.room-card-foot .price-from small { font-size: 14px; color: var(--text-soft); font-family: var(--f-sans); }
.room-card-foot .more { display: inline-flex; color: var(--gold); }
.room-card-foot .more svg { width: 22px; height: 22px; transition: transform var(--t); }
.room-card:hover .more svg { transform: translateX(4px); }

/* Сетка услуг — плитки с тонкими линиями */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.tile {
  position: relative;
  display: flex; flex-direction: column;
  padding: 36px 32px 38px;
  background: var(--bg);
  transition: background-color var(--t);
}
.section--raised .tile { background: var(--bg-raised); }
.tile:hover { background: var(--bg-card); }
.tile > svg { width: 32px; height: 32px; color: var(--gold); }
.tile h3 { margin-top: 22px; font-size: 21px; line-height: 1.25; }
.tile p { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.tile .tag { align-self: flex-start; margin-top: 18px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  font: 600 11px/1.3 var(--f-sans);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}
.tag--stub {
  border-style: dashed;
  border-color: rgba(232, 150, 120, .6);
  color: #E8A08A;
}
.tile--stub { background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(232, 150, 120, .035) 14px 28px); }

/* Отзывы */
.rating-summary {
  display: flex; align-items: center; gap: 22px;
  padding: 18px 26px;
  border: 1px solid var(--line-ink);
}
.rating-summary .num { font: 400 56px/1 var(--f-serif); color: var(--ink); }
.rating-summary .stars { color: var(--gold-ink); }
.rating-summary p { margin-top: 6px; font-size: 14px; line-height: 1.4; }
.review {
  display: flex; flex-direction: column;
  padding: 40px 36px 36px;
  background: #FBF7EF;
  border: 1px solid var(--line-ink);
}
.review .quote-mark { font: 400 72px/.6 var(--f-serif); color: var(--gold-ink); height: 34px; }
.review blockquote p { margin-top: 18px; font: 400 19px/1.55 var(--f-serif); color: var(--ink); }
.review footer {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: auto;
  padding-top: 28px;
  font-size: 14px;
}
.review footer strong { font-weight: 600; color: var(--ink); font-size: 15px; }
.review .stars { margin-top: 0; color: var(--gold-ink); }
.review-top { display: flex; justify-content: space-between; align-items: flex-start; }
.reviews-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 48px; }
.reviews-foot p { font-size: 14px; max-width: 520px; }

/* Как добраться */
.route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 72px;
  align-items: stretch;
}
.route-address { margin-top: 28px; font: 400 26px/1.3 var(--f-serif); color: var(--cream); }
.route-list { list-style: none; margin-top: 32px; border-top: 1px solid var(--line-soft); }
.route-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px;
}
.route-list svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 1px; }
.route-list strong { color: var(--cream); font-weight: 500; }
.route-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Призыв к бронированию */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 120px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.cta-band .h2 { margin-top: 22px; font-size: clamp(36px, 4.4vw, 64px); }
.cta-band p:not(.eyebrow) { max-width: 560px; margin: 22px auto 0; font-size: 17px; }
.cta-band .eyebrow { justify-content: center; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.cta-frogs {
  position: absolute; top: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  color: var(--gold);
  opacity: .75;
  transform: translateY(-50%);
  pointer-events: none;
}
.cta-frogs svg { height: 24px; width: auto; max-width: none; }
.cta-frogs--l { left: max(24px, calc(50% - 656px)); }
.cta-frogs--r { right: max(24px, calc(50% - 656px)); }

/* Страница «Номера» */
.room-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  padding-block: 80px;
  border-top: 1px solid var(--line-soft);
}
.room-row:first-child { border-top: 0; padding-top: 0; }
.room-row:nth-child(even) .room-row-media { order: 2; }
.room-row-media .framed { aspect-ratio: 4 / 3; }
.room-index { font: 400 15px/1 var(--f-serif); color: var(--gold); letter-spacing: .1em; }
.room-row h2 { margin-top: 18px; font-size: clamp(30px, 3vw, 42px); }
.room-row .room-desc { margin-top: 18px; font-size: 16.5px; }
.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  border-block: 1px solid var(--line-soft);
}
.specs > div { padding: 18px 16px 18px 0; }
.specs > div + div { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.specs dt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); }
.specs dt svg { width: 18px; height: 18px; color: var(--gold); }
.specs dd { margin-top: 6px; font: 400 18px/1.3 var(--f-serif); color: var(--cream); }
.amenities {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-top: 26px;
}
.amenities li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.amenities svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold); }
.room-row-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px;
  margin-top: 34px;
}
.price-big { font: 400 30px/1.1 var(--f-serif); color: var(--cream); }
.price-big small { font: 400 15px/1 var(--f-sans); color: var(--text-soft); }
.hint { margin-top: 14px; font-size: 13.5px; color: var(--text-soft); }

/* Карточки «Важно знать» */
.info-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.info-card {
  padding: 30px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
}
.info-card svg { width: 28px; height: 28px; color: var(--gold); }
.info-card h3 { margin-top: 18px; font-size: 20px; }
.info-card p { margin-top: 10px; font-size: 15px; }

/* Аккордеон правил */
.accordion { border-top: 1px solid var(--line-soft); }
.accordion details { border-bottom: 1px solid var(--line-soft); }
.accordion summary {
  display: flex; align-items: center; gap: 20px;
  min-height: 44px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font: 400 22px/1.3 var(--f-serif);
  color: var(--cream);
  transition: color var(--t);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--gold); }
.accordion summary > svg:first-child { width: 26px; height: 26px; flex: none; color: var(--gold); }
.accordion summary .acc-sign {
  position: relative;
  width: 36px; height: 36px; flex: none;
  margin-left: auto;
  border: 1px solid var(--line-btn);
  border-radius: 50%;
  transition: border-color var(--t), transform var(--t);
}
.acc-sign::before, .acc-sign::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform var(--t);
}
.acc-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .acc-sign { border-color: var(--gold); }
details[open] .acc-sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-body { padding: 0 56px 30px 46px; max-width: 860px; }
.acc-body > * + * { margin-top: 12px; }
.acc-body ul { list-style: none; display: grid; gap: 10px; }
.acc-body li { position: relative; padding-left: 22px; }
.acc-body li::before {
  content: "";
  position: absolute; left: 0; top: .72em;
  width: 8px; height: 1px;
  background: var(--gold);
}
.acc-body strong { color: var(--cream); font-weight: 500; }

/* Ключевые факты (dl) */
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); }
.kv > div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line-soft); }
.kv > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-soft); }
.kv dt { font-size: 13px; color: var(--text-soft); }
.kv dd { margin-top: 4px; font: 400 18px/1.35 var(--f-serif); color: var(--cream); overflow-wrap: anywhere; }

/* Контакты */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.contact-card { padding: 36px 32px; background: var(--bg); }
.contact-card > svg { width: 28px; height: 28px; color: var(--gold); }
.contact-card .label {
  margin-top: 20px;
  font: 600 12px/1.3 var(--f-sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.contact-card .value {
  display: block;
  margin-top: 10px;
  font: 400 23px/1.3 var(--f-serif);
  color: var(--cream);
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.value:hover { color: var(--gold); }
.contact-card p:not(.label) { margin-top: 8px; font-size: 15px; }
.contact-card .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-card .btn { min-height: 48px; padding: 0 20px; font-size: 14px; }
.contact-card .btn svg { width: 20px; height: 20px; }

.requisites {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 64px;
  align-items: start;
}

/* Бронирование */
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
/* Панель с виджетом Контур.Отель: сам виджет не стилизуем — только рамка вокруг */
.booking-main {
  display: flex; flex-direction: column; align-items: center;
  padding: 56px 40px 40px;
  background-color: var(--bg-card);
  background-image:
    linear-gradient(rgba(243, 235, 221, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 235, 221, .035) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid var(--line);
}
#booking-widget { display: flex; justify-content: center; width: 100%; }
#WidgetVerticalBlockId { max-width: 100%; }
/* Виджет и его окна получают «чистое» наследование, как на пустой странице, а не шрифт и цвет сайта */
#WidgetVerticalBlockId,
[id$="_AppRoot"],
[data-rendered-container-id] {
  font: initial;
  color: initial;
  letter-spacing: normal;
  text-transform: none;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
.booking-note {
  max-width: 470px;
  margin-top: 26px;
  font-size: 14px; line-height: 1.6;
  text-align: center;
  color: var(--text-soft);
}
.booking-note a { color: var(--cream); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.booking-note a:hover { color: var(--gold); }

.aside-card {
  padding: 34px 32px;
  background: var(--cream);
  color: var(--ink-soft);
}
.aside-card h2 { font-size: 26px; color: var(--ink); }
.aside-card ul { list-style: none; margin-top: 20px; border-top: 1px solid var(--line-ink); }
.aside-card li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-ink);
  font-size: 15px;
}
.aside-card li svg { width: 22px; height: 22px; flex: none; color: var(--gold-ink); margin-top: 1px; }
.aside-card li strong { display: block; color: var(--ink); font-weight: 600; }
.aside-card .link-underline { display: inline-block; margin-top: 22px; color: var(--ink); }

/* Текстовые страницы (политика) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 56px; font-size: 28px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.75; }
.prose p { margin-top: 16px; }
.prose ul, .prose ol { margin-top: 14px; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold); }
.prose .meta { font-size: 14px; color: var(--text-soft); }
.prose > .meta:last-child { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
/* Таблица в политике: на узких экранах прокручивается внутри рамки */
.table-scroll {
  margin-top: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
}
.table-scroll:focus-visible { outline-offset: 2px; }
.pd-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.pd-table th, .pd-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.pd-table tr > * + * { border-left: 1px solid var(--line-soft); }
.pd-table tbody tr:last-child td { border-bottom: 0; }
.pd-table th {
  font: 600 12.5px/1.3 var(--f-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg-raised);
}
.pd-table td:first-child { color: var(--cream); }
.table-scroll + p { margin-top: 24px; }
.prose .note {
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px dashed rgba(200, 162, 94, .5);
  font-size: 14.5px;
}

/* Мелкие отступы и вспомогательные блоки */
.rooms-list { margin-top: 96px; }
.facts--spaced { margin-top: 72px; }
.split-text > .kv { margin-top: 36px; }
.split-text > .route-list { margin-top: 32px; }
.territory-thumb {
  position: absolute; right: -32px; bottom: -48px;
  width: 38%;
  box-shadow: 0 20px 50px rgba(6, 10, 18, .45);
}
.territory-thumb::after { inset: 8px; }
.gallery-more { margin-top: 36px; font-size: 15px; color: var(--text-soft); }
.gallery-more a { color: var(--gold); }

/* 8. Галерея и лайтбокс --------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line-btn);
  background: none;
  font-size: 14.5px; font-weight: 500;
  color: var(--nav);
  cursor: pointer;
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.filter:hover { border-color: var(--gold); color: var(--gold); }
.filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.filter .count { margin-left: 6px; opacity: .7; font-size: 13px; }

.gallery-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 16px;
}
.g-item[hidden] { display: none; }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-link {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg-card);
}
.g-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-link::after {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(243, 235, 221, 0);
  transition: border-color var(--t);
}
.g-link:hover img { transform: scale(1.05); }
.g-link:hover::after { border-color: rgba(243, 235, 221, .55); }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(12, 17, 27, .85));
  font-size: 14px; color: var(--cream);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t);
}
.g-link:hover .g-cap, .g-link:focus-visible .g-cap { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  padding: 72px 24px 40px;
  background: rgba(8, 11, 18, .95);
}
.lightbox.is-open { display: grid; }
.lightbox[hidden] { display: none; }
.lb-figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; min-width: 0; max-height: 100%; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 190px); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lb-figure figcaption { margin-top: 18px; font-size: 15px; color: var(--nav); text-align: center; }
.lb-count { margin-left: 12px; color: var(--gold); }
.lb-btn {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--line-btn);
  border-radius: 50%;
  background: rgba(20, 27, 42, .6);
  color: var(--cream);
  cursor: pointer;
  transition: border-color var(--t), color var(--t);
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold); }
.lb-btn[hidden] { display: none; }
.lb-btn svg { width: 24px; height: 24px; }
.lb-prev { grid-column: 1; grid-row: 1; justify-self: start; }
.lb-next { grid-column: 3; grid-row: 1; justify-self: end; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; }
body.lb-open { overflow: hidden; }

/* 9. Анимации появления (включаются только при работающем JS) ---------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal:nth-child(2) { transition-delay: .08s; }
.js .hero .reveal:nth-child(3) { transition-delay: .16s; }
.js .hero .reveal:nth-child(4) { transition-delay: .24s; }
.js .hero .reveal:nth-child(5) { transition-delay: .32s; }
.js .hero-media.reveal { transition-delay: .2s; }

/* Строки заголовка первого экрана проявляются по очереди из размытия */
.js .hero-title.reveal { opacity: 1; transform: none; }
.js .hero-title .l {
  opacity: 0;
  transform: translateY(.32em);
  filter: blur(10px);
  transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease);
}
.js .hero-title.is-in .l { opacity: 1; transform: none; filter: none; }
.js .hero-title.is-in .l:nth-child(2) { transition-delay: .12s; }
.js .hero-title.is-in .l:nth-child(3) { transition-delay: .24s; }
/* При первом открытии — после того как выехала шапка */
.intro .hero .reveal:nth-child(1) { transition-delay: .45s; }
.intro .hero-title.is-in .l:nth-child(1) { transition-delay: .6s; }
.intro .hero-title.is-in .l:nth-child(2) { transition-delay: .74s; }
.intro .hero-title.is-in .l:nth-child(3) { transition-delay: .88s; }
.intro .hero .reveal:nth-child(3) { transition-delay: 1.05s; }
.intro .hero .reveal:nth-child(4) { transition-delay: 1.18s; }
.intro .hero .reveal:nth-child(5) { transition-delay: 1.3s; }
.intro .hero-media.reveal { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) *:where(:not(#WidgetVerticalBlockId *)),
  :where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) *:where(:not(#WidgetVerticalBlockId *))::before,
  :where(.site-header, main, .site-footer, .mobile-cta, .skip-link, .cookie-banner) *:where(:not(#WidgetVerticalBlockId *))::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 10. Адаптив ------------------------------------------------------------- */
@media (max-width: 1320px) {
  .header-contact { display: none; }
}

@media (max-width: 1280px) {
  :root { --gutter: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 440px; column-gap: 64px; }
  .hero-stats { grid-template-columns: 1.3fr 1fr 1fr; }
  .split { gap: 64px; }
  .room-row { gap: 56px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
  .info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  :root { --gutter: 40px; --section-y: 96px; }

  /* меню-бургер */
  .burger { display: block; }
  .header-inner { gap: 20px; }
  .header-book { margin-left: auto; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-cur));
    height: calc(100dvh - var(--header-cur));
    display: flex; flex-direction: column; justify-content: flex-start;
    padding: 24px var(--gutter) 40px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--t), transform var(--t), visibility 0s linear .3s;
  }
  .nav-open .main-nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--t), transform var(--t), visibility 0s;
  }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    font: 400 28px/1.2 var(--f-serif);
    color: var(--cream);
  }
  .main-nav > ul a::after { display: none; }
  .main-nav > ul a[aria-current="page"] { color: var(--gold); }
  .nav-extra { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
  .nav-extra-phone { font: 400 26px/1.2 var(--f-serif); color: var(--cream); text-decoration: none; }
  .nav-extra-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 6px; }
  .nav-extra-links .btn { min-height: 52px; padding: 0 12px; }
  .nav-extra .btn-gold { margin-top: 4px; }

  /* hero в одну колонку */
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-content { padding-top: 24px; }
  .hero-title { font-size: clamp(42px, 7.4vw, 78px); }
  .hero-stats { margin-top: 56px; }
  .hero-media { max-width: 560px; margin: 72px auto 0; }

  .split, .route-grid, .booking-layout, .requisites { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split--media-left .split-media { order: 0; }
  .split-media { max-width: 640px; }
  .split-media .media-note { left: auto; right: 24px; bottom: 24px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3--rooms > :nth-child(3) { display: none; }
  .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .tiles, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .room-row { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 64px; }
  .territory-thumb { right: -16px; bottom: -32px; }
  .room-row:nth-child(even) .room-row-media { order: 0; }
  .room-row-media { max-width: 720px; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .cta-frogs { display: none; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 72px; --header-h-sm: 62px; --section-y: 72px; }
  body { padding-bottom: 76px; }
  .page-booking { padding-bottom: 0; }

  .brand { gap: 12px; }
  .brand-mark { width: 40px; height: 40px; font-size: 22px; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .22em; }
  .header-book { display: none; }
  .burger { margin-left: auto; }

  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(16, 22, 34, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { flex: 1; min-height: 52px; }
  .mobile-cta-call {
    display: grid; place-items: center;
    width: 52px; height: 52px; flex: none;
    border: 1px solid var(--line-btn);
    color: var(--cream);
  }
  .mobile-cta-call svg { width: 22px; height: 22px; }
  .page-booking .mobile-cta { display: none; }
  /* Баннер — над нижней кнопкой «Забронировать», не перекрывает её */
  .cookie-banner { bottom: calc(73px + env(safe-area-inset-bottom, 0px)); }
  .page-booking .cookie-banner { bottom: 0; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; padding-block: 16px 14px; }
  .cookie-banner p { font-size: 13.5px; }
  .cookie-banner .btn { margin-left: 0; min-height: 44px; }
  .nav-open .mobile-cta { display: none; }

  .eyebrow { font-size: 11.5px; letter-spacing: .2em; gap: 12px; }
  .eyebrow--line::before { width: 28px; }
  .lead, .hero-lead { font-size: 16.5px; }

  /* hero */
  .hero { padding: 16px 0 48px; }
  .hero-content { padding-top: 16px; }
  .hero-title { font-size: clamp(38px, 11.4vw, 56px); margin-top: 18px; }
  .hero-lead { margin-top: 22px; }
  .hero-actions { flex-direction: column; margin-top: 30px; gap: 12px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 24px; margin-top: 40px; }
  .stat-rating { grid-column: 1 / -1; }
  .hero-stats > div + div { padding-left: 0; border-left: 0; }
  .hero-stats > div:nth-child(3) { padding-left: 20px; border-left: 1px solid var(--line-soft); }
  .stat-num { font-size: 30px; }
  .stat-rating .stat-num { font-size: 46px; }

  .hero-media { width: calc(100% - 26px); margin: 48px 0 0 26px; aspect-ratio: 4 / 5; }
  .frogging svg { height: 16px; }
  .award { top: 22px; right: 22px; width: 100px; height: 100px; }
  .award::before { inset: 5px; }
  .award svg { width: 9px; height: 9px; margin-bottom: 4px; }
  .award-top { font-size: 7.5px; }
  .award-year { font-size: 21px; }
  .award-src { font-size: 6.8px; }
  .hero-caption { left: 24px; right: 20px; bottom: 22px; font-size: 13.5px; }
  .hero-media { margin-bottom: 124px; }
  .price-card {
    left: -26px; right: 0; top: calc(100% + 12px); bottom: auto;
    width: auto;
  }
  .price-card img { width: 88px; height: 88px; }
  .price-card .price { font-size: 25px; }

  /* секции */
  .section-head { margin-bottom: 40px; }
  .crumbs { margin-bottom: 28px; }
    .features { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 56px; padding-top: 40px; }
  .feature { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
  .feature .icon-ring { grid-row: span 2; }
  .feature h3 { margin-top: 2px; }
  .split-media .media-note { position: relative; right: auto; bottom: auto; max-width: none; margin: -40px 16px 0; }
  .cards-3, .tiles, .contact-grid, .info-cards { grid-template-columns: minmax(0, 1fr); }
  .cards-3--rooms > :nth-child(3) { display: flex; }
  .tile { padding: 28px 24px 30px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line-soft); }
  .rating-summary { padding: 14px 18px; gap: 16px; }
  .rating-summary .num { font-size: 44px; }
  .review { padding: 32px 24px 28px; }
  .route-address { font-size: 22px; }
  .route-actions .btn { width: 100%; }
  .cta-band { padding-block: 80px; }
  .cta-actions .btn { width: 100%; }
  .room-row { padding-block: 52px; }
  .rooms-list { margin-top: 56px; }
  .facts--spaced { margin-top: 48px; }
  .territory-thumb { position: relative; right: auto; bottom: auto; width: 56%; margin: -64px 0 0 auto; }
  .specs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .specs > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .amenities { grid-template-columns: minmax(0, 1fr); }
  .room-row-foot .btn { width: 100%; }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .accordion summary { font-size: 19px; gap: 14px; padding: 20px 0; }
  .acc-body { padding: 0 0 24px 40px; }
  .contact-card { padding: 28px 24px; }
  .contact-card .value { font-size: 21px; }
  .booking-main { padding: 36px 16px 28px; }
  .aside-card { padding: 28px 22px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  .g-item.wide { grid-column: span 2; }
  .lightbox { grid-template-columns: 1fr 1fr; padding: 64px 12px 24px; row-gap: 16px; }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-figure img { max-height: calc(100vh - 220px); }
  .lb-prev { grid-column: 1; grid-row: 2; justify-self: end; margin-right: 8px; }
  .lb-next { grid-column: 2; grid-row: 2; justify-self: start; margin-left: 8px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 56px 40px; }
  .footer-bottom { flex-direction: column; }
  .prose h2 { font-size: 24px; margin-top: 44px; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .brand-name { font-size: 20px; }
  .brand-sub { letter-spacing: .18em; }
  .hero-title { font-size: 38px; }
  .hero-media { width: calc(100% - 22px); margin-left: 22px; }
  .price-card { left: -22px; gap: 14px; }
  .price-card img { width: 76px; height: 76px; }
  .price-card .kicker { font-size: 9px; letter-spacing: .14em; }
  .nav-extra-links { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   11. Номера: слайдер на весь экран (rooms.html, js/rooms.js)
   ========================================================================== */
.rooms-stage {
  position: relative;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 620px;
  max-height: 1000px;
  overflow: hidden;
  background: #0E131E;
}
.stage-track {
  display: flex;
  height: 100%;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.stage-track::-webkit-scrollbar { display: none; }
.stage-track:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; }

.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.slide::after {                       /* тонкая рамка, как в hero */
  content: "";
  position: absolute; inset: 20px; z-index: 2;
  border: 1px solid rgba(243, 235, 221, .26);
  pointer-events: none;
}
.slide-media { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.slide-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 1.8s var(--ease);
}
.slide.is-active .slide-media img { transform: scale(1.02); }
.slide-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 52% 48% at 0% 100%, rgba(14, 19, 30, .72), rgba(14, 19, 30, 0) 72%),
    radial-gradient(ellipse 46% 30% at 0% 0%, rgba(14, 19, 30, .55), rgba(14, 19, 30, 0) 75%),
    linear-gradient(0deg, rgba(14, 19, 30, .82) 0%, rgba(14, 19, 30, .35) 22%, rgba(14, 19, 30, 0) 42%),
    linear-gradient(180deg, rgba(14, 19, 30, .5) 0%, rgba(14, 19, 30, 0) 18%);
}

.slide-body {
  position: absolute; z-index: 3;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  bottom: 132px;
  width: min(620px, calc(100% - 2 * var(--gutter)));
}
.slide-kicker {
  font: 600 12px/1.3 var(--f-sans);
  letter-spacing: .22em; text-transform: uppercase;
  color: #E6CC95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .5);
}
.slide-title {
  margin-top: 12px;
  font-size: clamp(34px, 3.8vw, 58px); line-height: 1.04;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.slide-sub { margin-top: 10px; font-size: 16px; color: var(--nav); }
.slide-sub strong { font: 400 22px/1 var(--f-serif); color: var(--cream); }
.slide-more {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 18px;
  padding: 10px 6px 10px 0;
  border-bottom: 1px solid rgba(200, 162, 94, .6);
  font-size: 14.5px; font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  transition: color var(--t), border-color var(--t), gap var(--t);
}
.slide-more span {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font: 400 18px/1 var(--f-sans);
  color: var(--gold);
  transition: background-color var(--t), color var(--t);
}
.slide-more:hover { color: var(--gold); gap: 16px; }
.slide-more:hover span { background: var(--gold); color: var(--ink); }

/* появление текста на активном слайде */
.js .slide-body > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.js .slide.is-active .slide-body > * { opacity: 1; transform: none; }
.js .slide.is-active .slide-body > :nth-child(2) { transition-delay: .07s; }
.js .slide.is-active .slide-body > :nth-child(3) { transition-delay: .14s; }
.js .slide.is-active .slide-body > :nth-child(4) { transition-delay: .21s; }

.stage-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 40px max(var(--gutter), calc((100% - var(--container)) / 2)) 0;
  pointer-events: none;
}
.stage-head a { pointer-events: auto; }
.stage-head .crumbs { margin-bottom: 12px; }
.stage-h1 { font-size: clamp(26px, 2.4vw, 34px); }
.stage-count { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; margin-top: 30px; }
.stage-count-num { font: 400 16px/1 var(--f-serif); letter-spacing: .08em; color: var(--nav); }
.stage-count-num b { font-weight: 400; font-size: 26px; color: var(--gold); }
.stage-progress {
  position: relative;
  display: block;
  width: 220px; height: 1px;
  background: rgba(243, 235, 221, .25);
}
.stage-progress-bar {
  position: absolute; left: 0; top: -1px;
  height: 3px; width: 12.5%;
  background: var(--gold);
  transition: width .6s var(--ease);
}

.stage-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: 0 max(var(--gutter), calc((100% - var(--container)) / 2)) 40px;
}
.stage-thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.stage-thumb {
  position: relative;
  display: block;
  width: 76px; height: 54px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 235, 221, .3);
  background: var(--bg-card);
  cursor: pointer;
  opacity: .62;
  transition: opacity var(--t), border-color var(--t), transform var(--t);
}
.stage-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stage-thumb span {
  position: absolute; left: 6px; bottom: 4px;
  font: 400 12px/1 var(--f-serif);
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}
.stage-thumb:hover { opacity: 1; transform: translateY(-3px); }
.stage-thumb[aria-current="true"] { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

.stage-arrows { display: flex; gap: 10px; flex: none; }
.stage-btn {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--line-btn);
  border-radius: 50%;
  background: rgba(14, 19, 30, .55);
  color: var(--cream);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), opacity var(--t);
}
.stage-btn svg { width: 22px; height: 22px; }
.stage-btn:hover { border-color: var(--gold); color: var(--gold); }
.stage-btn:disabled { opacity: .3; cursor: default; border-color: var(--line-btn); color: var(--cream); }

/* круг со стрелкой у края экрана — следует за мышью */
.stage-cursor {
  position: absolute; left: 0; top: 0; z-index: 5;
  width: 0; height: 0;
  pointer-events: none;
}
.stage-cursor-dot {
  position: absolute; left: -52px; top: -52px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: rgba(200, 162, 94, .94);
  color: var(--ink);
  font: 600 11px/1 var(--f-sans);
  letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 12px 40px rgba(6, 10, 18, .4);
  opacity: 0;
  transform: scale(.3);
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.stage-cursor-dot svg { width: 26px; height: 26px; transition: transform .3s var(--ease); }
.zone-next .stage-cursor-dot, .zone-prev .stage-cursor-dot { opacity: 1; transform: scale(1); }
.zone-prev .stage-cursor-dot svg { transform: rotate(180deg); }
.cur-plus { display: none; font: 300 34px/1 var(--f-sans); margin-bottom: 2px; }
.zone-open .stage-cursor-dot { opacity: 1; transform: scale(.92); background: rgba(243, 235, 221, .94); }
.zone-open .cur-arrow { display: none; }
.zone-open .cur-plus { display: block; }
.rooms-stage.zone-next, .rooms-stage.zone-prev, .rooms-stage.zone-open { cursor: none; }
.rooms-stage::before, .rooms-stage::after {     /* подсветка края */
  content: "";
  position: absolute; top: 0; bottom: 0; z-index: 3;
  width: 26%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.rooms-stage::before { left: 0; background: linear-gradient(90deg, rgba(200, 162, 94, .16), transparent); }
.rooms-stage::after { right: 0; background: linear-gradient(270deg, rgba(200, 162, 94, .16), transparent); }
.rooms-stage.zone-prev::before, .rooms-stage.zone-next::after { opacity: 1; }

/* «В каждом номере» */
.inroom-note { max-width: 360px; font-size: 15px; }
.inroom {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--line-ink);
}
.inroom li { display: flex; flex-direction: column; gap: 14px; font: 400 19px/1.25 var(--f-serif); color: var(--ink); }
.inroom svg { width: 32px; height: 32px; color: var(--gold-ink); }

/* ==========================================================================
   12. Панель «Подробнее о номере» (dialog)
   ========================================================================== */
.drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(640px, 100vw);
  max-width: 100vw;
  height: 100%; max-height: 100%;
  margin: 0; padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--text);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .45);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer::backdrop { background: rgba(8, 11, 18, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer-inner { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.drawer-top {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.drawer-num { font: 400 15px/1 var(--f-serif); letter-spacing: .08em; color: var(--gold); }
.drawer-close {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-btn);
  border-radius: 50%;
  background: none;
  color: var(--cream);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), transform var(--t);
}
.drawer-close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-gallery { padding: 24px 28px 0; }
.drawer-photo { aspect-ratio: 4 / 3; }
.drawer-photo img { transition: opacity .3s var(--ease), transform 1.2s var(--ease); }
.drawer-photo.is-swapping img { opacity: .25; }
.drawer-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.dr-thumb {
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--bg-card);
  opacity: .55;
  cursor: pointer;
  transition: opacity var(--t), border-color var(--t);
}
.dr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dr-thumb:hover { opacity: 1; }
.dr-thumb.is-active { opacity: 1; border-color: var(--gold); }
.drawer-body { padding: 28px 28px 36px; }
.drawer-body h2 { font-size: clamp(28px, 3vw, 36px); }
.drawer-desc { margin-top: 14px; font-size: 16px; }
.drawer-h3 {
  margin-top: 32px;
  font: 600 12px/1.3 var(--f-sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.drawer .amenities { margin-top: 16px; }
.drawer-rules { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.drawer-rules li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.drawer-rules svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
.drawer-foot {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 20px;
  padding: 18px 28px calc(18px + env(safe-area-inset-bottom));
  background: var(--bg-raised);
  border-top: 1px solid var(--line-soft);
}
body.drawer-open { overflow: hidden; }

/* адаптив слайдера и панели */
@media (max-width: 1100px) {
  .stage-thumb { width: 60px; height: 44px; }
  .inroom { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rooms-stage {
    height: calc(100vh - var(--header-h) - 76px);
    height: calc(100svh - var(--header-h) - 76px);
    min-height: 580px; max-height: none;
  }
  .slide::after { inset: 10px; }
  .slide { background: #0E131E; }
  .slide-media { bottom: 214px; }
  .slide-media img { object-position: 50% 62%; }
  .slide-media::after {
    background:
      linear-gradient(0deg, #0E131E 0%, rgba(14, 19, 30, 0) 18%),
      linear-gradient(180deg, rgba(14, 19, 30, .78) 0%, rgba(14, 19, 30, 0) 26%);
  }
  .stage-head { padding-top: 22px; }
  .stage-head .crumbs { display: none; }
  .stage-h1 { font-size: 24px; }
  .stage-progress { width: 90px; }
  .slide-body { left: var(--gutter); right: var(--gutter); width: auto; bottom: 86px; }
  .slide-title { font-size: clamp(30px, 9vw, 42px); }
  .slide-more { margin-top: 12px; }
  .stage-count { margin-top: 4px; gap: 8px; }
  .stage-count-num b { font-size: 20px; }
  .stage-foot { padding-bottom: 24px; align-items: center; }
  .stage-thumb { width: 10px; height: 10px; padding: 0; border-radius: 50%; border-color: rgba(243, 235, 221, .55); opacity: 1; box-shadow: none; }
  .stage-thumb img, .stage-thumb span { display: none; }
  .stage-thumb:hover { transform: none; }
  .stage-thumb[aria-current="true"] { background: var(--gold); }
  .stage-thumbs { gap: 4px; }
  .stage-thumbs li { display: grid; place-items: center; width: 22px; height: 44px; }
  .stage-btn { width: 46px; height: 46px; }
  .inroom { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .inroom li { font-size: 17px; }
  .drawer { width: 100vw; }
  .drawer-gallery, .drawer-body { padding-left: 20px; padding-right: 20px; }
  .drawer-top, .drawer-foot { padding-left: 20px; padding-right: 20px; }
  .drawer-foot .btn { flex: 1; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .slide-body { bottom: 116px; }
}

/* ==========================================================================
   13. Компактные шапки страниц (галерея, бронирование, политика)
   ========================================================================== */
.gallery-page, .booking-page, .privacy-page { padding-top: 40px; }
.gallery-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px;
  margin-bottom: 32px;
}
.gallery-h1 { margin-top: 14px; font-size: clamp(52px, 7vw, 112px); line-height: .95; }
.gallery-sub { max-width: 360px; font-size: 15.5px; color: var(--text-soft); }

.page-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px;
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-soft);
}
.page-head .crumbs { flex-basis: 100%; margin-bottom: 0; }
.page-head h1 { font-size: clamp(38px, 4.6vw, 66px); max-width: 860px; }
.page-head-meta { font-size: 14px; color: var(--text-soft); }
.bk-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.bk-steps li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--nav); }
.bk-steps span {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font: 400 13px/1 var(--f-serif);
  color: var(--gold);
}

/* ==========================================================================
   14. Услуги: интерактивный список (services.html)
   ========================================================================== */
.srv-screen { padding: 40px 0 120px; }
.srv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.srv-h1 { margin-top: 18px; font-size: clamp(42px, 5vw, 72px); }
.srv-intro { max-width: 520px; margin-top: 20px; font-size: 17px; }
.srv-list { list-style: none; margin-top: 44px; border-top: 1px solid var(--line-soft); }
.srv-name {
  display: flex; align-items: center; gap: 22px;
  width: 100%;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: none;
  color: var(--cream);
  text-align: left;
  cursor: pointer;
  transition: color var(--t);
}
.srv-n { flex: none; width: 28px; font: 400 14px/1 var(--f-serif); letter-spacing: .06em; color: var(--text-soft); transition: color var(--t); }
.srv-t { flex: 1; font: 400 clamp(22px, 2.1vw, 30px)/1.2 var(--f-serif); transition: transform .4s var(--ease); }
.srv-name .tag { flex: none; }
.srv-name:hover, .srv-item.is-active .srv-name { color: var(--gold); }
.srv-item.is-active .srv-n { color: var(--gold); }
.srv-item.is-active .srv-t { transform: translateX(10px); }
.srv-detail { display: flex; gap: 16px; padding: 4px 0 22px 50px; font-size: 15.5px; }
.srv-detail svg { width: 26px; height: 26px; flex: none; color: var(--gold); }

.srv-right { position: sticky; top: calc(var(--header-cur) + 32px); transition: top .45s var(--ease); }
.srv-stage { background: var(--bg-card); border: 1px solid var(--line-soft); }
.srv-stage-media {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(200, 162, 94, .2), transparent 58%),
    linear-gradient(rgba(243, 235, 221, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 235, 221, .035) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}
.srv-stage-media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(243, 235, 221, .3); pointer-events: none; }
.srv-stage-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .5s var(--ease), transform 1.2s var(--ease);
}
.srv-stage.has-img .srv-stage-media img { opacity: 1; transform: none; }
.srv-stage-icon {
  display: grid; place-items: center;
  width: 128px; height: 128px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  transition: opacity .3s var(--ease), transform .5s var(--ease);
}
.srv-stage-icon svg { width: 54px; height: 54px; stroke-width: 1.2; }
.srv-stage.has-img .srv-stage-icon { opacity: 0; transform: scale(.8); }
.srv-stage-body { padding: 30px 36px 36px; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.srv-stage.is-swapping .srv-stage-body { opacity: 0; transform: translateY(10px); }
.srv-stage.is-swapping .srv-stage-icon { opacity: 0; transform: scale(.85); }
.srv-stage-n { font: 400 14px/1 var(--f-serif); letter-spacing: .08em; color: var(--gold); }
.srv-stage-title { margin-top: 12px; font: 400 32px/1.15 var(--f-serif); color: var(--cream); }
.srv-stage-text { margin-top: 14px; font-size: 16.5px; }

/* с JS: на широком экране описание показывается справа (в списке остаётся для экранных дикторов) */
@media (min-width: 901px) {
  .js .srv-detail {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  .js .srv-item { position: relative; }
}
@media (max-width: 900px) {
  .srv-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .srv-right { display: none; }
  .js .srv-detail { display: none; }
  .js .srv-item.is-open .srv-detail { display: flex; }
  .srv-name { gap: 14px; padding: 16px 0; }
  .srv-n { width: 22px; }
  .srv-detail { padding-left: 36px; }
  .srv-name .tag { padding: 4px 8px; font-size: 10px; letter-spacing: .08em; }
}

/* Территория — фото на всю ширину */
.ter-band {
  position: relative;
  display: flex; align-items: center;
  min-height: 680px;
  padding: 120px 0;
  overflow: hidden;
}
.ter-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ter-band::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14, 19, 30, .15) 0%, rgba(14, 19, 30, .35) 45%, rgba(14, 19, 30, .8) 100%);
}
.ter-band .container { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.ter-card {
  max-width: 520px;
  padding: 48px 44px;
  background: var(--cream);
  color: var(--ink-soft);
  box-shadow: 0 30px 70px rgba(6, 10, 18, .45);
}
.ter-card .eyebrow { color: var(--gold-ink); }
.ter-card h2 { margin-top: 20px; color: var(--ink); }
.ter-card h2 em { color: var(--gold-ink); }
.ter-card p:not(.eyebrow) { margin-top: 14px; font-size: 16px; }
.ter-list { list-style: none; margin-top: 24px; border-top: 1px solid var(--line-ink); }
.ter-list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-ink); font-size: 15px; color: var(--ink); }
.ter-list svg { width: 20px; height: 20px; flex: none; color: var(--gold-ink); }
@media (max-width: 760px) {
  .ter-band { display: block; min-height: 0; padding: 0 0 56px; }
  .ter-bg { position: relative; height: 300px; }
  .ter-band::before { display: none; }
  .ter-card { margin-top: -48px; padding: 32px 22px; max-width: none; }
}

/* ==========================================================================
   15. О нас: закреплённая колонка слева (about.html)
   ========================================================================== */
.about-layout { padding: 40px 0 120px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 96px;
  align-items: start;
}
.about-aside { position: sticky; top: calc(var(--header-cur) + 32px); transition: top .45s var(--ease); }
.about-h1 { margin-top: 18px; font-size: clamp(40px, 4.4vw, 64px); }
.about-photo { height: clamp(220px, 34vh, 380px); margin-top: 30px; }
.about-toc { display: grid; margin-top: 26px; border-top: 1px solid var(--line-soft); }
.about-toc a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font: 400 19px/1.3 var(--f-serif);
  color: var(--nav);
  text-decoration: none;
  transition: color var(--t), padding var(--t);
}
.about-toc span { width: 24px; font-size: 13px; color: var(--text-soft); }
.about-toc a:hover { color: var(--cream); }
.about-toc a.is-active { color: var(--gold); padding-left: 8px; }
.about-toc a.is-active span { color: var(--gold); }

.about-sec { padding-bottom: 96px; }
.about-sec + .about-sec { padding-top: 96px; border-top: 1px solid var(--line-soft); }
.about-sec:last-child { padding-bottom: 0; }
.about-sec .h2 { margin-top: 22px; }
.about-sec .text-flow { margin-top: 28px; }
.about-lead { font: 400 24px/1.4 var(--f-serif); color: var(--cream); }
.about-badge {
  display: flex; align-items: center; gap: 18px;
  margin-top: 36px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  font-size: 14px;
}
.about-badge .num { font: 400 48px/1 var(--f-serif); color: var(--cream); }
.about-badge strong { display: block; font-weight: 600; letter-spacing: .04em; color: var(--gold); }
.about-sec .kv { margin-top: 32px; }
.about-note { margin-top: 18px; }
.about-sec .accordion { margin-top: 36px; }
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .about-aside { position: static; }
  .about-photo { height: 320px; }
  .about-toc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-toc a { padding: 12px 10px 12px 0; font-size: 17px; }
  .about-toc a.is-active { padding-left: 0; }
}
@media (max-width: 760px) {
  .about-layout { padding-bottom: 72px; }
  .about-photo { height: 240px; }
  .about-toc { grid-template-columns: minmax(0, 1fr); }
  .about-sec { padding-bottom: 64px; }
  .about-sec + .about-sec { padding-top: 64px; }
  .about-lead { font-size: 20px; }
}

/* ==========================================================================
   16. Контакты: один экран (contacts.html)
   ========================================================================== */
.cs-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}
.cs-left {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 40px 64px 72px max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.cs-h1 { margin-top: 36px; font-size: clamp(52px, 6.6vw, 104px); line-height: .95; }
.cs-label {
  margin-top: 40px;
  font: 600 12px/1.3 var(--f-sans);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.cs-phone {
  margin-top: 10px;
  font: 400 clamp(34px, 4.2vw, 60px)/1.05 var(--f-serif);
  color: var(--cream);
  text-decoration: none;
  transition: color var(--t);
}
.cs-phone:hover { color: var(--gold); }
.cs-status { margin-top: 12px; }
.cs-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Строка «Пишите в MAX» (у MAX нет ссылки на чат по номеру — только подпись) */
.max-line {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 0 0;
  font-size: 15px; line-height: 1.4;
  color: var(--text-soft);
}
.max-line svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
.max-line strong { font-weight: 500; color: var(--cream); white-space: nowrap; }
.nav-extra .max-line { margin-top: 0; }
.cs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.cs-list > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line-soft); }
.cs-list > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-soft); }
.cs-list dt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); }
.cs-list dt svg { width: 18px; height: 18px; color: var(--gold); }
.cs-list dd { margin-top: 6px; font: 400 18px/1.35 var(--f-serif); color: var(--cream); overflow-wrap: anywhere; }
.cs-left .link-arrow { margin-top: 28px; }
.cs-map { position: relative; border-left: 1px solid var(--line-soft); }
.req-note { margin-top: 18px; font-size: 15px; }
.requisites .h2 { margin-top: 22px; }
@media (max-width: 1100px) {
  .cs-screen { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .cs-left { padding: 40px var(--gutter) 56px; }
  .cs-map { height: 420px; border-left: 0; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 760px) {
  .cs-h1 { margin-top: 24px; }
  .cs-label { margin-top: 28px; }
  .cs-buttons { align-self: stretch; }
  .cs-buttons .btn { flex: 1; }
  .cs-list { grid-template-columns: minmax(0, 1fr); }
  .cs-list > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .cs-map { height: 320px; }
  .gallery-page, .booking-page, .privacy-page { padding-top: 24px; }
  .page-head { margin-bottom: 32px; padding-bottom: 24px; }
}

/* Цены на странице номеров */
.prices-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: end;
}
.prices .h2 { margin-top: 22px; }
.prices-note { max-width: 440px; margin-top: 20px; font-size: 15.5px; }
.price-list { list-style: none; border-top: 1px solid var(--line-soft); }
.price-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  transition: padding var(--t), background-color var(--t);
}
.price-list a:hover { padding-left: 14px; background: rgba(200, 162, 94, .05); }
.pl-name { display: flex; flex-direction: column; gap: 6px; font: 400 23px/1.25 var(--f-serif); color: var(--cream); }
.pl-name small { font: 400 14px/1.3 var(--f-sans); color: var(--text-soft); }
.pl-price { flex: none; font: 400 30px/1 var(--f-serif); color: var(--gold); white-space: nowrap; }
@media (max-width: 1100px) {
  .prices-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 760px) {
  .pl-name { font-size: 19px; }
  .pl-price { font-size: 23px; }
  .drawer-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Карта Яндекса (iframe) */
.map-box {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box--inline { min-height: 380px; margin-top: 32px; }
.cs-map .map-box { position: absolute; inset: 0; min-height: 0; border: 0; }

/* Оценки гостей на главной */
.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-ink);
}
.score { padding: 34px 32px 6px 0; }
.score + .score { padding-left: 32px; border-left: 1px solid var(--line-ink); }
.score dt {
  font: 600 12px/1.3 var(--f-sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-ink);
}
.score-num { margin-top: 14px; font: 400 clamp(56px, 6vw, 88px)/1 var(--f-serif); color: var(--ink); }
.score-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.score-note .stars { margin: 0; color: var(--gold-ink); }
@media (max-width: 760px) {
  .map-box { min-height: 320px; }
  .score-grid { grid-template-columns: minmax(0, 1fr); }
  .score, .score + .score { padding: 24px 0; border-left: 0; }
  .score + .score { border-top: 1px solid var(--line-ink); }
}
