/* Шаблон «Карпати» — теплий, дерев'яний, преміальний. Спершу телефон, потім великі екрани. */
:root {
  --bg: #f6f1e8;
  --bg-2: #ece3d5;
  --surface: #fffcf7;
  --ink: #1d1a15;
  --ink-2: #4a4237;
  --muted: #6f665a;
  --wood-ink: #8f5a2e;
  --line: rgba(29, 26, 21, 0.12);
  --forest: #1e3328;
  --forest-deep: #14211a;
  --moss: #5f7451;
  --wood: #a86d3b;
  --gold: #e2b983;
  --accent: #b5532b;
  --accent-2: #9c4421;
  --cream: #f6f1e8;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(29, 26, 21, 0.05), 0 14px 34px -14px rgba(29, 26, 21, 0.2);
  --shadow-lg: 0 34px 80px -30px rgba(15, 20, 16, 0.5);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr-h: 76px;
  --demo-h: 0px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
:root:has(.demobar) { --demo-h: 38px; }

*, *::before, *::after { box-sizing: border-box; }
/* Атрибут hidden ховає завжди, навіть якщо в елемента є display: flex чи grid */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + var(--demo-h) + 8px); }
/* Коли відкрите вікно чи меню, сторінка не прокручується. Смуга прокрутки зникає — її ширину (--sbw)
   компенсуємо відступом, щоб сторінка й шапка не зсувались убік. */
html.menu-open, html:has(dialog[open]) { overflow: hidden; padding-right: var(--sbw, 0px); }
html.menu-open .hdr, html:has(dialog[open]) .hdr { padding-right: var(--sbw, 0px); }
.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(--accent); 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(--serif); font-weight: 600; font-size: clamp(36px, 4.8vw, 62px); line-height: 1.03; letter-spacing: -0.012em; margin: 0 0 0.42em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; margin: 0 0 0.35em; }
.h4 { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin: 30px 0 14px; }
.h2, .h3, .hero__title, .house__name, .cal__title, .score b, .about__badge b, .prices__table tbody th, .feat__card b,
.gallery__more, .logo__text b, .review__ava, .menu__nav a { font-variant-numeric: lining-nums; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; font-size: 12.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wood-ink); margin: 0 0 18px; overflow-wrap: anywhere; }
/* Ромбик з лінією — легкий гуцульський мотив замість звичайної риски */
.eyebrow:not(:has(svg))::before { content: ""; width: 36px; height: 10px; background-color: currentColor; opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 10'%3E%3Cpath d='M0 5h22' stroke='black' stroke-width='1.2'/%3E%3Cpath d='M29 1l4 4-4 4-4-4z' fill='none' stroke='black' stroke-width='1.3'/%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 36 10'%3E%3Cpath d='M0 5h22' stroke='black' stroke-width='1.2'/%3E%3Cpath d='M29 1l4 4-4 4-4-4z' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center / contain; }
.eyebrow .i { width: 16px; height: 16px; }
.eyebrow--light { color: var(--gold); }
.section { padding-block: clamp(76px, 10vw, 140px); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.section__head--row .h2 { margin-bottom: 0; }
.section__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); margin: 0; max-width: 60ch; }
.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: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link .i { width: 16px; height: 16px; }

/* ---------- Кнопки ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: 0.005em; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.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(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(181, 83, 43, 0.75); }
.btn--accent:hover { background: var(--accent-2); box-shadow: 0 16px 30px -12px rgba(181, 83, 43, 0.85); }
.btn--ghost { background: transparent; border-color: rgba(29, 26, 21, 0.22); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(29, 26, 21, 0.03); }
.btn--glass { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.22); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14px; transition: background-color 0.2s, border-color 0.2s; }
.chip .i { width: 17px; height: 17px; }
.chip--light { border-color: rgba(246, 241, 232, 0.28); color: var(--cream); }
.chip--light:hover { background: rgba(246, 241, 232, 0.1); }

/* ---------- Демо-смужка ---------- */
.demobar { height: var(--demo-h); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; background: var(--forest-deep); color: var(--gold); font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; }
.demobar .i { width: 16px; height: 16px; }
.demobar a { color: #fff; }
@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; } }

