/* uainspain.com — стилі сайту (дизайн «Композиція · Табло», К1). Згенеровано tools/export_design.py
   з прототипу design/source; далі правиться тут. Внутрішні сторінки — у кінці файлу (site.inner.css підключається окремо). */
/* Onest — локально (варіативний 400–800), Noto IPA — підмножина лише для транскрипцій МФА */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/onest-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/onest-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: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/onest-symbols.woff2") format("woff2"); unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AE, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF; }
@font-face { font-family: "Noto IPA"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-ipa.woff2") format("woff2"); }
:root {
  --bg: #FFFFFF; --surface: #FFFFFF;
  --n-25: #FAFAFB; --n-50: #F4F5F7; --n-100: #ECEDF0; --n-200: #D3D5DA;
  --deco: #878A92;
  --text: #1F1A0E; --text-2: #5F6168; --text-body: #45464C;
  --tray-1: #FAFAFB; --tray-2: #EDEEF1;
  --glass-bg: rgba(255, 255, 255, .74); --glass-menu: rgba(255, 255, 255, .88);
  --panel: #F6F7F9;
  /* «Сцена» — поверхня табло, послуг і запиту; кожен стиль задає свою */
  --stage: #F6F7F9; --stage-text: #1F1A0E; --stage-2: #5F6168; --stage-line: rgba(31, 26, 14, .07); --card: #FFFFFF;
  --font-display: var(--font);

  /* Акцент: жовтий бренду. #F4A300 на білому 2.08:1 — тому НІКОЛИ не текст на світлому */
  --acc-50: #FFF8E8; --acc-100: #FFEFC7; --acc-200: #FFE29A; --acc-300: #FFD066; --acc-400: #FBBA2E;
  --acc: #F4A300; --acc-600: #DB8E00; --acc-700: #B87400;
  --acc-text: #8C5800;          /* жовтий текст на світлому: 6.0:1 на білому, 5.5:1 на кремі */
  --on-acc: #1F1A0E;            /* текст і стрілки на жовтому: 8.3:1 */
  --brown: #5A4D2A; --cream: #FBF6E9;
  --focus: #B87400; --focus-on-dark: #F4A300;
  /* Темні поверхні — теплий графіт бренду */
  --ink-1: #1F1A0E; --ink-2: #17130A; --ink-core: #231E12;
  --ink-text-2: #B5A98C;        /* 7.4:1 на #1F1A0E */
  --ink-text-body: #DCD3BD;
  --hairline: rgba(31, 26, 14, .07); --hairline-strong: rgba(31, 26, 14, .12);
  /* Типографіка */
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: clamp(2.75rem, 1rem + 8.4vw, 5rem);
  --fs-h2: clamp(2rem, 1.3rem + 3.1vw, 4rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .35vw, 1.4375rem);
  --fs-lead: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem);
  --fs-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-small: .9375rem; --fs-micro: .875rem; --lh-body: 1.6;
  --track-h1: -.035em; --track-h2: -.03em; --track-h3: -.02em;
  /* Простір */
  --gutter: clamp(20px, 5vw, 48px); --container: 1240px; --section: clamp(80px, 10vw, 160px);
  --header-h: 72px; --sticky-top: 112px;
  /* Форма */
  --r-shell: 32px; --shell-pad: 8px; --r-core: calc(var(--r-shell) - var(--shell-pad));
  --r-card: 28px; --r-panel: 40px; --r-row: 18px; --r-pill: 999px;
  /* Тіні — дуже м'які, розсіяні */
  --shadow-soft: 0 1px 2px rgba(31, 26, 14, .04), 0 12px 32px -16px rgba(31, 26, 14, .10), 0 40px 80px -48px rgba(31, 26, 14, .16);
  --shadow-lift: 0 2px 4px rgba(31, 26, 14, .04), 0 24px 48px -22px rgba(31, 26, 14, .18), 0 64px 120px -60px rgba(31, 26, 14, .24);
  --shadow-ink: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 14px 30px -14px rgba(31, 26, 14, .55);
  --shadow-acc: 0 8px 20px -8px rgba(219, 142, 0, .75);
  --inset-hi: inset 0 1px 0 rgba(255, 255, 255, .9);
  --glass-blur: saturate(180%) blur(20px);
  /* Рух */
  --ease-out: cubic-bezier(.32, .72, 0, 1); --ease-soft: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.45, .64, 1);
  --dur-1: .25s; --dur-2: .45s; --dur-3: .7s; --dur-4: 1s;
  --z-bar: 30; --z-menu: 40; --z-header: 50; --z-skip: 60;
}
/* ---------- База (спільна для всіх варіантів España; токени — у :root кожного варіанта) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address, cite, blockquote { font-style: normal; }
svg { flex: none; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
section[id] { scroll-margin-top: 88px; }
::selection { background: var(--acc-200); color: var(--text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--focus-on-dark); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: fixed; left: 16px; top: 12px; z-index: var(--z-skip);
  padding: 12px 18px; border-radius: var(--r-pill); background: var(--text); color: #fff; font-weight: 600;
  transform: translateY(-160%); transition: transform var(--dur-2) var(--ease-out);
}
.skip:focus-visible { transform: none; }

/* ---------- Прогресивна поява ---------- */
.js .reveal {
  opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(6px);
  transition: opacity .9s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms), filter .9s var(--ease-out) var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Маркер: жовта підсвітка, що домальовується (побажання клієнтки — одна тиха деталь) ---------- */
.mark { position: relative; z-index: 0; white-space: nowrap; }
.mark::before {
  content: ""; position: absolute; z-index: -1; left: -.06em; right: -.08em; bottom: .06em; height: .44em;
  border-radius: .12em .3em .16em .26em / .3em .18em .3em .2em;
  background: linear-gradient(100deg, rgba(244, 163, 0, .55), rgba(251, 186, 46, .42) 70%, rgba(244, 163, 0, .5));
  transform: scaleX(1) skewX(-8deg); transform-origin: left center;
  transition: transform 1.2s var(--ease-soft) var(--md, .55s);
}
.js .mark:not(.is-on)::before { transform: scaleX(0) skewX(-8deg); }
/* Багаторядковий маркер: фон кожного рядка окремо (box-decoration-break), щоб довгий текст переносився */
.mark--flow { white-space: normal; padding: 0 .06em;
  background-image: linear-gradient(100deg, rgba(244, 163, 0, .55), rgba(251, 186, 46, .42) 70%, rgba(244, 163, 0, .5));
  background-repeat: no-repeat; background-position: 0 88%; background-size: 100% .44em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1.2s var(--ease-soft) var(--md, .55s); }
.mark--flow::before { display: none; }
.js .mark--flow:not(.is-on) { background-size: 0% .44em; }

