/* ============================================================
   OH MY LASER — оформление.

   Направление: спокойный минимализм, ни одного острого угла,
   много воздуха, мягкие тени. Основа — тёплый кремовый из бренда,
   карточки белые и словно лежат сверху, золото из логотипа
   работает акцентом, но никогда не несёт текст: контраста мало.

   Шрифты: Cormorant — заголовки (тонкий, высококонтрастный),
   Manrope — весь остальной текст. Оба с полной украинской
   кириллицей, лицензия OFL, лежат рядом в fonts/.
   ============================================================ */

@font-face {
  font-family: 'Cormorant'; font-style: normal; font-weight: 300 600;
  font-display: swap; src: url('fonts/cormorant-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant'; font-style: normal; font-weight: 300 600;
  font-display: swap; src: url('fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 300 700;
  font-display: swap; src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 300 700;
  font-display: swap; src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground:   #FAF6F0;
  --surface:  #FFFFFF;
  --raised:   #F4EDE3;
  --ink:      #2B2621;
  --muted:    #7C7369;
  --line:     #EDE5D9;
  --gold:     #A5814A;
  --gold-2:   #D9C4A0;
  --gold-hi:  #C9A254;
  --glow:     #F2E8D8;

  --shadow-1: 0 1px 2px rgba(43, 38, 33, .04), 0 6px 20px rgba(43, 38, 33, .05);
  --shadow-2: 0 2px 6px rgba(43, 38, 33, .05), 0 18px 44px rgba(43, 38, 33, .09);

  --r-xs: 10px;
  --r-sm: 16px;
  --r:    24px;
  --r-lg: 32px;
  --r-xl: 44px;
  --pill: 999px;

  --display: 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;

  --measure: 36rem;
  --wide: 70rem;
  --pad: clamp(1.25rem, 5vw, 3.5rem);

  --ease: cubic-bezier(.22, .82, .28, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:  #14120F;
    --surface: #1D1A15;
    --raised:  #262119;
    --ink:     #F0EAE0;
    --muted:   #A79C8E;
    --line:    #2E2921;
    --gold:    #D6B482;
    --gold-2:  #6E5A3A;
    --gold-hi: #E8C87F;
    --glow:    #2A2318;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .28);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, .34), 0 18px 44px rgba(0, 0, 0, .42);
  }
}
:root[data-theme="dark"] {
  --ground:  #14120F;
  --surface: #1D1A15;
  --raised:  #262119;
  --ink:     #F0EAE0;
  --muted:   #A79C8E;
  --line:    #2E2921;
  --gold:    #D6B482;
  --gold-2:  #6E5A3A;
  --gold-hi: #E8C87F;
  --glow:    #2A2318;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .28);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .34), 0 18px 44px rgba(0, 0, 0, .42);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -.012em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
img { border-radius: var(--r); }

.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: var(--r-xs); }

.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: var(--pad); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose strong { font-weight: 600; }

.label {
  font-size: .69rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}

section { padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.sec-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.sec-head h2 { font-size: clamp(2.3rem, 6vw, 3.9rem); line-height: 1.02; }
.lead { font-size: 1.16rem; line-height: 1.62; color: var(--muted); max-width: 40ch; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; opacity: .8; }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid transparent;
}
/* размытие включаем только там, где оно дешёвое: полноценный Safari,
   Chrome и прочие обычные браузеры. Во вбудованому браузері Telegram
   і Instagram воно з'їдає кадри — там лишається щільна заливка. */
html:not(.lite) .top {
  background: color-mix(in srgb, var(--ground) 84%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.top-in {
  max-width: var(--wide); margin-inline: auto; padding: .85rem var(--pad);
  display: flex; align-items: center; gap: 1rem;
}
.mark { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.mark img { width: 40px; height: 40px; display: block; border-radius: 0; }
:root[data-theme="dark"] .mark img { filter: brightness(1.35) saturate(1.1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mark img { filter: brightness(1.35) saturate(1.1); }
}
.mark span {
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
}
.top nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.top nav a.txt {
  font-size: .9rem; color: var(--muted); text-decoration: none;
  transition: color .3s var(--ease);
}
.top nav a.txt:hover { color: var(--ink); }
@media (max-width: 820px) { .top nav a.txt { display: none; } }
.top-bar { height: 1px; background: var(--gold); width: 0; transition: width .15s linear; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-block; text-align: center;
  max-width: 100%; white-space: normal; overflow-wrap: anywhere;
  padding: .92rem 1.7rem;
  border: 1px solid transparent; border-radius: var(--pill);
  background: var(--ink); color: var(--ground);
  font-family: var(--sans); font-size: .93rem; font-weight: 500;
  letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              background .3s var(--ease), color .3s var(--ease), opacity .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); background: var(--surface); }
.btn-sm { padding: .6rem 1.1rem; font-size: .86rem; }

/* ---------- герой ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92vh, 780px);
  display: grid; align-items: end;
  overflow: hidden;
  background: #100E0B;
  margin: 0 clamp(0px, 2vw, 20px) 0;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  z-index: -2; border-radius: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(62% 46% at 50% 28%, rgba(217, 178, 96, .22), transparent 72%),
    linear-gradient(to bottom, rgba(12, 10, 8, .26) 0%, rgba(12, 10, 8, .5) 44%,
      rgba(12, 10, 8, .93) 100%);
}
.hero-in {
  max-width: var(--wide); margin-inline: auto; width: 100%;
  padding: 0 var(--pad) clamp(3rem, 8vw, 5.5rem);
  color: #F6EFE4;
}
.hero h1 {
  font-size: clamp(2.9rem, 10vw, 6rem);
  line-height: .96; letter-spacing: -.02em;
  max-width: 14ch;
}
.hero .lead { color: #CDC3B4; max-width: 36ch; margin-top: 1.4rem; }
.hero .label { color: #DCC194; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.4rem; }
.hero .btn { background: #F6EFE4; color: #1A1712; }
.hero .btn-ghost {
  background: rgba(246, 239, 228, .06); color: #F6EFE4;
  border-color: rgba(246, 239, 228, .28);
  backdrop-filter: blur(6px);
}
.hero .btn-ghost:hover { background: rgba(246, 239, 228, .14); border-color: rgba(246, 239, 228, .5); }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: .6rem 2rem;
  margin-top: 2.6rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 239, 228, .16);
  font-size: .84rem; color: #A79C8E;
}

/* ---------- проза с фото ---------- */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1.02fr .98fr; } }
.split.rev > figure { order: -1; }
@media (max-width: 899px) { .split.rev > figure { order: 0; } }

figure { margin: 0; }
.ph {
  overflow: hidden; border-radius: var(--r-lg);
  box-shadow: var(--shadow-1); background: var(--raised);
}
.ph img {
  width: 100%; height: auto; display: block; border-radius: 0;
  transition: transform 1.1s var(--ease);
}
.ph:hover img { transform: scale(1.035); }
figcaption { font-size: .82rem; color: var(--muted); margin-top: .9rem; }

.prose > blockquote, blockquote {
  margin: 2.4rem 0 0; padding: 1.5rem 1.7rem;
  border: 0; border-radius: var(--r);
  background: var(--surface); box-shadow: var(--shadow-1);
  font-family: var(--display); font-weight: 300;
  font-size: 1.35rem; line-height: 1.4;
}
blockquote cite {
  display: block; font-family: var(--sans); font-style: normal;
  font-size: .8rem; font-weight: 500; color: var(--muted);
  margin-top: .9rem; letter-spacing: .02em;
}

/* ---------- прокрутка: цикл волоса ---------- */
.scrolly-track { position: relative; height: 460vh; }
.scrolly-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden;
}
.scrolly-stage canvas { grid-area: 1 / 1 / 3 / 2; width: 100%; height: 100%; display: block; }
.hud {
  grid-area: 2 / 1 / 3 / 2; position: relative; z-index: 2;
  padding: var(--pad); padding-bottom: clamp(2rem, 6vw, 3.5rem);
  max-width: min(40rem, 100%);
  background: linear-gradient(to top, var(--ground) 38%, transparent);
}
.hud-step {
  font-size: .69rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); font-variant-numeric: tabular-nums;
}
.hud-title { font-size: clamp(1.9rem, 6vw, 2.9rem); line-height: 1.04; margin-top: .6rem; }
.hud-text { color: var(--muted); margin-top: .7rem; font-size: 1rem; max-width: 34ch; }
.hud-meter { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; }
.hud-bar {
  flex: 1; height: 3px; border-radius: var(--pill);
  background: var(--line); position: relative; overflow: hidden;
}
.hud-bar i {
  position: absolute; inset: 0 auto 0 0; width: 0;
  background: var(--gold); border-radius: var(--pill);
  transition: width .25s var(--ease);
}
.hud-meter small {
  font-size: .69rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.hud-pct {
  font-family: var(--display); font-size: 1.5rem; font-weight: 400; white-space: nowrap;
  font-variant-numeric: tabular-nums; min-width: 3ch;
}

/* ---------- калькулятор ---------- */
.calc {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1); overflow: hidden;
}
.calc-grid { display: grid; grid-template-columns: 1fr; }
.calc-grid > * { min-width: 0; }   /* иначе вкладки и кнопки распирают карточку */
@media (min-width: 960px) { .calc-grid { grid-template-columns: 1.3fr .9fr; } }
.calc-pick { padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.calc-out {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--raised);
}
@media (min-width: 960px) {
  .calc-out { position: sticky; top: 5rem; align-self: start; }
}

/* вкладки групп */
.tabs {
  display: flex; gap: .4rem; margin: 0 0 1.5rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding: 0 2rem .3rem 0;      /* пустое место в конце, чтобы затухание не съело последнюю вкладку */
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent);
}
.tab { scroll-snap-align: start; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; font: inherit; font-size: .87rem; font-weight: 500;
  padding: .5rem 1rem; border-radius: var(--pill); cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  transition: all .3s var(--ease); white-space: nowrap;
}
.tab:hover { color: var(--ink); border-color: var(--gold-2); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }

/* блоки зон */
.blocks {
  display: grid; gap: .6rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.blocks > * { min-width: 0; }
.block { position: relative; }
.block input { position: absolute; opacity: 0; width: 0; height: 0; }
.block span {
  display: flex; flex-direction: column; gap: .3rem;
  padding: .95rem 1.05rem; min-height: 5.1rem;
  border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--ground); cursor: pointer;
  transition: transform .35s var(--ease), border-color .3s var(--ease),
              background .3s var(--ease), box-shadow .35s var(--ease), color .3s var(--ease);
}
.block span em {
  font-style: normal; font-size: .92rem; line-height: 1.3; font-weight: 500;
  overflow-wrap: anywhere;   /* «Бікіні+пахви+ноги…» — один длинный кусок */
}
.block span b {
  font-weight: 400; font-size: .84rem; color: var(--muted);
  font-variant-numeric: tabular-nums; margin-top: auto;
}
.block:hover span { border-color: var(--gold-2); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.block input:checked + span {
  background: var(--ink); border-color: var(--ink); color: var(--ground);
}
.block input:checked + span b { color: color-mix(in srgb, var(--ground) 66%, transparent); }
.block input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.block.pkg span { border-color: var(--gold-2); background: var(--glow); }
.block.pkg span i {
  font-style: normal; font-size: .74rem; font-weight: 600; color: var(--gold);
  letter-spacing: .04em;
}
.block.pkg input:checked + span { background: var(--ink); border-color: var(--ink); }
.block.pkg input:checked + span i { color: var(--gold-2); }

/* итог */
.bill { margin: 0 0 1.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.sum { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sum + .sum { margin-top: .6rem; }
.sum dt { color: var(--muted); font-size: .93rem; min-width: 0; overflow-wrap: anywhere; }
.sum dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.sum.big { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.sum.big dt { color: var(--ink); font-size: 1rem; }
.sum.big dd { font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1; }
.hint {
  margin-top: 1.1rem; padding: .85rem 1rem; border-radius: var(--r-sm);
  background: var(--glow); font-size: .88rem; line-height: 1.5;
}
.hint b { color: var(--gold); font-weight: 600; }
.empty { color: var(--muted); font-size: .95rem; }
.lnk {
  font: inherit; font-size: inherit; cursor: pointer; padding: 0;
  background: none; border: 0; color: var(--gold); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.dots { display: flex; align-items: center; gap: .35rem; margin-top: 1.4rem; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); font-style: normal; }
.dots u { flex: 1; height: 1px; background: var(--line); text-decoration: none; }
.note { font-size: .84rem; color: var(--muted); margin-top: .7rem; }
.calc-actions { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.6rem; }

.terms { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
@media (min-width: 780px) { .terms { grid-template-columns: repeat(3, 1fr); } }
.terms div {
  background: var(--surface); border-radius: var(--r);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-1);
}
.terms h3 { font-family: var(--sans); font-size: .97rem; font-weight: 600; }
.terms p { color: var(--muted); font-size: .92rem; margin-top: .4rem; }

/* ---------- карточки пакетов ---------- */
/* Была таблица на пять колонок — на телефоне она требовала листать вбок,
   и выгода, ради которой блок и существует, пряталась за краем экрана. */
.offers { display: grid; gap: 1.1rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .offers { grid-template-columns: repeat(2, 1fr); } }

.offer {
  position: relative; display: flex; flex-direction: column; gap: .8rem;
  background: var(--surface); border-radius: var(--r-lg);
  padding: 1.7rem 1.6rem 1.5rem; box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.offer.pop { box-shadow: var(--shadow-2), 0 0 0 1px var(--gold-2); }

.offer-tag {
  position: absolute; top: -.65rem; left: 1.6rem;
  background: var(--gold); color: var(--surface);
  border-radius: var(--pill); padding: .28rem .85rem;
  font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.offer h3 {
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  line-height: 1.4; letter-spacing: 0;
}
.offer-save {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 3rem); line-height: .95;
  color: var(--gold); white-space: nowrap;
}
.offer-price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .55rem;
  font-variant-numeric: tabular-nums;
}
.offer-price b { font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.offer-price s { color: var(--muted); font-size: .95rem; white-space: nowrap; }
.offer-price span { color: var(--muted); font-size: .86rem; }
.offer-course {
  margin-top: .2rem; padding-top: .95rem; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.offer-course b { color: var(--gold); font-weight: 600; white-space: nowrap; }
.offer .btn { margin-top: .6rem; align-self: flex-start; }

/* ---------- шаги ---------- */
.steps { display: grid; gap: 1.1rem; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }
.steps > div {
  counter-increment: s; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  background: var(--surface); border-radius: var(--r); padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.steps > div:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.steps > div::before {
  content: counter(s); font-family: var(--display); font-weight: 400;
  font-size: 1.9rem; color: var(--gold); line-height: 1; width: 1.5rem;
}
.steps h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.steps p { color: var(--muted); font-size: .94rem; margin-top: .35rem; }

/* ---------- отзывы ---------- */
.revs { display: grid; gap: 1.1rem; }
@media (min-width: 780px) { .revs { grid-template-columns: repeat(2, 1fr); } }
.rev {
  background: var(--surface); border-radius: var(--r);
  padding: 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .9rem;
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.rev:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.rev p { font-size: .97rem; }
.rev footer { font-size: .81rem; color: var(--muted); margin-top: auto; font-weight: 500; }
.stars { color: var(--gold); letter-spacing: .14em; font-size: .78rem; }

/* ---------- аппарат ---------- */
.spec { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .8rem; }
.spec li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; font-size: .96rem; }
.spec li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-top: .68rem;
}

/* ---------- контакты ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.hours { list-style: none; margin: 1.4rem 0 0; padding: 0; font-variant-numeric: tabular-nums; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem;
}
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { color: var(--muted); }
/* маршрут «як дістатись»: это последовательность, поэтому пронумерована */
.route { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .route { grid-template-columns: repeat(2, 1fr); } }
.way { display: flex; flex-direction: column; gap: .65rem; }
.way .ph { border-radius: var(--r-sm); }
.way img { aspect-ratio: 3 / 4; object-fit: cover; }
.way figcaption {
  margin: 0; font-size: .84rem; line-height: 1.45; color: var(--muted);
  display: grid; grid-template-columns: auto 1fr; gap: .55rem; align-items: baseline;
}
.way figcaption b {
  font-family: var(--display); font-size: 1.15rem; font-weight: 400;
  color: var(--gold); line-height: 1;
}

/* ---------- подвал ---------- */
footer.site {
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin: 0 clamp(0px, 2vw, 20px);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-grid a {
  color: var(--muted); text-decoration: none; display: block;
  padding: .3rem 0; font-size: .93rem; transition: color .3s var(--ease);
}
.foot-grid a:hover { color: var(--ink); }
.fine {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .79rem; color: var(--muted);
}

.draft {
  background: var(--raised); color: var(--muted);
  font-size: .8rem; padding: .6rem var(--pad); text-align: center;
}
.draft b { color: var(--gold); font-weight: 600; }

/* ---------- появление при прокрутке ---------- */
[data-rise] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
[data-rise].in { opacity: 1; transform: none; will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  [data-rise] { opacity: 1; transform: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- окно запису ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 640px) { .sheet { align-items: center; } }
.sheet::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(26, 22, 18, .46); backdrop-filter: blur(4px);
}
.sheet-box {
  position: relative; width: 100%; max-width: 34rem;
  background: var(--ground); box-shadow: var(--shadow-2);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 1.9rem clamp(1.25rem, 5vw, 2.2rem)
           calc(1.9rem + env(safe-area-inset-bottom));
  max-height: 88vh; overflow-y: auto;
  animation: sheet-rise .34s var(--ease);
}
@media (min-width: 640px) {
  .sheet-box { border-radius: var(--r-lg); max-height: 84vh; }
}
@keyframes sheet-rise { from { transform: translateY(10%); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .sheet-box { animation: none; } }

.sheet-x {
  position: absolute; top: .9rem; right: .9rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 0; background: var(--raised); color: var(--muted);
  cursor: pointer; font-size: .9rem; line-height: 1;
}
.sheet-x:hover { color: var(--ink); }
.sheet-box h3 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 5vw, 2.2rem); line-height: 1.1; padding-right: 2rem;
}
.sheet-box h3.bk-ok { color: var(--gold); }
.sheet-p { color: var(--muted); font-size: .95rem; margin-top: .7rem; }
.sheet-p b { color: var(--ink); font-weight: 600; }
.sheet-acts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

.bk-days {
  display: grid; gap: .5rem; margin-top: 1.3rem;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
}
.bk-day {
  font: inherit; text-align: left; cursor: pointer;
  padding: .8rem .9rem; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface); color: inherit;
  transition: all .25s var(--ease);
}
.bk-day:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.bk-day b { display: block; font-weight: 600; }
.bk-day i { display: block; font-style: normal; font-size: .78rem; color: var(--muted); }
.bk-day u { display: block; font-size: .74rem; color: var(--gold); text-decoration: none; margin-top: .3rem; }

.bk-times {
  display: grid; gap: .4rem; margin-top: 1.3rem;
  grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr));
}
.bk-time {
  font: inherit; cursor: pointer; padding: .65rem .3rem;
  border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface); color: inherit;
  font-variant-numeric: tabular-nums; transition: all .2s var(--ease);
}
.bk-time:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }

.bk-field { display: block; margin-top: 1.1rem; }
.bk-field span {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--muted); margin-bottom: .4rem;
}
.bk-field input {
  width: 100%; font: inherit; color: inherit;
  padding: .85rem 1rem; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface);
}
.bk-field input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.bk-err {
  margin-top: .9rem; padding: .7rem .9rem; border-radius: var(--r-sm);
  background: var(--glow); color: var(--gold); font-size: .88rem; font-weight: 600;
}
.bk-fine { margin-top: 1rem; font-size: .78rem; color: var(--muted); line-height: 1.5; }

.lnk-gold {
  color: var(--gold); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.lnk-gold:hover { color: var(--ink); }
