/* =========================================================
   Божественна баня — «ніч і вогонь»
   Шрифти: Yeseva One (заголовки) + Alegreya Sans (текст) + Alegreya Italic (цитати)
   ========================================================= */
:root {
  --coal: #1C1714;        /* фон — обвуглене дерево */
  --wood: #2A221D;        /* секції */
  --wood-2: #342a23;
  --flame: #E0893A;       /* акцент — полум'я */
  --flame-hi: #FFC07A;
  --flame-lo: #B4521C;
  --ash: #F2E8DC;         /* текст */
  --muted: #B9A893;       /* другорядний текст */
  --line: rgba(242, 232, 220, .1);
  --line-2: rgba(242, 232, 220, .18);
  --glow: rgba(224, 137, 58, .35);

  --f-display: "Yeseva One", Georgia, serif;
  --f-body: "Alegreya Sans", system-ui, sans-serif;
  --f-quote: "Alegreya", Georgia, serif;

  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(52px, 6vw, 84px);
  --r: 18px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  isolation: isolate;
  margin: 0;
  background: var(--coal);
  color: var(--ash);
  font: 400 18px/1.55 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--flame); color: var(--coal); }

.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--flame); color: var(--coal); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.kicker { margin: 0 0 12px; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--flame); font-weight: 500; }
.h2 {
  margin: 0;
  font: 400 clamp(34px, 5.2vw, 68px)/1.02 var(--f-display);
  letter-spacing: -.01em;
}
.h2 em, .hero__title em, .book__title em { font-style: normal; color: var(--flame); }

/* ---------- кнопки ---------- */
.btn {
  --bh: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 24px; border-radius: 999px;
  font-weight: 500; font-size: 17px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn--lg { --bh: 56px; padding: 0 30px; font-size: 18px; }
.btn--fire {
  color: #241710;
  background: linear-gradient(120deg, #F2A45A, var(--flame) 45%, #C9622A);
  box-shadow: 0 8px 30px -10px rgba(224, 137, 58, .7), inset 0 1px 0 rgba(255, 230, 200, .5);
  isolation: isolate; overflow: hidden;
}
/* живий відблиск, що пробігає по кнопці */
.btn--fire::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 240, 215, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--fire > span { position: relative; }
.btn--fire:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(224, 137, 58, .85), inset 0 1px 0 rgba(255, 230, 200, .5); }
.btn--fire:hover::after { transform: translateX(120%); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ash); background: rgba(242, 232, 220, .03); }
.btn--ghost:hover { border-color: var(--flame); color: var(--flame-hi); background: rgba(224, 137, 58, .08); }
.btn:active { transform: translateY(0) scale(.98); }

.link-arrow { color: var(--flame); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .3s; }
.link-arrow:hover { border-color: currentColor; }
.stars { color: var(--flame); letter-spacing: .08em; }
.stars--lg { font-size: 26px; }

/* =========================================================
   ПРЕЛОАДЕР — банний термометр
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  background: radial-gradient(60% 50% at 50% 60%, #2c1f17 0%, var(--coal) 70%);
}
.loader.is-done { pointer-events: none; }
.loader__dial { position: relative; width: min(220px, 56vw); aspect-ratio: 1; }
.dial { width: 100%; height: 100%; overflow: visible; }
.dial__ring { fill: #241c17; stroke: var(--line-2); stroke-width: 1.5; }
.dial__track { fill: none; stroke: rgba(242, 232, 220, .08); stroke-width: 6; stroke-linecap: round; }
.dial__heat { fill: none; stroke: url(#dialGrad); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(224, 137, 58, .8)); }
.dial__ticks line { stroke: var(--muted); stroke-width: 1.2; opacity: .5; }
.dial__needle { transform-origin: 100px 100px; transform: rotate(-135deg); }
.dial__needle line { stroke: var(--flame); stroke-width: 3; stroke-linecap: round; }
.dial__needle circle { fill: var(--flame); }
.loader__temp { position: absolute; inset: auto 0 14% 0; text-align: center; font: 400 clamp(30px, 8vw, 40px)/1 var(--f-display); }
.loader__temp sup { font-size: .45em; color: var(--flame); margin-left: 2px; }
.loader__label { margin: 0; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.dots i { font-style: normal; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

/* =========================================================
   КУРСОР — жарина з іскрами
   ========================================================= */
.sparks, .ember { display: none; }
@media (hover: hover) and (pointer: fine) {
  .sparks { display: block; position: fixed; inset: 0; z-index: 400; pointer-events: none; width: 100vw; height: 100vh; }
  .ember {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 401; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: radial-gradient(circle, #fff3d6 0 20%, var(--flame-hi) 40%, var(--flame) 70%);
    box-shadow: 0 0 12px 3px rgba(224, 137, 58, .7), 0 0 28px 6px rgba(224, 137, 58, .25);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, box-shadow .35s, opacity .3s;
    will-change: transform;
  }
  .ember.is-hot {
    width: 54px; height: 54px; margin: -27px 0 0 -27px;
    background: radial-gradient(circle, rgba(255, 200, 140, .32), rgba(224, 137, 58, .12) 60%, transparent 72%);
    box-shadow: 0 0 0 1px rgba(224, 137, 58, .55), 0 0 30px 4px rgba(224, 137, 58, .25);
  }
  .ember.is-view { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: rgba(28, 23, 20, .72); box-shadow: 0 0 0 1px var(--flame), 0 0 30px rgba(224, 137, 58, .35); backdrop-filter: blur(3px); }
  .ember__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--flame-hi); opacity: 0; transition: opacity .25s; }
  .ember.is-view .ember__label { opacity: 1; }
  .ember.is-hidden { opacity: 0; }
  body.has-ember, body.has-ember a, body.has-ember button, body.has-ember label { cursor: none; }
  body.has-ember input, body.has-ember textarea, body.has-ember select { cursor: auto; }
}