/* ---------- Типографічні примітиви ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: var(--r-pill);
  background: var(--n-50); box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: var(--fs-small); font-weight: 600; line-height: 1.3; letter-spacing: -.005em; color: var(--text-2);
}
.eyebrow__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; }
.eyebrow__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--acc-300); opacity: 0; animation: dot-ping 2.8s var(--ease-out) infinite; }
@keyframes dot-ping { 0% { transform: scale(.4); opacity: .6; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.eyebrow--dark { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: var(--ink-text-2); }
.eyebrow--white { background: #fff; }
@media (max-width: 479px) { .eyebrow { border-radius: 18px; align-items: flex-start; } .eyebrow__dot { margin-top: 6px; } }

.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.04; letter-spacing: var(--track-h2); text-wrap: balance; overflow-wrap: break-word; }
.h2 .tone { color: var(--text-2); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-body); max-width: 34rem; text-wrap: pretty; }
.sec-head .eyebrow { margin-bottom: 24px; }
.sec-head .h2 + .lead { margin-top: 24px; }
.sec-head .link { margin-top: 28px; }
.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }

/* ---------- Кнопки: пілюлі з іконкою у власному колі ---------- */
.btn {
  --btn-h: 60px; --btn-icon: 44px; position: relative;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--btn-h); padding: 8px 8px 8px 28px; border-radius: var(--r-pill);
  font-size: 1.0625rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.btn__icon {
  display: grid; place-items: center; flex: none; width: var(--btn-icon); height: var(--btn-icon); border-radius: 50%;
  transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.btn__icon .i { width: 20px; height: 20px; transition: transform var(--dur-3) var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--primary { background-color: var(--ink-1); color: #fff; box-shadow: var(--shadow-ink); }
.btn--primary .btn__icon { background-color: var(--acc); color: var(--on-acc); box-shadow: var(--shadow-acc); }
.btn--ghost { background-color: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 10px 24px -18px rgba(31, 26, 14, .3); }
.btn--ghost .btn__icon { background-color: var(--n-100); color: var(--text); }
.btn--amber { background-color: var(--acc); color: var(--on-acc); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 34px -16px rgba(244, 163, 0, .8); }
.btn--amber .btn__icon { background-color: var(--ink-1); color: var(--acc-300); }
.btn--glass { background-color: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.btn--glass .btn__icon { background-color: rgba(255, 255, 255, .1); color: #fff; }
.btn--sm { --btn-h: 48px; --btn-icon: 34px; padding-left: 20px; gap: 12px; font-size: 1rem; }
.btn--sm .btn__icon .i { width: 17px; height: 17px; }
@media (hover: hover) {
  .btn--primary:hover { background-color: #000; box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 22px 44px -18px rgba(31, 26, 14, .6); }
  .btn--primary:hover .btn__icon { box-shadow: 0 10px 24px -6px rgba(244, 163, 0, .85); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(31, 26, 14, .22), 0 18px 36px -18px rgba(31, 26, 14, .35); }
  .btn--ghost:hover .btn__icon { background-color: var(--ink-1); color: var(--acc-300); }
  .btn--amber:hover { background-color: var(--acc-400); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 22px 44px -18px rgba(244, 163, 0, .9); }
  .btn--glass:hover { background-color: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
  .btn:hover .btn__icon { transform: translate(3px, -3px) scale(1.08); }
  .btn:hover .btn__icon .i { transform: translate(1px, -1px); }
  .btn--chat:hover .btn__icon { transform: rotate(-10deg) scale(1.08); }
  .btn--chat:hover .btn__icon .i { transform: none; }
}
.btn:focus-visible .btn__icon { transform: translate(3px, -3px) scale(1.08); }

/* ---------- Текстові посилання: лінія виростає зліва і «втікає» праворуч ---------- */
.link {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--text);
  transition: color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.link__text { position: relative; padding-bottom: 3px; }
.link__text::before, .link__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; }
.link__text::before { background: var(--n-200); }
.link__text::after { background: var(--acc); transform: scaleX(0); transform-origin: right center; transition: transform var(--dur-3) var(--ease-out); }
.link__icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background-color: var(--n-100); color: var(--text);
  transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.link__icon .i { width: 18px; height: 18px; }
.link:active { transform: scale(.97); }
@media (hover: hover) {
  .link:hover .link__text::after { transform: scaleX(1); transform-origin: left center; }
  .link:hover .link__icon { transform: translateX(4px) scale(1.06); background-color: var(--ink-1); color: var(--acc-300); }
}
.link:focus-visible .link__text::after { transform: scaleX(1); transform-origin: left center; }

.tlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: inherit; transition: color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out); }
.tlink .i { width: 17px; height: 17px; color: var(--deco); transition: color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-spring); }
.tlink:active { transform: scale(.97); }
@media (hover: hover) { .tlink:hover { color: var(--text); } .tlink:hover .i { color: var(--acc-700); transform: rotate(-12deg) scale(1.1); } }

/* ---------- Матеріал: подвійна рамка ---------- */
.shell {
  position: relative; padding: var(--shell-pad); border-radius: var(--r-shell);
  background: linear-gradient(180deg, var(--tray-1) 0%, var(--tray-2) 100%);
  box-shadow: inset 0 0 0 1px var(--hairline), inset 0 1px 0 #fff, var(--shadow-soft);
}
.core { position: relative; border-radius: var(--r-core); background: var(--surface); box-shadow: 0 0 0 1px rgba(31, 26, 14, .05), 0 1px 2px rgba(31, 26, 14, .06), var(--inset-hi); }
.shell--dark { background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.core--dark { background: var(--ink-core); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(0, 0, 0, .35); }

/* ---------- Верхня смуга ---------- */
.topbar { display: none; background: var(--n-50); box-shadow: inset 0 -1px 0 var(--hairline); color: var(--text-2); font-size: var(--fs-small); }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 48px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item .i { width: 17px; height: 17px; color: var(--deco); }
.topbar__end { margin-left: auto; }
.topbar .link { font-size: var(--fs-small); min-height: 40px; gap: 8px; }
.topbar .link__icon { width: 28px; height: 28px; }
.topbar .link__icon .i { width: 15px; height: 15px; }
.topbar__geo { display: none; }
@media (min-width: 1100px) { .topbar { display: block; } }
@media (min-width: 1260px) { .topbar__geo { display: inline-flex; } }

/* ---------- Шапка-острівець ---------- */
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 96px; pointer-events: none; }
.header { position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h); pointer-events: none; }
.header__inner {
  pointer-events: auto; position: relative; display: flex; align-items: center; gap: 12px;
  height: 60px; width: calc(100% - var(--gutter) * 2 + 24px); max-width: calc(var(--container) + 24px);
  margin: 6px auto 0; padding: 0 6px 0 10px; border-radius: var(--r-pill);
  background-color: rgba(255, 255, 255, 0); box-shadow: inset 0 0 0 1px rgba(31, 26, 14, 0), 0 0 0 0 rgba(31, 26, 14, 0);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.is-scrolled .header__inner {
  transform: translateY(8px); background-color: var(--glass-bg);
  box-shadow: inset 0 0 0 1px rgba(31, 26, 14, .07), 0 1px 1px rgba(31, 26, 14, .03), 0 18px 44px -20px rgba(31, 26, 14, .25);
}
.menu-open .header__inner { background-color: rgba(255, 255, 255, 0); box-shadow: none; }

/* Лок-ап España: знак-арка + назва + тегляйн (затверджено, зсув тексту 3px) */
.logo { display: inline-flex; align-items: center; gap: .46em; min-height: 48px; padding: 4px 10px 4px 2px; border-radius: 16px; font-size: 25px; transition: transform var(--dur-2) var(--ease-out); }
.logo__mark { display: block; width: 1.7em; height: auto; flex: none; overflow: visible; transition: transform var(--dur-3) var(--ease-spring); }
.logo__door { transform-box: fill-box; transform-origin: 0% 100%; transition: transform var(--dur-3) var(--ease-spring), fill var(--dur-2) var(--ease-out); }
.logo__floor { transform-box: fill-box; transform-origin: 50% 0%; transition: transform var(--dur-3) var(--ease-out); }
.logo__txt { display: grid; transform: translateY(3px); }
.logo__name { font-weight: 600; letter-spacing: -.02em; line-height: 1.08; font-size: 1em; white-space: nowrap; }
.logo__tag { text-transform: uppercase; font-weight: 500; letter-spacing: .13em; font-size: .295em; line-height: 1.3; margin-top: .5em; color: var(--brown); white-space: nowrap; }
.mk-dark { fill: var(--ink-1); }
.mk-light { stroke: var(--bg); }
.logo:active { transform: scale(.97); }
@media (hover: hover) {
  .logo:hover .logo__mark { transform: rotate(-5deg) scale(1.06); }
  .logo:hover .logo__door { transform: skewY(-9deg) scaleX(.82); }
  .logo:hover .logo__floor { transform: scaleX(1.14) scaleY(1.2); }
}
.logo:focus-visible .logo__door { transform: skewY(-9deg) scaleX(.82); }
.on-dark .mk-dark { fill: var(--cream); }
.on-dark .mk-light { stroke: var(--ink-1); }
.on-dark .logo__tag { color: var(--ink-text-2); }

.nav { display: none; margin-inline: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill);
  font-size: 1rem; font-weight: 500; color: var(--text); letter-spacing: -.005em; background-color: rgba(31, 26, 14, 0);
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--acc); opacity: 0; transform: translateY(3px) scale(.4);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-spring);
}
.nav__link:active { transform: scale(.97); }
@media (hover: hover) { .nav__link:hover { background-color: rgba(31, 26, 14, .055); } .nav__link:hover::after { opacity: 1; transform: none; } }
.header__cta { margin-left: auto; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 18px 0 20px; border-radius: var(--r-pill);
  background-color: rgba(31, 26, 14, .055); font-weight: 600; font-size: 1rem;
  transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.menu-btn__lines { position: relative; width: 18px; height: 12px; }
.menu-btn__lines span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur-3) var(--ease-out); }
.menu-btn__lines span:first-child { top: 2px; }
.menu-btn__lines span:last-child { bottom: 2px; }
.menu-open .menu-btn__lines span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-btn__lines span:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu-btn:active { transform: scale(.97); }
@media (hover: hover) { .menu-btn:hover { background-color: rgba(31, 26, 14, .1); } }
@media (min-width: 1100px) { .nav { display: block; } .menu-btn { display: none; } .header__cta { margin-left: 0; } }
@media (max-width: 599px) {
  .header__cta { display: none; } .menu-btn { margin-left: auto; }
  .header { --header-h: 68px; height: 68px; }
  .header__inner { height: 56px; width: calc(100% - var(--gutter) * 2 + 16px); padding: 0 4px 0 8px; }
  .header .logo { font-size: 21px; }
}

/* ---------- Мобільне меню ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: var(--z-menu); display: flex; flex-direction: column; gap: 32px;
  padding: calc(var(--header-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  background-color: var(--glass-menu); -webkit-backdrop-filter: saturate(180%) blur(28px); backdrop-filter: saturate(180%) blur(28px);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-3) var(--ease-out), visibility 0s var(--dur-3);
}
.menu-open { overflow: hidden; }
.menu-open .mmenu { opacity: 1; visibility: visible; transition: opacity var(--dur-3) var(--ease-out), visibility 0s; }
.mmenu__list { display: grid; }
.mmenu__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px;
  font-size: clamp(1.75rem, 1.35rem + 2vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  box-shadow: inset 0 -1px 0 var(--hairline-strong); opacity: 0; transform: translate3d(0, 36px, 0);
  transition: transform .5s var(--ease-out) calc(var(--i) * 30ms), opacity .35s var(--ease-out) calc(var(--i) * 30ms), color var(--dur-1) var(--ease-out);
}
.menu-open .mmenu__link { opacity: 1; transform: none; transition: transform .8s var(--ease-out) calc(90ms + var(--i) * 55ms), opacity .6s var(--ease-out) calc(90ms + var(--i) * 55ms), color var(--dur-1) var(--ease-out); }
.mmenu__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background-color: var(--n-100); color: var(--text); transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.mmenu__go .i { width: 20px; height: 20px; }
.mmenu__link:active { color: var(--acc-text); }
@media (hover: hover) { .mmenu__link:hover { color: var(--acc-text); } .mmenu__link:hover .mmenu__go { transform: translate(3px, -3px) scale(1.06); background-color: var(--acc); color: var(--on-acc); } }
.mmenu__foot { margin-top: auto; display: grid; gap: 16px; opacity: 0; transform: translate3d(0, 24px, 0); transition: transform .5s var(--ease-out), opacity .35s var(--ease-out); }
.menu-open .mmenu__foot { opacity: 1; transform: none; transition: transform .8s var(--ease-out) .45s, opacity .6s var(--ease-out) .45s; }
.mmenu__phone { font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; }
.mmenu__meta { color: var(--text-2); font-size: var(--fs-small); }
.mmenu .btn { width: 100%; }
@media (min-width: 1100px) { .mmenu { display: none; } }

/* ---------- Цифри героя ---------- */
.stats__num { display: flex; align-items: baseline; gap: .08em; font-size: clamp(2.25rem, 1.5rem + 2.8vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats__plus { color: var(--acc); }
.stats__label { font-size: 1rem; line-height: 1.4; color: var(--text-2); }

/* ---------- Цитата ---------- */
.quote__text { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; text-wrap: balance; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--text-2); font-size: var(--fs-small); font-weight: 500; }
.quote__by::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--acc); flex: none; }

/* ---------- Теги-пілюлі ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 12px; border-radius: 16px;
  background-color: var(--n-50); box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: var(--fs-micro); font-weight: 500; line-height: 1.25; color: var(--text-2);
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.tag .i { width: 15px; height: 15px; }

/* ---------- Рядки досвіду (аналог хронології) ---------- */
.exp { margin-top: 36px; }
.exp__item {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; position: relative;
  padding: 16px 12px; margin-inline: -12px; border-radius: var(--r-row); background-color: rgba(255, 255, 255, 0);
  transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.exp__item::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 1px; background: var(--hairline-strong); transition: opacity var(--dur-2) var(--ease-out); }
.exp__k { display: flex; align-items: center; gap: 10px; align-self: start; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1.55; transition: color var(--dur-2) var(--ease-out); }
.exp__k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background-color: var(--n-200); flex: none; transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-spring); }
.exp__v { color: var(--text-body); line-height: 1.55; }
@media (hover: hover) {
  .exp__item:hover { background-color: var(--n-50); transform: translateX(4px); }
  .exp__item:hover::after { opacity: 0; }
  .exp__item:hover .exp__k { color: var(--acc-text); }
  .exp__item:hover .exp__k::before { background-color: var(--acc); transform: scale(1.5); }
}
@media (min-width: 1024px) { .exp__item { grid-template-columns: 6rem minmax(0, 1fr); padding: 18px 16px; margin-inline: -16px; } .exp__item::after { left: 16px; right: 16px; } }

/* ---------- Ціни: рядки ---------- */
.price-list { padding: 6px; }
.price-group { padding: 18px 18px 6px; font-size: var(--fs-micro); font-weight: 600; letter-spacing: .04em; color: var(--text-2); text-transform: none; }
.price {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px; border-radius: var(--r-row);
  background-color: rgba(255, 255, 255, 0); transition: background-color var(--dur-2) var(--ease-out);
}
.price + .price::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; background: var(--hairline-strong); transition: opacity var(--dur-2) var(--ease-out); }
.price__name { font-size: 1.125rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.35; }
.price__note { font-size: var(--fs-small); color: var(--text-2); }
.price__val { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.price__val small { font-size: .62em; font-weight: 600; color: var(--text-2); letter-spacing: -.005em; }
.price__val s { font-size: .62em; font-weight: 500; color: var(--text-2); margin-left: 6px; }
@media (hover: hover) {
  .price:hover { background-color: var(--n-50); }
  .price:hover::before, .price:hover + .price::before { opacity: 0; }
  .price:hover .price__val { color: var(--acc-text); transform: translateX(-4px); }
}
@media (min-width: 640px) {
  .price { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; padding: 20px 24px; }
  .price-group { padding: 22px 24px 6px; }
  .price + .price::before { left: 24px; right: 24px; }
  .price__val { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
  .price__name, .price__note { grid-column: 1; }
}
.prices__note { margin-top: 20px; color: var(--text-2); font-size: var(--fs-body); max-width: 30rem; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 26px; background-color: var(--n-50); box-shadow: inset 0 0 0 1px var(--hairline), 0 0 0 0 rgba(31, 26, 14, 0); transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.faq__item.is-open { background-color: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-soft); }
.faq__q { font-size: inherit; font-weight: inherit; }
.faq__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 72px; padding: 16px 16px 16px 22px;
  border-radius: 26px; text-align: left; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; line-height: 1.35; letter-spacing: -.015em;
  transition: color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.faq__icon {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background-color: #fff; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.faq__icon .i { width: 20px; height: 20px; transition: transform var(--dur-3) var(--ease-out); }
.faq__item.is-open .faq__icon { background-color: var(--ink-1); color: var(--acc-300); box-shadow: 0 8px 18px -8px rgba(31, 26, 14, .6); }
.faq__item.is-open .faq__icon .i { transform: rotate(135deg); }
.faq__btn:active { transform: scale(.985); }
@media (hover: hover) {
  .faq__item:not(.is-open):hover { background-color: var(--n-100); }
  .faq__btn:hover .faq__icon { transform: scale(1.1); }
  .faq__item:not(.is-open) .faq__btn:hover .faq__icon { background-color: var(--acc); color: var(--on-acc); box-shadow: var(--shadow-acc); }
}
.faq__panel { display: grid; grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .6s var(--ease-out), visibility 0s; }
.js .faq__item:not(.is-open) .faq__panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease-out), visibility 0s .5s; }
.faq__inner { overflow: hidden; min-height: 0; }
.faq__inner p { padding: 0 22px 24px; max-width: 42rem; color: var(--text-body); transition: opacity .5s var(--ease-out) .08s, transform .6s var(--ease-out) .08s; }
.js .faq__item:not(.is-open) .faq__inner p { opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease-out), transform .4s var(--ease-out); }
@media (min-width: 640px) { .faq__btn { padding: 18px 18px 18px 28px; min-height: 80px; } .faq__inner p { padding: 0 28px 28px; } }
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(56px, 7vw, 120px); align-items: start; }
  .faq__head { position: sticky; top: var(--sticky-top); }
}

