/* Шаблон «Полонина» — світлий, охайний і сучасний: білий фон, глибокий смерековий зелений і бурштин (без блідих
   пастельних тонів), заокруглені картки й кнопки. Шапка, перший екран і темні розділи — на всю ширину, без рамок і
   заокруглень. Спершу телефон, потім великі екрани.
   Спільні вузли (календар, форма заявки, вікна, нижня панель) мають ту саму розмітку, що й у «Карпатах» (../common.js) —
   тут лише їхній вигляд; правила, що виправляли знайдені раніше вади, перенесено разом з поясненнями. */
:root {
  --bg: #fff;
  /* Нейтральна світла підкладка для дрібних елементів (наведення, поля, календар у формі) — без відтінку */
  --soft: #f2f3f2;
  --bg-2: #e6e9e7;
  --ink: #0f1a14;
  --ink-2: #35423b;
  --muted: #5c6862;
  --line: rgba(15, 26, 20, 0.12);
  --line-2: rgba(15, 26, 20, 0.24);
  /* Глибокий смерековий зелений: кнопки, темні розділи */
  --fir: #0e3b2c;
  --fir-2: #0a3023;
  --fir-3: #062419;
  /* Другий колір — бурштин: світлий — на темному, глибокий — для тексту на білому */
  --amber: #f2a93b;
  --amber-2: #b6720c;
  --display: "Wix Madefor Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --sans: "Wix Madefor Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --hand: "Bad Script", "Segoe Script", cursive;
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  /* Відступ розділу. Два світлі розділи поспіль не додають відступи один до одного (див. .section + .section) */
  --section: clamp(52px, 6vw, 88px);
  --hdr-h: 76px;
  --demo-h: 0px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(10, 30, 20, 0.06), 0 16px 36px -22px rgba(10, 30, 20, 0.32);
  --shadow-lg: 0 30px 70px -30px rgba(6, 20, 14, 0.55);
  /* Мʼяка тінь головних карток (будиночки, ціни) — без рамки */
  --card: 0 1px 2px rgba(10, 30, 20, 0.06), 0 14px 34px -18px rgba(10, 30, 20, 0.26);
}
@media (max-width: 699.98px) { :root { --hdr-h: 64px; } }
/* Дуже вузькі екрани (250–300 px): поля по краях трохи менші (календар — див. «Вільні дати») */
@media (max-width: 299.98px) { :root { --gutter: 14px; } }
:root:has(.demobar) { --demo-h: 38px; }

*, *::before, *::after { box-sizing: border-box; }
/* Атрибут hidden ховає завжди, навіть якщо в елемента є display: flex чи grid */
[hidden] { display: none !important; }
/* -webkit-tap-highlight-color: transparent — на телефоні Chrome сам підсвічує блакитним прямокутником усе, що не кнопка
   (пункти списку будиночків, фото в картці, посилання); підсвітка лишалась і виглядала негарно (користувач, 23.10) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--demo-h) + var(--hdr-h)); }
/* Меню відкрите — сторінка не прокручується: смуга прокрутки зникає, її ширину (--sbw) компенсуємо відступом, щоб сторінка
   не зсувалась убік. Вікно (заявка, будиночок, галерея) на компʼютері смугу прокрутки сторінки лишає — дві смуги, у вікні
   й на сторінці: без неї праворуч під вікном лишалось порожнє місце (користувач, 24.10, як у «Карпатах»); колесо миші над
   затемненням гортає сторінку під вікном. На телефоні (дотик) — як і раніше */
html.menu-open { overflow: hidden; padding-right: var(--sbw, 0px); }
/* Шапка й далі на всю ширину (біла смуга доходить до краю, де була смуга прокрутки), а її вміст не зсувається */
html.menu-open .hdr__bar { border-right: var(--sbw, 0px) solid #fff; }
html.menu-open .demobar { border-right: var(--sbw, 0px) solid var(--fir-3); }
@media (pointer: coarse) {
  html:has(dialog[open]) { overflow: hidden; padding-right: var(--sbw, 0px); }
  html:has(dialog[open]) .hdr__bar { border-right: var(--sbw, 0px) solid #fff; }
  html:has(dialog[open]) .demobar { border-right: var(--sbw, 0px) solid var(--fir-3); }
}
.is-preview .hero__media img { animation: none; transform: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Довге слово власника переноситься, а не вилазить за край на вузькому екрані */
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--amber-2); outline-offset: 3px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted); background: var(--bg-2); }
.ph .i { width: 32px; height: 32px; opacity: 0.5; }

/* ---------- Типографіка ---------- */
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 0.4em; }
.h4 { font: 700 12.5px/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 30px 0 14px; }
.h2 em, .h3 em { font-style: normal; color: var(--amber-2); }
.eyebrow { margin: 0 0 10px; font: 600 14.5px/1.4 var(--sans); color: var(--fir); overflow-wrap: anywhere; }
.section { padding-block: var(--section); }
/* Світлі розділи йдуть поспіль на білому — між ними один відступ, а не два (раніше тут була порожнеча ~300 px) */
.section:not(.section--dark) + .section:not(.section--dark) { padding-top: 0; }
/* Перехід з меню: заголовок розділу — одразу під шапкою, а не після порожнього відступу */
.section { scroll-margin-top: calc(24px - var(--section)); }
.section:not(.section--dark) + .section:not(.section--dark) { scroll-margin-top: 24px; }
.section--dark { background: var(--fir-2); color: #fff; }
.section--dark .h2 em { color: var(--amber); }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.76); }
.section__head { display: grid; gap: 16px 56px; margin-bottom: clamp(28px, 3.2vw, 46px); }
@media (min-width: 900px) { .section__head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; } }
.section__lead { margin: 0; max-width: 48ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: var(--ink-2); }
.prose p { margin: 0 0 1em; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link .i { width: 16px; height: 16px; }

/* ---------- Кнопки ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 15px/1.15 var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .i { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.btn--accent { background: var(--fir); color: #fff; box-shadow: 0 12px 26px -14px rgba(14, 59, 44, 0.9); }
.btn--accent:hover { background: var(--fir-3); }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.45); }
.btn--light:hover { background: var(--soft); }
.btn--glass { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.45); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.24); }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; transition: background-color 0.2s, border-color 0.2s; }
.chip .i { width: 17px; height: 17px; }
.chip:hover { border-color: var(--ink); }
.chip--light { border-color: rgba(255, 255, 255, 0.26); color: #fff; }
.chip--light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars .i { width: 16px; height: 16px; }
.stars span:not(.on) { opacity: 0.3; }

/* ---------- Демо-смужка ---------- */
.demobar { height: var(--demo-h); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; background: var(--fir-3); color: rgba(255, 255, 255, 0.86); font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; }
.demobar .i { width: 16px; height: 16px; color: var(--amber); }
.demobar a { color: var(--amber); }
/* Рядки рівні — без одного слова («ви.») в останньому рядку на вузькому екрані */
.demobar span { text-wrap: balance; }
@media (max-width: 640px) { .demobar span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; } :root:has(.demobar) { --demo-h: 44px; } }
/* Вужче за 360 px довгий текст не вміщається у два рядки — показуємо коротший (з запасом на смугу прокрутки) */
.demobar .demobar__short { display: none; }
@media (max-width: 359.98px) { .demobar .demobar__long { display: none; } .demobar .demobar__short { display: -webkit-box; } }
@media (max-width: 299.98px) { :root:has(.demobar) { --demo-h: 54px; } .demobar span { -webkit-line-clamp: 3; font-size: 11.5px; } }