/* =========================================================
   ШАПКА + МЕНЮ — логотип по центру
   ========================================================= */
.top {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 0 var(--gut);
  transition: background-color .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: var(--coal); border-color: var(--line); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ash); }
.top .brand { flex-direction: column; gap: 2px; text-align: center; }
.top .brand__mark { width: 30px; height: 30px; }
.top .brand__word { align-items: center; font-size: 20px; }
.brand__mark { width: 40px; height: 40px; flex: none; color: var(--ash); }
.brand__word { display: flex; flex-direction: column; font: 400 21px/1 var(--f-display); }
.brand__word small { font: 500 10px/1.4 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.top__nav { display: flex; gap: clamp(14px, 2vw, 28px); justify-self: start; }
.top__nav a { position: relative; padding: 6px 0; color: var(--muted); transition: color .3s; font-size: 17px; }
.top__nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--flame); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease); box-shadow: 0 0 8px var(--flame); }
.top__nav a:hover, .top__nav a.is-active { color: var(--ash); }
.top__nav a:hover::after, .top__nav a.is-active::after { transform: translateX(-50%) scale(1); }
.top__right { justify-self: end; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); }
.top__phone { font-weight: 500; letter-spacing: .02em; }
.top__phone:hover { color: var(--flame-hi); }
.top__cta { --bh: 44px; padding: 0 20px; font-size: 16px; }