/* ---------- Форма запиту ---------- */
.form { display: grid; gap: 14px; padding: clamp(20px, 2.4vw, 30px); }
.form__row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 7px; }
.field__label { font-size: var(--fs-small); font-weight: 600; letter-spacing: -.005em; }
.field__label b { color: var(--acc-text); font-weight: 700; }
.field__input {
  width: 100%; min-height: 54px; padding: 14px 18px; border: 0; border-radius: 18px; outline: none;
  background-color: var(--n-50); color: var(--text); font-size: 1rem; line-height: 1.4;
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
textarea.field__input { min-height: 110px; resize: vertical; }
select.field__input { padding-right: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23635A48' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.field__input::placeholder { color: var(--deco); }
@media (hover: hover) { .field__input:hover { background-color: var(--n-100); } }
.field__input:focus-visible { background-color: #fff; box-shadow: inset 0 0 0 2px var(--acc), 0 0 0 5px rgba(244, 163, 0, .18); }
.field.is-bad .field__input { box-shadow: inset 0 0 0 2px #C2410C; }
.field__err { display: none; font-size: var(--fs-micro); font-weight: 600; color: #B42318; }
.field.is-bad .field__err { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.form__hint { font-size: var(--fs-micro); color: var(--text-2); max-width: 22rem; }
.form__ok { display: none; padding: clamp(28px, 3vw, 40px); text-align: left; }
.form__ok-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--acc); color: var(--on-acc); box-shadow: var(--shadow-acc); margin-bottom: 20px; }
.form__ok-icon .i { width: 26px; height: 26px; stroke-width: 2; }
.form__ok h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: var(--track-h3); }
.form__ok p { margin-top: 10px; color: var(--text-body); }
.form__ok small { display: block; margin-top: 14px; color: var(--text-2); font-size: var(--fs-micro); }
.is-sent .form { display: none; }
.is-sent .form__ok { display: block; animation: ok-in .8s var(--ease-out) both; }
@keyframes ok-in { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
/* форма на темній плиті */
.on-dark .field__label { color: #fff; }
.on-dark .field__label b { color: var(--acc); }
.on-dark .field__input { background-color: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.on-dark .field__input::placeholder { color: rgba(251, 246, 233, .45); }
@media (hover: hover) { .on-dark .field__input:hover { background-color: rgba(255, 255, 255, .09); } }
.on-dark .field__input:focus-visible { background-color: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px var(--acc), 0 0 0 5px rgba(244, 163, 0, .2); }
.on-dark select.field__input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F4A300' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.on-dark select.field__input option { color: #1F1A0E; }
.on-dark .form__hint { color: var(--ink-text-2); }
.on-dark .field__err { color: #FDBA8C; }
.on-dark .field.is-bad .field__input { box-shadow: inset 0 0 0 2px #FB923C; }
.on-dark .form__ok h3 { color: #fff; }
.on-dark .form__ok p { color: var(--ink-text-body); }
.on-dark .form__ok small { color: var(--ink-text-2); }

/* ---------- Контакти (рядки) ---------- */
.contacts { padding: 6px; }
.contact { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 14px; border-radius: var(--r-row); background-color: rgba(255, 255, 255, 0); transition: background-color var(--dur-2) var(--ease-out); }
.contact + .contact { box-shadow: inset 0 1px 0 var(--c-line, rgba(255, 255, 255, .06)); }
.contact__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background-color: var(--c-icon-bg, rgba(255, 255, 255, .07)); color: var(--c-icon, #EDE6D5); box-shadow: inset 0 0 0 1px var(--c-icon-line, rgba(255, 255, 255, .08)); transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-spring); }
.contact__icon .i { width: 20px; height: 20px; }
.contact__label { font-size: var(--fs-micro); font-weight: 500; color: var(--c-label, var(--ink-text-2)); line-height: 1.4; }
.contact__value { margin-top: 2px; font-size: 1.0625rem; font-weight: 500; line-height: 1.45; color: var(--c-value, #fff); }
.contact__value .tlink { min-height: 40px; font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em; position: relative; }
.contact__value .tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; border-radius: 2px; background: var(--acc); transform: scaleX(0); transform-origin: right center; transition: transform var(--dur-3) var(--ease-out); }
@media (hover: hover) {
  .contact:hover { background-color: var(--c-hover, rgba(255, 255, 255, .045)); }
  .contact:hover .contact__icon { background-color: var(--acc); color: var(--on-acc); transform: rotate(-8deg) scale(1.06); }
  .contact__value .tlink:hover::after { transform: scaleX(1); transform-origin: left center; }
}

/* ---------- Футер ---------- */
.footer { padding: clamp(64px, 8vw, 112px) 0 40px; background: var(--n-50); box-shadow: inset 0 1px 0 var(--hairline); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 32px; }
.footer__about { margin-top: 18px; max-width: 24rem; color: var(--text-2); font-size: var(--fs-small); line-height: 1.6; }
.footer__title { font-size: var(--fs-small); font-weight: 700; letter-spacing: -.005em; color: var(--text); margin-bottom: 8px; }
.footer__links a, .footer__contacts a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-body); font-size: var(--fs-small);
  transition: color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.footer__links a::before { content: ""; width: 10px; height: 1.5px; border-radius: 2px; background: var(--acc); margin-left: -18px; opacity: 0; transform: translateX(-6px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.footer__links a:active, .footer__contacts a:active { transform: scale(.97); }
@media (hover: hover) {
  .footer__links a:hover { color: var(--text); transform: translateX(8px); }
  .footer__links a:hover::before { opacity: 1; transform: none; }
  .footer__contacts a:hover { color: var(--text); }
  .footer__contacts a:hover .i { color: var(--acc-700); transform: rotate(-12deg) scale(1.1); }
}
.footer__contacts { display: grid; gap: 2px; font-size: var(--fs-small); color: var(--text-body); }
.footer__contacts .i { width: 17px; height: 17px; color: var(--deco); transition: color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-spring); }
.footer__line { display: flex; align-items: flex-start; gap: 8px; padding-block: 10px; line-height: 1.5; }
.footer__line .i { margin-top: 2px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hairline-strong); font-size: var(--fs-small); color: var(--text-2); line-height: 1.6; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); } .footer__brand { grid-column: auto; } }

/* ---------- Липка панель на телефоні ---------- */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-bar);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 6px; padding: 6px; border-radius: 28px;
  background-color: rgba(255, 255, 255, .97); box-shadow: inset 0 0 0 1px var(--hairline), 0 1px 2px rgba(31, 26, 14, .05), 0 20px 44px -16px rgba(31, 26, 14, .38);
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
.menu-open .mbar { transform: translateY(140%); opacity: 0; }
.mbar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 10px; border-radius: 22px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.mbar__btn .i { width: 20px; height: 20px; transition: transform var(--dur-3) var(--ease-spring); }
.mbar__btn--chat { background-color: var(--n-100); color: var(--text); }
.mbar__btn--book { background-color: var(--ink-1); color: #fff; justify-content: space-between; padding: 0 6px 0 20px; }
.mbar__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background-color: var(--acc); color: var(--on-acc); box-shadow: var(--shadow-acc); transition: transform var(--dur-3) var(--ease-spring); }
.mbar__icon .i { width: 18px; height: 18px; }
.mbar__btn:active { transform: scale(.97); }
@media (hover: hover) {
  .mbar__btn--chat:hover { background-color: var(--n-200); }
  .mbar__btn--chat:hover .i { transform: rotate(-12deg) scale(1.1); }
  .mbar__btn--book:hover { background-color: #000; }
  .mbar__btn--book:hover .mbar__icon { transform: translate(2px, -2px) scale(1.06); }
}
@media (max-width: 767px) { body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .mbar { display: none; } }
@media (max-width: 599px) { .cta-row .btn, .hero__cta .btn { flex: 1 1 100%; white-space: normal; } }

/* ---------- Зменшений рух ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .js .mark:not(.is-on)::before { transform: scaleX(1) skewX(-8deg); }
  .js .mark--flow:not(.is-on) { background-size: 100% .44em; }
  .eyebrow__dot::after { display: none; }
}

/* ================= Композиція ================= */

:root { --dur-1: .16s; --dur-2: .22s; --dur-3: .34s; --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-io: cubic-bezier(.77, 0, .175, 1); }
/* Системні дрібниці браузера — теж частина дизайну */
html { scrollbar-color: var(--n-200) transparent; accent-color: var(--acc-700); }
input, textarea { caret-color: var(--acc-700); }
::selection { background: var(--acc-200); color: var(--text); }
/* Одна авторська анімація на сторінку: решта секцій видима одразу (без однакової появи на кожній) */
.js main > section:not(.hero) .reveal { opacity: 1; transform: none; filter: none; transition: none; }

@media (prefers-reduced-transparency: reduce) {
  .is-scrolled .header__inner, .mmenu { background-color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.readbar { position: absolute; left: 50%; top: 70px; width: calc(100% - var(--gutter) * 2); max-width: var(--container); height: 5px; transform: translateX(-50%);
  border-radius: 6px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity var(--dur-3) var(--ease-out), top var(--dur-3) var(--ease-out); }
.readbar span { display: block; height: 100%; border-radius: inherit; transform: scaleX(var(--read, 0)); transform-origin: left center;
  background: linear-gradient(100deg, rgba(244, 163, 0, .8), rgba(251, 186, 46, .65) 60%, rgba(244, 163, 0, .85)); }
.is-scrolled .readbar { opacity: 1; top: 76px; }
@media (max-width: 599px) { .readbar { top: 64px; } .is-scrolled .readbar { top: 68px; } }
.hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(12px, 3vw, 36px) 0 clamp(72px, 9vw, 130px); text-align: center; }
.hero::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: -30%; left: 50%; width: 90%; height: 80%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 239, 199, .7), rgba(255, 248, 232, .25) 60%, rgba(255, 248, 232, 0)); }
.hero__eyebrow { margin-inline: auto; }
.hero__title { margin-top: 24px; font-size: clamp(2.75rem, 1rem + 8vw, 5.5rem); font-weight: 800; line-height: .96; letter-spacing: -.04em; text-wrap: balance; }
.hero__title .t2 { color: var(--text-2); }
.hero__title .mark { color: var(--text); }
.hero__lead { margin: 22px auto 0; max-width: 44rem; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.pano { position: relative; margin-top: clamp(32px, 4.5vw, 56px); }
.pano__frame { --p: 0; position: relative; padding: 8px; border-radius: 44px;
  background: linear-gradient(180deg, var(--n-25), var(--tray-2)); box-shadow: inset 0 0 0 1px var(--hairline), inset 0 1px 0 #fff, var(--shadow-lift);
  transform: scale(calc(.9 + var(--p) * .1)); transform-origin: 50% 0%; will-change: transform; }
.pano__core { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; aspect-ratio: 4 / 5; background: var(--n-100); }
.pano__core img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(calc(1.14 - var(--p) * .14)); transform-origin: 60% 40%; will-change: transform; }
.pano__core::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(31, 26, 14, 0) 55%, rgba(31, 26, 14, .28)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.pchip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 10px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 16px 36px -18px rgba(31, 26, 14, .5); font-size: var(--fs-small); font-weight: 600; white-space: nowrap; color: var(--text);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.pchip__i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: var(--on-acc); }
.pchip__i .i { width: 16px; height: 16px; }
.pchip--1 { left: 6%; top: 8%; } .pchip--2 { left: 6%; top: calc(8% + 56px); } .pchip--3 { right: 5%; bottom: 7%; }
@media (hover: hover) { .pchip:hover { transform: translateY(-3px); } }
.pano__stats { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--shell-pad); margin: 16px auto 0; text-align: left; }
.pano__stats .stats__item { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; }
.pano__stats .stats__num { order: -1; }
@media (min-width: 680px) {
  .pano__core { aspect-ratio: 2 / 1; } .pano__core img { object-position: 50% 50%; }
  .pchip--1 { left: auto; right: 6%; top: 10%; } .pchip--2 { left: auto; right: 6%; top: calc(10% + 58px); } .pchip--3 { right: auto; left: 5%; bottom: 8%; }
  .pano__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(88%, 980px); margin-top: -64px; }
}
@media (max-width: 767px) { .pano__frame { transform: none; } }
@media (max-width: 679px) {
  .hero__stack { display: flex; flex-direction: column; align-items: center; }
  .hero__stack .pano { display: contents; }
  .hero__stack .pano__frame { order: -1; width: 100%; margin-bottom: 26px; }
  .hero__stack .pano__core { aspect-ratio: 1 / 1.02; }
  .hero__stack .pano__stats { order: 10; width: 100%; margin-top: 36px; }
  .pchip { padding: 7px 12px 7px 7px; font-size: var(--fs-micro); } .pchip__i { width: 26px; height: 26px; }
  .pchip--1 { top: 5%; left: 5%; } .pchip--2 { top: calc(5% + 46px); left: 5%; } .pchip--3 { bottom: 5%; right: 5%; }
}

.sec-intro { max-width: 46rem; margin-bottom: clamp(26px, 3.4vw, 44px); }
.sec-intro .lead { margin-top: 18px; }
.r-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .r-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(32px, 4vw, 64px); align-items: start; } .r-board { position: sticky; top: var(--sticky-top); } }
.sign { position: relative; border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--hairline-strong), 0 1px 2px rgba(31, 26, 14, .05), 0 18px 40px -26px rgba(31, 26, 14, .35); }
.picto { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink-1); color: #fff; flex: none;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.picto .i { width: 26px; height: 26px; stroke-width: 1.8; }
.arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--n-50); color: var(--text); flex: none;
  transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.arrow .i { width: 20px; height: 20px; stroke-width: 2; }
