/* =========================================================================
   «Светлая улыбка» — v4 «один день»: перламутр, чернильная бирюза,
   аква-акцент, шампань-волосяные линии. Cormorant (дисплей) + Manrope.
   ========================================================================= */

@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-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: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/manrope-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: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F4F7F8;
  --pearl: #FFFFFF;
  --porcelain: #EAF0F2;
  --ink: #0D3B42;
  --ink-2: #3E6168;
  --ink-3: #5D787E;
  --aqua: #2CC4B3;
  --aqua-deep: #0A7D74;
  --aqua-soft: #D9F3EF;
  --gold: #C2A36A;
  --gold-deep: #7F6229;
  --line: rgba(13, 59, 66, .13);
  --line-strong: rgba(13, 59, 66, .28);
  --display: "Cormorant", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 6vw, 96px);
  --shadow-glass: 0 1px 0 rgba(255,255,255,.7) inset, 0 12px 40px -18px rgba(13,59,66,.35);
  --shadow-soft: 0 30px 70px -40px rgba(13,59,66,.35), 0 2px 6px -2px rgba(13,59,66,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: clip; }
main { display: block; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ol, ul, dl, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-color: rgba(13,59,66,.35); text-underline-offset: .18em; }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }
svg { fill: none; }
:focus-visible { outline: 2px solid var(--aqua-deep); outline-offset: 3px; border-radius: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .2s var(--ease); }
.skip:focus { top: 16px; }
.sprite { position: absolute; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3, .display { font-family: var(--display); font-weight: 500; letter-spacing: -.005em; line-height: 1; font-variant-numeric: lining-nums; text-wrap: balance; }
h2 { font-size: clamp(38px, 5vw, 72px); line-height: .98; }
h2.h2--sm { font-size: clamp(30px, 3.4vw, 48px); }
h3 { font-size: 24px; line-height: 1.15; }
p { text-wrap: pretty; }
em { font-style: italic; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.sample { display: inline-block; font-style: normal; letter-spacing: .12em; padding: 2px 8px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-deep); font-size: 10px; margin-left: 8px; line-height: 1.5; }
.legal { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); max-width: 760px; margin-top: 40px; }

.section { padding-block: clamp(96px, 12vw, 176px); }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }
.head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 88px); }
.head__lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin-top: 22px; max-width: 560px; }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 80px; align-items: end; }
.head--split .head__lead { margin-top: 0; padding-bottom: 8px; }