/* ---------- Шапка ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color 0.35s var(--ease), color 0.35s, box-shadow 0.35s; }
.hdr__inner { height: var(--hdr-h); display: flex; align-items: center; gap: 24px; }
.hdr.is-solid { background: rgba(246, 241, 232, 0.92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.menu-open .hdr { background: transparent; color: var(--cream); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo__mark { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; }
.logo__mark .i { width: 22px; height: 22px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.logo__text small { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 800; opacity: 0.75; margin-bottom: 5px; }
.logo__text b { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: 0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr__nav { display: none; gap: 30px; margin-left: auto; }
.hdr__nav a { position: relative; padding: 6px 0; text-decoration: none; font-size: 15px; font-weight: 600; opacity: 0.9; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr__phone { display: none; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.hdr__phone .i { width: 18px; height: 18px; }
.hdr__cta { display: none; }
.hdr__burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: transparent; display: grid; place-items: center; cursor: pointer; }
.hdr__burger .i { width: 22px; height: 22px; }
@media (min-width: 640px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 1100px) { .hdr__nav { display: flex; } .hdr__end { margin-left: 26px; } .hdr__burger { display: none; } }
@media (min-width: 1320px) { .hdr__phone { display: inline-flex; } }
/* Вузькі телефони: назва садиби вміщається повністю */
@media (max-width: 380px) {
  .hdr__inner { gap: 12px; }
  .hdr .logo { gap: 9px; }
  .hdr .logo__mark { width: 36px; height: 36px; }
  .hdr .logo__mark .i { width: 19px; height: 19px; }
  .hdr .logo__text small { font-size: 9px; letter-spacing: 0.2em; margin-bottom: 4px; }
  .hdr .logo__text b { font-size: 21px; }
  .hdr__burger { width: 42px; height: 42px; }
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--hdr-h) + var(--demo-h) + 20px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--forest); color: var(--cream);
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-family: var(--serif); font-size: clamp(34px, 9vw, 48px); font-weight: 600; line-height: 1.15; text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(246, 241, 232, 0.12); opacity: 0; transform: translateY(14px); transition: transform 0.5s var(--ease), opacity 0.5s; transition-delay: calc(var(--i) * 45ms + 60ms); }
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu__foot { display: grid; gap: 14px; }
.menu__social { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__social .chip { border-color: rgba(246, 241, 232, 0.28); }

/* ---------- Перший екран ---------- */
/* z-index: панель швидкого пошуку лежить поверх наступних розділів */
.hero { position: relative; z-index: 3; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding-top: calc(var(--hdr-h) + var(--demo-h) + 24px); }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--forest); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); animation: heroZoom 16s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 16, 13, 0.6) 0%, rgba(12, 16, 13, 0.1) 26%, rgba(12, 16, 13, 0.2) 50%, rgba(12, 16, 13, 0.86) 100%), linear-gradient(90deg, rgba(12, 16, 13, 0.45) 0%, rgba(12, 16, 13, 0) 65%); }
.hero__inner { padding-bottom: clamp(40px, 6vw, 104px); }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(46px, 6.8vw, 100px); line-height: 0.97; letter-spacing: -0.018em; margin: 0 0 22px; max-width: 12.5ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2); }
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; max-width: 46ch; margin: 0 0 32px; color: rgba(255, 255, 255, 0.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; text-decoration: none; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.stars { display: inline-flex; gap: 2px; color: #e9b45a; }
.stars .i { width: 16px; height: 16px; }
.stars span:not(.on) { opacity: 0.28; }
@media (max-width: 520px) { .hero__actions .btn { width: 100%; } }
/* Плавна поява першого екрана: рядок за рядком */
.js .hero__inner > * { animation: rise 1s var(--ease) both; }
.js .hero__inner > :nth-child(2) { animation-delay: 0.08s; }
.js .hero__inner > :nth-child(3) { animation-delay: 0.16s; }
.js .hero__inner > :nth-child(4) { animation-delay: 0.24s; }
.js .hero__inner > :nth-child(5) { animation-delay: 0.32s; }
.js .hero__inner > :nth-child(6) { animation-delay: 0.4s; }
.js .quick-wrap { animation: rise 1s 0.45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.is-preview .hero__inner > *, .is-preview .quick-wrap { animation: none; }

.promo { display: flex; width: fit-content; align-items: center; gap: 10px; max-width: 100%; margin: 0 0 22px; padding: 6px 14px 6px 6px; border-radius: 18px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.25; transition: background-color 0.2s; }
.promo:hover { background: rgba(255, 255, 255, 0.22); }
.promo__tag { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--forest-deep); font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.promo__text { min-width: 0; }
@media (max-width: 520px) { .promo { font-size: 13px; gap: 8px; } .promo__tag { font-size: 10.5px; padding: 5px 8px; } }
.promo .i { flex: none; width: 16px; height: 16px; opacity: 0.8; }

.quick-wrap { display: none; }
@media (min-width: 960px) {
  /* Швидкий пошук видно на першому екрані повністю: перший екран трохи нижчий за вікно,
     а картка пошуку лежить на межі з наступним розділом. Заголовок зменшується на невисоких екранах. */
  .hero:has(.quick-wrap) { min-height: calc(100svh - 90px); }
  .hero:has(.quick-wrap) .hero__inner { padding-bottom: clamp(28px, 4.5vh, 64px); }
  .hero__title { font-size: clamp(46px, min(6.8vw, 9vh), 100px); }
}
@media (min-width: 960px) and (max-height: 860px) {
  .promo { margin-bottom: 16px; }
  .hero__title { margin-bottom: 18px; }
  .hero__lead { margin-bottom: 24px; }
  .hero__rating { margin-top: 18px; }
}
/* Невисокі екрани ноутбуків (1366×768, 1280×720, 1920×1080 зі збільшенням 125%): шапка нижча, перший екран щільніший,
   щоб швидкий пошук було видно повністю, а не краєм. Від 760 px усе вміщається й так, а календар пошуку
   відкривається вгору без прокрутки — тож там нічого не міняємо. 759.98 — бо з масштабом 125% висота буває дробовою. */
@media (min-width: 960px) and (max-height: 759.98px) {
  :root { --hdr-h: 68px; }
  .hero { padding-top: calc(var(--hdr-h) + var(--demo-h) + 8px); }
  .promo { margin-bottom: 12px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero__title { font-size: clamp(40px, min(6.8vw, 8vh), 100px); margin-bottom: 14px; }
  .hero__lead { font-size: 18px; margin-bottom: 20px; }
  .hero__rating { margin-top: 14px; }
  .hero:has(.quick-wrap) .hero__inner { padding-bottom: 22px; }
}
@media (min-width: 960px) {
  .quick-wrap { display: block; position: relative; z-index: 2; margin-bottom: -46px; }
  .quick { display: grid; grid-template-columns: 1fr 1fr 0.7fr auto; max-width: 1000px; background: var(--surface); color: var(--ink); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
  .quick__f { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; min-width: 0; padding: 14px 24px; border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s; }
  .quick__f span { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
  .quick__f b { font-size: 17px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
  .quick__date:hover { background: var(--bg); }
  .quick__date.is-empty b { color: var(--muted); font-weight: 600; }
  .quick__date.is-active { background: var(--bg); box-shadow: inset 0 -3px 0 var(--accent); }
  .quick__date:focus-visible { outline-offset: -4px; }
  .quick .btn { border-radius: 0; min-height: 86px; padding: 0 32px; font-size: 16px; box-shadow: none; }
  /* Випадна панель з календарем на 2 місяці — під панеллю пошуку, поверх наступних розділів */
  .quick__pop { position: absolute; top: calc(100% + 12px); left: var(--gutter); z-index: 5; width: min(760px, calc(100% - var(--gutter) * 2)); padding: 20px 24px 16px; border-radius: 22px; background: var(--surface); 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: 32px; height: 32px; border-radius: 50%; }
  .quick__guests .step__v { min-width: 2.2ch; }
  .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: 600; 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; }
}

/* ---------- Про нас ---------- */
.about { padding-top: clamp(96px, 12vw, 176px); }
.about__grid { display: grid; gap: 64px; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.05fr 0.95fr; gap: 88px; align-items: center; } }
.highlights { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.highlights li { display: flex; gap: 14px; align-items: flex-start; }
.highlights__icon { flex: none; width: 48px; height: 48px; border-radius: 15px; background: var(--bg-2); color: var(--wood); display: grid; place-items: center; }
.highlights__icon .i { width: 23px; height: 23px; }
.highlights b { display: block; font-size: 16px; line-height: 1.3; }
.highlights small { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 3px; }
@media (max-width: 420px) { .highlights { grid-template-columns: 1fr; } }
.signature { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: 24px; font-weight: 500; color: var(--wood-ink); }
.ornament { height: 14px; margin: 40px 0 30px; opacity: 0.55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cg fill='none' stroke='%23a86d3b' stroke-width='1.2'%3E%3Cpath d='M14 1.5 19.5 7 14 12.5 8.5 7z'/%3E%3Cpath d='M14 4.6 16.4 7 14 9.4 11.6 7z'/%3E%3C/g%3E%3Cg fill='%23a86d3b'%3E%3Ccircle cx='2.5' cy='7' r='1.1'/%3E%3Ccircle cx='25.5' cy='7' r='1.1'/%3E%3C/g%3E%3C/svg%3E") repeat-x center / auto 14px; }
.ornament--light { margin: 0 0 56px; opacity: 0.35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cg fill='none' stroke='%23e2b983' stroke-width='1.2'%3E%3Cpath d='M14 1.5 19.5 7 14 12.5 8.5 7z'/%3E%3Cpath d='M14 4.6 16.4 7 14 9.4 11.6 7z'/%3E%3C/g%3E%3Cg fill='%23e2b983'%3E%3Ccircle cx='2.5' cy='7' r='1.1'/%3E%3Ccircle cx='25.5' cy='7' r='1.1'/%3E%3C/g%3E%3C/svg%3E"); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stats li { display: flex; flex-direction: column; gap: 4px; }
/* Вужче за 320 px трохи менше — інакше «1 200+» не вміщалось у колонку й розривалось на два рядки */
.stats b { font-family: var(--serif); font-size: min(clamp(34px, 4vw, 46px), 10.6vw); font-weight: 600; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.stats span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.about__media { position: relative; margin-bottom: 30px; }
.about__img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { width: 76%; aspect-ratio: 4 / 5; margin-left: auto; margin-right: 12%; }
.about__img--b { position: absolute; left: 0; bottom: -30px; width: 46%; aspect-ratio: 3 / 4; border: 8px solid var(--bg); }
.about__badge { position: absolute; right: 0; top: 34px; margin: 0; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 18px; background: var(--forest); color: var(--cream); box-shadow: var(--shadow-lg); }
.about__badge b { font-family: var(--serif); font-size: 46px; line-height: 1; font-weight: 600; }
.about__badge span { font-size: 13px; line-height: 1.35; font-weight: 700; opacity: 0.9; }

/* ---------- Будиночки ---------- */
.houses { background: var(--surface); }
.houses__grid { display: grid; gap: 26px; }
@media (min-width: 700px) { .houses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .houses__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.house { display: flex; flex-direction: column; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.house:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.house__media { position: relative; cursor: pointer; }
.house__media .slider__slide img { transition: transform 1.1s var(--ease); }
.house:hover .house__media .slider__slide img { transform: scale(1.045); }
.house__tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 252, 247, 0.93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 700; color: var(--ink); }
.house__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.house__name { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.02; margin: 0 0 8px; }
.house__short { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.specs { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.specs li { display: inline-flex; align-items: center; gap: 7px; }
.specs .i { width: 18px; height: 18px; color: var(--wood); }
.house__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
/* Кнопки ділять рядок, а на вузькій картці стають одна під одною на всю ширину — нічого не вилазить за край */
.house__actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.house__actions .btn { flex: 1 1 auto; }
.price { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.price small { font-size: 13px; color: var(--muted); font-weight: 600; }

.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: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 252, 247, 0.94); 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: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.6); transition: width 0.3s var(--ease), background-color 0.3s; }
.slider__dots span.on { width: 18px; background: #fff; }

/* ---------- Зручності ---------- */
.amenities { background: var(--forest); color: var(--cream); }
.amenities .section__lead { color: rgba(246, 241, 232, 0.75); }
.feat { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 900px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Висота — за пропорцією фото, але довгий опис власника не обрізається: картка підростає під текст.
   Тому без overflow: hidden (з ним картка не росте) — кути обрізає clip-path, а min-width: 0 не дає пропорції розширити картку. */
.feat__card { position: relative; isolation: isolate; margin: 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 11; clip-path: inset(0 round var(--radius)); border-radius: var(--radius); background: var(--forest-deep); }
.feat__card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat__card:hover img { transform: scale(1.04); }
.feat__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 14, 11, 0) 35%, rgba(10, 14, 11, 0.86) 100%); }
.feat__card figcaption { position: relative; display: grid; gap: 4px; padding: clamp(20px, 3vw, 30px); }
.feat__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; color: var(--gold); background: rgba(246, 241, 232, 0.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.feat__icon .i { width: 23px; height: 23px; }
.feat__card b { font-family: var(--serif); font-size: clamp(28px, 3vw, 34px); font-weight: 600; line-height: 1.08; }
.feat__card figcaption > span:last-child { color: rgba(246, 241, 232, 0.84); font-size: 15px; max-width: 46ch; }
.amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--radius); background: rgba(246, 241, 232, 0.12); border: 1px solid rgba(246, 241, 232, 0.12); }
@media (min-width: 900px) { .amen { grid-template-columns: repeat(4, minmax(0, 1fr)); } .amen--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .amen--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amen--1 { grid-template-columns: 1fr !important; }
.amen li { transition: background-color 0.25s; }
.amen li:hover { background: #22392d; }
.amen li { display: flex; flex-direction: column; gap: 4px; padding: 24px 20px; background: var(--forest); }
.amen__icon { color: var(--gold); margin-bottom: 10px; }
.amen__icon .i { width: 28px; height: 28px; }
.amen b { font-size: 16px; line-height: 1.3; }
.amen li > span:not(.amen__icon) { font-size: 14px; color: rgba(246, 241, 232, 0.7); line-height: 1.45; }

/* ---------- Галерея ---------- */
.gallery__grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 34vw, 240px); }
.gallery__item { position: relative; padding: 0; border: 0; overflow: hidden; border-radius: 16px; background: var(--bg-2); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.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, 17vw, 230px); }
  .gallery__item--6, .gallery__item--7 { grid-column: span 2; }
}
.gallery__grid--few { grid-auto-rows: clamp(150px, 40vw, 280px); }
.gallery__grid--few .gallery__item { grid-column: auto; grid-row: auto; }
.gallery__grid--few .gallery__item--1 { grid-column: span 2; }
@media (min-width: 900px) {
  .gallery__grid--few { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 20vw, 300px); }
  .gallery__grid--few .gallery__item--1 { grid-column: span 2; grid-row: span 2; }
}
.gallery__cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 12px; border-radius: 999px; background: rgba(14, 18, 15, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; 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(12, 16, 13, 0.55); color: #fff; font-family: var(--serif); font-size: 44px; font-weight: 600; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(9, 11, 9, 0.97); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.lightbox::backdrop { background: rgba(9, 11, 9, 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: 10px; 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); }
}

/* ---------- Вільні дати ---------- */
/* Перехід за #calendar пропускає верхній відступ розділу: заголовок, вкладки й календар видно одразу */
.avail { background: var(--surface); scroll-margin-top: calc(16px - clamp(76px, 10vw, 140px)); }
.avail__grid { display: grid; gap: 16px; }
/* Дві колонки — лише коли календарю на 2 місяці вистачає місця */
@media (min-width: 1200px) {
  .avail__grid { grid-template-columns: 0.82fr 1.18fr; grid-template-rows: auto 1fr; column-gap: 64px; 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: 30px 0 8px; }
.tab { padding: 10px 18px; border: 1px solid rgba(29, 26, 21, 0.2); border-radius: 999px; background: transparent; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.tab:hover { border-color: var(--ink); }
.tab.on { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.sum { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.sum__label { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.sum__dates { margin: 0; font-weight: 800; font-size: 17px; }
.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-size: 28px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.sum__price small { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.sum__warn { margin: 12px 0 0; color: var(--accent-2); font-weight: 700; font-size: 14.5px; }
.sum__next { margin: 10px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.sum__note { margin: 12px 0 0; color: var(--ink-2); font-weight: 600; 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(--forest); border-radius: 999px; background: var(--surface); color: var(--forest); font-weight: 700; font-size: 14px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.alt:hover { background: var(--forest); color: var(--cream); }

.cal { display: grid; gap: 28px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); -webkit-user-select: none; user-select: none; }
@media (min-width: 760px) { .cal--two { grid-template-columns: 1fr 1fr; gap: 36px; } }
/* Календар усередині форми й випадної панелі — без власної рамки */
.cal--flat { gap: 14px; padding: 0; border: 0; box-shadow: none; background: transparent; }
.cal--flat.cal--two { gap: 32px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
/* Місяць з роком — завжди в один рядок; вужче за ~330 px шрифт трохи менший, щоб «Листопад 2026» вміщався між стрілками */
.cal__title { font-family: var(--serif); font-size: clamp(20px, 16.8vw - 29px, 26px); font-weight: 600; text-transform: capitalize; white-space: nowrap; }
.cal__nav { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.cal__nav:not(:disabled):hover { border-color: var(--ink); }
.cal__nav:disabled { opacity: 0.25; cursor: default; }
.cal__nav.is-hidden { visibility: hidden; }
.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: 800; 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: 700; 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: 700; 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(--bg-2); }
.day:disabled, .day[aria-disabled="true"] { cursor: default; }
.day.is-off { color: rgba(29, 26, 21, 0.24); }
.day.is-busy { color: rgba(29, 26, 21, 0.34); text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(29, 26, 21, 0.06) 5px 6px); }
/* Зайнятий день, який можна обрати днем виїзду (усі ночі до нього вільні) */
.day.is-exit { color: rgba(29, 26, 21, 0.6); }
/* Ближче за мінімум ночей після заїзду — неактивні, з підказкою «мінімум N ночей» */
.day.is-short { color: rgba(29, 26, 21, 0.28); }
.day.is-short .day__p { opacity: 0.55; }
/* Після вибору заїзду: дати за першою зайнятою ніччю — бліді, але натискаються як новий заїзд */
.day.is-far { opacity: 0.38; }
.day.is-far:hover { opacity: 0.75; }
.day.is-range { background: rgba(181, 83, 43, 0.13); border-radius: 0; }
.day.is-in, .day.is-out { background: var(--accent); 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; }
/* «Сьогодні» — точка праворуч угорі від числа. Під числом стоїть ціна, і точка там на неї налазила;
   а в кутку клітинки на вузькому екрані (клітинка ~33 px) вона торкалась двозначного числа */
.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(--accent); }
.day.is-in.is-today .day__n::after, .day.is-out.is-today .day__n::after { background: #fff; }
.cal__status { margin: 12px 0 0; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink-2); }
.cal__status:empty { display: none; }
.cal__note { color: var(--ink-2); }
.cal__warn { color: var(--accent-2); 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); }
.cal__legend .lg-busy { background: repeating-linear-gradient(135deg, #fff 0 3px, rgba(29, 26, 21, 0.18) 3px 4px); }
.cal__legend .lg-sel { background: var(--accent); border-color: var(--accent); }

/* ---------- Ціни ---------- */
.prices__wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.prices__table { width: 100%; min-width: 640px; border-collapse: collapse; }
.prices__table th, .prices__table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prices__table thead th { background: var(--bg); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prices__table small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.prices__table tbody th { position: sticky; left: 0; background: var(--surface); font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.1; }
.prices__table tbody th small { font-family: var(--sans); }
.prices__table td { font-weight: 800; font-size: 17px; white-space: nowrap; }
.prices__table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 700px) {
  .prices__wrap { overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .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: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .prices__table tbody th { position: static; padding: 0 0 8px; border: 0; 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: 600; color: var(--muted); white-space: normal; }
  .prices__table tr td:last-child { border-bottom: 0; padding-bottom: 0; }
}
.notes { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.notes li { display: flex; align-items: center; gap: 10px; }
.notes .i { color: var(--wood); width: 20px; height: 20px; }

/* ---------- Відгуки ---------- */
.reviews { background: var(--surface); }
.score { display: flex; align-items: center; gap: 14px; }
.score b { font-family: var(--serif); font-size: 68px; line-height: 0.9; font-weight: 600; }
.score small { display: block; margin-top: 6px; color: var(--muted); font-weight: 600; font-size: 14px; }
.score .stars .i { width: 20px; height: 20px; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 86%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 14px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
@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 { position: relative; margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 26px; scroll-snap-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review__q { position: absolute; top: 20px; right: 22px; color: var(--wood); opacity: 0.22; }
.review__q .i { width: 40px; height: 40px; }
.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; }
.review__ava { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--cream); font-family: var(--serif); font-size: 22px; font-weight: 600; }
.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: 1.1fr 0.9fr; gap: 64px; align-items: center; } }
.loc__map { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow); }
.loc__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(0.85); }
.loc__addr { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 26px; font-weight: 700; }
.loc__addr .i { margin-top: 3px; color: var(--wood); }
.ways { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 18px; }
.ways li { display: flex; gap: 14px; }
.ways__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-2); color: var(--wood); }
.ways b { display: block; }
.ways small { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.nearby { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); }
.nearby li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.nearby b { white-space: nowrap; }

/* ---------- Питання ---------- */
.faq { background: var(--surface); }
.faq__grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: 0.82fr 1.18fr; gap: 64px; } .faq__head { position: sticky; top: calc(var(--hdr-h) + var(--demo-h) + 24px); align-self: start; } }
.rules { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.rules li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.rules .i { color: var(--wood); }
.rules span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.rules b { font-size: 17px; color: var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 17.5px; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform 0.35s var(--ease), background-color 0.2s; }
.qa__icon .i { width: 18px; height: 18px; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--bg-2); }
.qa .prose { padding: 0 0 24px; max-width: 64ch; }

/* ---------- Заклик ---------- */
.cta { position: relative; isolation: isolate; padding-block: clamp(100px, 14vw, 190px); color: #fff; text-align: center; }
.cta__media { position: absolute; inset: 0; z-index: -2; background: var(--forest); }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(12, 18, 14, 0.5), rgba(12, 18, 14, 0.78)); }
.cta__inner { max-width: 900px; }
.cta__title { font-size: clamp(40px, 5.8vw, 76px); }
.cta__lead { max-width: 52ch; margin: 0 auto 34px; font-size: 18px; color: rgba(255, 255, 255, 0.86); }
.cta__points { list-style: none; margin: 0 auto 34px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: rgba(255, 255, 255, 0.9); font-size: 15.5px; font-weight: 600; }
.cta__points li { display: inline-flex; align-items: center; gap: 8px; }
.cta__points .i { width: 18px; height: 18px; color: var(--gold); }
.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: 30px; }
@media (max-width: 520px) { .cta__actions .btn { width: 100%; } }

/* ---------- Підвал ---------- */
.footer { background: var(--forest-deep); color: rgba(246, 241, 232, 0.8); padding: 76px 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: var(--cream); }
.footer__brand p { max-width: 40ch; margin: 18px 0 0; font-size: 15px; }
.footer h3 { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.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__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: 56px; padding-top: 24px; border-top: 1px solid rgba(246, 241, 232, 0.12); font-size: 13.5px; color: rgba(246, 241, 232, 0.55); }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--cream); }

/* ---------- Нижня панель на телефоні ---------- */
.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: 8px 8px 8px 10px; border-radius: 22px; background: rgba(255, 252, 247, 0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(15, 20, 16, 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: 16px; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color 0.2s; }
.mbar__dates:active { background: var(--bg-2); }
.mbar__ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--wood-ink); }
.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: 800; }
/* Текст ніколи не заходить під «Забронювати»: якщо «за ніч» не вміщається, воно переноситься на другий,
   прихований рядок і зникає; а що не влазить і тоді — обрізається «…» */