.bi { display: grid; line-height: 1.2; }
.bi__es { font-size: .82rem; font-weight: 600; color: var(--text-2); letter-spacing: .01em; }
.bi__ua { font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; }
.dest { overflow: hidden; }
.dest__h { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--ink-1); color: #fff; }
.dest__h .bi__es { color: var(--ink-text-2); } .dest__h .bi__ua { font-size: 1.375rem; }
.dest__h .picto { background: var(--acc); color: var(--on-acc); }
.dest__list { padding: 8px; }
.drow { display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px; gap: 14px; align-items: center; width: 100%; min-height: 64px; padding: 6px 10px 6px 6px; border-radius: 16px; text-align: left; color: var(--text);
  transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.drow + .drow { box-shadow: inset 0 1px 0 var(--hairline); }
.drow .picto { width: 46px; height: 46px; border-radius: 12px; } .drow .picto .i { width: 23px; height: 23px; }
.drow__s { display: block; margin-top: 2px; font-family: var(--font); font-size: var(--fs-micro); font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.drow:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .drow:hover { background: var(--n-50); } .drow:hover .arrow { transform: translateX(4px); background: var(--ink-1); color: var(--acc-300); } }
.drow[aria-pressed="true"] { background: var(--acc-50); box-shadow: inset 0 0 0 1.5px rgba(219, 142, 0, .45); }
.drow[aria-pressed="true"] .picto { background: var(--acc); color: var(--on-acc); }
.drow[aria-pressed="true"] .arrow { background: var(--acc); color: var(--on-acc); transform: rotate(-45deg); }
.dest__go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 18px; border-top: 1px solid var(--hairline-strong); }
.dest__picked { font-size: var(--fs-small); color: var(--text-2); max-width: 24rem; }
.dest__picked b { color: var(--text); }
.dest__go .btn { white-space: normal; }
@media (max-width: 420px) { .drow { grid-template-columns: 44px minmax(0, 1fr) 34px; gap: 10px; } .drow .picto { width: 42px; height: 42px; } .arrow { width: 34px; height: 34px; } }
/* Табло №4 */
.board { --r-shell: 30px; }
.board__core { overflow: hidden; background: var(--stage); color: var(--stage-text); }
.board__head { display: flex; align-items: center; gap: 10px; padding: 16px 20px 0; font-size: var(--fs-micro); font-weight: 600; color: var(--stage-2); }
.board__head time { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--stage-text); white-space: nowrap; }
.led { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; box-shadow: 0 0 0 3px rgba(244, 163, 0, .22); }
html[data-style="sonce"] .led { background: var(--on-acc); box-shadow: 0 0 0 3px rgba(31, 26, 14, .15); }
.board__now { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 6px 20px 16px; }
.roll { position: relative; display: inline-block; height: 1em; overflow: hidden; font-size: clamp(3rem, 2.2rem + 3.4vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.roll__track { display: block; transition: transform .5s var(--ease-io); }
.roll__track span { display: block; height: 1em; }
.roll.is-rolling .roll__track { transform: translateY(-1em); }
.roll.is-reset .roll__track { transition: none; }
.board__desk { font-weight: 600; color: var(--stage-2); }
.board__desk b { color: var(--stage-text); font-weight: 700; }
.staff { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0 8px; padding: 8px; border-radius: 22px; background: var(--card); color: var(--text);
  box-shadow: 0 0 0 1px rgba(31, 26, 14, .05), var(--inset-hi); }
.staff img { width: 104px; height: 124px; object-fit: cover; object-position: 50% 18%; border-radius: 16px; }
.staff b { display: block; font-size: 1.2rem; letter-spacing: -.02em; }
.staff span { display: block; margin-top: 4px; color: var(--text-2); font-size: var(--fs-small); line-height: 1.45; }
.rows { padding: 8px 8px 10px; }
.rows li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 14px; font-size: var(--fs-small); }
.rows li + li { box-shadow: inset 0 1px 0 var(--stage-line); }
.rows b { font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.02em; }
.rows em { font-style: normal; color: var(--stage-2); }
.rows li:first-child { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(31, 26, 14, .05); }
.rows li:first-child em { color: var(--acc-text); font-weight: 600; }
.rows li.is-new { animation: row-in .42s var(--ease-out) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 999px) { .rows li:nth-child(n+3) { display: none; } .board__now { padding-bottom: 10px; } }
@media (max-width: 480px) { .staff { grid-template-columns: 84px minmax(0, 1fr); } .staff img { width: 84px; height: 100px; } }

.cwall { position: relative; isolation: isolate; overflow: hidden; border-radius: 36px; background: linear-gradient(180deg, var(--n-100), var(--stage));
  box-shadow: 0 2px 4px rgba(31, 26, 14, .06), 0 40px 80px -50px rgba(31, 26, 14, .5); }
.cwall__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 24%; }
.cwall__cap { position: absolute; right: 16px; bottom: 16px; z-index: 1; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: .8125rem; font-weight: 600; color: var(--text); }
.chat { position: relative; z-index: 2; display: flex; flex-direction: column; width: min(440px, calc(100% - 48px)); height: 540px; margin: 24px;
  border-radius: 30px; background: rgba(248, 248, 246, .62); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 0 0 1px rgba(255, 255, 255, .35), 0 30px 60px -28px rgba(31, 26, 14, .45); color: var(--text); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 12px; border-bottom: 1px solid rgba(31, 26, 14, .08); }
.chat__ava { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex: none; box-shadow: 0 0 0 2px #fff; }
.chat__who { display: grid; min-width: 0; line-height: 1.25; }
.chat__who b { font-size: 1rem; letter-spacing: -.01em; } .chat__who span { font-size: .8125rem; color: var(--text-2); }
.chat__tag { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .72); font-size: .75rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.chat__log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; display: flex; flex-direction: column; gap: 6px; padding: 16px 14px 10px; }
.chat__log::-webkit-scrollbar { display: none; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 20px; font-size: .97rem; line-height: 1.42; box-shadow: 0 1px 1px rgba(31, 26, 14, .06); overflow-wrap: break-word; }
.msg--her { align-self: flex-start; background: #fff; color: var(--text); border-bottom-left-radius: 6px; transform-origin: 0 100%; }
.msg--me { align-self: flex-end; background: var(--acc); color: var(--on-acc); border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.msg--me + .msg--her, .msg--her + .msg--me { margin-top: 6px; }
.msg.pop { animation: pop .36s cubic-bezier(.34, 1.36, .64, 1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.86); } }
.msg--card { display: grid; gap: 10px; justify-items: start; }
.msg--card .btn { white-space: normal; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 14px; border-radius: 20px; border-bottom-left-radius: 6px; background: #fff; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8E8A80; animation: dot 1.05s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .55; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 14px; border-top: 1px solid rgba(31, 26, 14, .08); transition: opacity var(--dur-2) var(--ease-out); }
.chat__quick.is-off { opacity: .45; }
.chat__quick-h { flex-basis: 100%; font-size: .78rem; font-weight: 600; color: var(--text-2); margin: 0 2px 2px; }
.qr { min-height: 40px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--text); font-weight: 600; font-size: .9rem; text-align: left;
  box-shadow: inset 0 0 0 1px rgba(31, 26, 14, .1); transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.qr:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .qr:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(31, 26, 14, .2); } }
.qr[hidden] { display: none; }
@media (max-width: 760px) {
  .cwall { border-radius: 30px; }
  .cwall__img { height: 330px; bottom: auto; object-position: 58% 18%; }
  .chat { width: calc(100% - 20px); margin: 286px 10px 10px; height: 500px; border-radius: 26px; }
  .cwall__cap { top: 14px; bottom: auto; right: 14px; }
}
@media (prefers-reduced-transparency: reduce) { .chat { background: #F6F6F4; -webkit-backdrop-filter: none; backdrop-filter: none; } .cwall__cap { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .typing i { animation: none; } }

.s-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .s-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(28px, 3vw, 48px); align-items: stretch; } }
.word { padding: 26px 26px 24px; border-radius: 30px; background: var(--stage); color: var(--stage-text); display: flex; flex-direction: column; justify-content: center; }
.hw { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; line-height: .96; letter-spacing: -.04em; }
.gram { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; color: var(--stage-2); font-size: 1.0625rem; }
.gram__ph { font-size: 1.25rem; color: var(--stage-text); letter-spacing: .01em; }
.gram__ph, .hit__ph { font-family: "Noto IPA", var(--font); font-weight: 400; }
.word__def { margin-top: 12px; color: var(--stage-text); }
.word__def b { font-weight: 700; }
.say { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--card); color: var(--text); font-weight: 600; font-size: var(--fs-small);
  box-shadow: inset 0 0 0 1px var(--hairline); transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.say__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--n-50); transition: background-color var(--dur-2) var(--ease-out); }
