/* ============================================================
   Tuchki — Nordic Forest Retreat
   Дизайн-система. Mobile-first. Editorial / slow-living / hygge.
   Палитра: Deep Forest, Warm Sand, Linen, Charcoal, Warm Brown,
   акценты Copper / Muted Gold. Без красного.
   ============================================================ */

:root {
  /* --- Палитра --- */
  --forest:      #24342A;   /* Deep Forest */
  --forest-900:  #1A2620;
  --forest-800:  #1F2D24;
  --forest-700:  #2E4135;
  --forest-600:  #3A5042;
  --sand:        #F3EFE8;   /* Warm Sand */
  --linen:       #FAF8F4;   /* Linen — фон страницы */
  --charcoal:    #262626;
  --brown:       #7A624B;   /* Warm Brown */
  --copper:      #A9744B;   /* акцент — медь (иконки, декор) */
  --copper-700:  #8F5E3A;
  --copper-text: #8C5C39;   /* медь для мелкого текста на светлом — AA-контраст */
  --gold:        #C2A06A;   /* акцент — приглушённое золото */

  --ink:         #2A271F;   /* основной текст */
  --ink-soft:    #4A463C;
  --muted:       #79746A;   /* приглушённый текст */
  --muted-light: #B7B0A2;
  --line:        #E6DFD2;   /* тонкие линии на светлом */
  --line-dark:   rgba(243,239,232,.16); /* линии на тёмном */
  --on-dark:     #EDE7DA;   /* текст на тёмном */
  --on-dark-soft:#B9BFB2;

  /* --- Типографика --- */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* --- Геометрия --- */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --shell: 1280px;
  --shell-wide: 1480px;
  --gutter: 22px;
  --header-h: 76px;

  /* --- Тени (мягкие) --- */
  --shadow-1: 0 2px 14px -8px rgba(26,38,32,.28);
  --shadow-2: 0 26px 60px -34px rgba(26,38,32,.45);
  --shadow-3: 0 40px 90px -50px rgba(26,38,32,.6);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.65;
  font-size: 16.5px;
  font-weight: 400;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 380;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -.012em;
  font-optical-sizing: auto;
}
.ic { width: 20px; height: 20px; flex: none; }

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

/* ---------- Доступность ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--forest); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: var(--r-xs); }
body.no-scroll, body.nav-open { overflow: hidden; }
/* Открытое мобильное меню: жёсткий лок скролла (iOS не держит overflow:hidden). top задаёт JS. */
body.nav-open { position: fixed; width: 100%; }

/* ---------- Каркас ---------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.shell--wide { max-width: var(--shell-wide); }
.shell--narrow { max-width: 880px; }

.section { padding: clamp(64px, 11vw, 150px) 0; position: relative; }
.section--flush-bottom { padding-bottom: 0; }
.section--dark { background: var(--forest); color: var(--on-dark); }
.section--forest-900 { background: var(--forest-900); color: var(--on-dark); }
.section--sand { background: var(--sand); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--forest-900 h1, .section--forest-900 h2, .section--forest-900 h3 { color: #F4EFE6; }

/* ---------- Редакторные мета-элементы ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600;
  text-transform: uppercase; letter-spacing: .26em; font-size: 11.5px;
  color: var(--copper-text); margin: 0 0 22px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px; background: currentColor; opacity: .55;
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow, .section--forest-900 .eyebrow { color: var(--gold); }

.index-num {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(13px, 1.4vw, 15px); letter-spacing: .1em;
  color: var(--copper-text);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--dark .rule { background: var(--line-dark); }

.lead {
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.6; color: var(--ink-soft); font-weight: 400;
  max-width: 56ch;
}
.section--dark .lead, .section--forest-900 .lead { color: var(--on-dark-soft); }

.muted { color: var(--muted); }
.note { color: var(--muted); font-size: .92em; }

/* Заголовок секции — редакторный, левый */
.s-head { max-width: 840px; margin-bottom: clamp(40px, 6vw, 72px); }
.s-head__top { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.s-head__title { font-size: clamp(30px, 5.2vw, 58px); letter-spacing: -.018em; }
.s-head__lead { margin-top: 22px; }
.s-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head--center .s-head__top { justify-content: center; }
.s-head--center .eyebrow { justify-content: center; }
.s-head--center .s-head__lead, .s-head--center .lead { margin-left: auto; margin-right: auto; }
.s-head--sub { margin-bottom: 28px; }
.s-head--sub .s-head__title { font-size: clamp(22px, 3vw, 30px); }

/* Утилиты отступов (взамен инлайновых стилей) */
.u-mt-lg { margin-top: clamp(48px, 7vw, 80px); }
.u-mt-sm { margin-top: 18px; }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: #F5F1E8;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .14em; line-height: 1;
  padding: 17px 28px; border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  transition: transform .35s var(--ease), background .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--forest-700); border-color: var(--forest-700); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 16px; height: 16px; }