.burger { display: block; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; z-index: 120; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ash); transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; right: 20px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* меню відкривається колом жару з кнопки */
.menu {
  position: fixed; inset: 0; z-index: 99; overflow: hidden auto;
  padding: calc(var(--header-h) + 28px) var(--gut) calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(70% 60% at 85% 100%, rgba(224, 137, 58, .32), transparent 60%),
    radial-gradient(50% 40% at 0% 0%, rgba(255, 192, 122, .12), transparent 70%),
    linear-gradient(160deg, #241c17, var(--coal) 60%);
  clip-path: circle(0 at var(--mx, calc(100% - 40px)) var(--my, 36px));
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu.is-open { clip-path: circle(150% at var(--mx, calc(100% - 40px)) var(--my, 36px)); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu__glow { position: absolute; inset: auto -20% -30% -20%; height: 70%; background: radial-gradient(50% 50% at 50% 70%, rgba(224, 137, 58, .35), transparent 70%); pointer-events: none; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; transform: scale(1.06); } }
.menu__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 80px); max-width: 1280px; margin: 0 auto; min-height: 100%; align-items: center; }
.menu__list { display: flex; flex-direction: column; }
.menu__list a {
  position: relative; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(40px);
  transition: opacity .5s, transform .6s var(--ease), color .3s, padding .4s var(--ease);
}
.menu__list a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--flame), #fff 60%, transparent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.menu__list a > span { display: grid; font: 400 clamp(34px, 5.4vw, 60px)/1.05 var(--f-display); }
.menu__list a small { font: 400 15px/1.3 var(--f-body); color: var(--muted); margin-top: 4px; }
.menu__list a em { font: 500 15px/1 var(--f-body); color: var(--flame); font-style: normal; letter-spacing: .05em; }
.menu__list a:hover, .menu__list a:focus-visible { padding-left: 14px; }
.menu__list a:hover > span, .menu__list a:focus-visible > span { background: linear-gradient(100deg, #fff, var(--flame-hi) 50%, var(--flame)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu__list a:hover::before { transform: scaleX(1); }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open .menu__list a:nth-child(1) { transition-delay: .18s; } .menu.is-open .menu__list a:nth-child(2) { transition-delay: .24s; }
.menu.is-open .menu__list a:nth-child(3) { transition-delay: .3s; } .menu.is-open .menu__list a:nth-child(4) { transition-delay: .36s; }
.menu.is-open .menu__list a:nth-child(5) { transition-delay: .42s; }
.menu__side { display: grid; gap: 20px; opacity: 0; transform: translateY(30px); transition: opacity .6s .35s, transform .8s .35s var(--ease); }
.menu.is-open .menu__side { opacity: 1; transform: none; }
.menu__pic { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); }
.menu__pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform 1.2s var(--ease); }
.menu__pic img.is-swap { opacity: 0; transform: scale(1.06); }
.menu__pic figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--coal); font-size: 14px; font-weight: 500; }
.menu__contacts { display: grid; gap: 10px; justify-items: start; }
.menu__phone { font: 400 clamp(30px, 3vw, 40px)/1 var(--f-display); color: #fff; }
.menu__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.btn--wide { width: 100%; }
@media (max-width: 900px) {
  .menu__grid { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .menu__pic { display: none; }
  .menu__list a { grid-template-columns: 44px 1fr; padding: 11px 0; }
  .menu__list a small { font-size: 14px; }
}

@media (max-width: 1080px) {
  .top { grid-template-columns: 1fr auto; }
  .top__nav { display: none; }
  .top .brand { flex-direction: row; gap: 10px; text-align: left; justify-self: start; }
  .top .brand__word { align-items: start; }
  .burger { display: block; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .top__phone, .top__cta { display: none; }
  .top .brand__word { font-size: 19px; }
}

/* =========================================================
   HERO — 3D-логотип із жаринок (без фото)
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
  padding: calc(var(--header-h) + 32px) var(--gut) clamp(32px, 5vw, 64px);
  background: transparent;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 55% at 72% 60%, rgba(224, 137, 58, .22), transparent 70%),
    radial-gradient(60% 50% at 10% 110%, rgba(180, 82, 28, .28), transparent 70%),
    linear-gradient(180deg, rgba(42, 34, 29, .6), transparent 40%);
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: drift 14s ease-in-out infinite alternate; }
.hero__orb--1 { width: 38vw; height: 38vw; right: 8vw; top: 18vh; background: radial-gradient(circle, rgba(224, 137, 58, .5), transparent 65%); }
.hero__orb--2 { width: 26vw; height: 26vw; left: -6vw; bottom: -8vw; background: radial-gradient(circle, rgba(255, 192, 122, .35), transparent 65%); animation-duration: 18s; }
@keyframes drift { to { transform: translate(-4vw, 3vh) scale(1.12); } }
.hero__hint { position: absolute; right: var(--gut); top: calc(var(--header-h) + 24px); margin: 0; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero__hint::before { content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--flame); }

.hero__content { max-width: 900px; min-width: 0; position: relative; z-index: 1; }
.rating {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; margin-bottom: 22px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(42, 34, 29, .6);
  font-size: 15px; color: var(--ash); transition: border-color .3s;
}
.rating b { display: grid; place-items: center; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--flame); color: var(--coal); font-size: 15px; }
.rating:hover { border-color: var(--flame); }
.hero__title { margin: 0; font: 400 clamp(44px, 7.4vw, 116px)/.94 var(--f-display); letter-spacing: -.015em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .ln > span { display: inline-block; }
.hero__row { display: flex; align-items: flex-end; gap: 28px 40px; flex-wrap: wrap; margin-top: 22px; }
.hero__lead { max-width: 440px; margin: 0; color: rgba(242, 232, 220, .82); font-size: clamp(17px, 1.4vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.steam-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--flame-hi); stroke-width: 1.7; stroke-linecap: round; }
.steam-btn.is-puff svg { animation: puff .9s var(--ease); }
@keyframes puff { 40% { transform: translateY(-5px) scale(1.15); } }

.hero__facts { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 2px; position: relative; z-index: 1; }
.hero__facts li { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); min-width: 280px; }
.hero__facts b { font: 400 30px/1 var(--f-display); background: linear-gradient(180deg, #fff, var(--flame-hi) 50%, var(--flame)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__facts span { color: var(--muted); font-size: 15px; line-height: 1.3; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-content: end; gap: 22px; padding-bottom: 28px; padding-top: calc(var(--header-h) + 34vh); }
  .hero__hint { display: none; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero__facts li { min-width: 0; grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .hero__facts b { font-size: 24px; }
  .hero__facts span { font-size: 13px; }
  .hero__orb--1 { width: 80vw; height: 80vw; right: -10vw; top: 6vh; }
}
@media (max-width: 480px) {
  .hero__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__actions .btn { width: 100%; padding: 0 14px; font-size: 16px; }
  .hero__actions .btn:first-child { grid-column: 1 / -1; }
  .rating { font-size: 13px; margin-bottom: 16px; }
  .hero__row { margin-top: 16px; gap: 20px; }
}

/* =========================================================
   СТРІЧКА
   ========================================================= */
.strip { overflow: hidden; border-block: 1px solid var(--line); background: var(--wood); padding: 16px 0; }
.strip__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.strip span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 400 clamp(18px, 2vw, 24px)/1 var(--f-display); color: var(--ash); white-space: nowrap; }
.strip span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 10px var(--flame); }
.strip:hover .strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   РИТУАЛ — горизонтальна стрічка з кривою температури
   ========================================================= */
.ritual { position: relative; padding-block: var(--sec) calc(var(--sec) - 16px); overflow: hidden; }
.ritual__pin { position: relative; }
.ritual__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-inline: var(--gut); width: 100%; max-width: 1280px; margin-inline: auto; }
.ritual__progress { flex: 0 0 180px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.ritual__progress span { display: block; height: 100%; width: 0; background: var(--flame); box-shadow: 0 0 10px var(--flame); }
.ritual__curve { display: block; width: 100%; height: 70px; margin: 14px 0 -30px; overflow: visible; }
.curve__bg { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.curve__fg { fill: none; stroke: var(--flame); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(224, 137, 58, .8)); }
.ritual__track {
  list-style: none; margin: 0; padding: 0 var(--gut);
  display: flex; gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.ritual__track::-webkit-scrollbar { display: none; }
.step {
  position: relative; flex: 0 0 min(86vw, 560px); scroll-snap-align: start;
  display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
  padding: 26px 26px 0; border-radius: 26px; overflow: hidden;
  background: linear-gradient(170deg, var(--wood-2), var(--wood) 60%);
  border: 1px solid var(--line);
}
.step__t { font: 400 clamp(60px, 7vw, 96px)/.9 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px var(--flame); }
.step__n { margin: 0 0 6px; color: var(--flame); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.step h3 { margin: 0 0 8px; font: 400 clamp(24px, 2.4vw, 30px)/1.1 var(--f-display); }
.step p { margin: 0; color: var(--muted); }
.step__pic { margin: 0 -26px; aspect-ratio: 16 / 9; overflow: hidden; }
.step__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__pic img { transform: scale(1.05); }
.step--final { justify-content: start; align-content: start; padding-bottom: 26px; background: radial-gradient(80% 60% at 50% 100%, rgba(224, 137, 58, .3), transparent 70%), var(--wood); }
.step--final .btn { margin-top: 22px; }
.step--final .step__t { -webkit-text-stroke: 0; color: var(--flame); text-shadow: 0 0 30px rgba(224, 137, 58, .6); }

/* десктоп: стрічка прикріплюється і гортається горизонтально (GSAP) */
@media (min-width: 1000px) {
  .ritual.is-pinned { padding-block: 0; }
  .ritual.is-pinned .ritual__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 8px); }
  .ritual.is-pinned .ritual__track { overflow: visible; width: max-content; scroll-snap-type: none; }
  .ritual.is-pinned .step { flex-basis: 480px; }
  .ritual.is-pinned .step--final { flex-basis: 400px; }
}
@media (max-width: 640px) {
  .ritual__progress { display: none; }
  .ritual__curve { height: 50px; margin-bottom: -20px; }
  .step { padding: 22px 20px 0; }
  .step__pic { margin: 0 -20px; }
}

/* =========================================================
   ПРОСТІР — розсувні панелі з хотспотами
   ========================================================= */
.space { padding-block: var(--sec); background: rgba(42, 34, 29, .62); }
.space__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.space__head .h2 em { font-style: normal; color: var(--flame); }
.space__head p { max-width: 340px; margin: 0; }
.rooms { display: flex; gap: 10px; height: clamp(440px, 64vh, 640px); padding-inline: var(--gut); max-width: 1440px; margin-inline: auto; }
.room {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: 22px; overflow: hidden;
  transition: flex-grow .8s var(--ease);
  background: var(--coal);
}
.room.is-open { flex-grow: 5; }
.room picture, .room img { position: absolute; inset: 0; width: 100%; height: 100%; }
.room img { object-fit: cover; transform: scale(1.08); filter: saturate(.7) brightness(.55); transition: transform 1.2s var(--ease), filter .8s; }
.room.is-open img { transform: scale(1); filter: none; }
.room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 16, 14, .85), transparent 45%); pointer-events: none; }
.room__tab {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 22px 0; color: var(--ash); transition: opacity .4s;
}
.room__no { font: 400 18px/1 var(--f-display); color: var(--flame); }
.room__name { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 24px/1 var(--f-display); white-space: nowrap; }
.room.is-open .room__tab { opacity: 0; pointer-events: none; }
.room__info { position: absolute; left: 26px; bottom: 22px; z-index: 2; max-width: 420px; opacity: 0; transform: translateY(16px); transition: opacity .5s .2s, transform .6s .2s var(--ease); }
.room.is-open .room__info { opacity: 1; transform: none; }
.room__info h3 { margin: 0 0 4px; font: 400 clamp(28px, 3vw, 40px)/1 var(--f-display); }
.room__info p { margin: 0; color: var(--muted); }