.say__ico .i { width: 17px; height: 17px; }
.say:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .say:hover .say__ico { background: var(--acc); color: var(--on-acc); } }
.say.is-playing .say__ico { background: var(--acc); color: var(--on-acc); }
.say.is-playing .w1 { animation: wave 1s var(--ease-out) infinite; } .say.is-playing .w2 { animation: wave 1s var(--ease-out) .18s infinite; }
@keyframes wave { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.say--sm { min-height: 36px; padding: 0 4px; background: transparent; box-shadow: none; }
.say--sm .say__ico { width: 32px; height: 32px; }
.no-speech .say { display: none !important; }
.qbox { display: flex; } .qbox .core { flex: 1; padding: 16px; }
.q__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 10px; font-weight: 700; letter-spacing: -.015em; }
.kbd { display: none; align-items: center; gap: 6px; font-size: var(--fs-micro); font-weight: 500; color: var(--text-2); white-space: nowrap; }
.kbd kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 7px; background: var(--n-50); box-shadow: inset 0 -1px 0 var(--n-200), inset 0 0 0 1px var(--hairline-strong); font: 600 .8rem/1 var(--font); }
@media (hover: hover) and (pointer: fine) { .kbd { display: inline-flex; } }
.q { position: relative; }
.q .i { position: absolute; left: 18px; top: 50%; margin-top: -10px; color: var(--deco); pointer-events: none; }
.q input { width: 100%; min-height: 60px; padding: 0 18px 0 50px; border: 0; border-radius: 18px; outline: none; background: var(--n-50); font-size: 1.125rem; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--hairline-strong); transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); -webkit-appearance: none; appearance: none; }
.q input::placeholder { color: var(--deco); }
.q input:focus-visible { background: #fff; box-shadow: inset 0 0 0 2px var(--acc), 0 0 0 5px rgba(244, 163, 0, .18); }
.q__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.q__chips button { min-height: 36px; padding: 0 12px; border-radius: 999px; background: #fff; font-size: var(--fs-micro); font-weight: 600; box-shadow: inset 0 0 0 1px var(--hairline-strong);
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.q__chips button:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .q__chips button:hover { background: var(--ink-1); color: #fff; } }
.q__res { display: grid; gap: 4px; margin-top: 10px; }
.q__res:empty { display: none; }
.hit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 12px 12px 14px; border-radius: 16px; background: var(--n-25);
  box-shadow: inset 0 0 0 1px var(--hairline); animation: hit-in .22s var(--ease-out) both; }
@keyframes hit-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.hit__hw { font-weight: 800; letter-spacing: -.015em; }
.hit__ph { margin-left: 6px; color: var(--text-2); font-weight: 500; font-size: var(--fs-small); }
.hit__def { grid-column: 1; font-size: var(--fs-small); color: var(--text-body); }
.hit__def b { color: var(--text); }
.hit__svc { grid-column: 1; font-size: var(--fs-micro); font-weight: 600; color: var(--acc-text); }
.hit__acts { grid-column: 2; grid-row: 1 / span 3; display: flex; align-items: center; gap: 4px; }
.hit__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink-1); color: var(--acc-300); transition: transform var(--dur-2) var(--ease-out); }
.hit__go .i { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .hit__go:hover { transform: translate(2px, -2px) scale(1.06); } }
.miss { padding: 14px; border-radius: 16px; background: var(--acc-50); font-size: var(--fs-small); color: var(--text-body); }
.miss a { font-weight: 700; color: var(--acc-text); text-decoration: underline; text-underline-offset: .2em; }
@media (prefers-reduced-motion: reduce) { .say.is-playing .w1, .say.is-playing .w2 { animation: none; } .hit { animation: none; } }

.tboard { --r-shell: 32px; }
.tboard .core { padding: 6px; background: var(--stage); }
.trow { position: relative; display: grid; gap: 14px 24px; padding: 22px 20px; border-radius: 22px; background: var(--card); color: var(--text);
  box-shadow: 0 0 0 1px rgba(31, 26, 14, .04); transition: box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.trow + .trow { margin-top: 6px; }
.trow__code { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--n-50); font-size: 1.375rem; font-weight: 800;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.trow__title { font-size: var(--fs-h3); font-weight: 700; letter-spacing: var(--track-h3); line-height: 1.2; }
.trow__text { margin-top: 6px; color: var(--text-body); max-width: 40rem; }
.trow__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.svc__price { display: grid; gap: 2px; align-content: start; }
.svc__val { font-size: clamp(1.625rem, 1.4rem + .9vw, 2.125rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.svc__unit { font-size: var(--fs-small); color: var(--text-2); }
.svc__more { display: grid; gap: 2px; margin-top: 8px; font-size: var(--fs-small); color: var(--text-body); }
.trow__note { margin-top: 10px; font-size: var(--fs-micro); color: var(--text-2); }
@media (hover: hover) and (pointer: fine) {
  .trow:hover { box-shadow: 0 0 0 1px rgba(219, 142, 0, .25), 0 18px 40px -24px rgba(31, 26, 14, .3); transform: translateY(-2px); }
  .trow:hover .trow__code { background: var(--acc); color: var(--on-acc); }
}
@media (min-width: 900px) { .trow { grid-template-columns: 52px minmax(0, 1fr) 13rem; align-items: start; padding: 26px 26px; } .trow__side { display: grid; gap: 14px; justify-items: start; } }
@media (max-width: 899px) {
  .trow { display: block; padding: 20px 16px; }
  .trow__code { float: left; width: 44px; height: 44px; margin: 0 12px 6px 0; border-radius: 12px; font-size: 1.15rem; }
  .trow__title { min-height: 44px; display: flex; align-items: center; }
  .trow__side { clear: both; margin-top: 16px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid var(--hairline-strong); }
}
.about__grid { display: grid; gap: 40px; }
.about__photo .core { overflow: hidden; aspect-ratio: 4 / 5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 28%; }
.about__text { margin-top: 24px; }
.about__text p { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-body); max-width: 40rem; }
.about__text p + p { margin-top: 14px; }
.served { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.served li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 8px; border-radius: 12px; background: var(--n-50); font-weight: 600; font-size: var(--fs-small); }
.served .i { width: 18px; height: 18px; padding: 3px; border-radius: 6px; background: var(--acc); color: var(--on-acc); stroke-width: 2.4; }
.about__sub { margin-top: 40px; font-size: var(--fs-h3); font-weight: 700; letter-spacing: var(--track-h3); }
.about__sub + .exp { margin-top: 10px; }
.exp__k { font-weight: 800; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(56px, 7vw, 112px); align-items: start; } .about__media { position: sticky; top: var(--sticky-top); } }
.prices__grid { display: grid; gap: 36px; }
@media (min-width: 1024px) { .prices__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(56px, 7vw, 112px); align-items: start; } .prices__head { position: sticky; top: var(--sticky-top); } }
.cta__panel { border-radius: var(--r-panel); padding: clamp(28px, 5vw, 72px) clamp(18px, 5vw, 72px); background: var(--stage); color: var(--stage-text); box-shadow: inset 0 0 0 1px var(--stage-line); }
.cta__panel .h2 .tone { color: var(--stage-2); }
.cta__grid { display: grid; gap: 36px; align-items: start; }
.cta__text { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.55; color: var(--stage-text); max-width: 32rem; }
.cta__aside { margin-top: 30px; --c-line: var(--hairline-strong); --c-icon-bg: var(--n-50); --c-icon: var(--text); --c-icon-line: var(--hairline); --c-label: var(--text-2); --c-value: var(--text); --c-hover: var(--n-25); }
.cta__panel .form-wrap, .cta__panel .cta__aside .core { color: var(--text); }
@media (min-width: 1024px) { .cta__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 96px); } }
.nav__link.is-here { background-color: rgba(31, 26, 14, .07); }

.topbar__time { font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) { .topbar__time { display: none; }
}

.fab { position: fixed; z-index: calc(var(--z-bar) + 1); bottom: calc(24px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--text); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 16px 34px -14px rgba(31, 26, 14, .45);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out), background-color var(--dur-2) var(--ease-out); }

.fab .i { width: 20px; height: 20px; stroke-width: 2; }

.fab:active { transform: scale(.94); }

.totop { right: 24px; opacity: 0; transform: translateY(14px) scale(.92); pointer-events: none; }

.totop.on { opacity: 1; transform: none; pointer-events: auto; }

.totop svg.ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); rotate: -90deg; pointer-events: none; }

.ring circle { fill: none; stroke-width: 2.5; }

.ring .ring__bg { stroke: rgba(31, 26, 14, .08); }

.ring .ring__fg { stroke: var(--acc); stroke-linecap: round; stroke-dasharray: 157.08; stroke-dashoffset: calc(157.08 * (1 - var(--read, 0))); }

.totop .i { transition: transform var(--dur-3) var(--ease-out); }

@media (hover: hover) and (pointer: fine) { .totop:hover { background: var(--ink-1); color: var(--acc-300); }
 .totop:hover .i { transform: translateY(-3px); }
}

.toast { position: fixed; z-index: calc(var(--z-bar) + 3); left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px;
  background: var(--ink-1); color: #fff; font-weight: 600; font-size: var(--fs-small); box-shadow: 0 20px 40px -16px rgba(31, 26, 14, .6);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-out), transform .28s var(--ease-out); }

.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 767px) {
  .fab { width: 46px; height: 46px; bottom: calc(92px + env(safe-area-inset-bottom)); }

  .totop { right: 14px; }

  .kbd { display: none !important; }

  .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
}

.menu-open .fab { opacity: 0; pointer-events: none; }