.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; } }
@media (min-width: 960px) { .mbar { display: none; } }
/* Поки відкрите вікно чи меню, панель ховається. + --sbw — щоб вона не стрибала вбік, коли зникає смуга прокрутки */
html:has(dialog[open]) .mbar, .menu-open .mbar { right: calc(12px + var(--sbw, 0px)); transform: translateY(160%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s; }
@media (max-width: 374px) { html:has(dialog[open]) .mbar, .menu-open .mbar { right: calc(8px + var(--sbw, 0px)); } }

/* ---------- Вікна ---------- */
.modal { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); }
.modal[open] { display: flex; align-items: flex-end; justify-content: center; }
/* Без розмиття тла: на слабких телефонах воно гальмує появу вікна */
.modal::backdrop { background: rgba(14, 18, 15, 0.6); }
.modal__box { position: relative; width: 100%; max-height: 94dvh; overflow: auto; overscroll-behavior: contain; background: var(--surface); border-radius: 26px 26px 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; }
  .modal__box { max-width: 640px; max-height: min(900px, calc(100dvh - 48px)); border-radius: 26px; 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: 26px; }
  .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(29, 26, 21, 0.2) padding-box; }
  .modal__box::-webkit-scrollbar-thumb:hover, .modal__body::-webkit-scrollbar-thumb:hover { background-color: rgba(29, 26, 21, 0.36); }
  @supports not selector(::-webkit-scrollbar) {
    .modal__box, .modal__body, .pick__list { scrollbar-width: thin; scrollbar-color: rgba(29, 26, 21, 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, 252, 247, 0.95); 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 { padding: 28px 22px 12px; }
.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: var(--surface); 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; }
.features .i { width: 18px; height: 18px; color: var(--moss); }
.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: 700; }
.ptable td { text-align: right; font-weight: 800; 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; } }
.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 14px; border: 1px solid rgba(29, 26, 21, 0.2); border-radius: 14px; 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(--forest); box-shadow: 0 0 0 3px rgba(30, 51, 40, 0.13); }
.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 14px; border: 1px solid rgba(29, 26, 21, 0.2); border-radius: 14px; 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(29, 26, 21, 0.4); }
.dates:focus-visible { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(30, 51, 40, 0.13); }
.dates .i { width: 20px; height: 20px; color: var(--wood); }
.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 14px; border: 1px solid rgba(29, 26, 21, 0.2); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.pick__btn:hover { border-color: rgba(29, 26, 21, 0.4); }
.pick__btn:focus-visible { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(30, 51, 40, 0.13); }
.pick.is-open .pick__btn { border-color: rgba(29, 26, 21, 0.42); }
.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: 18px; background: #fff; box-shadow: 0 26px 50px -22px rgba(15, 20, 16, 0.5), 0 0 0 1px rgba(29, 26, 21, 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); } }
.pick__opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 13px; cursor: pointer; transition: background-color 0.15s; }
.pick__opt.is-active { background: var(--bg); }
.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(--forest); opacity: 0; transition: opacity 0.15s; }
.pick__opt[aria-selected="true"] > .i { opacity: 1; }
.pick__opt[aria-selected="true"] b { color: var(--forest); }