.spot {
  position: absolute; left: var(--x); top: var(--y); z-index: 3;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  opacity: 0; transform: scale(.4); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease);
}
.room.is-open .spot { opacity: 1; transform: none; pointer-events: auto; transition-delay: .45s; }
.spot::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 4px rgba(224, 137, 58, .3), 0 0 16px var(--flame); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--flame); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.spot span {
  position: absolute; left: 50%; bottom: calc(100% + 10px); width: max-content; max-width: 220px;
  padding: 10px 14px; border-radius: 12px; font-size: 15px; line-height: 1.3; text-align: left;
  background: rgba(28, 23, 20, .92); border: 1px solid rgba(224, 137, 58, .5); color: var(--ash);
  transform: translate(-50%, 6px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.spot:hover span, .spot:focus-visible span, .spot.is-on span { opacity: 1; transform: translate(-50%, 0); }
.spot--r span { left: auto; right: -6px; transform: translate(0, 6px); }
.spot--l span { left: -6px; transform: translate(0, 6px); }
.spot--r:hover span, .spot--r.is-on span, .spot--r:focus-visible span,
.spot--l:hover span, .spot--l.is-on span, .spot--l:focus-visible span { transform: none; }

@media (max-width: 760px) {
  .space__head { flex-direction: column; align-items: start; }
  .rooms { flex-direction: column; height: auto; gap: 8px; }
  .room { flex: none; height: 72px; transition: height .7s var(--ease); }
  .room.is-open { height: min(118vw, 520px); }
  .room__tab { flex-direction: row; justify-content: start; gap: 16px; padding: 0 20px; }
  .room__name { writing-mode: horizontal-tb; transform: none; font-size: 22px; }
  .room__info { left: 18px; right: 18px; bottom: 16px; }
  .spot span { max-width: 180px; font-size: 14px; }
}

/* =========================================================
   ПІСОЧНИЙ ГОДИННИК
   ========================================================= */
.sand { padding-block: var(--sec); overflow: hidden; }
.sand__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.glass { position: relative; width: clamp(180px, 20vw, 270px); }
.glass::before { content: ""; position: absolute; inset: 10% -30%; background: radial-gradient(closest-side, rgba(224, 137, 58, .28), transparent); z-index: -1; }
.glass__svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.glass__bulb { fill: rgba(242, 232, 220, .04); stroke: rgba(242, 232, 220, .35); stroke-width: 1.5; }
.glass__shine { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 3; stroke-linecap: round; }
#sandStream { animation: stream .5s linear infinite; }
@keyframes stream { to { stroke-dashoffset: -8; } }
.glass__clock { position: absolute; right: -18%; bottom: 30%; display: grid; padding: 12px 16px; border-radius: 16px; background: rgba(28, 23, 20, .85); border: 1px solid rgba(224, 137, 58, .45); }
.glass__clock span { font: 400 34px/1 var(--f-display); color: var(--flame); font-variant-numeric: tabular-nums; }
.glass__clock small { font-size: 13px; color: var(--muted); }
.sand__quote { margin: 0; font: 400 clamp(32px, 4.6vw, 64px)/1.12 var(--f-display); letter-spacing: -.01em; }
.sand__quote em { font-style: normal; color: var(--flame); }
.sand__quote .word { display: inline-block; }
.sand__by { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; font: italic 400 19px/1.3 var(--f-quote); color: var(--muted); }
.sand__by .card__ava { width: 40px; height: 40px; font-size: 18px; font-style: normal; }
.sand__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 32px; border-radius: 18px; overflow: hidden; background: var(--line-2); border: 1px solid var(--line-2); }
.sand__facts div { display: grid; gap: 4px; align-content: start; padding: 18px 20px; background: var(--coal); }
.sand__facts b { font: 400 30px/1 var(--f-display); color: var(--ash); }
.sand__facts span { color: var(--muted); font-size: 15px; line-height: 1.3; }
@media (max-width: 760px) {
  .sand__grid { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .sand__text { width: 100%; }
  .glass { width: 150px; margin-right: 90px; }
  .glass__clock { right: -95px; }
  .sand__facts { grid-template-columns: 1fr; }
  .sand__facts div { grid-template-columns: 90px 1fr; align-items: center; padding: 14px 16px; }
  .sand__facts b { font-size: 26px; }
}

/* =========================================================
   ЦІНИ — «дерев'яна табличка»
   ========================================================= */
.prices { padding-block: var(--sec); background: rgba(42, 34, 29, .62); }
.prices__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.prices__intro { display: flex; flex-direction: column; }
.prices__pic { position: relative; flex: 1 1 auto; min-height: 220px; margin: 22px 0 0; border-radius: 24px; overflow: hidden; }
.prices__pic picture, .prices__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.prices__pic img { object-fit: cover; }
.prices__pic figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(28, 23, 20, .85); font-size: 15px; border: 1px solid var(--line-2); }
.prices__intro p { margin: 18px 0 0; max-width: 440px; }
.incl { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.incl li { padding: 8px 14px 8px 32px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 9px; height: 5px; border: solid var(--flame); border-width: 0 0 2px 2px; transform: translateY(-70%) rotate(-45deg); }
.prices__intro .note { font-size: 14px; color: var(--muted); opacity: .85; margin: 16px 0 0; }
.plank {
  position: relative; overflow: hidden; padding: clamp(22px, 3vw, 40px);
  border-radius: 28px; background: linear-gradient(165deg, #3a2e26, var(--coal));
  border: 1px solid var(--line);
}
/* світіння рамки, що йде за курсором */
.plank::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--gx, 70%) var(--gy, 0%), var(--flame), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.plank__glow { position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 137, 58, .25), transparent 70%); pointer-events: none; }
.plank__h { position: relative; margin: 0 0 6px; font: 400 26px/1.2 var(--f-display); color: var(--flame); }
.plank__h + .menu-list { margin-bottom: 26px; }
.menu-list { position: relative; margin: 0; }
.menu-list div { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line-2); }
.menu-list dt { font-size: 18px; }
.menu-list dt small { display: block; color: var(--muted); font-size: 14px; }
.menu-list div::after { content: none; }
.menu-list dd { margin: 0 0 0 auto; font: 400 20px/1 var(--f-display); color: var(--ash); white-space: nowrap; }
.plank__btns { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
@media (max-width: 480px) { .plank__btns { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .prices__grid { grid-template-columns: 1fr; } .prices__pic { flex: none; min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 420px) { .menu-list dt { font-size: 16px; } .menu-list dd { font-size: 17px; } }

/* =========================================================
   ВІДГУКИ — колода
   ========================================================= */
.reviews { padding-block: var(--sec); position: relative; overflow: hidden; }
.reviews::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; right: -10vw; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(224, 137, 58, .14), transparent 65%); pointer-events: none; }
.reviews__grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px clamp(28px, 5vw, 80px); align-items: center; }
.score { display: flex; align-items: center; gap: 18px; margin: 26px 0 26px; }
.score__num { font: 400 clamp(72px, 9vw, 120px)/.85 var(--f-display); color: var(--flame); text-shadow: 0 0 50px rgba(224, 137, 58, .4); }
.score p { margin: 6px 0 0; font-size: 16px; }
.deck-ctrl { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color .3s, background-color .3s; }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ash); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { border-color: var(--flame); background: rgba(224, 137, 58, .12); }
.deck-count { font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.deck-count b { font: 400 26px/1 var(--f-display); color: var(--ash); }

.deck { position: relative; height: var(--deck-h, 440px); perspective: 1400px; touch-action: pan-y; margin-top: 14px; }
.card {
  position: absolute; inset: 44px 0 auto; margin-inline: auto; width: min(100%, 560px); min-height: var(--card-h, 360px);
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(22px, 3vw, 36px); border-radius: 28px;
  background: linear-gradient(160deg, rgba(58, 46, 38, .97), rgba(36, 29, 25, .98));
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8);
  transform-origin: 50% 120%;
  user-select: none; -webkit-user-select: none;
  will-change: transform;
  transition: transform .6s var(--ease), opacity .5s, filter .5s;
}
.card.is-top { cursor: grab; }
.card.is-drag { transition: none; cursor: grabbing; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(224, 137, 58, .9), transparent 35%, transparent 70%, rgba(224, 137, 58, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
}
.card.is-top::before { opacity: 1; }
.card__mark { position: absolute; right: 26px; top: 6px; font: 400 140px/1 var(--f-display); color: rgba(224, 137, 58, .14); pointer-events: none; }
.card__who { display: flex; align-items: center; gap: 14px; }
.card__ava { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 400 22px/1 var(--f-display); color: var(--coal); background: var(--av, var(--flame)); }
.card__name { font-weight: 700; font-size: 18px; line-height: 1.2; }
.card__meta { font-size: 14px; color: var(--muted); }
.card__rate { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.card__text { margin: 0; font: italic 400 clamp(18px, 1.6vw, 21px)/1.5 var(--f-quote); color: var(--ash); }
.card__tag { margin-top: auto; align-self: start; padding: 6px 12px; border-radius: 999px; background: rgba(224, 137, 58, .12); color: var(--flame-hi); font-size: 14px; }
.deck-hint { grid-column: 2; margin: 0; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .deck-hint { grid-column: 1; }
  .reviews__score { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; }
  .reviews__score .h2, .score { grid-column: 1 / -1; }
  .score { margin: 18px 0 8px; }
  .deck-ctrl { margin: 0; order: 3; }
  .reviews__score .link-arrow { order: 2; }
}
@media (max-width: 520px) {
  .card__mark { font-size: 100px; }
}

/* =========================================================
   FAQ — акордеон
   ========================================================= */
.faq { padding-block: var(--sec); background: rgba(42, 34, 29, .62); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; justify-items: start; gap: 18px; }
.faq__side p { margin: 0; }
.acc { border-top: 1px solid var(--line-2); }
.acc__item { border-bottom: 1px solid var(--line-2); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  padding: 22px 0; font: 400 clamp(20px, 2vw, 24px)/1.25 var(--f-display); transition: color .3s;
}
.acc__q:hover { color: var(--flame-hi); }
.acc__q i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .3s, border-color .3s; }
.acc__q i::before, .acc__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.acc__q i::after { transform: rotate(90deg); }
.acc__q[aria-expanded="true"] i { transform: rotate(180deg); background: var(--flame); border-color: var(--flame); color: var(--coal); }
.acc__q[aria-expanded="true"] i::after { transform: rotate(0); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p { margin: 0; padding: 0 56px 24px 0; color: var(--muted); opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s var(--ease); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__item.is-open .acc__a p { opacity: 1; transform: none; transition-delay: .1s; }
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .acc__a p { padding-right: 0; }
}

/* =========================================================
   КОНТАКТИ
   ========================================================= */
.contacts { padding-block: var(--sec); }
.contacts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.contacts__card { padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: radial-gradient(90% 70% at 0% 100%, rgba(224, 137, 58, .22), transparent 60%), var(--wood); border: 1px solid var(--line); }
.big-phone { display: inline-block; margin: 22px 0 8px; font: 400 clamp(34px, 4.6vw, 60px)/1 var(--f-display); color: var(--flame); transition: text-shadow .3s; }
.big-phone:hover { text-shadow: 0 0 30px rgba(224, 137, 58, .6); }
.facts { list-style: none; margin: 18px 0 26px; padding: 0; }
.facts li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts span { flex: 0 0 96px; color: var(--muted); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; padding-top: 2px; }
.contacts__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.map { position: relative; min-height: 420px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 137, 58, .25), transparent 35%),
    repeating-linear-gradient(32deg, transparent 0 46px, rgba(242, 232, 220, .05) 46px 48px),
    repeating-linear-gradient(-58deg, transparent 0 70px, rgba(242, 232, 220, .05) 70px 73px),
    var(--wood);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) sepia(.35) saturate(1.2) brightness(.9); }