/* ---------- Кнопки ---------- */
.btn { --btn-bg: var(--ink); display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 8px 6px 24px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #1B5058 0%, var(--btn-bg) 60%); color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .005em; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 18px 32px -18px rgba(13,59,66,.65); transition-property: transform, box-shadow, background-color; transition-duration: .35s; transition-timing-function: var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 22px 36px -16px rgba(13,59,66,.7); }
.btn:active { transform: scale(.98); }
.btn__ico { width: 38px; height: 38px; border-radius: 50%; background: var(--aqua); color: var(--ink); display: grid; place-items: center; flex: none; transition: transform .45s var(--ease); }
.btn__ico svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__ico { transform: translateX(3px); }
.btn--lg { min-height: 60px; padding-left: 30px; font-size: 16px; }
.btn--lg .btn__ico { width: 46px; height: 46px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); padding-inline: 24px; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); background: rgba(255,255,255,.5); }
.btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }
.link { background: none; border: 0; padding: 0; color: var(--aqua-deep); font-weight: 600; font-size: 14px; text-decoration: underline; text-decoration-color: rgba(10,125,116,.35); text-underline-offset: .2em; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Цена ---------- */
.price { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--display); font-variant-numeric: lining-nums tabular-nums; line-height: 1; white-space: nowrap; }
.price small { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.price b { font-weight: 500; font-size: 52px; letter-spacing: -.01em; }
.price i { font-style: normal; font-family: var(--sans); font-weight: 400; font-size: 26px; color: var(--ink-2); }

/* ---------- Появление блоков ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================================
   ПЛАШКА «← KODOR CODE · ДЕМО»
   ========================================================================= */
.demo-pill { position: fixed; right: 20px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 12px; border-radius: 999px; background: var(--aqua-soft); color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; box-shadow: var(--shadow-glass); transition: background-color .2s var(--ease); }
.demo-pill span:first-child { color: var(--aqua-deep); }
.demo-pill:hover { background: #c3ece5; }
.demo-pill__tag { font-weight: 500; text-transform: none; letter-spacing: .02em; opacity: .7; }

/* =========================================================================
   НАВИГАЦИЯ: главы слева, кнопка записи, мобильное меню
   ========================================================================= */
.chapters { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 40; }
.chapters ol { display: flex; flex-direction: column; gap: 4px; }
.chapters a { position: relative; display: flex; align-items: center; height: 26px; text-decoration: none; }
.chapters a i { display: block; width: 14px; height: 1.5px; background: var(--ink-3); opacity: .55; transition: width .45s var(--ease), background-color .3s, opacity .3s; }
.chapters a span { position: absolute; left: 44px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid rgba(13,59,66,.12); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.chapters:hover a span, .chapters a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.chapters a:hover i, .chapters a:focus-visible i { width: 28px; opacity: 1; background: var(--ink); }
.chapters a.is-active i { width: 34px; opacity: 1; background: var(--aqua-deep); }
.chapters a.is-active span { color: var(--aqua-deep); }

.topbar { position: fixed; right: 20px; top: 18px; z-index: 45; display: flex; align-items: center; gap: 10px; }
.bookpill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 18px 6px 14px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(13,59,66,.16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-glass); transition: transform .35s var(--ease), background-color .3s; }
.bookpill:hover { background: rgba(255,255,255,.95); transform: translateY(-1px); }
.bookpill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 3px rgba(44,196,179,.22); }
.cabpill { padding-left: 12px; }
.cabpill__ico { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.confirm__cab { margin-top: 18px; font-size: 15px; }
.confirm__cab a { display: inline-flex; align-items: center; gap: 8px; color: var(--aqua-deep); font-weight: 600; text-decoration-color: rgba(10,125,116,.35); }
.confirm__cab a svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.confirm__cab a:hover svg { transform: translateX(3px); }
.menubtn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(13,59,66,.16); background: rgba(255,255,255,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-glass); position: relative; }
.menubtn span { position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.menubtn span:first-child { top: 18px; }
.menubtn span:last-child { top: 25px; }
.menubtn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menubtn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 44; background: rgba(244,247,248,.86); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 40px; }
.menu[hidden] { display: none; }
.menu ol { display: flex; flex-direction: column; }
.menu li { border-top: 1px solid var(--line); }
.menu li a { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; text-decoration: none; font-family: var(--display); font-size: 30px; line-height: 1.05; font-weight: 500; }
.menu li a b { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.menu__foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.menu__tel { font-weight: 600; text-decoration: none; }
.js .menu li { opacity: 0; transform: translateY(14px); }
.js .menu.is-open li { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.js .menu.is-open li:nth-child(2) { transition-delay: .04s; } .js .menu.is-open li:nth-child(3) { transition-delay: .08s; } .js .menu.is-open li:nth-child(4) { transition-delay: .12s; } .js .menu.is-open li:nth-child(5) { transition-delay: .16s; } .js .menu.is-open li:nth-child(6) { transition-delay: .2s; } .js .menu.is-open li:nth-child(7) { transition-delay: .24s; }

/* =========================================================================
   ПЕРВЫЙ ЭКРАН
   ========================================================================= */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; overflow: hidden; background: linear-gradient(104deg, #F5F8F9 0%, #EEF3F5 42%, #DCE7EC 100%); isolation: isolate; }
.hero__light { position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(70% 60% at 10% 10%, rgba(255,255,255,.55), transparent 70%),
  radial-gradient(40% 40% at 45% 90%, rgba(44,196,179,.12), transparent 70%); }
.hero__stage { position: absolute; z-index: 1; right: 0; top: 50%; height: max(108%, 65.5vw); aspect-ratio: 2000 / 2257; transform: translateY(-50%); }
.hero__photo { position: absolute; inset: 0; margin: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 36%); mask-image: linear-gradient(90deg, transparent 0%, #000 36%); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(236,242,244,.9)); pointer-events: none; }
.hud__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hud__frame path { stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; filter: drop-shadow(0 1px 6px rgba(13,59,66,.35)); }
.hud__leaders path { stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; opacity: .9; filter: drop-shadow(0 1px 4px rgba(13,59,66,.45)); }
.hud__leaders circle { fill: #fff; stroke: rgba(13,59,66,.3); stroke-width: 1; }
.hud__scan { position: absolute; left: 33%; top: 52.8%; width: 39%; height: 21%; overflow: hidden; pointer-events: none; }
.hud__scan i { position: absolute; top: 0; bottom: 0; left: -12%; width: 12%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.0) 40%, rgba(255,255,255,.55) 92%, #FFFFFF 100%); box-shadow: 2px 0 14px rgba(127,230,218,.9); opacity: 0; }
.hud__gloss { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 46%, rgba(255,255,255,0) 60%); opacity: 0; }
.hud__tags { position: absolute; inset: 0; pointer-events: none; }
.hud__tag { position: absolute; display: flex; flex-direction: column; gap: 1px; padding: 9px 14px 10px; border-radius: 10px; background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.85); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 16px 34px -18px rgba(13,59,66,.55); color: var(--ink); line-height: 1.15; white-space: nowrap; }
.hud__tag b { font-size: 13.5px; font-weight: 700; letter-spacing: .01em; }
.hud__tag span { font-size: 12px; color: var(--ink-2); }
.hud__tag--a { right: 73.2%; top: 44%; transform: translateY(-50%); }
.hud__tag--b { left: 75.2%; top: 46%; transform: translateY(-50%); }
.hud__tag--c { right: 70%; top: 77%; transform: translateY(-50%); }

.brandline { position: absolute; z-index: 3; left: var(--gutter); top: 30px; display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .02em; }
.brandline b { font-weight: 700; }
.brandline span { color: var(--ink-2); }
.brandline__mark { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.hero__copy { position: relative; z-index: 3; align-self: center; padding: 120px var(--gutter) 40px; max-width: min(56%, 760px); }
.hero h1 { font-size: clamp(56px, 6.6vw, 112px); line-height: .92; letter-spacing: -.015em; font-weight: 500; }
.hero h1 em { display: block; font-style: italic; font-weight: 400; color: var(--aqua-deep); }
.hero__sub { margin-top: 26px; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 460px; }
.hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; margin-top: 38px; }
.hero__buy .price b { font-size: 60px; }
.hero__legal { margin-top: 30px; font-size: 12px; color: var(--ink-2); max-width: 460px; }
.hero__day { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 62%; margin: 0 0 0 var(--gutter); padding: 18px 0 30px; border-top: 1px solid var(--line-strong); }
.hero__day li { position: relative; }
.hero__day li::before { content: ""; position: absolute; left: 0; top: -22px; width: 1px; height: 8px; background: var(--gold); }
.hero__day a { display: block; padding-right: 12px; text-decoration: none; }
.hero__day b { display: block; font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; transition: color .3s; }
.hero__day span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.hero__day a:hover b { color: var(--aqua-deep); }

@keyframes heroScan { 0% { opacity: 0; transform: translateX(0); } 8% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; transform: translateX(950%); } }
@keyframes heroGloss { 0% { opacity: 0; transform: translateX(-30%); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(40%); } }
@keyframes tagIn { from { opacity: 0; transform: translateY(-50%) translateX(var(--dx, 0)) scale(.96); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes frameIn { from { opacity: 0; } to { opacity: .85; } }
.js .hud__scan i { animation: heroScan 2.4s cubic-bezier(.4, 0, .2, 1) .9s 1 both; }
.js .hud__gloss { animation: heroGloss 2.6s var(--ease) 1.4s 1 both; }
.js .hud__frame path { animation: frameIn 1s var(--ease) .5s both; }
.js .hud__tag { animation: tagIn .9s var(--ease-out) both; }
.js .hud__tag--a { --dx: 10px; animation-delay: 2.2s; }
.js .hud__tag--b { --dx: -10px; animation-delay: 2.5s; }
.js .hud__tag--c { --dx: 10px; animation-delay: 2.8s; }
@keyframes leaderIn { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.js .hud__leaders path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: leaderIn 1.1s var(--ease) both; }
.js .hud__leaders path:nth-of-type(1) { animation-delay: 2s; } .js .hud__leaders path:nth-of-type(2) { animation-delay: 2.3s; } .js .hud__leaders path:nth-of-type(3) { animation-delay: 2.6s; }

/* =========================================================================
   ОДИН ДЕНЬ
   ========================================================================= */
.day { position: relative; background: linear-gradient(180deg, var(--bg) 0%, #EEF4F5 50%, var(--bg) 100%); }
.day__sticky { padding-block: clamp(80px, 10vw, 140px); }
.day__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 40px clamp(40px, 6vw, 110px); align-items: center; }
.day__head h2 { font-size: clamp(38px, 4.4vw, 64px); }
.day__steps { margin-top: clamp(28px, 4vh, 48px); position: relative; }
.day__steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.dstep { position: relative; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; padding: clamp(12px, 2vh, 20px) 0 clamp(12px, 2vh, 20px) 26px; }
.dstep::before { content: ""; position: absolute; left: -3px; top: calc(clamp(12px, 2vh, 20px) + 14px); width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.dstep__time { font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; transform-origin: left top; transition: transform .7s var(--ease), color .5s; }
.dstep__body h3 { font-size: 21px; margin-bottom: 6px; transition: color .5s; }
.dstep__body p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 400px; transition: opacity .5s; }
.day--scene .dstep:not(.is-active) .dstep__time { color: var(--ink-3); }
.day--scene .dstep:not(.is-active) .dstep__body h3 { color: var(--ink-2); }
.day--scene .dstep:not(.is-active) .dstep__body p { opacity: .55; }
.day--scene .dstep.is-active .dstep__time { transform: scale(1.32); color: var(--aqua-deep); }
.day--scene .dstep.is-active::before { background: var(--aqua); border-color: var(--aqua); box-shadow: 0 0 0 5px rgba(44,196,179,.2); }
.day__note { margin-top: 26px; font-size: 12px; line-height: 1.5; color: var(--ink-2); max-width: 520px; }

.day__visual { position: relative; }
.implant { display: block; width: 100%; height: auto; max-height: min(78vh, 780px); margin-inline: auto; overflow: visible; }
.implant text { font-family: var(--sans); font-size: 12px; fill: var(--ink-2); letter-spacing: .02em; }
.implant text.im-name { font-family: var(--display); font-size: 21px; font-weight: 500; fill: var(--ink); letter-spacing: 0; }
.im-bg circle, .im-bg path { stroke: var(--ink); stroke-opacity: .14; stroke-width: 1; }
.im-bg .im-ticks { stroke-opacity: .35; }
.im-bg .im-glow { stroke: none; opacity: var(--t4, 1); transition: opacity .6s; }
.im-part { will-change: transform; }
.im-fill { opacity: var(--t1, 1); transition: opacity .35s linear; }
.im-wire { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 6 5; opacity: calc(1 - var(--t1, 1) * .85); transition: opacity .35s linear; }
.im-wire--crown { stroke-dasharray: 7 6; }
.im-dim { opacity: var(--t1, 1); transition: opacity .5s; }
.im-dim path { stroke: var(--gold-deep); stroke-width: 1; stroke-linecap: round; }
.im-dim .im-ext { stroke: var(--gold); stroke-dasharray: 2 4; opacity: .8; }
.im-dim .im-lead { stroke: var(--ink); stroke-opacity: .5; }
.im-dim circle { fill: var(--aqua); }
.im-scan { opacity: calc(1 - var(--t1, 1)); }
.im-scan path { stroke: var(--aqua); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(44,196,179,.8)); }
.js .day--scene .im-scan { animation: imScan 3.2s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes imScan { from { transform: translateY(60px); } to { transform: translateY(700px); } }
.im-spark path { fill: #fff; stroke: var(--aqua); stroke-width: 1; opacity: var(--t4, 1); transition: opacity .6s; filter: drop-shadow(0 0 5px rgba(44,196,179,.8)); }
.readout { display: none; position: absolute; left: 0; top: 0; z-index: 2; }
.day--scene .readout { display: block; }
.readout__clock { font-family: var(--display); font-size: clamp(44px, 4.6vw, 64px); line-height: 1; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.readout__state { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--aqua-deep); margin-top: 6px; }
.readout__bar { width: 120px; height: 1px; background: var(--line); margin-top: 12px; }
.readout__bar span { display: block; height: 100%; width: 100%; background: var(--aqua-deep); transform-origin: left; transform: scaleX(0); }

/* sticky-режим (JS, без reduce-motion) */
.js .day--scene { height: 340vh; }
.js .day--scene .day__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-block: 0; }
.js .day--scene .day__grid { width: 100%; }
.js .day--scene .day__head h2 { font-size: clamp(34px, 3.6vw, 54px); }
.js .day--scene .implant { max-height: min(84vh, 780px); }

/* =========================================================================
   ТЕХНОЛОГИИ — спецификация
   ========================================================================= */
.tech { background: var(--pearl); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { border-top: 1px solid var(--line-strong); }
.spec__row { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) 150px 250px; align-items: center; gap: 24px 40px; padding: 34px 0; border-bottom: 1px solid var(--line); transition: background-color .4s; }
.spec__row::after { content: ""; position: absolute; left: -24px; right: -24px; top: -1px; bottom: -1px; background: linear-gradient(90deg, rgba(44,196,179,.08), rgba(255,255,255,0) 60%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.spec__row:hover::after { opacity: 1; }
.spec__origin { display: flex; flex-direction: column; gap: 6px; }
.spec__origin b { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.spec__origin span { font-family: var(--display); font-size: 26px; line-height: 1; font-weight: 500; }
.spec__body h3 { font-size: 26px; margin-bottom: 8px; }
.spec__body p { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 420px; }
.spec__art { width: 120px; height: 120px; stroke: var(--ink); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; justify-self: center; transition: transform .7s var(--ease); }
.spec__art .a { stroke: var(--aqua-deep); }
.spec__row:hover .spec__art { transform: scale(1.06) rotate(-2deg); }
.spec__fig { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; font-family: var(--display); font-variant-numeric: lining-nums tabular-nums; line-height: 1; white-space: nowrap; }
.spec__fig small { font-family: var(--sans); font-size: 12px; letter-spacing: .06em; color: var(--ink-2); }
.spec__fig b { font-size: clamp(64px, 6vw, 96px); font-weight: 400; letter-spacing: -.02em; }
.spec__fig i { font-style: normal; font-size: 26px; color: var(--ink-2); }

/* =========================================================================
   ПРЕДЛОЖЕНИЯ — кинематографические панели
   ========================================================================= */
.offers { padding-block: clamp(96px, 12vw, 176px) clamp(64px, 8vw, 120px); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0 clamp(32px, 5vw, 80px); margin-bottom: clamp(56px, 8vw, 120px); }
.offer__photo { position: relative; height: clamp(440px, 76vh, 720px); overflow: hidden; border-radius: 0 18px 18px 0; isolation: isolate; box-shadow: var(--shadow-soft); }
.offer--flip .offer__photo { order: 2; border-radius: 18px 0 0 18px; }
.offer__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.offer:hover .offer__photo img { transform: scale(1.03); }
.offer__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,59,66,0) 60%, rgba(13,59,66,.18)); pointer-events: none; }
.offer__body { padding: 24px var(--gutter) 24px 0; max-width: 560px; }
.offer--flip .offer__body { padding: 24px 0 24px var(--gutter); justify-self: end; }
.offer__kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.offer h3 { font-size: clamp(36px, 4vw, 60px); line-height: .98; }
.offer h3 em { color: var(--aqua-deep); font-weight: 400; }
.offer__steps { margin-top: 30px; counter-reset: st; }
.offer__steps li { counter-increment: st; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.offer__steps li::before { content: counter(st, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--gold-deep); font-variant-numeric: lining-nums; padding-top: 2px; }
.offer__steps b { font-size: 16px; font-weight: 700; }
.offer__steps span { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.offer__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }

.glass { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 13px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 16px 34px -18px rgba(13,59,66,.55); line-height: 1.1; }
.glass b { font-family: var(--display); font-size: 30px; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.glass span { font-size: 12px; color: var(--ink-2); }
.glass--tl { left: 22px; top: 22px; }
.glass--plan { left: 22px; bottom: 22px; width: 220px; }
.glass--plan p { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.glass--plan p b { font-size: 20px; }
.glass--plan svg { width: 100%; height: auto; margin-top: 8px; }
.glass--plan .p0 { stroke: var(--ink); stroke-width: 1.4; stroke-opacity: .35; stroke-dasharray: 4 4; }
.glass--plan .p1 { stroke: var(--aqua-deep); stroke-width: 1.6; }
.glass--plan .pt circle { fill: #fff; stroke: var(--ink); stroke-width: 1.1; }
.glass--plan .pa { stroke: var(--aqua-deep); stroke-width: 1.4; stroke-linecap: round; }

/* =========================================================================
   ЦЕНЫ
   ========================================================================= */
.prices { background: var(--pearl); border-top: 1px solid var(--line); }
.pgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(40px, 6vw, 96px); }
.pgroup h3 { font-size: 30px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.ptable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable thead th { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: left; padding: 12px 0 8px; }
.ptable tbody th, .ptable td { border-top: 1px solid var(--line); padding: 16px 12px 16px 0; vertical-align: top; text-align: left; font-weight: 400; font-size: 15px; }
.ptable tbody th { font-weight: 600; }
.ptable tbody th small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); margin-top: 2px; }
.ptable td.num, .ptable thead th:nth-child(3) { text-align: right; }
.ptable td.num { font-family: var(--display); font-size: 24px; line-height: 1; font-weight: 500; white-space: nowrap; padding-top: 14px; }
.ptable td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.ptable td:nth-child(2) { color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.ptable tr.is-key th, .ptable tr.is-key td { background: linear-gradient(90deg, rgba(44,196,179,.1), rgba(44,196,179,0)); }
.ptable tr.is-key th { box-shadow: -12px 0 0 rgba(44,196,179,.1); }

/* =========================================================================
   ВРАЧИ
   ========================================================================= */
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.doc { display: flex; flex-direction: column; align-items: flex-start; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.doc__mono { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 34px; font-weight: 500; letter-spacing: .02em; color: var(--ink); background: radial-gradient(circle at 35% 30%, #fff, #E4EEF0 70%, #CFDFE2); box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px var(--bg), 0 0 0 7px var(--line), 0 18px 30px -20px rgba(13,59,66,.5); margin-bottom: 22px; }
.doc__exp { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 8px; }
.doc__exp b { font-family: var(--display); font-size: 22px; letter-spacing: 0; font-weight: 500; text-transform: none; color: var(--ink); margin-right: 2px; }
.doc h3 { font-size: 28px; }
.doc__role { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.doc__say { margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); flex: 1; }
.doc .link { margin-top: 18px; }

/* =========================================================================
   ЗАПИСЬ
   ========================================================================= */
.bookingsec { background: linear-gradient(180deg, var(--bg), #E9F1F3 60%, var(--bg)); }
.bookingsec__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.bookingsec__intro h2 { font-size: clamp(36px, 3.6vw, 52px); }
.bookingsec__photo { margin-top: 30px; height: 380px; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-soft); }
.bookingsec__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.bookingsec__tel { margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.bookingsec__tel a { font-weight: 600; color: var(--ink); }

.booking { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 18px; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, var(--shadow-soft); overflow: hidden; }
.booking__side { padding: 30px 26px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(234,240,242,.7), rgba(234,240,242,.2)); }
.booking__steptitle { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); }
.booking__bar { height: 2px; background: var(--line); margin: 12px 0 22px; overflow: hidden; }
.booking__bar span { display: block; height: 100%; background: var(--aqua-deep); transform-origin: left; transform: scaleX(.16); transition: transform .5s var(--ease); }
.stepper { display: flex; flex-direction: column; gap: 2px; }
.stepper__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 8px; border: 0; background: none; border-radius: 8px; text-align: left; font-size: 14px; color: var(--ink-2); transition: background-color .25s, color .25s; }
.stepper__item:not([disabled]):hover { background: rgba(255,255,255,.8); color: var(--ink); }
.stepper__item[disabled] { cursor: default; opacity: .55; }
.stepper__num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 15px; font-weight: 600; border: 1px solid var(--line-strong); flex: none; transition: background-color .3s, color .3s, border-color .3s; }
.stepper__item.is-active { color: var(--ink); font-weight: 600; }
.stepper__item.is-active .stepper__num { background: var(--ink); color: #fff; border-color: var(--ink); }
.stepper__item.is-done .stepper__num { background: var(--aqua-soft); border-color: var(--aqua); color: var(--aqua-deep); }
.summary { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.summary li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.summary li span { color: var(--ink-3); }
.summary li em { font-style: normal; color: var(--ink-3); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.summary li.is-filled em { color: var(--ink); font-weight: 600; }
.booking__main { padding: 30px 34px 28px; min-height: 520px; display: flex; flex-direction: column; }
.booking__body { flex: 1; }
.step-panel { display: none; }
.step-panel.is-active { display: block; animation: panelIn .5s var(--ease-out) both; }
.step-panel[hidden] { display: none; }
.dir-back .step-panel.is-active { animation-name: panelInBack; }
@keyframes panelIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes panelInBack { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.step-panel h3 { font-size: 30px; }
.step-panel h3:focus { outline: none; }
.step-panel__hint { margin: 8px 0 22px; font-size: 14px; color: var(--ink-2); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-card { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: start; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.7); text-align: left; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.choice-card:hover { border-color: var(--line-strong); background: #fff; }
.choice-card[aria-checked="true"] { border-color: var(--aqua-deep); background: #fff; box-shadow: 0 0 0 1px var(--aqua-deep), 0 16px 30px -22px rgba(10,125,116,.5); }
.choice-card__box { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); margin-top: 2px; position: relative; transition: border-color .25s, background-color .25s; }
.choice-card__box::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .3s var(--ease); }
.choice-card[aria-checked="true"] .choice-card__box { background: var(--aqua-deep); border-color: var(--aqua-deep); }
.choice-card[aria-checked="true"] .choice-card__box::after { transform: scale(1); }
.choice-card__body { display: flex; flex-direction: column; gap: 3px; }
.choice-card__body b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.choice-card__body span { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.choice-card__price { font-family: var(--display); font-size: 17px; font-weight: 600; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.choice-card__mono { font-size: 13px; letter-spacing: .06em; color: var(--gold-deep); font-family: var(--sans); font-weight: 700; }
.dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.date-chip { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.7); transition: border-color .25s, background-color .25s, box-shadow .25s; }
.date-chip .dow { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.date-chip .dnum { font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.05; }
.date-chip .mon { font-size: 11px; color: var(--ink-2); }
.date-chip:hover { border-color: var(--line-strong); background: #fff; }
.date-chip[aria-checked="true"] { border-color: var(--aqua-deep); background: #fff; box-shadow: 0 0 0 1px var(--aqua-deep); }
.times { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.time-slot { padding: 10px 4px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.time-slot:hover:not([disabled]) { border-color: var(--line-strong); background: #fff; }
.time-slot[disabled] { color: var(--ink-3); background: transparent; border-style: dashed; cursor: not-allowed; font-weight: 400; text-decoration: line-through; text-decoration-color: rgba(13,59,66,.3); }
.time-slot[aria-checked="true"] { border-color: var(--aqua-deep); background: var(--ink); color: #fff; box-shadow: 0 10px 20px -14px rgba(13,59,66,.8); }
.times__legend { display: flex; gap: 18px; margin-top: 14px; font-size: 12px; color: var(--ink-2); }
.times__legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line-strong); background: #fff; }
.lg--busy { border-style: dashed; background: transparent; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field input { width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.field input:focus { outline: none; border-color: var(--aqua-deep); box-shadow: 0 0 0 3px rgba(44,196,179,.22); }
.field__err { display: none; margin-top: 6px; font-size: 12.5px; color: #A8412E; }
.field.has-error .field__err { display: block; }
.field.has-error input { border-color: #A8412E; }
.sumcard { border-top: 1px solid var(--line); }
.summary-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-row dt { color: var(--ink-3); }
.summary-row dd { margin: 0; font-weight: 600; }
.booking__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.booking__nav[hidden] { display: none; }
.confirm { text-align: left; }
.confirm__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--aqua-soft); color: var(--aqua-deep); margin-bottom: 20px; }
.confirm__mark svg { width: 34px; height: 34px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.confirm h3 { font-size: 34px; }
.confirm p { margin: 10px 0 22px; font-size: 16px; color: var(--ink-2); }
.confirm .btn { margin-top: 22px; }
.noscript { margin-top: 20px; font-size: 14px; color: var(--ink-2); }

/* =========================================================================
   ОТЗЫВЫ · ВОПРОСЫ · КОНТАКТЫ · ПОДВАЛ
   ========================================================================= */
.reviews .head { margin-bottom: 40px; }
.revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.rev { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.rev__tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.rev__text { margin-top: 14px; font-family: var(--display); font-size: 24px; line-height: 1.25; }
.rev__who { margin-top: 14px; font-size: 13px; color: var(--ink-2); }

.faqsec { background: var(--pearl); border-top: 1px solid var(--line); }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq .head { margin-bottom: 0; }
.faq .head .btn { margin-top: 28px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.15; }
.qa summary::-webkit-details-marker { display: none; }
.qa__ico { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; transition: transform .5s var(--ease), background-color .3s; }
.qa__ico::before, .qa__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.qa__ico::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.qa[open] .qa__ico { transform: rotate(45deg); background: var(--aqua-soft); }
.qa__a { padding: 0 60px 22px 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

.contactsec { background: var(--bg); }
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 640px; }
.contacts__body { padding: clamp(80px, 10vw, 150px) clamp(40px, 5vw, 80px) clamp(80px, 10vw, 150px) var(--gutter); align-self: center; max-width: 720px; justify-self: end; width: 100%; }
.contacts__body h2 { font-size: clamp(36px, 4vw, 60px); }
.clist { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.clist dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.clist dd { margin: 0; font-size: 16px; font-weight: 600; }
.clist dd a { text-decoration: none; }
.clist dd a:hover { color: var(--aqua-deep); }
.contacts__body .btn { margin-top: 40px; }
.contacts__map { position: relative; min-height: 420px; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__note { position: absolute; left: 24px; bottom: 20px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; background: rgba(255,255,255,.7); padding: 6px 10px; border-radius: 999px; }

.foot { background: var(--ink); color: rgba(255,255,255,.82); padding: 48px 0 100px; font-size: 13px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 60px; align-items: start; }
.foot__brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.foot__brand b { font-weight: 700; }
.foot__brand span { color: rgba(255,255,255,.6); }
.foot__brand .brandline__mark { stroke: #fff; }
.foot__legal { line-height: 1.55; }
.foot__demo { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.62); }
.foot__demo a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }

/* =========================================================================
   АДАПТИВ
   ========================================================================= */
@media (max-width: 1180px) {
  .spec__row { grid-template-columns: 150px minmax(0, 1fr) 120px 210px; gap: 20px 28px; }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bookingsec__grid { grid-template-columns: 1fr; }
  .bookingsec__photo { display: none; }
}

@media (max-width: 1100px) {
  .chapters { display: none; }
  .hero { grid-template-rows: auto auto auto; min-height: 0; }
  .hero > * { min-width: 0; }
  .hero__stage { position: relative; right: auto; top: auto; transform: none; height: auto; width: 104%; margin-left: -2%; }
  .hero__photo { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hero__photo::after { display: none; }
  .hero__copy { max-width: none; padding: 0 var(--gutter) 24px; margin-top: -8vw; }
  .hero__day { max-width: none; margin-inline: var(--gutter); grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .head--split { grid-template-columns: 1fr; gap: 20px; }
  .day__grid { grid-template-columns: 1fr; gap: 28px; }
  .day__visual { order: -1; }
  .implant { max-height: 46vh; }
  .js .day--scene { height: 380vh; }
  .js .day--scene .day__grid { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100vh; padding-block: 72px 24px; gap: 8px; }
  .js .day--scene .implant { max-height: 44vh; }
  .js .day--scene .day__head h2 { font-size: clamp(28px, 6vw, 40px); }
  .js .day--scene .day__steps { height: 150px; margin-top: 12px; }
  .js .day--scene .day__steps::before { display: none; }
  .js .day--scene .dstep { position: absolute; inset: 0; padding-left: 0; opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
  .js .day--scene .dstep::before { display: none; }
  .js .day--scene .dstep.is-active { opacity: 1; }
  .js .day--scene .dstep.is-active .dstep__time { transform: none; }
  .js .day--scene .day__note { display: none; }
  .dstep { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .dstep__time { font-size: 34px; }
  .dstep__body h3 { font-size: 19px; }
  .readout { position: static; display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px; }
  .readout__clock { font-size: 36px; }
  .readout__bar { display: none; }
  .spec__row { grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "origin fig" "body art"; gap: 12px 20px; padding: 26px 0; }
  .spec__origin { grid-area: origin; flex-direction: row; align-items: baseline; gap: 14px; }
  .spec__body { grid-area: body; }
  .spec__art { grid-area: art; width: 88px; height: 88px; }
  .spec__fig { grid-area: fig; display: grid; grid-template-columns: auto auto; justify-content: end; align-items: baseline; column-gap: 6px; row-gap: 0; }
  .spec__fig small { grid-column: 1 / -1; text-align: right; }
  .spec__fig b { font-size: 48px; }
  .spec__fig small { font-size: 11px; }
  .offer, .offer--flip { grid-template-columns: 1fr; gap: 0; }
  .offer__photo, .offer--flip .offer__photo { order: 0; height: clamp(320px, 62vw, 520px); border-radius: 0; margin-inline: 0; }
  .offer__body, .offer--flip .offer__body { padding: 32px var(--gutter) 0; max-width: 640px; justify-self: start; }
  .pgroups { grid-template-columns: 1fr; gap: 40px; }
  .booking { grid-template-columns: 1fr; }
  .booking__side { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px var(--gutter-inner, 22px); }
  .stepper { flex-direction: row; flex-wrap: wrap; gap: 4px 6px; }
  .stepper__item { width: auto; padding: 6px 8px; }
  .stepper__label { display: none; }
  .summary { margin-top: 16px; }
  .booking__main { padding: 24px 22px; min-height: 0; }
  .faq { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; min-height: 0; }
  .contacts__body { justify-self: start; padding: clamp(64px, 10vw, 120px) var(--gutter) 40px; }
  .contacts__map { min-height: 380px; }
  .revs { grid-template-columns: 1fr; gap: 24px; }
  .foot__grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 720px) {
  .menubtn { display: block; }
  .topbar { right: 12px; top: 12px; gap: 8px; }
  .cabpill { width: 44px; height: 44px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
  .cabpill__label { display: none; }
}

@media (max-width: 480px) {
  .topbar { gap: 6px; }
  .bookpill { min-height: 40px; padding: 4px 13px 4px 11px; font-size: 13px; gap: 6px; }
  .cabpill, .menubtn { width: 40px; height: 40px; }
  .menubtn span { left: 11px; }
  .menubtn span:first-child { top: 16px; }
  .menubtn span:last-child { top: 23px; }
  .menubtn[aria-expanded="true"] span { top: 19px; }
  .brandline { gap: 8px; }
  .brandline__mark { width: 24px; height: 24px; }
  .demo-pill { right: 12px; bottom: 12px; font-size: 10.5px; padding-inline: 10px; }
}

@media (max-width: 640px) {
  .demo-pill { min-height: 40px; }
  .hero__stage { width: 108%; margin-left: -4%; }
  .hud__tag { padding: 7px 11px 8px; border-radius: 8px; }
  .hud__tag b { font-size: 12px; } .hud__tag span { font-size: 11px; }
  .hud__leaders { display: none; }
  .hud__tag--a { right: auto; left: 5%; top: 41%; }
  .hud__tag--b { left: auto; right: 7%; top: 30%; }
  .hud__tag--c { right: auto; left: 5%; top: 78%; }
  .brandline { top: 18px; font-size: 12px; }
  .brandline span { display: none; }
  .hero__copy { margin-top: -14vw; padding-bottom: 20px; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .hero__sub { margin-top: 16px; font-size: 15px; }
  .hero__buy { margin-top: 22px; gap: 14px 24px; }
  .hero__buy .price b { font-size: 46px; }
  .hero__buy .btn { width: 100%; justify-content: space-between; }
  .hero__legal { margin-top: 16px; font-size: 11px; padding-right: 46%; }
  .hero__day { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 18px 0 32px; }
  .hero__day li::before { display: none; }
  .hero__day b { font-size: 22px; }
  .day__head h2 { font-size: clamp(30px, 8vw, 44px); }
  .eyebrow { margin-bottom: 14px; }
  h2 { font-size: clamp(34px, 9vw, 52px); }
  .head__lead { font-size: 16px; }
  .offer h3 { font-size: clamp(32px, 9vw, 44px); }
  .offer__buy .btn { width: 100%; justify-content: space-between; }
  .glass--plan { width: 180px; }
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
  .ptable tbody th, .ptable td { border: 0; padding: 0; }
  .ptable tbody th { grid-column: 1 / -1; }
  .ptable td:nth-child(2) { grid-column: 1; align-self: end; }
  .ptable td.num { grid-column: 2; grid-row: 2; text-align: right; }
  .ptable td:last-child { grid-column: 1 / -1; text-align: left; margin-top: 4px; }
  .docs { grid-template-columns: 1fr; gap: 28px; }
  .doc__mono { width: 80px; height: 80px; font-size: 28px; }
  .choices { grid-template-columns: 1fr; }
  .dates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fields { grid-template-columns: 1fr; }
  .summary-row { grid-template-columns: 1fr; gap: 2px; }
  .booking__nav .btn { flex: 1; justify-content: center; padding-inline: 16px; }
  .booking__nav .btn .btn__ico { display: none; }
  .qa summary { font-size: 21px; padding: 18px 0; }
  .clist { grid-template-columns: 1fr; gap: 16px; }
  .price b { font-size: 44px; }
  .foot { padding-bottom: 80px; }
}

@media (max-width: 380px) {
  .hud__tag--c { display: none; }
  .hero__day { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hud__scan i, .js .hud__gloss, .js .hud__frame path, .js .hud__tag, .js .hud__leaders path, .js .day--scene .im-scan { animation: none; }
  .js .hud__tag { opacity: 1; }
  .js .hud__frame path { opacity: .85; }
  .js .hud__leaders path { stroke-dashoffset: 0; }
  .btn, .btn__ico, .offer__photo img, .spec__art, .chapters a i, .dstep__time { transition: none; }
  .step-panel.is-active { animation: none; }
}

/* Кнопка «← KODOR CODE · демо» — во всех демо справа вверху; здесь под шапкой, чтобы не закрывать её кнопки (30.09.2026) */
.demo-pill { top: 70px; right: 12px; bottom: auto; left: auto; }
.cab .demo-pill { top: 118px; }

/* Стандарт кнопки «← KODOR CODE · демо» во всех демо (30.09.2026): справа вверху, отступ 16px, высота 40px, шрифт от 11px; оформление — своё у каждого демо */
.demo-pill { right: 16px; min-height: 40px; }