/* Лічильник гостей «− 2 +» */
.step { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 52px; padding: 6px; border: 1px solid rgba(29, 26, 21, 0.2); border-radius: 14px; background: #fff; }
.step__btn { flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: var(--bg); 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: 800; 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(--bg); box-shadow: inset 0 0 0 1px rgba(29, 26, 21, 0.06); }
.dates[aria-expanded="true"] { border-color: rgba(29, 26, 21, 0.42); }
.book__cal .day:hover:not(:disabled):not([aria-disabled="true"]):not(.is-in):not(.is-out) { background: var(--surface); }
.book__cal .cal__title { font-size: 23px; }
/* У формі клітинки не квадратні: на широкому вікні календар не розтягує форму */
.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: 14px; background: #fbede6; 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; } }
/* Дуже вузько (вузька панель браузера на компʼютері): гості й імʼя — кожне на всю ширину,
   а у вікні будиночка кнопка «Забронювати» переходить під ціну */
@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: 16px; background: var(--bg); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.book__quote b { font-size: 22px; font-weight: 800; color: var(--ink); }
.book__quote em { font-style: normal; font-weight: 700; color: var(--muted); }
.book__quote.is-warn { background: #fbede6; 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: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #e5efe6; color: #2f6b43; }
.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: 14px; background: var(--bg); 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; }
.boot { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--forest); color: var(--cream); font-family: var(--serif); font-size: 24px; }
.boot__mark { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(246, 241, 232, 0.4); display: grid; place-items: center; animation: pulse 1.6s ease-in-out infinite; }
.boot__mark svg { width: 30px; height: 30px; }
@keyframes pulse { 50% { opacity: 0.45; 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__inner > *, .js .quick-wrap { animation: none; }
}