@media (prefers-reduced-transparency: reduce) { .fab { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

h1, h2, h3, .h2, .hw, .roll, .stats__num, .svc__val, .bi__ua, .hero__title { font-family: var(--font-display); }

/* ================= Внутрішні сторінки, форма заявки, службові дрібниці (джерело: tools/pages.css) ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.preview-bar { position: sticky; top: 0; z-index: 90; padding: 10px 16px; background: var(--ink-1); color: var(--acc-300); font-weight: 600; font-size: var(--fs-small); text-align: center; }
/* Герой: рядок із ключовими словами всередині H1 */
.hero__h1 { display: flex; flex-direction: column; align-items: center; margin: 0; font-size: inherit; }
.hero__h1 .hero__eyebrow { font-family: var(--font); letter-spacing: -.005em; line-height: 1.3; }
.hero__note { margin: 18px auto 0; max-width: 40rem; font-size: var(--fs-small); color: var(--text-2); }
@media (max-width: 679px) { .hero__h1 { align-items: center; } }

/* Заявка: канал відповіді, згода, статус */
.cta__quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chan { border: 0; padding: 0; margin: 0; min-width: 0; }
.chan legend { margin-bottom: 8px; }
.chan__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.chan__opt { position: relative; }
.chan__opt input { position: absolute; opacity: 0; pointer-events: none; }
.chan__opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: var(--n-50); font-weight: 600; font-size: var(--fs-small); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--hairline-strong); transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.chan__opt input:checked + span { background: var(--ink-1); color: #fff; box-shadow: none; }
.chan__opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: var(--fs-small); color: var(--text-body); line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--acc-700); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: .18em; }
.consent .field__err { grid-column: 2; }
.consent.is-bad .field__err { display: block; }
.form__status { padding: 12px 14px; border-radius: 14px; background: #FEF3F2; color: #B42318; font-weight: 600; font-size: var(--fs-small); }
.form__ok-more { margin-top: 14px; font-size: var(--fs-small); color: var(--text-2); }
.spinner { display: inline-block; width: 16px; height: 16px; margin-right: 10px; border-radius: 50%; border: 2px solid rgba(31, 26, 14, .25); border-top-color: currentColor; animation: spin .7s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }

/* Внутрішня сторінка: ліворуч заголовок і текст, праворуч картка «Табло» з ціною та звʼязком.
   На телефоні картка стає одразу під заголовком — ціну й кнопку видно до довгого тексту. */
.page { padding-top: clamp(14px, 2.4vw, 32px); padding-bottom: clamp(56px, 7vw, 104px); }
.page__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "aside" "body"; row-gap: 28px; margin-top: clamp(18px, 2.6vw, 34px); }
.page__head { grid-area: head; } .page__aside { grid-area: aside; } .page__body { grid-area: body; min-width: 0; }
.page__grid--wide { grid-template-areas: "head" "body"; }
@media (min-width: 1000px) {
  .page__grid { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); grid-template-areas: "head aside" "body aside"; grid-template-rows: auto 1fr; column-gap: clamp(40px, 4.5vw, 80px); row-gap: 36px; }
  .page__grid--wide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; }
  .page__aside { align-self: start; position: sticky; top: var(--sticky-top); }
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: var(--fs-micro); color: var(--text-2); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--n-200); }
.crumbs a { color: var(--text-2); text-decoration: none; padding-block: 6px; }
@media (hover: hover) { .crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .2em; } }
.page-head__h1 { font-size: clamp(2.15rem, 1rem + 4vw, 3.9rem); font-weight: 800; line-height: 1.02; letter-spacing: -.038em; text-wrap: balance; }
.page-head__h1 .tone { color: var(--text-2); }
.page-head__es { display: block; margin-bottom: 10px; font-size: clamp(1rem, .9rem + .5vw, 1.2rem); font-weight: 600; letter-spacing: -.01em; color: var(--acc-text); }
.page-head__lead { margin-top: 20px; max-width: 42rem; }
.page-head__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-head__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: var(--fs-micro); color: var(--text-2); }
.page-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-head__meta .i { width: 16px; height: 16px; color: var(--acc-700); }
/* «Табло» на внутрішніх сторінках: коротко, ціна, звʼязок */
.pboard .core { overflow: hidden; background: var(--stage); }
.pboard__head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 4px; font-size: var(--fs-micro); font-weight: 600; color: var(--stage-2); }
.pboard__head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(255, 176, 0, .18); }
.pboard__price { padding: 4px 20px 16px; font-size: clamp(2.3rem, 1.9rem + 1.6vw, 3.2rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--stage-text); }
.pboard__price small { display: block; margin-top: 8px; font-size: var(--fs-small); font-weight: 500; letter-spacing: 0; color: var(--stage-2); }
.pboard__rows { list-style: none; margin: 0; padding: 0 8px; }
.pboard__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px; font-size: var(--fs-small); color: var(--stage-text); }
.pboard__rows li + li { box-shadow: inset 0 1px 0 var(--stage-line); }
.pboard__rows b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pboard__go { display: grid; gap: 8px; padding: 12px; }
.pboard__go .btn { width: 100%; justify-content: space-between; }
.pboard__note { padding: 0 20px 18px; font-size: var(--fs-micro); line-height: 1.45; color: var(--stage-2); }
.pboard__word { padding: 6px 20px 14px; }
.pboard__word .hw { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); }
.pboard__word .gram { margin-top: 8px; }

.prose { max-width: 44rem; color: var(--text-body); font-size: var(--fs-body); line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.15; color: var(--text); scroll-margin-top: 110px; }
.prose h3 { margin-top: 1.8em; font-size: var(--fs-h3); font-weight: 700; letter-spacing: var(--track-h3); line-height: 1.25; color: var(--text); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p.answer { font-size: var(--fs-lead); line-height: 1.6; color: var(--text); }
.prose a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 34px; }
.prose ul li + li, .prose ol li + li { margin-top: .55em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 7px; background: var(--acc-100)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238C5800' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.prose ol { counter-reset: n; }
.prose ol li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink-1); color: var(--acc-300); font-size: .8rem; font-weight: 800; }
.prose strong { color: var(--text); }
.prose .note { padding: 16px 18px; border-radius: 18px; background: var(--n-50); box-shadow: inset 0 0 0 1px var(--hairline); font-size: var(--fs-small); }
.prose .es { font-style: italic; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--hairline-strong); text-align: left; vertical-align: top; }
.prose th { color: var(--text); font-weight: 700; }
.tbd { background: #FEF0C7; outline: 1px dashed #B54708; }
/* Блок «Чим допоможу» всередині тексту */
.helpbox { margin-top: 2em; padding: clamp(20px, 2.4vw, 28px); border-radius: 26px; background: var(--stage); color: var(--stage-text); }
.helpbox h2 { margin-top: 0; color: var(--stage-text); }
.helpbox p { color: var(--stage-text); }
.helpbox .btn { margin-top: 16px; }

/* Картки дочірніх сторінок і «схожі» */
.links { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .links--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 6px 14px; align-items: start; padding: 20px 20px 18px; border-radius: 22px; background: var(--card); color: var(--text); text-decoration: none;
  box-shadow: 0 0 0 1px var(--hairline-strong), 0 14px 30px -26px rgba(31, 26, 14, .4); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.lcard__t { font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.lcard__es { display: block; margin-bottom: 2px; font-size: .82rem; font-weight: 600; color: var(--text-2); }
.lcard__d { grid-column: 1; font-size: var(--fs-small); color: var(--text-2); line-height: 1.45; }
.lcard__m { grid-column: 1; font-size: var(--fs-micro); font-weight: 600; color: var(--acc-text); }
.lcard .arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
@media (hover: hover) and (pointer: fine) { .lcard:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(219, 142, 0, .3), 0 22px 44px -26px rgba(31, 26, 14, .45); } .lcard:hover .arrow { background: var(--ink-1); color: var(--acc-300); transform: translateX(3px); } }
.sec-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.1; margin-bottom: clamp(18px, 2.4vw, 28px); }

/* Розмовник: слово */
.term-ph { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; color: var(--text-2); }
.term-ph .gram__ph { color: var(--text); font-size: 1.25rem; }
.alpha { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.alpha a { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 12px; background: var(--n-50); font-weight: 700; text-decoration: none; color: var(--text); }

/* Ціни на сторінці «Ціни» */
.ptable { display: grid; gap: 14px; }
.ptable__group { padding: clamp(18px, 2.4vw, 26px); border-radius: 26px; background: var(--stage); }
.ptable__group h2 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: var(--track-h3); }
.ptable__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--stage-line); }
.ptable__row:first-of-type { margin-top: 10px; }
.ptable__name { font-weight: 600; } .ptable__note { grid-column: 1; font-size: var(--fs-small); color: var(--text-2); }
.ptable__val { grid-row: 1; grid-column: 2; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Помилка 404 */
.err { padding: clamp(40px, 8vw, 120px) 0; text-align: center; }
.err__code { font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--n-200); }
.err .h2 { margin-top: 12px; }
.err .page-head__cta { justify-content: center; }

/* Розмовник у розділі: пошук + алфавітні групи */
.dict-hub { display: grid; gap: clamp(28px, 4vw, 48px); }
.dict-hub .s-grid { margin-top: 0; }
.letter { scroll-margin-top: 110px; }
.letter__h { margin-bottom: 12px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--acc-text); }
.lcard__hw { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
.lcard__ph { margin-left: 8px; font-family: "Noto IPA", var(--font); font-size: .85rem; font-weight: 500; color: var(--text-2); }
.hit a.hit__hw { color: inherit; text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: .2em; }
/* Блоки після статті */
.after { padding-block: 0 clamp(56px, 7vw, 104px); }
.after + .after { padding-top: 0; }
.faq--page { padding-top: 0; }
/* Сторінка подяки й помилки форми */
.done { padding: clamp(40px, 8vw, 112px) 0; }
.done__card { max-width: 40rem; margin-inline: auto; text-align: center; }
.done__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--acc-100); color: var(--acc-text); }
.done__icon .i { width: 32px; height: 32px; }
.done .page-head__cta { justify-content: center; }
.qsolo { max-width: 52rem; }
.ptable__group h2 a { color: inherit; text-decoration: none; }
@media (hover: hover) { .ptable__group h2 a:hover { text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: .2em; } }

/* Мобільне меню: сам контейнер отримує фокус після дотику — без рамки; рамка клавіатури — охайна, всередині пункту */
#mmenu:focus { outline: none; }
#mmenu a:focus-visible { outline-offset: -3px; border-radius: 16px; }

/* ================= 09.10 · Мобільна версія: герой на всю ширину, новий прогрес, кнопка «нагору», динаміка ================= */

/* Світлячок довкола острівця шапки (обрано 09.10: М17 і Д12): іскра зі шлейфом обходить контур разом із прокруткою.
   Шар точно по острівцю — іскра йде по його власному краю. Розмір контуру, довжини (у px, data-len) і зсув кожного штриха
   рахує app.js атрибутами: calc() без одиниць у stroke-dashoffset Firefox відкидає (09.10 — іскра стояла на місці). */
.header__inner > .readbar { position: absolute; inset: 0; top: 0; left: 0; right: 0; bottom: 0; width: auto; max-width: none; height: auto;
  transform: none; border-radius: inherit; overflow: visible; background: none; opacity: 0; pointer-events: none; transition: opacity var(--dur-3) var(--ease-out); }
.is-scrolled .header__inner > .readbar { top: 0; opacity: 1; }
.menu-open .header__inner > .readbar { opacity: 0; }
.readbar .fly { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fly rect { fill: none; stroke-linecap: round; }
/* шлейф тане до хвоста: три штрихи різної довжини з одним кінцем — біля іскри */
.fly__t3 { stroke: rgba(244, 163, 0, .12); stroke-width: 2; transition: stroke .4s var(--ease-out); }
.fly__t2 { stroke: rgba(244, 163, 0, .26); stroke-width: 2.2; transition: stroke .4s var(--ease-out); }
.fly__t1 { stroke: rgba(244, 163, 0, .55); stroke-width: 2.6; }
.fly__spark { stroke: #FFC23D; stroke-width: 3.4; }
.readbar.is-moving .fly__t3 { stroke: rgba(244, 163, 0, .2); }
.readbar.is-moving .fly__t2 { stroke: rgba(244, 163, 0, .4); }

/* Кнопка «нагору»: графітова, кільце прогресу з жовтим градієнтом, стрілка «злітає» при натисканні */
.fab.totop { width: 54px; height: 54px; overflow: visible; background: var(--ink-1); color: var(--acc-300); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 16px 32px -14px rgba(31, 26, 14, .7);
  transform: translate3d(0, calc(18px + var(--mbo, 0px)), 0) scale(.82);
  transition: opacity .3s var(--ease-out), transform .55s var(--ease-spring), background-color .2s var(--ease-out); }
.fab.totop.on { transform: translate3d(0, var(--mbo, 0px), 0) scale(1); }
.fab.totop:active { transform: translate3d(0, var(--mbo, 0px), 0) scale(.9); transition-duration: .3s, .12s, .2s; }
.totop::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 3px; pointer-events: none;
  background: conic-gradient(var(--acc-300), var(--acc) calc(var(--read, 0) * 1turn), rgba(255, 255, 255, .12) calc(var(--read, 0) * 1turn));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.totop::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 62%); }