.map__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; }
.map__pin { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--coal); border: 1px solid var(--flame); box-shadow: 0 0 0 10px rgba(224, 137, 58, .1), 0 0 40px rgba(224, 137, 58, .4); color: var(--ash); animation: bob 3s ease-in-out infinite; }
.map__pin svg { width: 50px; height: 50px; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.map__txt { font: 400 24px/1.2 var(--f-display); display: grid; gap: 4px; }
.map__txt small { font: 400 14px/1.3 var(--f-body); color: var(--muted); }
.map__route { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 10px 16px; border-radius: 999px; background: rgba(28, 23, 20, .9); border: 1px solid var(--line-2); font-weight: 500; }
.map__route:hover { border-color: var(--flame); color: var(--flame-hi); }
@media (max-width: 860px) { .contacts__grid { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* ---------- футер + док ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 15px; }
.foot .brand { margin-right: 0; }
.foot p { margin: 0; }
.dock { display: none; }
@media (max-width: 640px) {
  .dock {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border-radius: 999px;
    background: rgba(28, 23, 20, .9); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock__call { display: flex; align-items: center; gap: 8px; padding: 0 18px; min-height: 48px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; }
  .dock__call svg { width: 20px; height: 20px; fill: none; stroke: var(--flame); stroke-width: 1.8; stroke-linejoin: round; }
  .foot { padding-bottom: 96px; }
}

/* =========================================================
   МОДАЛКА БРОНЮВАННЯ
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__veil { position: absolute; inset: 0; background: rgba(12, 9, 8, .72); opacity: 0; transition: opacity .45s; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.is-open .modal__veil { opacity: 1; }
.modal__box {
  position: relative; width: min(1060px, 100%); max-height: calc(100dvh - 32px); overflow: hidden auto; overscroll-behavior: contain;
  border-radius: 30px;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(224, 137, 58, .18), transparent 60%),
    linear-gradient(170deg, rgba(52, 42, 35, .97), rgba(28, 23, 20, .98));
  border: 1px solid rgba(224, 137, 58, .35);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  opacity: 0; transform: translateY(30px) scale(.97);
  transition: opacity .45s, transform .6s var(--ease);
  scrollbar-width: thin; scrollbar-color: var(--flame-lo) transparent;
}
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__x { position: absolute; right: 14px; top: 14px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: rgba(28, 23, 20, .6); transition: transform .4s var(--ease), border-color .3s; }
.modal__x svg { width: 18px; height: 18px; stroke: var(--ash); stroke-width: 2; stroke-linecap: round; }
.modal__x:hover { transform: rotate(90deg); border-color: var(--flame); }

.book { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.book__main { padding: clamp(24px, 3.5vw, 44px); }
.book__title { margin: 0 0 8px; font: 400 clamp(30px, 3.6vw, 44px)/1.05 var(--f-display); padding-right: 40px; }
.fs { border: 0; margin: 26px 0 0; padding: 0; min-width: 0; }
.fs legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font: 400 20px/1.2 var(--f-display); }
.fs legend b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--flame); color: var(--flame); font: 500 14px/1 var(--f-body); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; position: relative; }
.field > span { font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  background: rgba(28, 23, 20, .7); border: 1px solid var(--line-2); color: var(--ash);
  font-size: 17px; transition: border-color .3s, box-shadow .3s;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 3px rgba(224, 137, 58, .2); }
.field input::placeholder, .field textarea::placeholder { color: rgba(185, 168, 147, .55); }
.field .err { display: none; font-style: normal; font-size: 13px; color: #ff9d7a; }
.field.is-bad input { border-color: #ff8a65; }
.field.is-bad .err { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input, .extra input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(28, 23, 20, .5); font-size: 16px;
  transition: background-color .25s, border-color .25s, color .25s;
  cursor: pointer;
}
.chip span:hover { border-color: rgba(224, 137, 58, .6); }
.chip input:checked + span { background: var(--flame); border-color: var(--flame); color: var(--coal); font-weight: 500; }
.chip input:focus-visible + span, .extra input:focus-visible + span { outline: 2px solid var(--flame); outline-offset: 2px; }

.stepper { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stepper button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 22px; line-height: 1; transition: border-color .25s, background-color .25s; }
.stepper button:hover { border-color: var(--flame); background: rgba(224, 137, 58, .12); }
.stepper output { min-width: 52px; text-align: center; font: 400 30px/1 var(--f-display); }
.stepper__hint { margin-left: 10px; color: var(--muted); font-size: 14px; }

.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.extra span {
  display: grid; gap: 2px; padding: 12px 14px 12px 44px; border-radius: 14px; position: relative; height: 100%;
  border: 1px solid var(--line-2); background: rgba(28, 23, 20, .5); cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.extra span::before { content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--muted); transition: background-color .25s, border-color .25s; }
.extra span::after { content: ""; position: absolute; left: 20px; top: 18px; width: 6px; height: 10px; border: solid var(--coal); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.extra b { font-weight: 500; font-size: 16px; }
.extra small { color: var(--muted); font-size: 14px; }
.extra input:checked + span { border-color: var(--flame); background: rgba(224, 137, 58, .1); }
.extra input:checked + span::before { background: var(--flame); border-color: var(--flame); }
.extra input:checked + span::after { transform: rotate(45deg) scale(1); }

.book__sum { padding: clamp(16px, 2.5vw, 28px); border-left: 1px solid var(--line); background: rgba(20, 16, 14, .4); }
.sum { position: sticky; top: 16px; display: grid; gap: 12px; padding-top: 52px; }
.sum__cap { margin: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--flame); }
.sum__when { margin: 0; font: 400 24px/1.2 var(--f-display); }
.sum__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.sum__list li { display: flex; justify-content: space-between; gap: 10px; }
.sum__list li b { color: var(--ash); font-weight: 500; white-space: nowrap; }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-block: 1px dashed var(--line-2); }
.sum__total span { color: var(--muted); }
.sum__total b { font: 400 34px/1 var(--f-display); color: var(--flame); }
.sum__note { margin: 0; font-size: 13px; color: var(--muted); }
.sum__btn { width: 100%; }
.sum__perks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.sum__perks li { padding-left: 22px; position: relative; }
.sum__perks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 8px var(--flame); }

.done { padding: clamp(28px, 5vw, 60px); display: grid; justify-items: center; text-align: center; gap: 14px; }
.done__flame { width: 96px; height: 96px; color: var(--ash); filter: drop-shadow(0 0 22px rgba(224, 137, 58, .6)); animation: bob 3s ease-in-out infinite; }
.done__flame svg { width: 100%; height: 100%; }
.done .muted { max-width: 460px; margin: 0; }
.done__msg { width: min(100%, 520px); margin: 8px 0; padding: 16px 18px; text-align: left; white-space: pre-wrap; border-radius: 16px; background: rgba(20, 16, 14, .6); border: 1px dashed var(--line-2); color: var(--ash); font: 400 15px/1.5 var(--f-body); }
.done__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.done__back { margin-top: 6px; }

@media (max-width: 860px) {
  .modal { padding: 0; place-items: end center; }
  .modal__box { border-radius: 26px 26px 0 0; max-height: 94dvh; transform: translateY(60px); }
  .book { grid-template-columns: 1fr; }
  .book__sum { border-left: 0; border-top: 1px solid var(--line); padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .sum { position: static; padding-top: 0; }
}
@media (max-width: 480px) {
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .extras { grid-template-columns: 1fr 1fr; }
  .extra span { padding: 10px 10px 10px 38px; }
  .extra span::before { left: 11px; } .extra span::after { left: 17px; }
  .chip span { padding: 0 14px; font-size: 15px; }
}

/* ---------- анімації появи ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* курсор над склом — «долоня», що стирає пару */
@media (hover: hover) and (pointer: fine) {
  .ember.is-wipe:not(.is-hot) { width: 120px; height: 120px; margin: -60px 0 0 -60px; background: radial-gradient(circle, rgba(255, 240, 220, .08), transparent 70%); box-shadow: 0 0 0 1px rgba(242, 232, 220, .25); }
}

/* 3D-фон: жаринки, що складаються у фігури бренду */
.embers3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .8s; }
.embers3d.is-on { opacity: 1; }


/* =========================================================
   ДОДАТКОВО: дзвінок, білий колір, градієнти, рух
   ========================================================= */
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn--fire .ico { position: relative; }

/* телефон у шапці з пульсуючою кнопкою */
.top__phone { display: flex; align-items: center; gap: 10px; }
.top__num { display: grid; line-height: 1.1; }
.top__num small { font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: .04em; }
.call-dot { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--coal); }
.call-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); animation: ring 2.2s var(--ease) infinite; }
.call-dot .ico { width: 18px; height: 18px; animation: wiggle 3s ease-in-out infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes wiggle { 0%, 82%, 100% { transform: rotate(0); } 86% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 94% { transform: rotate(-8deg); } }
.top__phone:hover .call-dot { background: var(--flame-hi); }
@media (max-width: 1240px) { .top__num small { display: none; } }

/* біла кнопка «Зателефонувати» */
.btn--call { background: #fff; color: var(--coal); border: 0; }
.btn--call:hover { background: var(--flame-hi); color: var(--coal); }
.btn--call .ico { animation: wiggle 3s ease-in-out infinite; }

/* плаваюча кнопка дзвінка */
.fab-call {
  position: fixed; right: 24px; bottom: 24px; z-index: 95; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%; color: var(--coal);
  background: linear-gradient(135deg, #fff, var(--flame-hi) 45%, var(--flame));
  box-shadow: 0 14px 40px -10px rgba(224, 137, 58, .8);
  transform: scale(0); transition: transform .5s var(--ease);
}
.fab-call.is-on { transform: scale(1); }
.fab-call .ico { width: 26px; height: 26px; animation: wiggle 3s ease-in-out infinite; }
.fab-call__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--flame); animation: ring 2.4s var(--ease) infinite; }
.fab-call__ring + .fab-call__ring { animation-delay: 1.2s; }
.fab-call__tip { position: absolute; right: calc(100% + 12px); white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--coal); font-weight: 700; opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.fab-call:hover .fab-call__tip { opacity: 1; transform: none; }
@media (max-width: 640px) { .fab-call { display: none; } }

/* градієнтний текст-акцент із переливом */
.h2 em, .hero__title em, .book__title em, .sand__quote em, .score__num, .big-phone {
  background: linear-gradient(100deg, var(--flame) 0%, var(--flame-hi) 25%, #fff6ea 45%, var(--flame-hi) 60%, var(--flame) 80%, #c9622a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.score__num { text-shadow: none; }

/* обертова градієнтна рамка */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.glow-border { position: relative; isolation: isolate; }
.glow-border::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang), transparent 0 55%, var(--flame) 70%, #fff 76%, var(--flame-hi) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }

/* градієнтна навігація */
.top__nav { padding: 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); }
.top__nav a { padding: 6px 12px; border-radius: 999px; transition: color .3s, background-color .3s; }
.top__nav a::after { bottom: -2px; }
.top__nav a:hover { background: rgba(255, 255, 255, .06); }
.top__nav a.is-active { color: var(--coal); background: #fff; }
.top__nav a.is-active::after { transform: translateX(-50%) scale(0); }

/* ---------- світлі секції: «льняний рушник» ---------- */
.is-light {
  --ash: #241a14; --muted: #6e5a49; --line: rgba(36, 26, 20, .12); --line-2: rgba(36, 26, 20, .2);
  background: linear-gradient(180deg, #FBF7F1, #F2E8DC) !important; color: var(--ash);
}
.is-light .kicker { color: #b4521c; }
.is-light .btn--ghost { color: var(--ash); background: rgba(255, 255, 255, .6); }
.is-light .btn--ghost:hover { color: #b4521c; border-color: #b4521c; background: #fff; }
.is-light .incl li { background: #fff; box-shadow: 0 6px 16px -10px rgba(36, 26, 20, .35); }
.is-light .incl li::before { border-color: #c9622a; }
.is-light .plank, .is-light .modal__box { --ash: #F2E8DC; --muted: #B9A893; --line: rgba(242, 232, 220, .1); --line-2: rgba(242, 232, 220, .18); color: var(--ash); box-shadow: 0 40px 80px -40px rgba(36, 26, 20, .6); }
.is-light .plank .btn--ghost { color: var(--ash); background: rgba(242, 232, 220, .04); }
.is-light .acc__q:hover { color: #b4521c; }
.is-light .acc__q[aria-expanded="true"] i { color: #fff; }
.is-light .prices__pic { box-shadow: 0 30px 60px -30px rgba(36, 26, 20, .55); }
.is-light .h2 em { background-image: linear-gradient(100deg, #c9622a, var(--flame) 40%, #b4521c 70%, #c9622a); }
.faq.is-light .faq__side .btn--fire { box-shadow: 0 12px 30px -12px rgba(201, 98, 42, .8); }

/* картки ритуалу — градієнтна підсвітка зверху */
.step { background: radial-gradient(90% 40% at 0% 0%, rgba(224, 137, 58, .16), transparent 70%), linear-gradient(170deg, var(--wood-2), var(--wood) 60%); }
.step__t { background: linear-gradient(180deg, #fff, var(--flame-hi) 40%, var(--flame)); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; color: transparent; }

/* поява зображень «шторкою пари» */
.js .img-reveal { clip-path: inset(100% 0 0 0); }
.img-reveal.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease); }
.h2 .w { display: inline-block; }
@media (prefers-reduced-motion: reduce) { .js .img-reveal { clip-path: none; } }
.burger, .call-dot { flex: none; }
@media (max-width: 640px) {
  .top__phone { display: flex; }
  .top__num { display: none; }
  .top__right { gap: 10px; }
  .call-dot { width: 44px; height: 44px; }
}