.btn--copper { --btn-bg: #9C6840; --btn-fg: #FFFFFF; }
.btn--copper:hover { background: #7E5230; border-color: #7E5230; }

.btn--outline {
  background: transparent; color: var(--forest); border-color: var(--line);
}
.btn--outline:hover { background: var(--forest); color: #F5F1E8; border-color: var(--forest); box-shadow: var(--shadow-2); }

.btn--ghost {
  background: rgba(250,248,244,.08); color: #fff; border-color: rgba(250,248,244,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(250,248,244,.18); border-color: rgba(250,248,244,.6); }

.section--dark .btn--outline, .section--forest-900 .btn--outline { color: #fff; border-color: rgba(237,231,218,.4); background: transparent; }
.section--dark .btn--outline:hover, .section--forest-900 .btn--outline:hover { background: #F5F1E8; color: var(--forest); border-color: #F5F1E8; }

.btn--lg { padding: 19px 34px; font-size: 13px; }
.btn--sm { padding: 13px 20px; font-size: 11.5px; letter-spacing: .12em; }
.btn--block { width: 100%; }

/* Текст-ссылка с анимированным подчёркиванием */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--copper);
  padding-bottom: 4px; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(.3); transform-origin: left; opacity: .5;
  transition: transform .4s var(--ease), opacity .3s;
}
.link-arrow:hover::after { transform: scaleX(1); opacity: 1; }
.link-arrow .arr { transition: transform .35s var(--ease); }
.link-arrow:hover .arr { transform: translateX(5px); }
.section--dark .link-arrow { color: var(--gold); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), height .35s var(--ease);
  background: linear-gradient(180deg, rgba(20,30,24,.55), rgba(20,30,24,0));
}
.site-header.is-scrolled {
  background: rgba(26,38,32,.92);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 rgba(237,231,218,.08), 0 18px 40px -28px rgba(0,0,0,.7);
  height: 64px;
}
.site-header__inner { display: flex; align-items: center; gap: 16px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.brand__word { display: none; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 26px; }
.site-nav__list a {
  color: rgba(237,231,218,.86); font-size: 13.5px; font-weight: 500; letter-spacing: .02em;
  position: relative; padding: 6px 0; transition: color .25s;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease);
}
.site-nav__list a:hover, .site-nav__list a.is-current { color: #fff; }
.site-nav__list a:hover::after, .site-nav__list a.is-current::after { transform: scaleX(1); }
.nav-secondary { display: none; }

.site-header__aside { display: flex; align-items: center; gap: 12px; margin-left: 14px; }
.header-phone { display: none; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .01em; }
.header-phone .ic { width: 16px; height: 16px; color: var(--gold); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: #fff; background: rgba(237,231,218,.12); transition: background .25s, transform .25s;
}
.icon-btn:hover { background: rgba(237,231,218,.24); transform: translateY(-1px); }
.header-cta { display: none; }

/* Бургер */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; background: transparent; border: 0;
}
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: #fff; transition: transform .3s var(--ease), opacity .25s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Мобильное меню — выезжающая панель */
@media (max-width: 1023px) {
  .site-nav {
    /* height:100dvh, а не bottom:0 — иначе backdrop-filter шапки (containing-block)
       схлопывает дровер до высоты шапки при скролле. Так blur шапки можно сохранить. */
    position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(86vw, 380px);
    background: var(--forest-900); color: var(--on-dark);
    transform: translateX(100%); transition: transform .5s var(--ease);
    padding: calc(var(--header-h) + 24px) 32px 40px; margin: 0;
    box-shadow: var(--shadow-3); overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  /* Прижимаем правую группу к краю: иначе при скрытии day/night (в открытом меню)
     иконки соцсетей и крестик съезжают влево. */
  .site-header__aside { margin-left: auto; }
  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-nav__list li { width: 100%; }
  .site-nav__list a {
    display: block; padding: 16px 0; font-family: var(--font-display);
    font-size: 24px; font-weight: 360; letter-spacing: -.01em;
    color: var(--on-dark); border-bottom: 1px solid var(--line-dark);
  }
  .site-nav__list a::after { display: none; }
  .nav-secondary { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
/* Два слоя фона (день/ночь) с плавным кроссфейдом. Анимируем только opacity —
   transform занят параллаксом (задаётся из JS покадрово). */
.hero__img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 116%; object-fit: cover; object-position: 74% 42%;
  will-change: transform;
  transition: opacity .9s cubic-bezier(.4, 0, .2, 1);
}
/* На мобильном — отдельный портретный кадр (art-direction в <picture>): дом и
   вывеска «Тучки» видны целиком. Меньше overscan и кадрирование по центру. */
@media (max-width: 767px) { .hero__img { height: 110%; object-position: 71% 50%; } }
.hero__img--night { opacity: 0; }
.hero.is-night .hero__img--day { opacity: 0; }
.hero.is-night .hero__img--night { opacity: 1; }

/* ---------- Переключатель день/ночь · Liquid Glass (в шапке, к icon-btn) ----------
   Честная web-аппроксимация Apple Liquid Glass. Высота = как у .icon-btn (38px).
   Прячется, когда hero пролистан до середины (класс .daynight--hidden из JS). */
.daynight {
  --dn-thumb: 30px;
  position: relative; isolation: isolate; flex: none; align-self: center; padding: 0; margin: 0;
  width: 64px; height: 38px; border-radius: 999px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .40);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .05)),
    rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px) saturate(180%) contrast(1.04);
  -webkit-backdrop-filter: blur(16px) saturate(180%) contrast(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(255, 255, 255, .14);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-color .3s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.daynight::before { /* блик-рефракция сверху-слева */
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(125% 90% at 22% 0%, rgba(255, 255, 255, .5), transparent 46%);
}
.daynight:hover { border-color: rgba(255, 255, 255, .7); }
.daynight:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.daynight--hidden { opacity: 0; transform: translateY(-6px); pointer-events: none; }
/* Прячем переключатель при открытом мобильном меню — иначе наезжает на него */
body.nav-open .daynight { display: none; }
.daynight__track { position: absolute; inset: 0; z-index: 1; }
.daynight__thumb {
  position: absolute; top: 50%; left: 4px; z-index: 1;
  width: var(--dn-thumb); height: var(--dn-thumb); border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .74));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 2px rgba(0, 0, 0, .07);
  transform: translateY(-50%);
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.daynight[aria-checked="true"] .daynight__thumb { transform: translate(26px, -50%); }
.daynight__ic {
  position: absolute; top: 50%; z-index: 2; width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  transition: color .45s var(--ease);
}
.daynight__ic--sun { left: 19px; color: var(--forest); }
.daynight__ic--moon { left: 45px; color: rgba(255, 255, 255, .8); }
.daynight[aria-checked="true"] .daynight__ic--sun { color: rgba(255, 255, 255, .8); }
.daynight[aria-checked="true"] .daynight__ic--moon { color: var(--forest-900); }

/* Системно отключённая прозрачность — сплошная подложка */
@media (prefers-reduced-transparency: reduce) {
  .daynight { background: rgba(28, 40, 33, .95); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .daynight::before { display: none; }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,30,24,.42) 0%, rgba(20,30,24,.12) 30%, rgba(20,30,24,.30) 62%, rgba(20,30,24,.85) 100%),
    linear-gradient(90deg, rgba(20,30,24,.55) 0%, rgba(20,30,24,.12) 55%, rgba(20,30,24,0) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(96px, 16vh, 150px); padding-top: calc(var(--header-h) + 30px); width: 100%; }
.hero__kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .28em;
  color: rgba(255,255,255,.9);
}
.hero__kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero__title {
  font-size: clamp(40px, 8.4vw, 88px); font-weight: 340; color: #fff;
  letter-spacing: -.02em; line-height: 1.02; max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.hero__title em { font-style: italic; font-weight: 340; color: #fff; }
.hero__lead { margin: 26px 0 0; max-width: 50ch; font-size: clamp(15.5px, 2vw, 18.5px); color: rgba(255,255,255,.9); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta {
  margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.22);
  display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.92); }
.hero__meta .ic { width: 17px; height: 17px; color: var(--gold); }
.hero__meta li + li { position: relative; }

.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; text-transform: uppercase; letter-spacing: .25em; color: rgba(255,255,255,.75);
}
.hero__scroll span { display: block; width: 1px; height: 42px; background: linear-gradient(180deg, rgba(255,255,255,.7), transparent); animation: scrollpulse 2.4s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100% { transform: scaleY(.4); opacity: .4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

/* ============================================================
   MANIFESTO (редакторное вступление)
   ============================================================ */
.manifesto { background: var(--linen); }
.manifesto__grid { display: grid; gap: 40px; }
.manifesto__statement {
  font-family: var(--font-display); font-weight: 330; letter-spacing: -.018em;
  font-size: clamp(26px, 4.6vw, 48px); line-height: 1.16; color: var(--ink);
}
.manifesto__statement em { font-style: italic; color: var(--copper); }
.manifesto__aside { max-width: 42ch; }
.manifesto__aside p { color: var(--ink-soft); }
.manifesto__sign {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted);
}
.manifesto__sign b { font-family: var(--font-display); text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 420; color: var(--ink); }
.manifesto__sign .ic { color: var(--copper-text); }

/* Полоса фактов */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.fact { padding: 30px 6px; border-right: 1px solid var(--line); }
.fact:nth-child(2n) { border-right: 0; }
.fact__n { font-family: var(--font-display); font-weight: 320; font-size: clamp(34px, 6vw, 56px); letter-spacing: -.02em; color: var(--forest); line-height: 1; }
.fact__n sup { font-size: .4em; color: var(--copper-text); top: -1.4em; margin-left: 2px; }
.fact__t { margin-top: 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* Полоса фактов как самостоятельная секция «Знакомство» */
.intro .facts { border-top: 0; border-bottom: 0; }
.intro .facts__grid { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }

/* ============================================================
   REASONS (почему — редакторная сетка)
   ============================================================ */
.reasons { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.reason { background: var(--sand); padding: 30px 26px; transition: background .3s var(--ease); }
.section--sand .reason { background: var(--linen); }
.reason:hover { background: #fff; }
.reason .ic { width: 26px; height: 26px; color: var(--copper); margin-bottom: 18px; }
.reason h3 { font-size: 20px; font-weight: 440; letter-spacing: -.01em; margin-bottom: 10px; }
.reason p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ============================================================
   STAYS (домики — редакторные строки)
   ============================================================ */
.stays__list { display: grid; gap: clamp(48px, 8vw, 96px); }
.stay { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.stay > * { min-width: 0; }
.stay__media { position: relative; }
.stay__media .imgwrap { overflow: hidden; border-radius: var(--r-md); aspect-ratio: 16 / 9; }
.stay__media .imgwrap picture { display: block; width: 100%; height: 100%; }
.stay__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.stay__media:hover img { transform: scale(1.05); }
.stay__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(250,248,244,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--forest); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow-1);
}
.stay__index { font-family: var(--font-display); font-weight: 400; font-size: 15px; color: var(--copper-text); letter-spacing: .1em; }
.stay__name { font-size: clamp(26px, 3.6vw, 40px); margin: 14px 0 0; letter-spacing: -.015em; }
.stay__desc { margin-top: 16px; color: var(--ink-soft); max-width: 48ch; }
.stay__feats { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.stay__feats li {
  font-size: 12px; letter-spacing: .03em; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: #fff;
}
.stay__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.stay__price { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3vw, 30px); color: var(--forest); letter-spacing: -.01em; }
.stay__price small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.stay__cap { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.stay__cap .ic { width: 17px; height: 17px; }
.stay__foot .btn { margin-left: auto; }

/* Слайдер фото в карточке дома */
.stay-slider { position: relative; }
.stay-slider__track { display: flex; height: 100%; will-change: transform; transition: transform .55s var(--ease); touch-action: pan-y; }
.stay-slider__slide { flex: 0 0 100%; width: 100%; height: 100%; cursor: zoom-in; -webkit-user-select: none; user-select: none; }
.stay-slider__slide picture { display: block; width: 100%; height: 100%; }
.stay-slider__slide img { width: 100%; height: 100%; object-fit: cover; transition: none; -webkit-user-drag: none; }
.stay-slider__slide img.stay-slider__img--tall { object-position: center 85%; } /* вертикальный кадр (ванная): фокус ниже центра — на раковину/тумбу */
.stay__media:hover .stay-slider__slide img { transform: none; } /* слайдеру hover-зум не нужен */
.stay-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  color: #fff; background: rgba(24, 34, 28, .42);
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: pointer; z-index: 3; opacity: .9;
  transition: background .2s var(--ease), opacity .2s var(--ease);
}
.stay-slider__arrow:hover { background: rgba(24, 34, 28, .72); opacity: 1; }
.stay-slider__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; opacity: 1; }
.stay-slider__arrow--prev { left: 12px; }
.stay-slider__arrow--next { right: 12px; }
.stay-slider__arrow .ic { width: 22px; height: 22px; }
.stay-slider__arrow--prev .ic { transform: rotate(180deg); }
.stay-slider__dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3;
  display: flex; justify-content: center; gap: 7px; padding: 0 12px;
}
.stay-slider__dot {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
  cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease);
}
.stay-slider__dot.is-active { background: #fff; transform: scale(1.35); }
.stay-slider__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.stay-slider::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  background: linear-gradient(to top, rgba(0, 0, 0, .26), transparent);
  border-radius: 0 0 var(--r-md) var(--r-md); pointer-events: none; z-index: 2;
}
@media (hover: none) { .stay-slider__arrow { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .stay-slider__track { transition: none; } }
@media (max-width: 767px) { .stay-slider__arrow { width: 40px; height: 40px; } }

/* Лента удобств */
.amenity-strip { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: clamp(40px, 6vw, 64px); }
.amenity-strip li { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-soft); }
.amenity-strip .ic { width: 16px; height: 16px; color: var(--copper); }

/* Оплата / условия */
.terms { margin-top: clamp(48px, 7vw, 80px); }
.terms__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.term { background: var(--linen); padding: 28px 26px; display: flex; gap: 16px; }
.term .ic { width: 22px; height: 22px; color: var(--copper); margin-top: 2px; }
.term b { display: block; font-family: var(--font-display); font-weight: 440; font-size: 18px; color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em; }
.term span { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   FEATURE (баня, барбекю — наплыв изображений)
   ============================================================ */
.feature { overflow: hidden; }
.feature__grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.feature__grid > * { min-width: 0; }
.feature__media { position: relative; }
.feature__media .imgwrap { overflow: hidden; border-radius: var(--r-md); }
.feature__media .imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.feature__img-main { aspect-ratio: 4 / 5; }
.feature__img-float {
  display: none; position: absolute; width: 46%; height: auto; aspect-ratio: 3/4; object-fit: cover;
  right: -18px; bottom: -28px; z-index: 3;
  border-radius: var(--r-md); box-shadow: var(--shadow-3); border: 6px solid var(--linen);
}
.section--dark .feature__img-float { border-color: var(--forest); }
/* Зеркальная раскладка: плавающее фото — на противоположную сторону */
.feature--reverse .feature__img-float { right: auto; left: -18px; }
/* Одиночное фото: без плавающего фото */
.feature--single .feature__img-float { display: none; }
/* Блок 06: горизонтальный кадр 3:2 показываем целиком по ширине.
   aspect-ratio — на контейнере, не на <img>: у <img> внутри inline-<picture>
   ширина 100% не разрешается и кадр вылезает по высоте. */
#bbq .feature__media .imgwrap { aspect-ratio: 3 / 2; }
#banya .feature__media .imgwrap { aspect-ratio: 16 / 9; } /* рамка для карусели бани */
#bbq .feature__media .imgwrap picture { display: block; width: 100%; height: 100%; }
#bbq .feature__img-main { aspect-ratio: auto; }
.feature__body { }
.feature__title { font-size: clamp(28px, 4.6vw, 52px); letter-spacing: -.018em; margin-bottom: 22px; }
.feature__body p { color: var(--ink-soft); }
.section--dark .feature__body p { color: var(--on-dark-soft); }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 24px 0; }
.ticks li {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
}
.ticks li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--copper); }
.section--dark .ticks li { color: var(--on-dark); border-color: var(--line-dark); }
.pill-note {
  display: flex; align-items: flex-start; gap: 12px; margin: 26px 0;
  padding: 18px 22px; border-left: 2px solid var(--gold); background: rgba(194,160,106,.10);
  font-size: 14.5px; color: var(--ink-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.section--dark .pill-note { color: var(--on-dark); background: rgba(194,160,106,.14); }
.pill-note .ic { width: 20px; height: 20px; color: var(--gold); margin-top: 1px; flex: none; }

/* ============================================================
   EXPERIENCES (сценарии — журнальная сетка)
   ============================================================ */
.exp-grid { display: grid; gap: 16px; }
.exp {
  position: relative; overflow: hidden; border-radius: var(--r-md); min-height: 340px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.exp__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.exp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,30,24,0) 30%, rgba(20,30,24,.42) 60%, rgba(20,30,24,.88) 100%); }