/* ---------- Шапка: біла смуга на всю ширину ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; }
.hdr__bar { background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.hdr.is-solid .hdr__bar { box-shadow: 0 12px 30px -24px rgba(6, 20, 14, 0.6); }
.hdr__in { display: flex; align-items: center; gap: 12px; height: var(--hdr-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.logo__mark { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--fir); color: var(--amber); }
.logo__mark svg { width: 22px; height: 22px; }
.logo__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.05; }
.logo__text small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
/* Довга назва власника не обрізається «…»: якщо не вміщається в рядок, переноситься на другий (рівними рядками) */
.logo__text b { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.logo--long .logo__text b { font-size: 17px; }
.logo--xl .logo__text b { font-size: 15px; }
.hdr__nav { display: none; gap: 2px; margin-left: auto; }
.hdr__nav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.hdr__nav a:hover { background: var(--soft); color: var(--ink); }
.hdr__end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hdr__phone { display: none; align-items: center; gap: 8px; padding: 0 12px; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.hdr__phone .i { width: 18px; height: 18px; color: var(--fir); }
.hdr__cta { display: none; }
.hdr__burger { flex: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; touch-action: manipulation; transition: background-color 0.2s, border-color 0.2s; }
.hdr__burger:hover { border-color: var(--ink); }
.hdr__burger[aria-expanded="true"] { background: var(--fir); border-color: var(--fir); color: #fff; }
.hdr__burger .i { width: 22px; height: 22px; }
@media (min-width: 480px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 1100px) { .hdr__nav { display: flex; } .hdr__end { margin-left: 8px; } .hdr__burger { display: none; } }
@media (min-width: 1320px) { .hdr__phone { display: inline-flex; } }
@media (max-width: 380px) {
  .hdr__in { gap: 8px; }
  .logo { gap: 8px; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__mark svg { width: 19px; height: 19px; }
  .logo__text b { font-size: 18px; }
  .logo--long .logo__text b { font-size: 16px; }
  .hdr__burger { width: 42px; height: 42px; }
}
/* Найвужчі екрани: дуже довга назва — дрібніше й до трьох рядків (у шапці 64 px висоти це вміщається) */
@media (max-width: 339.98px) {
  .logo--long .logo__text b { font-size: 15px; }
  .logo--xl .logo__text b { font-size: 13px; -webkit-line-clamp: 3; }
}

/* Меню на телефоні й планшеті: компактна панель одразу під шапкою, без прокрутки всередині (на 320×568 уміщається);
   пункти — двома стовпчиками. Тло закриває меню (data-menu-close), пункт веде до розділу й закриває меню (enhance.js). */
/* Ширина 100vw, а не inset: 0: коли меню закривається, смуга прокрутки сторінки повертається одразу, а меню ще згасає —
   з inset: 0 воно б на мить звузилось на ширину смуги й панель смикнулась */
.menu { position: fixed; inset: 0 auto 0 0; width: 100vw; z-index: 45; visibility: hidden; transition: visibility 0s 0.26s; }
.menu-open .menu { visibility: visible; transition: visibility 0s; }
.menu__backdrop { position: absolute; inset: 0; background: rgba(6, 20, 14, 0.5); opacity: 0; transition: opacity 0.26s ease; }
.menu-open .menu__backdrop { opacity: 1; }
.menu__panel { position: absolute; top: calc(var(--demo-h) + var(--hdr-h)); left: 0; right: 0; max-height: calc(100dvh - var(--demo-h) - var(--hdr-h)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 4px var(--gutter) 14px; border-radius: 0 0 22px 22px; background: #fff; box-shadow: 0 30px 60px -30px rgba(6, 20, 14, 0.6); opacity: 0; transform: translateY(-8px); transition: opacity 0.22s ease, transform 0.26s var(--ease); }
.menu-open .menu__panel { opacity: 1; transform: none; }
/* Без видимої смуги прокрутки (на невисокому екрані меню все одно гортається пальцем і коліщатком) */
.menu__panel::-webkit-scrollbar { display: none; }
/* Планшет: панель праворуч під кнопкою меню, а не на всю ширину */
@media (min-width: 700px) { .menu__panel { left: auto; width: 440px; padding-inline: 16px; border-radius: 0 0 0 22px; } }
/* Розділи — простим списком: один стовпчик, тонкі лінії між рядками, без плиток і значків */
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { display: flex; align-items: center; min-height: 44px; padding: 6px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; touch-action: manipulation; transition: color 0.2s; }
.menu__nav a:hover, .menu__nav a:focus-visible, .menu__nav a:active { color: var(--fir); }
.menu__foot { display: grid; gap: 10px; margin-top: 14px; }
/* Звʼязок — рядок круглих кнопок: телефон і месенджери (назва — для читачів екрана) */
.menu__contacts { display: flex; justify-content: center; gap: 10px; }
.menu__ic { position: relative; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--ink); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.menu__ic:hover { border-color: var(--fir); color: var(--fir); }
.menu__ic .i { width: 20px; height: 20px; }
.menu__ic span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Невисокий телефон (320×568): рядки трохи нижчі — меню вміщається без прокрутки */
@media (max-height: 640px) { .menu__nav a { min-height: 39px; font-size: 17px; } .menu__foot { margin-top: 10px; gap: 8px; } .menu__ic { width: 40px; height: 40px; } }

/* ---------- Перший екран: фото на всю ширину, без рамки ---------- */
/* z-index: випадна панель швидкого пошуку лежить поверх наступних розділів */
.hero { position: relative; z-index: 3; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding: calc(var(--demo-h) + var(--hdr-h) + 28px) 0 clamp(26px, 3.4vw, 44px); color: #fff; background: var(--fir-3); }
.hero__media { position: absolute; inset: calc(var(--demo-h) + var(--hdr-h)) 0 0; z-index: -1; overflow: hidden; background: var(--fir-3); }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 16, 11, 0.2) 0%, rgba(6, 16, 11, 0) 26%, rgba(6, 16, 11, 0.1) 48%, rgba(6, 16, 11, 0.8) 100%), linear-gradient(90deg, rgba(6, 16, 11, 0.5) 0%, rgba(6, 16, 11, 0) 64%); }
.hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero__text { min-width: 0; max-width: 760px; }
.hero__eyebrow { display: flex; align-items: center; gap: 8px; max-width: 100%; margin: 0 0 14px; font-size: 15px; font-weight: 600; line-height: 1.35; color: rgba(255, 255, 255, 0.94); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3); }
.hero__eyebrow .i { width: 18px; height: 18px; color: var(--amber); }
.hero__eyebrow span { min-width: 0; overflow-wrap: anywhere; }
.hero__title { font-family: var(--display); font-weight: 600; font-size: clamp(42px, 11.5vw, 60px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 16px; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2); }
.hero__title em { font-style: normal; color: var(--amber); }
.hero__lead { margin: 0 0 26px; max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, 0.94); text-shadow: 0 1px 14px rgba(4, 10, 7, 0.6), 0 0 2px rgba(4, 10, 7, 0.35); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 22px; text-decoration: none; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.94); text-shadow: 0 1px 12px rgba(4, 10, 7, 0.6); }
@media (max-width: 520px) { .hero__actions .btn { width: 100%; } }
@media (min-width: 700px) { .hero__title { font-size: clamp(56px, 7.4vw, 92px); } }
/* На компʼютері заголовок зменшується на невисоких екранах — перший екран з пошуком уміщається цілком */
@media (min-width: 1000px) { .hero__title { font-size: clamp(54px, min(6.6vw, 11svh), 96px); } }
/* Плавна поява першого екрана */
.js .hero__text > *, .js .peek, .js .quick-wrap { animation: rise 0.9s var(--ease) both; }
.js .hero__text > :nth-child(2) { animation-delay: 0.06s; }
.js .hero__text > :nth-child(3) { animation-delay: 0.12s; }
.js .hero__text > :nth-child(4) { animation-delay: 0.18s; }
.js .hero__text > :nth-child(5) { animation-delay: 0.24s; }
.js .hero__text > :nth-child(6) { animation-delay: 0.3s; }
.js .peek { animation-delay: 0.36s; }
.js .quick-wrap { animation-delay: 0.42s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.is-preview .hero__text > *, .is-preview .peek, .is-preview .quick-wrap { animation: none; }

/* Акція: на телефоні — смужка над заголовком, на компʼютері — кругла «наліпка» праворуч угорі */
.promo { display: flex; width: fit-content; align-items: center; gap: 10px; max-width: 100%; margin: 0 0 16px; padding: 7px 14px 7px 7px; border-radius: var(--r-sm); background: var(--amber); color: var(--fir-3); text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.3; transition: background-color 0.2s, transform 0.4s var(--ease); }
.promo:hover { background: #f7b95a; }
.promo__tag { flex: none; padding: 5px 9px; border-radius: 9px; background: var(--fir-3); color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.promo__text { min-width: 0; }
.promo .i { flex: none; width: 16px; height: 16px; }
@media (max-width: 520px) { .promo { font-size: 13px; gap: 8px; } .promo__tag { font-size: 10.5px; padding: 5px 7px; } }
@media (min-width: 1000px) {
  .promo:not(.promo--bar) { position: absolute; right: max(var(--gutter), calc((100% - var(--container)) / 2)); top: calc(var(--demo-h) + var(--hdr-h) + 28px); flex-direction: column; justify-content: center; gap: 6px; width: 148px; aspect-ratio: 1; margin: 0; padding: 18px; border-radius: 50%; text-align: center; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); }
  .promo:not(.promo--bar):hover { transform: translateY(-2px); }
  .promo:not(.promo--bar) .promo__tag { padding: 0; background: none; color: var(--fir); }
  .promo:not(.promo--bar) .promo__text { font-family: var(--display); font-size: 15px; font-weight: 700; line-height: 1.2; }
}

/* Картка-перехід до будиночків: фото першого будиночка й ціна «від…» */
.peek { display: none; }
@media (min-width: 1000px) {
  .peek { display: flex; flex: none; align-items: center; gap: 14px; width: 300px; padding: 10px 18px 10px 10px; border-radius: var(--r-lg); background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 22px 50px -24px rgba(0, 0, 0, 0.6); transition: transform 0.35s var(--ease); }
  .peek:hover { transform: translateY(-3px); }
  .peek__img { flex: none; width: 84px; height: 84px; overflow: hidden; border-radius: var(--r-sm); background: var(--bg-2); }
  .peek__img img, .peek__img .ph { width: 100%; height: 100%; object-fit: cover; }
  .peek__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.25; }
  .peek__txt small { font-size: 13px; font-weight: 600; color: var(--muted); }
  .peek__txt b { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; white-space: nowrap; }
  .peek__txt > span { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--fir); }
  .peek__txt > span .i { width: 16px; height: 16px; }
}

.quick-wrap { display: none; }
@media (min-width: 960px) {
  .quick-wrap { display: block; position: relative; z-index: 2; margin-top: clamp(22px, 3.4vh, 36px); }
  .quick { display: grid; grid-template-columns: 1fr 1fr 0.8fr auto; align-items: center; padding: 8px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 16px 30px -18px rgba(5, 16, 11, 0.55); }
  .quick__f { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; min-width: 0; min-height: 60px; padding: 8px 26px; border: 0; border-radius: 999px; background: transparent; text-align: left; cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s; }
  /* Тонкі роздільники між полями (не біля підсвіченого поля) */
  .quick__f + .quick__f::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line-2); }
  .quick__f:hover::before, .quick__f:hover + .quick__f::before, .quick__f.is-active::before, .quick__f.is-active + .quick__f::before { opacity: 0; }
  .quick__f span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .quick__f b { font-size: 16.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; }
  .quick__date:hover { background: var(--soft); }
  .quick__date.is-empty b { color: var(--muted); font-weight: 500; }
  .quick__date.is-active { background: var(--soft); box-shadow: inset 0 0 0 2px var(--fir); }
  .quick__date:focus-visible { outline-offset: -3px; }
  .quick__go { min-height: 60px; padding: 0 30px; font-size: 16px; }
  /* Випадна панель з календарем на 2 місяці — під пошуком або над ним (enhance.js вибирає, де вміщається) */
  .quick__pop { position: absolute; top: calc(100% + 12px); left: 0; z-index: 5; width: min(760px, 100%); padding: 22px 26px 16px; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); scroll-margin-bottom: 20px; animation: popIn 0.25s var(--ease); }
  .quick__pop[hidden] { display: none; }
  .quick__pop.is-up { top: auto; bottom: calc(100% + 12px); animation-name: popDown; }
  @keyframes popDown { from { transform: translateY(-14px) scale(0.985); opacity: 0; } }
  .quick__pop.is-leaving { opacity: 0; transform: translateY(10px) scale(0.99); transition: opacity 0.22s ease, transform 0.22s ease; pointer-events: none; }
  .quick__pop.is-up.is-leaving { transform: translateY(-10px) scale(0.99); }
  .quick__pop .day { aspect-ratio: auto; height: 44px; }
  .quick__guests { cursor: default; }
  .quick__guests .step { min-height: 0; margin: 1px 0 0 -6px; padding: 0; border: 0; background: transparent; gap: 4px; justify-content: flex-start; }
  .quick__guests .step__btn { width: 30px; height: 30px; border-radius: 50%; }
  .quick__guests .step__v { min-width: 2.2ch; font-size: 16.5px; font-weight: 600; }
  .quick__foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  /* Два рядки зарезервовано: висота панелі не змінюється від підказки до підказки */
  .quick__status { flex: 1; min-width: 0; margin: 0; min-height: 2.9em; font-size: 14.5px; font-weight: 500; line-height: 1.45; color: var(--ink-2); }
  .quick__clear { flex: none; padding: 4px 0; border: 0; background: none; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
}
/* Невисокі екрани ноутбуків (1366×768, 1280×720, 1920×1080 зі збільшенням 125%): шапка нижча, перший екран щільніший,
   щоб швидкий пошук було видно повністю. 759.98 — бо з масштабом 125% висота буває дробовою. */