.totop__ico { position: relative; z-index: 1; display: grid; place-items: center; overflow: hidden; width: 22px; height: 22px; }
.totop__ico .i { width: 20px; height: 20px; stroke-width: 2.2; }
.totop.is-launch .totop__ico .i { animation: totop-launch .6s var(--ease-out); }
@keyframes totop-launch { 0% { translate: 0 0; } 40% { translate: 0 -130%; } 41% { translate: 0 130%; } 100% { translate: 0 0; } }
@media (hover: hover) and (pointer: fine) { .fab.totop:hover { background: #2C2516; color: var(--acc-300); } }

/* Нижня панель на телефоні: зʼявляється, коли кнопки першого екрана вже прокручено, і ховається біля форми заявки */
@media (max-width: 767px) {
  .mbar { transition: transform .55s var(--ease-spring), opacity .3s var(--ease-out); }
  .mbar-ready:not(.mbar-on) .mbar { transform: translateY(calc(100% + 28px)); opacity: 0; pointer-events: none; }
  .mbar-ready:not(.mbar-on) .totop { --mbo: 68px; }
}

/* Плашка над заголовком: пульс по центру висоти тексту, компактніше */
@media (max-width: 479px) { .eyebrow { align-items: center; } .eyebrow__dot { margin-top: 0; } }
@media (max-width: 679px) {
  .hero__h1 .hero__eyebrow { text-align: left; font-size: var(--fs-micro); padding: 8px 16px 8px 13px; gap: 11px; }
}

/* Герой на телефоні: фото на всю ширину, без рамки, трохи нижче; глибина під час прокрутки */
@media (max-width: 679px) {
  .hero { padding-top: 0; }
  .hero__stack .pano__frame { width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1) 24px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .hero__stack .pano__core { border-radius: 0; aspect-ratio: 4 / 5; }
  .hero__stack .pano__core::after { border-radius: 0; box-shadow: none; background: linear-gradient(180deg, rgba(31, 26, 14, 0) 60%, rgba(31, 26, 14, .26)); }
  .hero__stack .pano__core img { object-position: 50% 22%; transform: translate3d(0, var(--py, 0px), 0) scale(1.12); transform-origin: 50% 50%; }
}

/* Великі тексти на телефоні — трохи менші */
@media (max-width: 679px) {
  :root { --fs-h2: clamp(1.75rem, 1.15rem + 2.6vw, 2rem); }
  .hero__title { font-size: clamp(2.3rem, 1.05rem + 6.6vw, 2.75rem); }
  .page-head__h1 { font-size: clamp(1.85rem, 1.05rem + 3.6vw, 2.2rem); }
  .roll { font-size: 2.5rem; }
  .hw { font-size: clamp(2rem, 1.3rem + 3vw, 2.4rem); }
  .stats__num { font-size: 2rem; }
  .svc__val { font-size: 1.5rem; }
  .pboard__price { font-size: 2.1rem; }
  .sec-title { font-size: 1.5rem; }
  .prose h2 { font-size: 1.4rem; }
  .err__code { font-size: 5rem; }
}

/* Відчуття під пальцем: хвиля від дотику, легке «вдавлювання» карток */
.rp { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.rp i { position: absolute; left: var(--rx); top: var(--ry); width: var(--rs); height: var(--rs); margin: calc(var(--rs) / -2) 0 0 calc(var(--rs) / -2);
  border-radius: 50%; background: currentColor; opacity: .18; transform: scale(.05); animation: rp-wave .65s var(--ease-out) forwards; }
@keyframes rp-wave { to { transform: scale(1); opacity: 0; } }
.mbar__btn, .faq__btn, .q__chips button, .chan__opt span, .a-tap { position: relative; }
.lcard, .trow, .ptable__row, .contact, .price, .exp__item, .served li { transition: scale .2s var(--ease-out); }
.lcard:active, .trow:active, .contact:active, .price:active { scale: .985; }

/* Живі деталі першого екрана */
.hero__cta .btn--chat .btn__icon { position: relative; }
.hero__cta .btn--chat .btn__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(244, 163, 0, .55); animation: cta-ping 2.8s var(--ease-out) 1.4s infinite; }
@keyframes cta-ping { 0% { box-shadow: 0 0 0 0 rgba(244, 163, 0, .5); } 70%, 100% { box-shadow: 0 0 0 12px rgba(244, 163, 0, 0); } }

@media (prefers-reduced-motion: no-preference) {
  .js .hero .pfacts { animation: pf-in .8s var(--ease-out) .3s backwards; }
  .js .hero .pfacts li { animation: pf-li .6s var(--ease-out) backwards; }
  .js .hero .pfacts li:nth-child(1) { animation-delay: .45s; } .js .hero .pfacts li:nth-child(2) { animation-delay: .55s; } .js .hero .pfacts li:nth-child(3) { animation-delay: .65s; }
  @keyframes pf-in { from { opacity: 0; filter: blur(6px); } }
  @keyframes pf-li { from { opacity: 0; translate: -10px 0; } }
  /* Відгук на напрям прокрутки (09.10). data-from — де блок зараз: bottom (нижче екрана) чи top (вище).
     Вихід — швидкий і без затримок; вхід — плавніший, зі сходинкою; для руху вгору сходинка обернена (--dr, --rvdr, --wn − --wi). */
  .js main > section:not(.hero) .reveal { transition: opacity .7s var(--ease-out) var(--d, 0ms), transform .8s var(--ease-out) var(--d, 0ms), filter .7s var(--ease-out) var(--d, 0ms); }
  .js main > section:not(.hero) .reveal.is-in[data-from="top"] { transition-delay: var(--dr, 0ms); }
  .js main > section:not(.hero) .reveal:not(.is-in) { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(4px); transition-duration: .35s; transition-delay: 0s; }
  .js main > section:not(.hero) .reveal[data-from="top"]:not(.is-in) { transform: translate3d(0, -26px, 0); }
  .js .rv { opacity: 0; translate: 0 28px; transition: opacity .3s var(--ease-out), translate .4s var(--ease-out), scale .2s var(--ease-out); }
  .js .rv[data-from="top"] { translate: 0 -28px; }
  .js .rv.rv-in { opacity: 1; translate: none; transition: opacity .6s var(--ease-out) var(--rvd, 0ms), translate .75s var(--ease-out) var(--rvd, 0ms), scale .2s var(--ease-out); }
  .js .rv.rv-in[data-from="top"] { transition-delay: var(--rvdr, 0ms), var(--rvdr, 0ms), 0s; }
  .js .wr .w { display: inline-block; opacity: 0; translate: 0 .42em; filter: blur(3px); transition: opacity .25s var(--ease-out), translate .3s var(--ease-out), filter .25s var(--ease-out); }
  .js .wr[data-from="top"] .w { translate: 0 -.42em; }
  .js .wr.wr-in .w { opacity: 1; translate: none; filter: none;
    transition: opacity .5s var(--ease-out) calc(var(--wi, 0) * 40ms), translate .65s var(--ease-out) calc(var(--wi, 0) * 40ms), filter .5s var(--ease-out) calc(var(--wi, 0) * 40ms); }
  .js .wr.wr-in[data-from="top"] .w { transition-delay: calc((var(--wn, 1) - 1 - var(--wi, 0)) * 40ms); }

  /* Плюшки напряму: фото в контенті з глибиною; нижня панель «присідає», коли гортаєте вниз, і вистрибує, коли вгору;
     стрілка «нагору» підморгує, поки гортаєте вгору */
  .plx { scale: 1.1; transition: translate .2s linear; will-change: translate; }
  @media (max-width: 767px) {
    html[data-sdir="down"].is-scrolling.mbar-on:not(.menu-open) .mbar { transform: translateY(8px) scale(.965); }
  }
  html[data-sdir="up"].is-scrolling .fab.totop.on .totop__ico .i { animation: totop-nudge .9s var(--ease-out) infinite; }
  @keyframes totop-nudge { 0%, 100% { translate: 0 0; } 45% { translate: 0 -5px; } }
}
@media (prefers-reduced-motion: reduce) {
  .rp, .hero__cta .btn--chat .btn__icon::after { display: none; }
  .fab.totop, .mbar { transition-duration: .01ms; }
  .totop.is-launch .totop__ico .i { animation: none; }
}
@media (max-width: 767px) { .fab.totop { width: 50px; height: 50px; right: 14px; } }

/* ================= 10.10 · Без повторів: факти на фото, «Куди вам треба?» — посилання + табло, ціни — талони ================= */

/* Факти на фото героя: один скляний список у порожній частині кадру (компʼютер) або смуга внизу фото (телефон) */
.pfacts { position: absolute; z-index: 2; left: clamp(18px, 3vw, 40px); top: 50%; translate: 0 calc(-50% - 30px); display: grid; margin: 0; padding: 6px; list-style: none;
  border-radius: 24px; background: rgba(255, 255, 255, .76); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 24px 50px -28px rgba(31, 26, 14, .55); }
.pfacts li { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; font-size: var(--fs-small); font-weight: 600; letter-spacing: -.005em; color: var(--text); white-space: nowrap; }
.pfacts li + li { box-shadow: inset 0 1px 0 rgba(31, 26, 14, .08); }
.pfacts__i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--acc); color: var(--on-acc); }
.pfacts__i .i { width: 17px; height: 17px; }
@media (min-width: 680px) { .pfacts { display: none; } } /* 10.10: на компʼютері фото без бейджів — за проханням Андрія */
@media (max-width: 679px) {
  .hero__stack .pfacts { left: 0; right: 0; top: auto; bottom: 0; translate: none; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; border-radius: 0;
    background: rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
  .hero__stack .pfacts li { flex-direction: column; justify-content: flex-start; gap: 7px; padding: 12px 6px 13px; text-align: center; white-space: normal; font-size: .8125rem; line-height: 1.25; }
  .hero__stack .pfacts li + li { box-shadow: inset 1px 0 0 rgba(31, 26, 14, .08); }
  .hero__stack .pfacts__i { width: 28px; height: 28px; } .hero__stack .pfacts__i .i { width: 15px; height: 15px; }
  .hero__stack .pano__core::after { background: none; }
}

/* «Куди вам треба?»: рядок — кнопка. Компʼютер з мишею: обраний рядок міняє табло праворуч (підпис рядка ховається —
   подробиці на табло). Телефон: під рядком розгортається картка, стрілка повертається донизу */
.drow { color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dest__item { position: relative; border-radius: 18px; transition: background-color .35s var(--ease-out); }
.dest__item + .dest__item::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; height: 1px; background: var(--hairline); transition: opacity .25s var(--ease-out); }
.dest__item.is-on::before, .dest__item.is-on + .dest__item::before, .dest__item.is-open::before, .dest__item.is-open + .dest__item::before { opacity: 0; }
.drow, .drow .picto { transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .3s var(--ease-out); }
.drow .arrow { transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .3s var(--ease-out), rotate .55s cubic-bezier(.34, 1.45, .64, 1); }
.drow:focus-visible { outline: 2px solid var(--acc-600); outline-offset: -2px; }
.dest__item.is-on .drow, .dest__item .drow[aria-pressed="true"] { background: var(--acc-50); box-shadow: none; }
.dest__item.is-on .drow .picto, .dest__item.is-open .drow .picto { background: var(--acc); color: var(--on-acc); }
.dest__item.is-on .drow .arrow { background: var(--ink-1); color: var(--acc-300); transform: translateX(4px); }
.dest__item.is-open { background: var(--acc-50); }
.dest__item.is-open .drow .arrow { background: var(--ink-1); color: var(--acc-300); rotate: 90deg; }

/* Картка під рядком (без JS — завжди відкрита) */
.dpanel { display: grid; grid-template-rows: 1fr; }
.dpanel__in { min-height: 0; overflow: hidden; }
.dcard, .board__body { display: flex; flex-direction: column; gap: 10px; }
.dcard { padding: 4px 14px 16px; }
.js .dpanel { grid-template-rows: 0fr; transition: grid-template-rows .34s cubic-bezier(.32, .72, 0, 1); }
.js .dest__item.is-open .dpanel { grid-template-rows: 1fr; transition-duration: .55s; }
.js .dest__item:not(.is-open) .dpanel__in { visibility: hidden; transition: visibility 0s linear .34s; }
.js .dcard { opacity: 0; translate: 0 -10px; transition: opacity .18s var(--ease-out), translate .3s var(--ease-out); }
.js .dest__item.is-open .dcard { opacity: 1; translate: none; transition: opacity .4s var(--ease-out) .1s, translate .55s cubic-bezier(.32, .72, 0, 1) .05s; }
/* підпис рядка згортається, коли картка відкрита: картка його й розгортає */
.js .drow__s { display: block; max-height: 3.4em; overflow: hidden; transition: max-height .4s cubic-bezier(.32, .72, 0, 1), opacity .25s var(--ease-out); }
.js .dest__item.is-open .drow__s { max-height: 0; opacity: 0; }

.r-board { display: none; }
html:not(.js) .r-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) {
  .js .r-board { display: block; }
  .js .dpanel { display: none; }
  .js .dest .drow__s { display: none; }
  .dest .drow { min-height: 58px; }
}
@media (max-width: 999px), (hover: none), (pointer: coarse) { .r-grid { grid-template-columns: minmax(0, 1fr); } .dest { max-width: 46rem; } }