.exp:hover .exp__img { transform: scale(1.06); }
.exp__body { padding: 28px 26px; width: 100%; }
.exp__n { font-family: var(--font-display); font-size: 13px; font-weight: 300; letter-spacing: .14em; color: var(--gold); }
.exp__title { font-size: clamp(22px, 2.4vw, 27px); color: #F4EFE6; margin: 8px 0 10px; letter-spacing: -.01em; }
.exp__desc { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.86); max-width: 42ch; }
.exp__link { margin-top: 16px; }
.exp--tall { min-height: 420px; }

/* ============================================================
   INCLUDED (что включено)
   ============================================================ */
.included-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.inc-col { background: var(--linen); padding: 34px 30px; }
.inc-col__head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.inc-col__head .ic { width: 22px; height: 22px; color: var(--copper); }
.inc-col__head h3 { font-size: 21px; font-weight: 440; letter-spacing: -.01em; }
.inc-col .ticks { flex-direction: column; gap: 12px; }
.inc-col .ticks li { border: 0; padding: 0; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.inc-col .ticks li::before { margin-top: 9px; }

/* ============================================================
   DAYPART (один день — таймлайн поверх фото)
   ============================================================ */
.daypart { position: relative; overflow: hidden; color: var(--on-dark); background: var(--forest-900); }
.daypart__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 118%; object-fit: cover; opacity: .26; will-change: transform; }
.daypart__bg-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,30,24,.78), rgba(20,30,24,.92)); }
.daypart .shell { position: relative; z-index: 2; }
.timeline { display: grid; gap: 0; margin-top: 12px; }
.tl {
  display: grid; grid-template-columns: auto 1fr; gap: 22px;
  padding: 26px 0; border-top: 1px solid var(--line-dark); position: relative;
}
.tl:last-child { border-bottom: 1px solid var(--line-dark); }
.tl__rail { display: flex; flex-direction: column; align-items: center; }
.tl__dot { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); background: rgba(237,231,218,.04); }
.tl__dot .ic { width: 19px; height: 19px; }
.tl__time { font-size: 11.5px; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); }
.tl__title { font-size: clamp(22px, 3vw, 30px); color: #F4EFE6; margin: 6px 0 8px; letter-spacing: -.012em; }
.tl__text { color: var(--on-dark-soft); max-width: 54ch; font-size: 15px; }

/* ============================================================
   GALLERY (масонри)
   ============================================================ */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 17px; transition: all .25s var(--ease);
}
.chip:hover { color: var(--forest); border-color: var(--forest); }
.chip.is-active { background: var(--forest); color: #F5F1E8; border-color: var(--forest); }

.gallery { columns: 2; column-gap: 14px; }
.gallery__item {
  break-inside: avoid; margin: 0 0 14px; overflow: hidden; border-radius: var(--r-sm);
  cursor: pointer; position: relative; background: var(--sand);
}
.gallery__item img { width: 100%; height: auto; display: block; transition: transform .9s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: rgba(20,30,24,.0); transition: background .35s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { background: rgba(20,30,24,.12); }
.gallery__item[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(16,24,19,.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: 94vw; max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__img { max-width: 94vw; max-height: 85vh; object-fit: contain; border-radius: var(--r-sm); box-shadow: var(--shadow-3); opacity: 0; transition: opacity .3s var(--ease); }
.lightbox__img.is-ready { opacity: 1; }
/* Спиннер, пока грузится полноразмерный кадр (виден только на первом заходе, без кэша) */
.lightbox::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .2s; animation: lb-spin .8s linear infinite; }
.lightbox.is-loading::after { opacity: 1; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lightbox__cap { color: rgba(255,255,255,.78); font-size: 13.5px; text-align: center; letter-spacing: .02em; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(250,248,244,.1); color: #fff; border: 1px solid rgba(250,248,244,.25);
  width: 50px; height: 50px; border-radius: 50%; font-size: 24px; line-height: 1; display: inline-flex;
  align-items: center; justify-content: center; transition: background .25s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(250,248,244,.22); }
.lightbox__close { top: 22px; right: 22px; font-size: 28px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   TRUST (доверие)
   ============================================================ */
.trust-grid { display: grid; gap: 16px; }
.trust-card { padding: 32px 28px; background: var(--linen); border: 1px solid var(--line); border-radius: var(--r-md); }
.section--sand .trust-card { background: #fff; }
.trust-card .ic { width: 26px; height: 26px; color: var(--copper); margin-bottom: 18px; }
.trust-card h3 { font-size: 21px; font-weight: 440; letter-spacing: -.01em; margin-bottom: 10px; }
.trust-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ============================================================
   STEPS (как забронировать)
   ============================================================ */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 5vw, 52px); color: var(--copper); line-height: .9; letter-spacing: -.02em; opacity: .8; }
.step h3 { font-size: 22px; font-weight: 440; margin-bottom: 8px; letter-spacing: -.01em; }
.step p { color: var(--ink-soft); margin: 0; max-width: 60ch; }

/* ============================================================
   BOOKING (форма)
   ============================================================ */
.booking__grid { display: grid; gap: 44px; }
.booking__intro .lead { color: var(--on-dark-soft); }
.booking__contacts { margin: 28px 0; display: grid; gap: 14px; }
.booking__contacts a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; }
.booking__contacts .ic { width: 18px; height: 18px; color: var(--gold); }
.booking__trust { display: grid; gap: 14px; }
.booking__trust li { display: flex; gap: 12px; font-size: 14px; color: var(--on-dark-soft); line-height: 1.5; }
.booking__trust .ic { width: 18px; height: 18px; color: var(--gold); margin-top: 2px; flex: none; }
.booking__trust b { color: #fff; font-weight: 600; }

.form {
  background: rgba(250,248,244,.04); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); padding: clamp(24px, 4vw, 38px);
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-soft); font-weight: 600; }
.field input, .field select, .field textarea, .datepick__field {
  font-family: var(--font-body); font-size: 15px; color: #fff;
  background: rgba(20,30,24,.5); border: 1px solid var(--line-dark); border-radius: var(--r-sm);
  padding: 14px 16px; width: 100%; transition: border-color .25s, background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(237,231,218,.45); }
.field input:focus, .field select:focus, .field textarea:focus, .datepick__field:focus-within { border-color: var(--gold); background: rgba(20,30,24,.7); outline: none; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C2A06A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 90px; }
.consent { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.consent__text { font-size: 13px; color: var(--on-dark-soft); line-height: 1.5; }
.consent__text label { display: inline; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; color: var(--on-dark-soft); cursor: pointer; }
.consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; color: var(--on-dark-soft); min-height: 1.2em; }
.form__status.is-error { color: #E8B4A0; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* Datepicker */
.datepick { position: relative; }
.datepick__field { display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; }
.datepick__field .ic { width: 18px; height: 18px; color: var(--gold); }
.datepick__value { flex: 1; color: #fff; }
.datepick__value.is-placeholder { color: rgba(237,231,218,.45); }
.datepick__chev { width: 16px; height: 16px; color: var(--gold); transition: transform .3s; }
.datepick.is-open .datepick__chev { transform: rotate(180deg); }
.datepick__pop {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: min(340px, 92vw);
  background: var(--forest-800); border: 1px solid var(--line-dark); border-radius: var(--r-md);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 70px -40px rgba(0,0,0,.7), 0 12px 30px -22px rgba(0,0,0,.55);
  padding: 16px; transform-origin: top center;
  animation: popIn .24s cubic-bezier(.16,1,.3,1) both;
}
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.datepick__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.datepick__title { font-family: var(--font-display); font-size: 17px; color: #fff; font-weight: 440; }
.datepick__nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: #fff; font-size: 18px; }
.datepick__nav:hover:not(:disabled) { background: rgba(237,231,218,.1); }
.datepick__nav:disabled { opacity: .3; cursor: default; }
.datepick__dow { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 6px; }
.datepick__dow span { text-align: center; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-soft); padding: 4px 0; }
.datepick__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.datepick__day { aspect-ratio: 1; border: 0; background: transparent; color: var(--on-dark); border-radius: var(--r-sm); font-size: 14px; transition: background .2s; }
.datepick__day.is-empty { background: transparent; pointer-events: none; }
.datepick__day:hover:not(:disabled):not(.is-empty) { background: rgba(237,231,218,.12); }
.datepick__day:disabled { color: rgba(237,231,218,.25); cursor: default; }
.datepick__day.is-today { box-shadow: inset 0 0 0 1px var(--gold); }
.datepick__day.is-selected { background: var(--gold); color: var(--forest-900); font-weight: 600; }

/* Диапазонный датапикер: два поля + подсветка интервала */
.daterange__pick { position: relative; } /* якорь попапа календаря — привязан к строке полей дат, а не к секции */
.daterange__fields { display: flex; align-items: stretch; gap: 10px; }
.daterange__trigger { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; text-align: left; }
.datepick__cap { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 4px; }
.daterange__arrow { align-self: center; color: var(--muted); }
.daterange__nights { margin-top: 10px; font-size: 13px; color: var(--copper-text); }
.daterange__nights:empty { display: none; } /* без выбранных дат — не резервируем пустую строку (кнопка не «висит») */
.datepick__day.is-start, .datepick__day.is-end { background: var(--gold); color: var(--forest-900); font-weight: 600; }
.datepick__day.is-in-range { background: rgba(203,163,92,.22); border-radius: 0; }
.datepick__day.is-start { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.datepick__day.is-end { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.datepick__day.is-range-hover { background: rgba(203,163,92,.14); }
@media (max-width: 767px) {
  .daterange__fields { flex-direction: row; }
  .datepick__cap { display: block; }
}

.daterange__check { margin-top: 14px; white-space: normal; }
@media (max-width: 420px) {
  .daterange__fields { flex-direction: column; }
  .daterange__arrow { display: none; }
  .daterange__check { width: 100%; }
}

.datepick__foot { margin-top: 10px; text-align: right; }
.datepick__clear { background: transparent; border: 0; color: var(--gold); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 23px); font-weight: 420; color: var(--ink);
  letter-spacing: -.01em; transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--copper); }
.faq__item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9744B' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: translateY(-50%) rotate(0); transition: transform .35s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq__a { padding: 0 44px 26px 0; }
.faq__a p { color: var(--ink-soft); margin: 0; max-width: 70ch; }

/* ============================================================
   LOCATION (карта)
   ============================================================ */
.location-grid { display: grid; gap: 32px; }
.location__addr { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink); margin-bottom: 26px; }
.location__addr .ic { width: 20px; height: 20px; color: var(--copper); margin-top: 3px; flex: none; }
.location__info h3 { font-size: 19px; font-weight: 440; margin: 22px 0 8px; letter-spacing: -.01em; }
.location__info p { color: var(--ink-soft); margin: 0; }
.location__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.location__contacts { font-size: 14px; color: var(--muted); }
.location__contacts a { color: var(--copper-text); }
.location__map { border-radius: var(--r-md); overflow: hidden; min-height: 320px; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.location__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.2) contrast(.96); }

/* ============================================================
   CTA-полоса в секциях
   ============================================================ */
.section-cta { margin-top: clamp(40px, 6vw, 64px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.section-cta--center { align-items: center; text-align: center; }
.section-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.section--dark .note { color: var(--on-dark-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--forest-900); color: var(--on-dark-soft); padding: clamp(56px, 8vw, 96px) 0 40px; }
.site-footer h4 { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.footer__grid { display: grid; gap: 40px; }
.footer__brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 18px; }
.footer__brand p { font-size: 14px; max-width: 38ch; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__list { display: grid; gap: 12px; }
.footer__list li, .footer__list a { font-size: 14px; line-height: 1.5; }
.footer__list a { color: var(--on-dark-soft); transition: color .2s; }
.footer__list a:hover { color: #fff; }
.footer__list--small li { font-size: 12.5px; color: var(--muted-light); }
.footer__bottom { margin-top: clamp(40px, 6vw, 64px); padding-top: 26px; border-top: 1px solid var(--line-dark); }
.footer__bottom p { font-size: 12.5px; color: var(--muted-light); margin: 0; }

/* Ниже 1024px видна липкая .mobile-bar (~75px). Резервируем место, чтобы копирайт
   и реквизиты футера не уходили под неё. Правило ПОСЛЕ базового .site-footer —
   иначе его padding-shorthand перебивает наш padding-bottom (та же специфичность). */
@media (max-width: 1023px) {
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   MOBILE BAR (липкая нижняя панель)
   ============================================================ */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(26,38,32,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.mobile-bar__btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; color: var(--on-dark); font-size: 11px; letter-spacing: .02em; border-radius: var(--r-sm); }
.mobile-bar__btn .ic { width: 20px; height: 20px; }
.mobile-bar__btn--accent { background: var(--copper); color: #fff; margin: -2px 0; }
.mobile-bar__btn--accent .ic { color: #fff; }

/* ============================================================
   MODAL «Спасибо»
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 310; display: none; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(26,38,32,.58), rgba(12,18,15,.74));
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}
.modal.is-open { display: flex; animation: modalOverlayIn .32s ease both; }
.modal__box {
  position: relative; background: var(--linen); border-radius: 20px; padding: 44px 36px 36px;
  max-width: 460px; text-align: center;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 40px 90px -50px rgba(26,38,32,.6), 0 18px 40px -30px rgba(26,38,32,.5);
}
.modal.is-open .modal__box { animation: modalBoxIn .5s cubic-bezier(.16,1,.3,1) both; }

/* Крестик закрытия — единый тактильный контрол (≥40px), концентрический круг */
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  padding: 0; border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255,255,255,.6); color: var(--ink-soft); font-size: 20px; line-height: 1; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .12s var(--ease);
}
.modal__close:hover { background: #fff; color: var(--ink); border-color: var(--muted-light); }
.modal__close:active { transform: scale(.96); }
.modal__close:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

.modal__icon { width: 52px; height: 52px; color: var(--copper); margin: 0 auto 18px; }
.modal__box h3 { font-size: 27px; font-weight: 440; margin-bottom: 12px; letter-spacing: -.01em; text-wrap: balance; }
.modal__box p { color: var(--ink-soft); font-size: 15px; text-wrap: pretty; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
/* Стаггер контента «Спасибо» */
.modal.is-open .modal__icon   { animation: modalItemIn .5s cubic-bezier(.16,1,.3,1) both .10s; }
.modal.is-open #thanks-title  { animation: modalItemIn .5s cubic-bezier(.16,1,.3,1) both .16s; }
.modal.is-open .modal__box p  { animation: modalItemIn .5s cubic-bezier(.16,1,.3,1) both .22s; }
.modal.is-open .modal__actions{ animation: modalItemIn .5s cubic-bezier(.16,1,.3,1) both .28s; }

/* Широкая модалка (модуль Bnovo) */
.modal__box--wide { max-width: 980px; width: min(980px, 94vw); text-align: left; padding: 0; max-height: 92vh; overflow: hidden; display: flex; flex-direction: column; }
.bnovo-modal__head {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 20px 18px 30px; border-bottom: 1px solid var(--line); background: var(--linen);
}
.bnovo-modal__eyebrow { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--copper-text); margin-bottom: 3px; }
.bnovo-modal__title { font-family: var(--font-display); font-size: 20px; font-weight: 440; color: var(--ink); letter-spacing: -.01em; }
.modal--wide .modal__close { position: static; flex: none; }
.modal--wide .modal__bnovo { flex: 1 1 auto; min-height: 60vh; overflow: auto; -webkit-overflow-scrolling: touch; padding: 18px 30px 30px; }
.modal--wide .bnovo__fallback { padding: 4px 30px 26px; }
@media (max-width: 600px) {
  /* На телефоне модуль бронирования — на весь экран, светлый, без тёмных полос по бокам */
  .modal.modal--wide { padding: 0; background: var(--linen); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .modal__box--wide {
    width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none;
    border-radius: 0; box-shadow: none;
  }
  .bnovo-modal__head { padding: 16px 14px 14px 20px; padding-top: max(16px, env(safe-area-inset-top)); }
  .modal--wide .modal__bnovo { padding: 8px 0 max(20px, env(safe-area-inset-bottom)); min-height: 0; }
  .modal--wide .bnovo__fallback { padding: 4px 20px 20px; }
}

/* Состояние загрузки модуля — брендовый скелетон вместо голого текста */
.bnovo-skel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 56vh; padding: 24px; text-align: center; }
.bnovo-skel__mark { width: 30px; height: 30px; color: var(--copper); opacity: .8; animation: skelPulse 1.8s ease-in-out infinite; }
.bnovo-skel__text { color: var(--muted); font-size: 14px; letter-spacing: .01em; }
.bnovo-skel__rows { width: min(420px, 80%); display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.bnovo-skel__rows span { height: 46px; border-radius: var(--r-md); background: linear-gradient(100deg, rgba(230,223,210,.55) 30%, rgba(242,238,230,.9) 50%, rgba(230,223,210,.55) 70%); background-size: 200% 100%; animation: skelShimmer 1.4s linear infinite; }
.bnovo-skel__rows span:nth-child(2) { animation-delay: .18s; }
.bnovo-skel__rows span:nth-child(3) { animation-delay: .36s; }

/* Модуль бронирования Bnovo (секция на странице) */
.bnovo { min-height: 320px; }
.bnovo__placeholder { display: flex; align-items: center; justify-content: center; min-height: 320px; }
.bnovo.is-loading .bnovo__placeholder::after { content: "Загружаем модуль…"; color: var(--muted); }
.bnovo__fallback { margin-top: 16px; color: var(--muted); font-size: 14px; }

@keyframes modalOverlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalBoxIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes modalItemIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes skelShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes skelPulse { 0%,100% { opacity: .45; transform: translateY(0); } 50% { opacity: .9; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) {
  .modal.is-open, .modal.is-open .modal__box,
  .modal.is-open .modal__icon, .modal.is-open #thanks-title,
  .modal.is-open .modal__box p, .modal.is-open .modal__actions,
  .bnovo-skel__mark, .bnovo-skel__rows span, .datepick__pop { animation: none; }
}
#booking_iframe_host { width: 100%; }

/* ============================================================
   REVEAL (появление при скролле)
   ============================================================ */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-ready [data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-ready [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
.reveal-ready [data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-ready [data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-ready [data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-ready [data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-ready [data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: .40s; }
.reveal-ready [data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: .48s; }

/* ============================================================
   RESPONSIVE — планшет (≥768)
   ============================================================ */
@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .manifesto__grid { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
  .facts__grid { grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 38px 24px; }
  .fact:nth-child(2n) { border-right: 1px solid var(--line); }
  .fact:last-child { border-right: 0; }

  .reasons { grid-template-columns: repeat(2, 1fr); }

  .stay { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .stay--reverse .stay__media { order: 2; }
  .terms__grid { grid-template-columns: repeat(2, 1fr); }

  .feature__grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .feature--reverse .feature__media { order: 2; }
  .feature__img-float { display: block; }

  .exp-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .included-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }

  .gallery { columns: 3; column-gap: 16px; }
  .gallery__item { margin-bottom: 16px; }

  .location-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; }

  .form { grid-template-columns: 1fr 1fr; }

  .booking__grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }

  .tl { grid-template-columns: auto 1fr; gap: 28px; }

  .mobile-bar { display: none; }
}

/* ============================================================
   RESPONSIVE — десктоп (≥1024)
   ============================================================ */
@media (min-width: 1024px) {
  body { font-size: 17px; }
  .brand__word { display: inline; font-family: var(--font-display); font-size: 20px; font-weight: 440; color: #fff; letter-spacing: .01em; }
  .header-phone { display: inline-flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .site-nav { position: static; transform: none; width: auto; background: transparent; padding: 0; box-shadow: none; overflow: visible; }

  .reasons { grid-template-columns: repeat(4, 1fr); }

  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .exp--wide { grid-column: span 2; }
  .exp--tall { grid-row: span 1; }

  .stays__list { gap: 110px; }

  .gallery { columns: 4; }
}

@media (min-width: 1280px) {
  .hero__title { max-width: 15ch; }
  .manifesto__grid { gap: 80px; }
}

/* ============================================================
   RESPONSIVE — узкие экраны (≤600): полноширинные CTA, перенос
   ============================================================ */
@media (max-width: 600px) {
  .section-cta__btns { width: 100%; flex-direction: column; align-items: stretch; }
  .section-cta__btns .btn { width: 100%; white-space: normal; }
  .location__cta { flex-direction: column; align-items: stretch; }
  .location__cta .btn { width: 100%; white-space: normal; }
  .modal__actions { flex-direction: column; }
  .modal__actions .btn { width: 100%; }
}

/* Уважение к слабой моторике / лёгкие фоллбэки */
@media (hover: none) {
  .stay__media:hover img, .exp:hover .exp__img, .gallery__item:hover img { transform: none; }
}