@media (min-width: 960px) and (max-height: 759.98px) {
  :root { --hdr-h: 64px; }
  .hero { padding-top: calc(var(--demo-h) + var(--hdr-h) + 16px); padding-bottom: 24px; }
  .hero__eyebrow { margin-bottom: 10px; }
  .hero__title { margin-bottom: 12px; }
  .hero__lead { margin-bottom: 18px; font-size: 16.5px; }
  .hero__rating { margin-top: 14px; }
  .quick-wrap { margin-top: 18px; }
  .quick__f, .quick__go { min-height: 54px; }
  .promo:not(.promo--bar) { width: 124px; padding: 14px; top: calc(var(--demo-h) + var(--hdr-h) + 18px); }
  .promo:not(.promo--bar) .promo__text { font-size: 13.5px; }
}

/* ---------- Про нас ---------- */
.about__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; } }
.about__media { position: relative; padding-bottom: 54px; }
.about__img { margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-2); }
.about__img img, .about__img .ph { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { width: 82%; aspect-ratio: 4 / 5; }
.about__img--b { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 8px solid #fff; border-radius: calc(var(--r-lg) + 8px); }
.about__seal { position: absolute; right: 2%; top: 26px; z-index: 1; width: 124px; aspect-ratio: 1; margin: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px; background: var(--fir); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.about__seal b { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 0.9; color: var(--amber); }
.about__seal span { font-size: 11.5px; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, 0.88); }
@media (min-width: 700px) { .about__seal { width: 148px; } .about__seal b { font-size: 50px; } .about__seal span { font-size: 12.5px; } }
.about__text .h2 { margin-bottom: 20px; }
.about__lead { margin: 0 0 16px; font-family: var(--display); font-weight: 500; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); }
.signature { margin: 18px 0 0; font-family: var(--hand); font-size: clamp(25px, 2.2vw, 30px); line-height: 1.35; color: var(--fir); }
/* Цифри — у рядок, розділені тонкими лініями, без карток */
.stats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 20px 16px 0 0; }
.stats li + li { padding-left: 18px; border-left: 1px solid var(--line); }
/* Число не розривається, а на вузькому екрані трохи менше (інакше «1 200+» не вміщалось би в колонку) */
.stats b { font-family: var(--display); font-weight: 700; font-size: min(clamp(30px, 3vw, 42px), 8.4vw); line-height: 1; letter-spacing: -0.03em; color: var(--fir); white-space: nowrap; }
.stats span { font-size: 13.5px; line-height: 1.35; color: var(--muted); }
@media (max-width: 379.98px) {
  .stats { grid-template-columns: 1fr; }
  .stats li, .stats li + li { flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stats b { flex: none; min-width: 3.4ch; }
}

/* Переваги — темна смуга на всю ширину під «Про нас» */
.perks { background: var(--fir-2); color: #fff; }
.perks__list { list-style: none; margin-block: 0; padding-block: clamp(26px, 3.2vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.perks__list--1 { grid-template-columns: 1fr; }
@media (max-width: 559.98px) { .perks__list { grid-template-columns: 1fr; gap: 18px; } }
@media (min-width: 1000px) {
  .perks__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perks__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .perks__list--3 li + li, .perks__list--4 li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
}
.perks li { display: flex; align-items: center; gap: 14px; min-width: 0; }
.perks__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(242, 169, 59, 0.6); color: var(--amber); }
.perks__icon .i { width: 24px; height: 24px; }
.perks li > span:last-child { min-width: 0; }
.perks b { display: block; font-size: 16px; line-height: 1.3; }
.perks small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, 0.72); }

/* ---------- Будиночки: картки з колажем фото ---------- */
.houses__grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .houses__grid--2, .houses__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .houses__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Картка без рамки, з мʼякою тінню: фото зверху до країв, усе інше — одним стовпчиком по лівому краю */
.house { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.house:hover { transform: translateY(-3px); box-shadow: var(--card); }
.house__media { position: relative; overflow: hidden; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; cursor: pointer; }
.collage { display: grid; gap: 3px; height: clamp(230px, 62vw, 300px); }
.collage--2, .collage--3 { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.collage--3 { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.collage--3 .collage__ph:first-child { grid-row: 1 / 3; }
.collage__ph { position: relative; min-height: 0; overflow: hidden; background: var(--bg-2); }
.collage__ph img, .collage__ph .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.house:hover .collage__ph img { transform: scale(1.04); }
/* «Ще N фото» — невеликою позначкою в кутку, фото лишається світлим (раніше його закривала темна пляма) */
.collage__more { position: absolute; right: 8px; bottom: 8px; padding: 5px 10px; border-radius: 9px; background: rgba(6, 20, 14, 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.house__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.house__name { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
/* Тип і характеристики — одним спокійним рядком */
.house__meta { margin: 6px 0 0; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--muted); }
.house__short { margin: 12px 0 18px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
/* Ціна й кнопки внизу картки — у сусідніх картках на одному рівні */
.house__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.house__price { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.house__price b { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; color: var(--ink); }
/* Кнопки ділять рядок навпіл, а на дуже вузькій картці стають одна під одною — нічого не вилазить за край */
.house__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.house__actions .btn { flex: 1 1 130px; }
/* Характеристики у вікні будиночка — рядком з іконками */
.specs { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.specs li { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.specs .i { width: 18px; height: 18px; color: var(--fir); }
.price { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; white-space: nowrap; color: var(--ink); }
.price small { font-size: 13.5px; font-weight: 600; color: var(--muted); }
@media (min-width: 900px) {
  /* Один будиночок — велика горизонтальна картка */
  .houses__grid--1 .house { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; }
  .houses__grid--1 .house__media { border-radius: calc(var(--r-lg) - 1px) 0 0 calc(var(--r-lg) - 1px); }
  .houses__grid--1 .collage { height: 100%; min-height: 380px; }
  .houses__grid--1 .house__body { padding: 28px 30px 26px; }
  .houses__grid--1 .house__name { font-size: 34px; }
}

.slider { position: relative; overflow: hidden; background: var(--bg-2); }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
/* overflow: збільшене при наведенні фото не заходить на сусіднє */
.slider__slide { flex: 0 0 100%; aspect-ratio: 4 / 3; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always; }
.slider__slide img, .slider__slide .ph { width: 100%; height: 100%; object-fit: cover; }
.slider__btn { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity 0.25s; box-shadow: var(--shadow); }
.slider__btn .i { width: 20px; height: 20px; }
.slider__btn--prev { left: 12px; }
.slider__btn--next { right: 12px; }
.slider:hover .slider__btn, .slider__btn:focus-visible { opacity: 1; }
@media (hover: none) { .slider__btn { display: none; } }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.slider__dots span { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.6); transition: width 0.3s var(--ease), background-color 0.3s; }
.slider__dots span.on { width: 20px; background: #fff; }

/* ---------- Відпочинок: темний розділ на всю ширину ---------- */
/* Головні враження — фото, а підпис під ним (не поверх фото: текст на світлому небі не читався на телефоні) */
.feat { display: grid; gap: 30px 22px; margin-bottom: clamp(30px, 3.4vw, 44px); }
@media (min-width: 760px) { .feat--2, .feat--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .feat--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feat__card { margin: 0; min-width: 0; }
.feat__img { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r-lg); background: var(--fir-3); }
.feat__img img, .feat__img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat__card:hover .feat__img img { transform: scale(1.04); }
.feat__card figcaption { display: flex; align-items: flex-start; gap: 14px; padding: 18px 2px 0; }
.feat__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(242, 169, 59, 0.6); color: var(--amber); }
.feat__icon .i { width: 22px; height: 22px; }
.feat__txt { display: grid; gap: 6px; min-width: 0; padding-top: 2px; }
.feat__card b { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.02em; }
.feat__txt > span { font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.76); max-width: 52ch; }
/* Решта зручностей — рядками: іконка ліворуч, назва й опис праворуч (як у смузі переваг) */
.amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .amen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .amen--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .amen--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.amen--1 { grid-template-columns: 1fr; }
.amen li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; row-gap: 2px; min-width: 0; padding: 16px 18px; border-radius: var(--r); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.25s; }
.amen li:hover { background: rgba(255, 255, 255, 0.09); }
.amen__icon { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(242, 169, 59, 0.6); color: var(--amber); }
.amen__icon .i { width: 22px; height: 22px; }
.amen b { align-self: end; font-size: 16px; font-weight: 700; line-height: 1.3; }
.amen b:last-child { grid-row: 1 / 3; align-self: center; }
.amen li > span:not(.amen__icon) { align-self: start; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }

/* ---------- Галерея ---------- */
.gallery .section__head .btn { justify-self: start; }
@media (min-width: 900px) { .gallery .section__head .btn { justify-self: end; } }
.gallery__grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 38vw, 250px); }
.gallery__item { position: relative; min-width: 0; padding: 0; border: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-2); cursor: zoom-in; }
.gallery__item img, .gallery__item .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
/* Телефон: непарна кількість — перше фото на всю ширину, решта парами */
.gallery__grid--1 .gallery__item--1, .gallery__grid--3 .gallery__item--1, .gallery__grid--5 .gallery__item--1, .gallery__grid--7 .gallery__item--1 { grid-column: span 2; grid-row: span 2; }
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); }
  .gallery__grid .gallery__item { grid-column: auto; grid-row: auto; }
  .gallery__grid--1 .gallery__item--1 { grid-column: 1 / -1; grid-row: span 2; }
  .gallery__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 28vw, 420px); }
  .gallery__grid--3 { grid-template-columns: 2fr 1fr; }
  .gallery__grid--3 .gallery__item--1 { grid-row: span 2; }
  .gallery__grid--4 { grid-auto-rows: clamp(220px, 24vw, 340px); }
  .gallery__grid--5 .gallery__item--1 { grid-column: span 2; grid-row: span 2; }
  .gallery__grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Сім фото — мозаїка: велике ліворуч, високе праворуч, широке внизу */
  .gallery__grid--7 .gallery__item--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
  .gallery__grid--7 .gallery__item--2 { grid-column: 3; grid-row: 1; }
  .gallery__grid--7 .gallery__item--3 { grid-column: 4; grid-row: 1 / 3; }
  .gallery__grid--7 .gallery__item--4 { grid-column: 3; grid-row: 2; }
  .gallery__grid--7 .gallery__item--5 { grid-column: 1; grid-row: 3; }
  .gallery__grid--7 .gallery__item--6 { grid-column: 2 / 4; grid-row: 3; }
  .gallery__grid--7 .gallery__item--7 { grid-column: 4; grid-row: 3; }
}
.gallery__cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: 13px; font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s var(--ease); pointer-events: none; }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }
@media (hover: none) { .gallery__cap { display: none; } }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 22, 15, 0.55); color: #fff; font-family: var(--display); font-weight: 700; font-size: 40px; }