/* Табло: іспанська назва «на вивісці», що зробимо, фраза з вимовою, дві дії. Без цін і без годинника */
.board__core { display: flex; flex-direction: column; min-height: 100%; }
.board__head { padding-top: 18px; padding-right: 20px; }
/* Таймер автоперемикання: смужка заповнюється за 4,5 с; на паузі — завмирає й тьмяніє */
.board__tick { flex: none; margin-left: auto; width: 64px; height: 3px; border-radius: 3px; background: var(--stage-line); overflow: hidden; }
.board__tick i { display: block; height: 100%; border-radius: inherit; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); transition: opacity .25s var(--ease-out); }
.board__tick i.run { animation: bd-tick 4.5s linear forwards; }
.board.is-paused .board__tick i { animation-play-state: paused; opacity: .45; }
@keyframes bd-tick { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .board__tick { display: none; } }
.board__now { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 20px 18px; }
.board .roll { font-size: clamp(2.75rem, 1.4rem + 2.6vw, 4.25rem); }
.board .roll__track span { white-space: nowrap; }
.board__desk { font-size: 1.125rem; transition: opacity .2s var(--ease-out); }
.board__body { flex: 1; padding: 0 20px; min-height: 17.5rem; transition: opacity .28s var(--ease-out), filter .28s var(--ease-out), translate .32s var(--ease-out); }
.board.is-swap .board__body { opacity: 0; filter: blur(4px); translate: 0 6px; transition-duration: .14s; }
.board.is-swap .board__desk { opacity: 0; transition-duration: .12s; }
.board__k { font-size: var(--fs-micro); font-weight: 600; color: var(--stage-2); }
.board__does { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.board__does li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: var(--r-pill); background: var(--card); box-shadow: 0 0 0 1px var(--hairline), 0 1px 2px rgba(31, 26, 14, .05); font-size: var(--fs-small); font-weight: 600; }
.board__does li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); flex: none; }
.board__phrase { padding: 16px 18px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--hairline), 0 1px 2px rgba(31, 26, 14, .05); }
.board__phrase .board__k { margin-bottom: 8px; }
.board__es { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.board__ua { margin-top: 4px; color: var(--text-2); font-size: var(--fs-small); }
.board__go { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.board__body .board__go { margin-top: auto; padding: 14px 0 20px; }
@media (max-width: 599px) {
  .dcard { gap: 8px; padding: 0 12px 14px; }
  .dcard .board__does { flex-direction: column; gap: 0; margin: 0 0 6px; }
  .dcard .board__does li { padding: 6px 0; border-radius: 0; background: none; box-shadow: none; font-size: var(--fs-small); line-height: 1.35; }
  .dcard .board__does li + li { box-shadow: inset 0 1px 0 rgba(219, 142, 0, .14); }
  .dcard .board__phrase { padding: 14px; border-radius: 16px; }
  .dcard .board__es { font-size: 1.0625rem; }
  .dcard .board__go { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 4px; }
  .dcard .board__go .btn { width: 100%; min-width: 0; justify-content: space-between; padding-left: 16px; gap: 8px; font-size: .9375rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .board .board__does li, .js .dest__item.is-open .board__does li { animation: bd-in .42s var(--ease-out) backwards; }
  .board .board__does li:nth-child(2) { animation-delay: 40ms; } .board .board__does li:nth-child(3) { animation-delay: 80ms; } .board .board__does li:nth-child(4) { animation-delay: 120ms; } .board .board__does li:nth-child(5) { animation-delay: 160ms; }
  .js .dest__item.is-open .board__does li:nth-child(1) { animation-delay: 140ms; } .js .dest__item.is-open .board__does li:nth-child(2) { animation-delay: 180ms; } .js .dest__item.is-open .board__does li:nth-child(3) { animation-delay: 220ms; } .js .dest__item.is-open .board__does li:nth-child(4) { animation-delay: 260ms; } .js .dest__item.is-open .board__does li:nth-child(5) { animation-delay: 300ms; }
  .js .dest__item.is-open .board__phrase { animation: bd-in .5s var(--ease-out) .26s backwards; }
  @keyframes bd-in { from { opacity: 0; translate: 0 6px; scale: .96; } }
}

/* Ціни — чотири «вікна»-талони: без подвійної рамки, ціна відділена лінією відриву з вирізами по краях */
.tix { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 1.6vw, 22px); }
@media (min-width: 900px) { .tix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tix__card { --px: 26px; position: relative; display: flex; flex-direction: column; border-radius: 28px; background: var(--card);
  box-shadow: 0 0 0 1px var(--hairline-strong), 0 1px 2px rgba(31, 26, 14, .04), 0 22px 44px -32px rgba(31, 26, 14, .4);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.tix__body { flex: 1; padding: var(--px) var(--px) 24px; }
.tix__top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tix__code { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--acc); color: var(--on-acc); font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out); }
.tix__es { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.tix__title { font-size: var(--fs-h3); font-weight: 700; letter-spacing: var(--track-h3); line-height: 1.2; text-wrap: balance; }
.tix__text { margin-top: 8px; color: var(--text-body); }
.tix__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.tix__tags li { padding: 5px 12px; border-radius: var(--r-pill); background: var(--n-50); box-shadow: inset 0 0 0 1px var(--hairline); font-size: var(--fs-micro); font-weight: 500; color: var(--text-body); }
.tix__note { margin-top: 14px; font-size: var(--fs-micro); color: var(--text-2); }
.tix__cut { position: relative; height: 2px; margin: 0 16px; background: radial-gradient(circle, var(--n-200) 1px, transparent 1.4px) center / 9px 2px repeat-x; }
.tix__cut::before, .tix__cut::after { content: ""; position: absolute; top: -12px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.tix__cut::before { left: -29px; clip-path: inset(-2px -2px -2px calc(50% - 1px)); }
.tix__cut::after { right: -29px; clip-path: inset(-2px calc(50% - 1px) -2px -2px); }
.tix__foot { display: flex; flex-wrap: wrap; align-items: flex-end; align-content: space-between; justify-content: space-between; gap: 18px 20px; padding: 22px var(--px) var(--px); }
.tix__price { display: grid; gap: 2px; margin: 0; }
.tix__val { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tix__unit { font-size: var(--fs-small); color: var(--text-2); }
.tix__extra { font-size: var(--fs-small); color: var(--text-body); }
.tix__unit + .tix__extra { margin-top: 8px; }
.tix__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.tix__more-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--fs-small); font-weight: 600; color: var(--text);
  text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 5px; transition: text-decoration-color .2s var(--ease-out); }
.tix__more-link .i { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tix__card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(219, 142, 0, .3), 0 1px 2px rgba(31, 26, 14, .04), 0 28px 54px -30px rgba(31, 26, 14, .45); }
  .tix__card:hover .tix__code { background: var(--ink-1); color: var(--acc-300); }
  .tix__more-link:hover { text-decoration-color: var(--acc); }
  .tix__more-link:hover .i { transform: translateX(3px); }
}
.tix__card:active { scale: .99; }
@media (max-width: 599px) {
  .tix__card { --px: 18px; border-radius: 24px; }
  .tix__top { margin-bottom: 14px; } .tix__code { width: 42px; height: 42px; border-radius: 12px; font-size: 1.15rem; }
  .tix__val { font-size: 1.75rem; }
}
/* лінії відриву сусідніх карток — на одній висоті: опис / лінія / ціна — спільні рядки сітки */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 900px) {
    .tix { row-gap: 0; }
    .tix__card { display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; margin-bottom: clamp(14px, 1.6vw, 22px); }
    .tix__cut { align-self: start; }
  }
}

/* ================= 10.10 · Герой з портретом Олени (image2): компʼютер — текст ліворуч, фото праворуч ================= */
.hero__text { width: 100%; }
@media (min-width: 680px) and (max-width: 1023px) {
  .hero__stack .pano__frame { width: min(100%, 520px); margin-inline: auto; }
  .hero__stack .pano__core { aspect-ratio: 4 / 5; }
  .hero__stack .pano__core img { object-position: 50% 26%; }
  .hero__stack .pano__stats { width: 100%; margin-top: 28px; }
}
@media (min-width: 1024px) {
  .hero { text-align: left; padding-top: clamp(16px, 2vw, 32px); }
  .hero::before { left: 32%; }
  .hero__stack { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". p" "t p" "s p" ". p"; column-gap: clamp(40px, 5vw, 96px); align-items: center; }
  .hero__text { grid-area: t; }
  .hero__stack .pano { display: contents; }
  .hero__h1 { align-items: flex-start; }
  .hero__h1 .hero__eyebrow { margin-inline: 0; }
  .hero__title { font-size: clamp(3.4rem, 1.1rem + 4.2vw, 5.4rem); }
  .hero__lead { margin-inline: 0; max-width: 34rem; }
  .hero__cta { justify-content: flex-start; }
  .hero__stack .pano__frame { grid-area: p; width: 100%; max-width: max(360px, calc((100svh - 150px) * .8)); justify-self: end; transform: none; }
  .hero__stack .pano__core { aspect-ratio: 4 / 5; }
  .hero__stack .pano__core::after { background: none; }
  .hero__stack .pano__core img { object-position: 50% 26%; transform: none; }
  .hero__stack .pano__stats { grid-area: s; align-self: start; width: 100%; margin: 40px 0 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__stack .pano__stats .stats__item { padding: 16px 18px; gap: 6px; }
  .hero__stack .pano__stats .stats__num { font-size: clamp(2rem, 1.1rem + 1.5vw, 2.75rem); }
}

/* 10.10 · Переписка: вуличне фото Олени (джерело 1254 px). На компʼютері — лише в правій частині блоку з мʼяким
   переходом під скляний чат, щоб фото показувалось майже в рідному розмірі й лишалось чітким; голова не обрізається */
@media (min-width: 761px) {
  .cwall__img { left: 34%; width: 66%; object-position: 50% 8%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
}
@media (max-width: 760px) { .cwall__img { object-position: 50% 6%; } }