.lightbox { width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 14, 10, 0.97); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.lightbox::backdrop { background: rgba(6, 14, 10, 0.97); }
.lightbox__fig { margin: 0; height: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 72px 8px 28px; }
.lightbox__fig img { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 14px; user-select: none; -webkit-user-drag: none; }
.lightbox__fig figcaption { font-size: 14px; color: rgba(255, 255, 255, 0.72); text-align: center; }
.lightbox__nav, .lightbox__close { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); color: #fff; display: grid; place-items: center; cursor: pointer; margin: 0 16px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; margin: 0; z-index: 2; }
@media (max-width: 700px) {
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); }
  .lightbox__nav { position: absolute; bottom: calc(20px + env(safe-area-inset-bottom)); margin: 0; z-index: 2; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  .lightbox__fig { padding-bottom: 100px; }
  /* Вертикальне фото не має виштовхувати підпис під кнопки «‹ ›»: місце під відступи й підпис у два рядки */
  .lightbox__fig img { max-height: calc(100dvh - 232px); }
}

/* ---------- Вільні дати ---------- */
/* minmax(0, 1fr): календар не розпирає сторінку на дуже вузькому екрані (раніше вужче 300 px зʼявлялась біла смуга справа) */
.avail__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.avail .h2 { margin-bottom: 14px; font-size: clamp(30px, 3.4vw, 46px); }
/* Дві колонки — лише коли календарю на 2 місяці вистачає місця */
@media (min-width: 1200px) {
  .avail__grid { grid-template-columns: 0.8fr 1.2fr; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 0; align-items: start; }
  .avail__intro { grid-column: 1; grid-row: 1; }
  .avail__cal { grid-column: 2; grid-row: 1 / 3; }
  .avail__sum { grid-column: 1; grid-row: 2; }
}
.avail__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.tab { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.tab:hover { border-color: var(--ink); }
.tab.on { background: var(--fir); border-color: var(--fir); color: #fff; }
.sum { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.sum__label { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.sum__dates { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.sum__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 14px; }
.sum__price b { display: block; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; color: var(--fir); }
.sum__price small { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.sum__warn { margin: 12px 0 0; color: #a23d1c; font-weight: 700; font-size: 14.5px; }
.sum__next { margin: 10px 0 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); line-height: 1.45; }
.sum__note { margin: 12px 0 0; color: var(--ink-2); font-weight: 500; font-size: 14.5px; line-height: 1.45; }
.sum__hint { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
/* Повідомлення «У «Погар» ці дати зайняті. Вільно: [кнопки]» — і в «Вільних датах», і у формі */
.alts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.alt { min-height: 40px; padding: 0 16px; border: 1px solid var(--fir); border-radius: 999px; background: #fff; color: var(--fir); font-weight: 700; font-size: 14px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.alt:hover { background: var(--fir); color: #fff; }

.cal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-user-select: none; user-select: none; }
@media (min-width: 760px) { .cal--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; } }
/* Календар усередині форми й випадної панелі — без власної рамки */
.cal--flat { gap: 14px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.cal--flat.cal--two { gap: 32px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
/* Місяць з роком — завжди в один рядок. Розмір — від ширини самого місяця (cqi), а не екрана: на вузькому вікні компʼютера
   зі смугою прокрутки «Листопад 2026» інакше вилазив за стрілки */
.cal__month { container-type: inline-size; }
.cal__title { font-family: var(--display); font-weight: 700; font-size: clamp(13px, 7.8cqi, 22px); letter-spacing: -0.01em; text-transform: capitalize; white-space: nowrap; }
.cal__nav { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 1px var(--line-2); }
.cal__nav:not(:disabled):hover { box-shadow: 0 0 0 1px var(--ink); }
.cal__nav:disabled { opacity: 0.3; cursor: default; }
.cal__nav.is-hidden { visibility: hidden; }
.cal--flat .cal__nav { background: var(--soft); box-shadow: none; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px 0; }
.cal__wd { padding: 6px 0; text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.day { position: relative; aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 12px; background: transparent; font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; transition: background-color 0.15s, opacity 0.15s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.05; touch-action: manipulation; }
.day:focus-visible { z-index: 1; outline-offset: 0; }
.day__p { font-size: 9.5px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
@media (min-width: 760px) { .day__p { font-size: 10.5px; } }
.day.is-in .day__p, .day.is-out .day__p { color: rgba(255, 255, 255, 0.85); }
.day:hover:not(:disabled):not([aria-disabled="true"]):not(.is-in):not(.is-out) { background: var(--soft); }
.day:disabled, .day[aria-disabled="true"] { cursor: default; }
.day.is-off { color: rgba(15, 26, 20, 0.24); }
.day.is-busy { color: rgba(15, 26, 20, 0.34); text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(15, 26, 20, 0.08) 5px 6px); }
/* Зайнятий день, який можна обрати днем виїзду (усі ночі до нього вільні) */
.day.is-exit { color: rgba(15, 26, 20, 0.6); }
/* Ближче за мінімум ночей після заїзду — неактивні, з підказкою «мінімум N ночей» */
.day.is-short { color: rgba(15, 26, 20, 0.28); }
.day.is-short .day__p { opacity: 0.55; }
/* Заїзд з цього дня неможливий (далі зайнято, а мінімум ночей не вміщається) — день блідий, як недоступний */
.day.is-nostart { color: rgba(15, 26, 20, 0.3); }
.day.is-nostart .day__p { opacity: 0.5; }
/* Після вибору заїзду: дати за першою зайнятою ніччю — бліді, але натискаються як новий заїзд */
.day.is-far { opacity: 0.38; }
.day.is-far:hover { opacity: 0.75; }
.day.is-range { background: rgba(14, 59, 44, 0.12); border-radius: 0; }
.day.is-in, .day.is-out { background: var(--fir); color: #fff; text-decoration: none; opacity: 1; }
.day.is-in { border-radius: 12px 0 0 12px; }
.day.is-out { border-radius: 0 12px 12px 0; }
.day.is-in.is-alone { border-radius: 12px; }
/* «Сьогодні» — точка праворуч угорі від числа (під числом стоїть ціна, а в кутку на вузькому екрані точка торкалась числа) */
.day__n { position: relative; }
.day.is-today .day__n::after { content: ""; position: absolute; top: 2px; left: calc(100% + 1.5px); width: 4px; height: 4px; border-radius: 50%; background: var(--amber-2); }
.day.is-in.is-today .day__n::after, .day.is-out.is-today .day__n::after { background: #fff; }
/* Дуже вузько: крапка «сьогодні» менша й ближче до числа, щоб не налазила на ціну сусіднього дня */
@media (max-width: 269.98px) { .day.is-today .day__n::after { top: 1px; left: calc(100% + 0.5px); width: 3px; height: 3px; } }
.cal__status { margin: 12px 0 0; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--ink-2); }
.cal__status:empty { display: none; }
.cal__note { color: var(--ink-2); }
.cal__warn { color: #a23d1c; font-weight: 700; }
.cal__note + .cal__warn { display: block; margin-top: 4px; }
.cal__legend { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); font-weight: 600; }
.cal__legend li { display: inline-flex; align-items: center; gap: 8px; }
.cal__legend i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-2); background: #fff; }
.cal__legend .lg-busy { background: repeating-linear-gradient(135deg, #fff 0 3px, rgba(15, 26, 20, 0.22) 3px 4px); }
.cal__legend .lg-sel { background: var(--fir); border-color: var(--fir); }
/* Дуже вузький екран: менші поля календаря й стрілки — назва місяця вміщається між стрілками */
@media (max-width: 299.98px) { .cal:not(.cal--flat) { padding: 12px; } .cal__nav { width: 36px; height: 36px; } }

/* ---------- Ціни: картка з темною шапкою, фото будиночків і умовами внизу ---------- */
.prices__card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.prices__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prices__table { width: 100%; min-width: 680px; border-collapse: collapse; }
.prices__table th, .prices__table td { padding: 18px 22px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
/* Темний фон — на всьому рядку, а не на кожній клітинці: на екранах з масштабом 125% між клітинками проглядала світла риска */
.prices__table thead tr { background: var(--fir); }
.prices__table thead th { vertical-align: top; border-bottom: 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #fff; }
.prices__table thead small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, 0.68); }
.prices__table tbody th { position: sticky; left: 0; z-index: 1; background: #fff; padding-block: 14px; }
.prices__house { display: flex; align-items: center; gap: 14px; min-width: 0; }
.prices__img { flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 14px; background: var(--bg-2); }
.prices__img img, .prices__img .ph { width: 100%; height: 100%; object-fit: cover; }
.prices__img .ph .i { width: 20px; height: 20px; }
.prices__name { display: flex; flex-direction: column; min-width: 0; font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.prices__name small { margin-top: 4px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.prices__table td { font-weight: 700; font-size: 17.5px; white-space: nowrap; }
.prices__table tbody tr:last-child > * { border-bottom: 0; }
.prices__table tbody tr:hover > * { background: #f7f8f7; }
.notes { list-style: none; margin: 0; padding: 16px 22px; display: flex; flex-wrap: wrap; gap: 10px 32px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.notes li { display: flex; align-items: center; gap: 10px; }
.notes .i { width: 20px; height: 20px; color: var(--fir); }
@media (max-width: 700px) {
  .prices__card { overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .prices__wrap { overflow: visible; }
  .prices__table { min-width: 0; }
  .prices__table thead { display: none; }
  .prices__table, .prices__table tbody, .prices__table tr, .prices__table th, .prices__table td { display: block; }
  .prices__table tr { margin-bottom: 12px; padding: 16px 18px 6px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
  .prices__table tbody tr:hover > * { background: none; }
  .prices__table tbody th { position: static; padding: 0 0 12px; border-bottom: 1px solid var(--line); background: none; }
  .prices__table td, .prices__table tbody tr:last-child td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .prices__table td::before { content: attr(data-label); font-size: 15px; font-weight: 500; color: var(--muted); white-space: normal; }
  .prices__table tr td:last-child { border-bottom: 0; }
  .notes { flex-direction: column; gap: 10px; padding: 6px 2px 0; border: 0; }
}

/* ---------- Відгуки: темний розділ ---------- */
.score { display: flex; align-items: center; gap: 14px; }
@media (min-width: 900px) { .reviews .score { justify-self: end; } }
.score b { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 0.9; letter-spacing: -0.04em; color: var(--amber); }
.score small { display: block; margin-top: 6px; color: rgba(255, 255, 255, 0.72); font-weight: 600; font-size: 14px; }
.score .stars .i { width: 20px; height: 20px; }
/* Телефон: картки гортаються вбік; ширина картки — 82 % стрічки, тож край наступної видно завжди, на будь-якій ширині.
   overflow-y: hidden — стрічка не рухається вгору-вниз (раніше її можна було посмикати пальцем) */
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 8px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
/* Картки у стрічці зʼявляються лише проявленням, без зсуву вниз (зсув обрізався б краєм стрічки) */
@media (max-width: 899.98px) { .js .reviews__track .reveal { transform: none; } }
/* Вузький телефон: менші поля картки відгуку — текст не стискається у вузький стовпчик */
@media (max-width: 359.98px) { .review { padding: 20px 18px; gap: 14px; } }
@media (min-width: 900px) { .reviews__track { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; gap: 20px; } }
.review { margin: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 26px; scroll-snap-align: start; border-radius: var(--r-lg); background: #fff; color: var(--ink); transition: transform 0.4s var(--ease); }
@media (hover: hover) and (min-width: 900px) { .review:hover { transform: translateY(-3px); } }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review__q { color: var(--amber-2); }
.review__q .i { width: 34px; height: 34px; }
.review blockquote { margin: 0; flex: 1; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review__ava { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--fir); color: #fff; font-family: var(--display); font-size: 20px; font-weight: 700; }
.review b { display: block; font-size: 15.5px; }
.review small { display: block; font-size: 13px; color: var(--muted); }
.reviews__more { margin: 30px 0 0; }

/* ---------- Як доїхати ---------- */
.loc__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .loc__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; } }
.loc__info .h2 { margin-bottom: 22px; }
.loc__addr { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 22px; font-weight: 700; }
.loc__addr .i { margin-top: 3px; color: var(--fir); }
.ways { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.ways li { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.ways__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(14, 59, 44, 0.3); color: var(--fir); }
.ways__icon .i { width: 21px; height: 21px; }
.ways b { display: block; }
.ways small { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.loc__map { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--bg-2); }
/* Карта Google — приглушена: яскраво-мʼятні кольори карти випадали з палітри сайту */
.loc__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(0.35) contrast(1.04); }
.nearby { margin-top: 16px; padding: 6px 22px 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.nearby .h4 { margin: 16px 0 6px; }
.nearby ul { list-style: none; margin: 0; padding: 0; }
.nearby li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.nearby li:last-child { border-bottom: 0; }
.nearby b { flex: none; white-space: nowrap; color: var(--fir); }

/* ---------- Питання ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; } .faq__head { position: sticky; top: calc(var(--demo-h) + var(--hdr-h) + 24px); align-self: start; } }
/* Заїзд і виїзд — завжди в один ряд: на вузьких екранах плашки компактніші, значки — поки вміщаються */
.rules { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 10px; }
.rules li { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.rules .i { color: var(--fir); }
.rules span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.rules b { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 399.98px) { .rules li { gap: 10px; padding: 11px 14px 11px 12px; } .rules b { font-size: 17px; } }
/* Значки годинника ховаються лише тоді, коли блоку «Правила» справді бракує місця (зі значками треба ~253 px) */
.faq__head { container-type: inline-size; }
@container (max-width: 252.98px) { .rules li > .i { display: none; } }
.faq__list { display: grid; gap: 10px; }
.qa { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color 0.2s; }
.qa:hover { border-color: var(--line-2); }
.qa[open] { border-color: var(--fir); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 18px 18px 22px; font-weight: 700; font-size: 17px; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); transition: transform 0.35s var(--ease), background-color 0.2s, color 0.2s; }
.qa__icon .i { width: 18px; height: 18px; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--fir); color: #fff; }
.qa .prose { padding: 0 22px 22px; max-width: 64ch; }

/* ---------- Заклик: фото на всю ширину ---------- */
.cta { position: relative; isolation: isolate; padding-block: clamp(84px, 11vw, 150px); color: #fff; text-align: center; background: var(--fir-3); }
.cta__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--fir-3); }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(4, 14, 9, 0.5), rgba(4, 14, 9, 0.8)); }
.cta__inner { max-width: 900px; }
.cta__title { margin: 0 0 18px; font-size: clamp(30px, 12.6vw, 38px); }
@media (min-width: 700px) { .cta__title { font-size: clamp(38px, 5.4vw, 70px); } }
.cta__title.h2 em { color: var(--amber); }
.cta__lead { max-width: 52ch; margin: 0 auto 26px; font-size: 18px; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 14px rgba(4, 10, 7, 0.6), 0 0 2px rgba(4, 10, 7, 0.35); }
.cta__points { list-style: none; margin: 0 auto 32px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.cta__points li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-shadow: 0 1px 12px rgba(4, 10, 7, 0.6); }
.cta__points .i { width: 19px; height: 19px; color: var(--amber); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
@media (max-width: 520px) { .cta__actions .btn { width: 100%; } .cta__points { flex-direction: column; align-items: center; } }

/* ---------- Підвал ---------- */
.footer { background: var(--fir-2); color: rgba(255, 255, 255, 0.78); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); }
@media (max-width: 959.98px) { .footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); } }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 0.8fr; } }
.footer .logo { color: #fff; }
.footer .logo__mark { background: var(--amber); color: var(--fir-3); }
.footer .logo__text small { color: rgba(255, 255, 255, 0.6); }
.footer__brand p { max-width: 40ch; margin: 20px 0 0; font-size: 15px; }
.footer h3 { margin: 0 0 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { display: inline-flex; align-items: flex-start; gap: 10px; text-decoration: none; font-size: 15px; }
.footer ul a .i { margin-top: 3px; width: 17px; height: 17px; }
.footer ul a:hover { color: #fff; }
.footer__links { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 28px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Нижня панель на телефоні ---------- */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.98); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(6, 20, 14, 0.5), 0 0 0 1px var(--line); transform: translateY(160%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s; }
.mbar.is-on { transform: none; visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
.mbar__dates { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 6px 4px 4px; border-radius: 999px; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color 0.2s; }
.mbar__dates:active { background: var(--soft); }
.mbar__ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--fir); }
.mbar__ico .i { width: 20px; height: 20px; }
.mbar__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.mbar__txt b { font-size: 15.5px; font-weight: 700; }
/* Текст ніколи не заходить під «Забронювати»: якщо «за ніч» не вміщається, воно переноситься на другий,
   прихований рядок і зникає; а що не влазить і тоді — обрізається «…» */
.mbar__txt small { display: flex; flex-wrap: wrap; height: 1.2em; overflow: hidden; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mbar__txt b, .mbar__txt small > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbar__book { flex: none; padding: 0 20px; }
@media (max-width: 374px) {
  .mbar { left: 8px; right: 8px; gap: 6px; padding: 6px; }
  .mbar__dates { gap: 8px; padding-right: 2px; }
  .mbar__ico { width: 34px; height: 34px; }
  .mbar__ico .i { width: 18px; height: 18px; }
  .mbar__txt b { font-size: 14.5px; }
  .mbar__txt small { font-size: 11.5px; }
  .mbar__book { padding: 0 15px; font-size: 14.5px; }
}
/* Вужче за 300 px «Вільні дати» поруч з іконкою вже не вміщаються */
@media (max-width: 299.98px) { .mbar__ico { display: none; } }
/* До 270 px «Вільні дати» в нижній панелі трохи дрібніші — вміщаються поруч із кнопкою, не обрізаючись */
@media (max-width: 269.98px) { .mbar__txt b { font-size: 13.5px; } .mbar__book { padding: 0 14px; } }
@media (min-width: 960px) { .mbar { display: none; } }
/* Поки відкрите вікно чи меню, панель ховається. + --sbw — щоб вона не стрибала вбік, коли зникає смуга прокрутки */
html:has(dialog[open]) .mbar, .menu-open .mbar { transform: translateY(160%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s; }
/* Під меню смуга прокрутки зникає — панель зсуваємо на її ширину; під вікном на компʼютері смуга лишається */
.menu-open .mbar { right: calc(12px + var(--sbw, 0px)); }
@media (max-width: 374px) { .menu-open .mbar { right: calc(8px + var(--sbw, 0px)); } }

/* ---------- Вікна ---------- */
/* overflow: clip — вікно взагалі не прокручується. Поки шторка виїжджає (translateY), вона на мить нижче краю: браузер
   на відкритті ставить фокус на форму й прокручував би до неї саме вікно, а анімація тягнула б назад — вікно тремтіло;
   ще й зʼявлялась тимчасова смуга прокрутки, і наприкінці вікно стрибком ширшало. hidden — запасний для старих браузерів. */
.modal { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; overflow: clip; background: transparent; color: var(--ink); }
.modal[open] { display: flex; align-items: flex-end; justify-content: center; }
/* Без розмиття тла: на слабких телефонах воно гальмує появу вікна */
.modal::backdrop { background: rgba(4, 14, 9, 0.6); }
/* Фон — на 0,1 % прозорий: інакше Chrome з відеокартою вважає вікно, що прокручується, суцільним прямокутником і не малює
   під ним нічого — у заокруглених кутах проступав незатемнений фон сторінки («квадратні кути»). clip-path — кути напевно */
.modal__box { position: relative; width: 100%; max-height: 94dvh; overflow: auto; overscroll-behavior: contain; background: #fff; background: color-mix(in srgb, #fff 99.9%, transparent); border-radius: 24px 24px 0 0; clip-path: inset(0 round 24px 24px 0 0); animation: sheetUp 0.45s var(--ease); }
@keyframes sheetUp { from { transform: translateY(48px); opacity: 0; } }
@keyframes popIn { from { transform: translateY(18px) scale(0.985); opacity: 0; } }
/* Вікно зникає плавно: enhance.js ставить .is-closing на 0,18 с перед закриттям */
@keyframes sheetDown { to { transform: translateY(40px); opacity: 0; } }
@keyframes popOut { to { transform: translateY(12px) scale(0.985); opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.modal.is-closing .modal__box { animation: sheetDown 0.18s ease-in forwards; }
.modal.is-closing::backdrop, .lightbox.is-closing, .lightbox.is-closing::backdrop { animation: fadeOut 0.18s ease-in forwards; }
@media (min-width: 760px) {
  .modal[open] { align-items: center; padding: 24px; }
  /* Тінь по краю — вікно не зливається зі сторінкою за ним (clip-path тут не потрібен: він обрізав би тінь) */
  .modal__box { max-width: 640px; max-height: min(900px, calc(100dvh - 48px)); border-radius: 24px; clip-path: none; box-shadow: 0 40px 90px -24px rgba(8, 12, 9, 0.6), 0 12px 32px -12px rgba(8, 12, 9, 0.35), 0 0 0 1px rgba(15, 26, 20, 0.08); animation-name: popIn; }
  .modal.is-closing .modal__box { animation-name: popOut; }
}
/* Тонка охайна прокрутка у вікнах: без стрілок і з відступом від заокруглених кутів */
@media (hover: hover) and (pointer: fine) {
  .modal__box::-webkit-scrollbar, .modal__body::-webkit-scrollbar, .pick__list::-webkit-scrollbar { width: 12px; }
  .modal__box::-webkit-scrollbar-track, .modal__body::-webkit-scrollbar-track { background: transparent; margin-block: 24px; }
  .pick__list::-webkit-scrollbar-track { background: transparent; margin-block: 12px; }
  .modal__box::-webkit-scrollbar-thumb, .modal__body::-webkit-scrollbar-thumb, .pick__list::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 999px; background: rgba(15, 26, 20, 0.2) padding-box; }
  .modal__box::-webkit-scrollbar-thumb:hover, .modal__body::-webkit-scrollbar-thumb:hover { background-color: rgba(15, 26, 20, 0.36); }
  @supports not selector(::-webkit-scrollbar) {
    .modal__box, .modal__body, .pick__list { scrollbar-width: thin; scrollbar-color: rgba(15, 26, 20, 0.25) transparent; }
  }
}
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; }
.modal__close .i { width: 20px; height: 20px; }
.modal--house .modal__box { display: flex; flex-direction: column; max-width: 1120px; }
/* Тип будиночка («Шале для двох») — під назвою, як у картці, а не міткою над нею */
.modal__body { display: flex; flex-direction: column; padding: 28px 22px 12px; }
.modal__body > * { order: 2; }
.modal__body > .h3 { order: 0; }
.modal__body > .eyebrow { order: 1; margin: -4px 0 14px; color: var(--fir); }
.modal__body .specs { margin-bottom: 18px; }
.modal__cta { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
@media (min-width: 980px) {
  .modal--house .modal__box { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: minmax(0, 1fr) auto; height: min(780px, calc(100dvh - 48px)); overflow: hidden; }
  .modal--house .modal__media { grid-row: 1 / 3; min-height: 0; }
  .modal--house .modal__media .slider, .modal--house .modal__media .slider__track { height: 100%; }
  .modal--house .modal__media .slider__slide { aspect-ratio: auto; height: 100%; }
  .modal--house .modal__body { overflow: auto; padding: 44px 40px 16px; }
  .modal--house .modal__cta { position: static; padding: 18px 40px; }
}
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 15px; }
.features li { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* Вузький телефон: зручності — одним стовпчиком (довге слово «посудомийкою» не вміщалось у пів ширини) */
@media (max-width: 379.98px) { .features { grid-template-columns: 1fr; } }
.features .i { width: 18px; height: 18px; color: var(--fir); }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 600; }
.ptable td { text-align: right; font-weight: 700; white-space: nowrap; }
.ptable small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

.book { padding: 30px 22px calc(22px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .book { padding: 38px; } }
/* Біля верхнього краю вікна всередині — мʼяке затемнення: текст, що прокручується вгору, згасає під ним, а не обрізається
   краєм. top: −(верхній відступ вікна) — sticky рахує від внутрішнього відступу, тож так воно прилипає до самого краю;
   хрестик (z-index 3) — над ним */
.modal__box.book::before { content: ""; position: sticky; top: -30px; z-index: 2; display: block; height: 30px; margin: -30px -22px 0; pointer-events: none; background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%); }
@media (max-width: 339.98px) { .modal__box.book::before { margin-inline: -16px; } }
@media (min-width: 760px) { .modal__box.book::before { top: -38px; height: 38px; margin: -38px -38px 0; } }
/* Згасання й тінь по верхньому краю наростають з прокруткою самого вікна (--edge від 0 до 1 за перші 40 px ставить
   enhance.js): угорі вікна, без прокрутки (і коли в Safari тягнеш угору «з пружиною»), їх немає — інакше тінь висіла над
   порожнім білим (користувач, 24–25.10, як у «Карпатах»). Анімацію від прокрутки (animation-timeline) не брати: Safari
   рахував її від прокрутки сторінки. На компʼютері тінь мʼякша (користувач, 25.10: «для ПК занадто сильні») */
.modal__box.book::before { box-shadow: inset 0 14px 14px -14px rgba(16, 22, 18, 0.28); opacity: var(--edge, 0); }
@media (min-width: 760px) { .modal__box.book::before { box-shadow: inset 0 12px 12px -12px rgba(16, 22, 18, 0.14); } }
/* Підпис «Бронювання» над заголовком вікна не потрібен — заголовок «Заявка на відпочинок» говорить сам */
.book__head .eyebrow { display: none; }
.book__head p:last-child { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.book__head .h3 { padding-right: 44px; }
.book__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 78px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--fir); box-shadow: 0 0 0 3px rgba(14, 59, 44, 0.16); }
.field.is-bad input, .field.is-bad .dates { border-color: #c4361b; box-shadow: 0 0 0 3px rgba(196, 54, 27, 0.12); }
.field__err { color: #b42318; font-size: 13.5px; font-weight: 700; line-height: 1.4; }
/* Поле-пастка для ботів: людині не видно й не доступне з клавіатури, але й не display: none — інакше боти його пропускають */
.book__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.field__hint { color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.35; }
/* Поле «Дати»: кнопка, під нею — наш календар на місяць */
.dates { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 16px; font-weight: 700; line-height: 1.3; text-align: left; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.dates:hover { border-color: rgba(15, 26, 20, 0.45); }
.dates:focus-visible { outline: none; border-color: var(--fir); box-shadow: 0 0 0 3px rgba(14, 59, 44, 0.16); }
.dates .i { width: 20px; height: 20px; color: var(--fir); }
.dates .i:last-child { color: var(--muted); transition: transform 0.25s var(--ease); }
.dates[aria-expanded="true"] .i:last-child { transform: rotate(180deg); }
.dates__v { flex: 1; min-width: 0; }
.dates.is-empty .dates__v { color: var(--muted); font-weight: 600; }

/* Власний випадний список (будиночок) — замість системного */
.pick { position: relative; }
.pick__btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; text-align: left; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.pick__btn:hover { border-color: rgba(15, 26, 20, 0.45); }
.pick__btn:focus-visible { outline: none; border-color: var(--fir); box-shadow: 0 0 0 3px rgba(14, 59, 44, 0.16); }
.pick.is-open .pick__btn { border-color: rgba(15, 26, 20, 0.5); }
.pick__btn > .i { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform 0.25s var(--ease); }
.pick.is-open .pick__btn > .i { transform: rotate(180deg); }
.pick__main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pick__v { font-size: 16px; font-weight: 700; }
.pick__sub { font-size: 13px; font-weight: 600; color: var(--muted); }
.pick__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; gap: 2px; max-height: min(340px, 60dvh); margin: 0; padding: 6px; overflow: auto; overscroll-behavior: contain; list-style: none; border-radius: 20px; background: #fff; box-shadow: 0 26px 50px -22px rgba(6, 20, 14, 0.5), 0 0 0 1px rgba(15, 26, 20, 0.08); transform-origin: top center; animation: pickIn 0.2s var(--ease); }
.pick__list.is-leaving { opacity: 0; transform: translateY(-4px) scale(0.98); transition: opacity 0.16s ease, transform 0.16s ease; pointer-events: none; }
@keyframes pickIn { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
/* У вікні заявки список будиночків зʼявляється й зникає без анімації: з нею відеокарта малює список окремим шаром,
   і Chrome на цей час губив заокруглення вікна, що прокручується */
.modal .pick__list { animation: none; }
.modal .pick__list.is-leaving { transform: none; transition: none; }
.pick__opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 14px; cursor: pointer; transition: background-color 0.15s; }
.pick__opt.is-active { background: var(--soft); }
.pick__img { flex: none; width: 56px; height: 42px; overflow: hidden; border-radius: 10px; background: var(--bg-2); }
.pick__img img, .pick__img .ph { width: 100%; height: 100%; object-fit: cover; }
.pick__img .ph .i { width: 18px; height: 18px; }
.pick__opt b { font-size: 15.5px; font-weight: 700; }
.pick__opt small { font-size: 13px; font-weight: 600; color: var(--muted); }
.pick__opt > .i { flex: none; width: 20px; height: 20px; color: var(--fir); opacity: 0; transition: opacity 0.15s; }
.pick__opt[aria-selected="true"] > .i { opacity: 1; }
.pick__opt[aria-selected="true"] b { color: var(--fir); }

/* Лічильник гостей «− 2 +» */
.step { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 52px; padding: 6px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; }
.step__btn { flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; touch-action: manipulation; transition: background-color 0.15s, opacity 0.15s; }
.step__btn .i { width: 18px; height: 18px; }
.step__btn:hover:not([aria-disabled="true"]) { background: var(--bg-2); }
.step__btn[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.step__v { min-width: 2ch; font-size: 17px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
/* Календар у формі — окрема панель, щоб одразу виділявся серед полів. Згортається й розгортається плавно. */
.book__fold { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows 0.42s var(--ease), opacity 0.32s ease; }
.book__fold.is-closed { grid-template-rows: 0fr; opacity: 0; }
.book__fold.is-instant { transition: none; }
.book__fold-in { min-height: 0; overflow: hidden; }
.book__cal { margin-top: 6px; padding: 14px 12px 12px; border-radius: 18px; background: var(--soft); }
.dates[aria-expanded="true"] { border-color: rgba(15, 26, 20, 0.5); }
.book__cal .day:hover:not(:disabled):not([aria-disabled="true"]):not(.is-in):not(.is-out) { background: #fff; }
.book__cal .cal__nav { background: #fff; }
.book__cal .cal__title { font-size: 20px; }
/* У формі клітинки не квадратні: на широкому вікні календар не розтягує форму */
.book__cal .day { aspect-ratio: auto; height: clamp(40px, 10.5vw, 50px); }
.book__cal .cal__head { margin-bottom: 6px; }
.book__cal .cal__nav { width: 38px; height: 38px; }
.book__conflict { padding: 12px 14px; border-radius: var(--r-sm); background: #fbeee6; color: #8a3517; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.book__conflict .alt { border-color: #8a3517; color: #8a3517; background: #fff; }
.book__conflict .alt:hover { background: #8a3517; color: #fff; }
@media (max-width: 360px) { .dates { font-size: 15px; padding: 12px; gap: 8px; } .book__cal { padding: 12px 8px 10px; } }
/* Найвужчі екрани (до 340 px; у вікні заявки на компʼютері ще й смуга прокрутки 12–15 px): шапка місяця й 7 днів тижня
   вміщаються повністю — менші кнопки «‹ ›» і заголовок; бічні відступи лишаються нормальними (текст не біля краю).
   Стоїть ПІСЛЯ правил календаря заявки — інакше ті б їх перебили */
@media (max-width: 339.98px) {
  .book { padding-inline: 16px; }
  .book__cal { padding-inline: 12px; }
  .cal__head, .book__cal .cal__head { gap: 4px; }
  .cal__nav, .book__cal .cal__nav { width: 32px; height: 32px; }
  /* Назва місяця в заявці — за шириною самого місяця (cqi): «Листопад 2026» вміщається між стрілками навіть на 250 px */
  .book__cal .cal__title { font-size: min(18px, 7.6cqi); }
}
/* Дуже вузько (вузька панель браузера на компʼютері): гості й імʼя — кожне на всю ширину,
   а у вікні будиночка кнопка «Забронювати» переходить під ціну */
@media (max-width: 339.98px) {
  .book__grid > .field:not(.field--full) { grid-column: 1 / -1; }
  .modal__cta { flex-wrap: wrap; row-gap: 10px; }
  .modal__cta .btn { flex: 1 1 100%; }
}
.book__quote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 18px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--soft); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.book__quote b { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--fir); }
.book__quote em { font-style: normal; font-weight: 700; color: var(--muted); }
.book__quote.is-warn { background: #fbeee6; color: #8a3517; }
.book__err { margin: 12px 0 0; color: #b42318; font-weight: 700; font-size: 14.5px; }
.book .btn--block { margin-top: 20px; }
.book__alt { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.book__alt a { color: var(--ink); font-weight: 700; }
.done { padding: 52px 26px calc(36px + env(safe-area-inset-bottom)); text-align: center; }
.done__icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--fir); color: #fff; }
.done__icon .i { width: 36px; height: 36px; }
.done p { max-width: 42ch; margin: 0 auto 16px; color: var(--ink-2); }
/* Фокус на заголовках вікон («Заявка…», «Дякуємо…», назва будиночка) — для читачів екрана, рамка тут не потрібна */
.done [data-done-title]:focus, [data-dialog-focus]:focus { outline: none; }
/* Текст лише для читачів екрана */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.done__demo { padding: 14px 16px; border-radius: var(--r-sm); background: var(--soft); font-size: 14.5px; }
.done__demo a { font-weight: 700; }

/* ---------- Поява під час прокрутки ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Екран «Завантаження…» (розмітка спільна для всіх шаблонів — у index.html) */
.boot { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--fir-2); color: #fff; font-family: var(--display); font-weight: 600; font-size: 20px; }
/* Невидимий текст на екрані «Завантаження…»: браузер одразу просить шрифти першого екрана (заголовок і текст) */
.boot__fonts { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.boot__fonts span:nth-child(1) { font-family: var(--display); font-weight: 600; }
.boot__fonts span:nth-child(2) { font-family: var(--sans); font-weight: 400; }
.boot__fonts span:nth-child(3) { font-family: var(--sans); font-weight: 600; }
/* Знак — сонце над горами, тонкою лінією */
.boot__mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 169, 59, 0.14); color: var(--amber); animation: pulse 1.6s ease-in-out infinite; }
.boot__mark::before { content: ""; width: 32px; height: 32px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 19.5h19'/%3E%3Cpath d='m3.5 19.5 6-8 3.5 4.5 2.5-3 5 6.5'/%3E%3Ccircle cx='15.5' cy='6.5' r='2.5'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 19.5h19'/%3E%3Cpath d='m3.5 19.5 6-8 3.5 4.5 2.5-3 5 6.5'/%3E%3Ccircle cx='15.5' cy='6.5' r='2.5'/%3E%3C/svg%3E") no-repeat center / contain; }
@keyframes pulse { 50% { opacity: 0.5; transform: scale(0.96); } }
.boot--error { font-family: var(--sans); font-size: 16px; padding: 24px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: none; }
  .modal__box, .js .hero__text > *, .js .peek, .js .quick-wrap { animation: none; }
  .menu__panel, .menu__backdrop { transition: none; }
}
