/* =========================================================
   Detailing Standart — дизайн-система v2 (в духе colmez.com)
   Цвета логотипа: жёлтый #ffd633 / серый #a8a8a8 / тёмно-серый #575757
   ========================================================= */

/* Запасной шрифт с метриками Inter — чтобы при подгрузке шрифта ничего не прыгало (CLS) */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }

:root {
  --paper: #121212;
  --paper-2: #1a1a1a;
  --band: #2e2e2e;
  --light: #ededed;
  --ink: #f4f4f2;
  --ink-dim: #9a9a9a;
  --ink-mute: #5e5e5e;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.12);
  --accent: #ffd633;
  --accent-ink: #121212;
  --err: #ff6b5e;

  --font: "Inter", "Inter Fallback", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Unbounded", "Inter", sans-serif;
  --pad: clamp(16px, 1.8vw, 28px);
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[lang="ka"] body { font-family: "Noto Sans Georgian", var(--font); }
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Типографика: неогротеск, средняя жирность, без капслока ---------- */
h1, h2, h3, .t-xl, .t-lg { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.t-xl { font-size: clamp(2.1rem, 4.6vw, 4.4rem); }
.t-lg { font-size: clamp(1.7rem, 3vw, 2.9rem); line-height: 1.08; }
.t-md { font-size: clamp(1.25rem, 1.8vw, 1.75rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
.t-sm { font-size: 15px; line-height: 1.45; color: var(--ink-dim); }
p { margin: 0 0 1em; }
html[lang="ka"] :is(h1, h2, h3, .t-xl, .t-lg, .t-md) { letter-spacing: 0; line-height: 1.2; }

/* Ярлыки: серая плашка с номером и жёлтый тег */
.badge { display: inline-flex; align-items: center; height: 16px; min-width: 60px; padding: 0 6px; background: #3a3a3a; color: #d0d0d0; font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tag { display: inline-flex; align-items: center; height: 18px; min-width: 64px; padding: 0 7px; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.on-light .badge { background: #cfcfcf; color: #333; }

/* Временные данные */
.todo { outline: 1px dashed rgba(255, 214, 51, .6); outline-offset: 3px; }
.on-light .todo { outline-color: rgba(160, 120, 0, .6); }
.todo-note { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px dashed currentColor; padding: 2px 7px; }
.on-light .todo-note { color: #9a7a00; }

/* ---------- Плитка CTA: подпись внизу слева, стрелка справа ---------- */
.tile {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  width: 260px; height: 72px; padding: 0 14px 12px; background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; overflow: hidden; isolation: isolate; text-align: left;
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(101%); transition: transform .5s var(--ease); }
.tile:hover::before { transform: none; }
.tile svg { width: 14px; height: 14px; flex: none; transition: transform .4s var(--ease); }
.tile:hover svg { transform: translateX(4px); }
.tile.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.tile.ghost::before { background: var(--ink); }
.tile.ghost:hover { color: var(--paper); }
html[lang="ka"] .tile { text-transform: none; letter-spacing: 0; font-size: 12px; }

/* ---------- Шапка: логотип и меню инвертируются над контентом ---------- */
/* Шапка без своего слоя: иначе mix-blend-mode смешивается только внутри неё. Логотип/меню и плитка закреплены по отдельности */
.hdr { height: 0; }
.hdr-blend { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); pointer-events: none; display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); color: #fff; mix-blend-mode: difference; transition: opacity .5s var(--ease); }
.hdr-blend > * { pointer-events: auto; }
.hdr-logo { display: block; width: 150px; transition: opacity .6s var(--ease), transform .8s var(--ease), clip-path .8s var(--ease); }
.hdr-logo svg { width: 100%; height: auto; }
.at-top :is(.hdr-logo, .hdr-nav, .hdr-right) { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.at-top .hdr-logo { transform: translateY(-18px); clip-path: inset(0 0 100% 0); }
.hdr-nav, .hdr-right { transition: opacity .35s var(--ease), transform .45s var(--ease); }
.scrolling-down :is(.hdr-nav, .hdr-right) { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.hdr-nav { display: flex; gap: 22px; font-size: 13px; font-weight: 500; }
.hdr-nav a { opacity: .8; transition: opacity .2s; }
.hdr-nav a:hover { opacity: 1; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 500; margin-right: 232px; }
.lang { display: flex; gap: 8px; }
.lang a { opacity: .45; }
.lang a[aria-current="true"], .lang a:hover { opacity: 1; }
.hdr-tile { position: fixed; z-index: 61; top: 0; right: 0; width: 220px; height: 56px; pointer-events: auto; }
.at-top .hdr-tile { transform: translateY(-100%); }
.hdr-tile { transition: transform .45s var(--ease), opacity .5s var(--ease); }
.burger { display: none; width: 40px; height: 40px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mmenu { position: fixed; inset: 0; z-index: 55; background: var(--paper); padding: calc(var(--header-h) + 16px) var(--pad) 110px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.mmenu nav a small { font-size: 13px; color: var(--ink-dim); letter-spacing: 0; }
.mmenu .lang { margin-top: 24px; font-size: 15px; gap: 16px; }
.mmenu .phone { display: block; margin-top: 18px; font-size: 20px; font-weight: 500; }

.mbar { display: none; }

@media (max-width: 1100px) { .hdr-nav { display: none; } }
@media (max-width: 820px) {
  :root { --header-h: 56px; }
  .hdr-right, .hdr-tile { display: none; }
  .burger { display: block; }
  .hdr-logo { width: 116px; }
  .mbar { position: fixed; inset: auto 0 0; z-index: 58; display: grid; grid-template-columns: 1fr 1fr 1.4fr; background: rgba(18,18,18,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 60px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-dim); }
  .mbar a svg { width: 20px; height: 20px; color: var(--ink); }
  .mbar .mbar-cta { background: var(--accent); color: var(--accent-ink); }
  .mbar .mbar-cta svg { color: var(--accent-ink); }
  body { padding-bottom: 60px; }
}

/* ---------- Интро (как у Colmez): точки → логотип собирается из дымки → уезжает вверх ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: none; transition: opacity .6s var(--ease); }
.has-intro .intro { display: block; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.intro.gl canvas { opacity: 1; }
.intro.is-done { opacity: 0; pointer-events: none; }
.intro .dots { position: absolute; left: 50%; top: 50svh; display: flex; gap: 22vw; transform: translate(-50%, -50%); transition: opacity .3s; }
.intro .dots b { width: 7px; height: 7px; border-radius: 50%; background: #f4f4f2; animation: dot 1.1s ease-in-out infinite; }
.intro .dots b:nth-child(2) { animation-delay: .15s; }
.intro .dots b:nth-child(3) { animation-delay: .3s; }
.intro.gl .dots { opacity: 0; }
@keyframes dot { 50% { transform: scale(1.8); opacity: .5; } }
/* Пока идёт интро: шапка, плитка и фото ждут своей очереди */
.mbar { transition: opacity .5s var(--ease); }
.has-intro :is(.hdr-blend, .hdr-tile, .mbar) { opacity: 0; pointer-events: none; }
.has-intro .hdr-blend > * { pointer-events: none; }
.hero .tile { transform-origin: left bottom; transition: transform .8s cubic-bezier(.7,0,.2,1); }
.hero .tile > * { transition: opacity .4s .55s; }
.has-intro:not(.intro-line) .hero .tile { transform: scaleX(0) scaleY(.03); }
.has-intro.intro-line:not(.intro-tile) .hero .tile { transform: scaleX(1) scaleY(.03); transition-duration: .6s; }
.has-intro:not(.intro-tile) .hero .tile > * { opacity: 0; }
.scene-media::after { content: ""; position: absolute; inset: 0; background: var(--paper); opacity: 0; pointer-events: none; }
.has-intro .scene-media::after { opacity: calc(1 - var(--reveal, 0)); }
.scene-media canvas { z-index: 1; }
.has-intro .scene-media canvas { transition: none; }

/* ---------- Hero: гигантский логотип ---------- */
.hero { padding: 16px var(--pad) 0; position: relative; z-index: 3; background: var(--paper); }
.wordmark { display: block; width: 100%; height: auto; color: var(--ink); overflow: visible; }
.wordmark text { font-family: var(--font-brand); font-weight: 900; fill: currentColor; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; padding: clamp(18px, 2.2vw, 34px) 0 clamp(24px, 2.6vw, 40px); }
.hero h1 { font-size: clamp(1.35rem, 2.3vw, 2.2rem); line-height: 1.1; letter-spacing: -.03em; max-width: 22ch; }
.hero h1 { color: var(--ink); max-width: 26ch; }
/* Уход hero при прокрутке к сцене: --q (0..1) ставит scroll.js */
.hero .wordmark { opacity: calc(1 - var(--q, 0) * 1.5); transform: translateY(calc(var(--q, 0) * -36px)); }
.hero .hero-row > .tile { opacity: calc(1 - var(--q, 0) * 2.2); }
.hero .tile { width: clamp(220px, 24vw, 340px); height: clamp(64px, 6vw, 84px); }
@media (max-width: 700px) { .hero-row { grid-template-columns: 1fr; } .hero .tile { width: 100%; } }

/* ---------- Липкая сцена: фото → частицы → контуры + побуквенный текст ---------- */
.scene { position: relative; height: 330svh; }
.scene.short { height: 260svh; }
.scene-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.scene-media { position: absolute; inset: 0; background: var(--paper); }
.scene-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(calc(1 - var(--p, 0) * 1.3)) saturate(calc(1 - var(--p, 0) * .8)); }
.scene-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; }
.scene.gl-on .scene-media canvas { opacity: 1; }
.scene-text { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; padding: calc(var(--header-h) + 24px) var(--pad) 40px; pointer-events: none; }
.scene-text > div { grid-column: 2; align-self: center; max-width: 660px; }
.scene-text .t-lg + .t-lg { margin-top: 1.1em; }
.scene-text sup, [data-scrub] sup { font-size: .42em; vertical-align: .95em; line-height: 0; letter-spacing: 0; margin-left: .05em; font-weight: 500; }
@media (max-width: 900px) { .scene-text { grid-template-columns: 1fr; } .scene-text > div { grid-column: 1; } }
/* Следующий блок наезжает на хвост сцены (прозрачный фон): его заголовок проявляется сразу, без паузы на чёрном */
.scene + section { margin-top: -35svh; background: transparent; }

/* Проявление по словам (как у Colmez): --p (0..1) на контейнере, у слова старт --ws и длина --wn, у буквы --j.
   --q — прогресс слова, --o — буквы внутри слова; выход: --x на контейнере, у слова порядок --k */
[data-scrub] .w, .nw { display: inline-block; white-space: nowrap; }
.js [data-scrub] :is(.ch, sup.cnt) {
  --q: clamp(0, (var(--p, 0) - var(--ws, 0) * .7) / .3, 1);
  --o: clamp(0, (var(--q) * 1.6 - var(--j, 0) / var(--wn, 1)) / .6, 1);
  --c: clamp(0, (var(--o) - .5) / .5, 1);
  --e: clamp(0, (var(--x, 0) * 1.3 - var(--k, 0) - var(--j, 0) / var(--wn, 1) * .08) / .22, 1);
  opacity: calc((.14 * min(1, var(--p, 0) * 30) + .86 * min(1, var(--o) * 1.8)) * (1 - var(--e)));
  color: color-mix(in srgb, color-mix(in srgb, currentColor calc(var(--c) * 100%), var(--accent)) calc((1 - min(1, var(--e) * 2)) * 100%), var(--accent));
}
[data-scrub] sup.cnt { font-variant-numeric: tabular-nums; }
.on-light [data-scrub] :is(.ch, sup.cnt) { color: color-mix(in srgb, currentColor calc(var(--c) * 100%), #b08f00); }
.no-motion [data-scrub] :is(.ch, sup.cnt) { opacity: 1 !important; color: inherit !important; }

/* ---------- Секции ---------- */
.sec { position: relative; background: var(--paper); padding: clamp(80px, 9vw, 150px) var(--pad); }
.sec.tight { padding-block: clamp(56px, 6vw, 96px); }
.sec.border { border-top: 1px solid var(--line); }
.on-light { background: var(--light); color: #111; --line: var(--line-dark); --ink-dim: #5a5a5a; --ink: #111; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: clamp(40px, 5vw, 80px); }
.sec-head .t-sm { max-width: 46ch; margin: 0; padding-top: .4em; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } }

.statement { display: grid; grid-template-columns: 1fr 1fr; }
.statement p { grid-column: 2; margin: 0; max-width: 21em; }
@media (max-width: 900px) { .statement { grid-template-columns: 1fr; } .statement p { grid-column: 1; } }

.js [data-fade] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-fade].in { opacity: 1; transform: none; }

/* ---------- Аккордеон 001–003: строки раскрываются по скроллу ---------- */
.acc { position: relative; background: var(--paper); }
.acc-head { padding: clamp(80px, 9vw, 150px) var(--pad) 0; }
.acc-head .t-xl { max-width: 15em; }
.acc-track { height: 320svh; }
.acc-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding: calc(var(--header-h) + 8px) var(--pad) 28px; }
.acc-rows { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.acc-row { --a: 0; flex: calc(1 + var(--a) * 5) 1 0; min-height: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.acc-row:last-child { border-bottom: 1px solid var(--line); }
.acc-row .badge { position: relative; overflow: hidden; align-self: start; margin-top: 7px; isolation: isolate; }
.acc-row .badge::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleX(var(--a)); transform-origin: left; }
.acc-row .badge span { mix-blend-mode: difference; color: #fff; }
.acc-body { display: flex; flex-direction: column; justify-content: space-between; min-height: 0; padding-right: 8%; }
.acc-body .t-md { max-width: 15em; }
.acc-body .more { opacity: calc(var(--a) * var(--a)); transform: translateY(calc((1 - var(--a)) * 16px)); }
.acc-body .more p { font-size: 14.5px; color: var(--ink-dim); max-width: 38ch; margin-bottom: 12px; }
.acc-body .more a { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.acc-body .more a svg { width: 14px; height: 14px; }
.acc-media { position: relative; min-height: 0; overflow: hidden; background: var(--paper-2); }
.acc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.15 - var(--a) * .15)); }
@media (max-width: 900px) {
  .acc-track { height: auto; }
  .acc-sticky { position: static; height: auto; padding-top: 24px; }
  .acc-rows { flex: none; }
  .acc-row { --a: 1 !important; flex: none; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .acc-media { grid-column: 1 / -1; aspect-ratio: 16 / 10; margin-top: 16px; }
  .acc-body { padding-right: 0; }
  .acc-body .more { margin-top: 14px; }
}

/* ---------- Серая полоса с цитатой ---------- */
.quote-band { position: relative; display: grid; grid-template-columns: minmax(220px, 24%) 1fr; background: var(--band); min-height: 440px; }
.quote-band .portrait { position: relative; overflow: hidden; background: #000; }
.quote-band .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; filter: grayscale(1) contrast(1.08) brightness(.9); }
.quote-band .portrait.color img { filter: none; }
.quote-band blockquote { margin: 0; padding: clamp(40px, 5vw, 80px) clamp(24px, 8vw, 140px) clamp(40px, 5vw, 80px) clamp(24px, 6vw, 96px); align-self: center; }
.quote-band blockquote p { font-size: clamp(1.5rem, 2.7vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; margin-bottom: 28px; }
.quote-band footer { font-size: 13px; color: #c9c9c9; }
.quote-band footer span { display: block; font-size: 11.5px; color: #8d8d8d; margin-top: 4px; }
@media (max-width: 760px) { .quote-band { grid-template-columns: 1fr; } .quote-band .portrait { aspect-ratio: 4 / 3; } }

/* ---------- Светлая секция: фичи с «интерфейсами» ---------- */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 4vw, 64px); padding: clamp(48px, 6vw, 96px) 0; border-top: 1px solid var(--line); }
.feat-l { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 0 24px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.feat-l .tag { margin-top: 9px; }
.feat-l .t-lg { margin-bottom: 18px; }
.feat-l .t-sm { margin-bottom: 36px; }
.feat-l ul { list-style: none; margin: 0; padding: 0; }
.feat-l li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.feat-l li:first-child { border-top: 1px solid var(--line); }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .feat-l { position: static; grid-template-columns: 1fr; gap: 14px; } }

/* «Интерфейс»: тёмная карточка */
.ui { background: #0d0d0d; color: #eaeaea; border-radius: 6px; padding: 18px; font-size: 13px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 6px; }
.ui-top b { font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.ui-top small { color: #8a8a8a; }
.chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 3px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.chip.ok { background: rgba(122, 211, 139, .14); color: #8be09b; }
.chip.warn { background: rgba(255, 214, 51, .16); color: var(--accent); }
.chip.bad { background: rgba(255, 107, 94, .16); color: #ff8a7f; }
.ui table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ui th { text-align: left; font-weight: 500; color: #7e7e7e; font-size: 11.5px; padding: 8px 6px; }
.ui td { padding: 9px 6px; border-top: 1px solid rgba(255,255,255,.06); white-space: nowrap; }
.ui td.n { color: #6f6f6f; width: 22px; }
.meter { display: inline-flex; gap: 2px; vertical-align: middle; margin-right: 8px; }
.meter i { width: 3px; height: 12px; background: #3a3a3a; }
.meter i.on { background: #d8d8d8; }
.meter.hot i.on { background: var(--accent); }
@media (max-width: 560px) { .ui { padding: 12px; font-size: 12px; } .ui .hide-s { display: none; } }

/* Калькулятор внутри «интерфейса» */
.calc fieldset { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.calc legend { float: left; width: 100%; padding: 8px 4px 10px; font-size: 11.5px; color: #8a8a8a; }
.calc legend + * { clear: both; }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.opts.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt label { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 11px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.opt label b { font-weight: 500; font-size: 13.5px; }
.opt label small { color: #7e7e7e; font-size: 11.5px; }
.opt label .p { margin-top: 4px; font-weight: 600; font-size: 12.5px; color: #eaeaea; }
.opt input:hover + label { border-color: rgba(255,255,255,.25); }
.opt input:checked + label { border-color: var(--accent); background: rgba(255,214,51,.07); }
.opt input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-out { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 16px 4px 4px; border-top: 1px solid rgba(255,255,255,.08); }
.calc-total { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.calc-total small { font-size: .42em; color: #8a8a8a; letter-spacing: 0; }
.calc-lines { list-style: none; margin: 10px 0 0; padding: 0; font-size: 12px; color: #8a8a8a; }
.calc-send { flex: none; height: 40px; padding: 0 16px; border-radius: 4px; background: #eaeaea; color: #111; font-size: 12.5px; font-weight: 600; }
.calc-send:hover { background: var(--accent); }
.calc-send:disabled { opacity: .4; pointer-events: none; }
@media (max-width: 560px) { .opts { grid-template-columns: 1fr 1fr; } .calc-out { flex-direction: column; align-items: stretch; } }

/* Чат «фото-отчёт» */
.chat { display: grid; gap: 10px; padding: 10px 4px 4px; }
.msg { max-width: 84%; padding: 10px 12px; border-radius: 10px; background: #1e1e1e; line-height: 1.4; }
.msg.me { justify-self: end; background: #23352a; }
.msg small { display: block; margin-top: 4px; font-size: 10.5px; color: #7e7e7e; text-align: right; }
.msg .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 8px 0 2px; }
.msg .pics div { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #000; }
.msg .pics img { position: absolute; left: 0; width: 100%; height: auto; }
.msg .pics span { position: absolute; left: 6px; top: 6px; font-size: 10px; font-weight: 600; padding: 1px 5px; background: rgba(0,0,0,.6); border-radius: 3px; }
.chat-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 8px; }
.chat-actions a { height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 4px; font-size: 12.5px; font-weight: 600; color: #bbb; }
.chat-actions .pri { background: #eaeaea; color: #111; }

/* Гарантия + вращающаяся печать */
.guarantee { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding-top: clamp(56px, 7vw, 120px); border-top: 1px solid var(--line); }
.guarantee .tag { align-self: start; margin-top: 9px; }
.guarantee .t-lg { max-width: 18em; }
.seal { width: clamp(150px, 14vw, 200px); aspect-ratio: 1; border-radius: 50%; background: #111; color: #ddd; display: grid; place-items: center; position: relative; margin-right: 6vw; }
.seal svg { position: absolute; inset: 5%; width: 90%; height: 90%; animation: spin 28s linear infinite; }
.seal b { font-family: var(--font-brand); font-weight: 900; font-size: clamp(1.2rem, 1.8vw, 1.7rem); text-align: center; line-height: 1; }
.seal b small { display: block; font-family: var(--font); font-weight: 500; font-size: 10px; color: #8a8a8a; margin-top: 6px; letter-spacing: .04em; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .guarantee { grid-template-columns: 1fr; } .seal { margin: 0; } }

/* ---------- До / после ---------- */
.ba-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.ba-tabs button { height: 32px; padding: 0 14px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--ink-dim); transition: all .2s; }
.ba-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ba-item { margin: 0; }
.ba-item figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 14px; font-weight: 500; }
.ba-item figcaption span { color: var(--ink-dim); font-weight: 400; }
.ba-empty { grid-column: 1 / -1; color: var(--ink-dim); }
.ba { --pos: 50%; position: relative; aspect-ratio: 9 / 8; overflow: hidden; background: var(--paper-2); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); overflow: hidden; }
.ba.stacked img { inset: auto; left: 50%; height: auto; object-fit: fill; }
.ba.stacked img.after { top: 0; width: max(100%, calc(100% / (2 * var(--s, .5)))); transform: translateX(-50%); }
.ba.stacked .ba-before img { bottom: 0; width: max(100%, calc(100% / (2 * (1 - var(--s, .5))))); transform: translateX(-50%); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.ba .handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }
.ba .lbl { position: absolute; top: 10px; padding: 3px 7px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(18,18,18,.75); color: #fff; pointer-events: none; }
.ba .lbl.l { left: 10px; }
.ba .lbl.r { right: 10px; background: var(--accent); color: var(--accent-ink); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input[type="range"]:focus-visible + .handle::after { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ba-grid { grid-template-columns: 1fr; } }

/* ---------- Колонки с разделителями (пакеты, тарифы, отзывы) ---------- */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cols > article { display: flex; flex-direction: column; gap: 16px; padding: 24px 28px 32px 0; }
.cols > article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.cols p { color: var(--ink-dim); font-size: 14.5px; margin: 0; }
.cols ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.cols li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.cols .price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 12px; }
.cols .price b { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.cols .price b small { font-size: .45em; color: var(--ink-dim); letter-spacing: 0; }
.cols .price s { color: var(--ink-mute); }
.cols .tile { width: 100%; height: 60px; }
.cols .badge { align-self: flex-start; }
.cols.rv p { color: var(--ink); font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.35; letter-spacing: -.015em; }
.cols.rv footer { margin-top: auto; font-size: 13px; color: var(--ink-dim); }
.cols.rv footer b { color: var(--ink); font-weight: 500; display: block; }
@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .cols > article, .cols > article + article { padding: 24px 0; border-left: 0; }
  .cols > article + article { border-top: 1px solid var(--line); }
}
.stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }
.rating { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.rating b { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }

/* ---------- Видео ---------- */
.video-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.video-grid .video.side { aspect-ratio: auto; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video button.play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px; background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,0) 55%); text-align: left; font-size: 15px; font-weight: 500; color: #fff; }
.video button.play i { flex: none; width: 56px; height: 56px; background: var(--accent); display: grid; place-items: center; transition: transform .35s var(--ease); }
.video button.play i svg { width: 18px; color: var(--accent-ink); }
.video button.play:hover i { transform: scale(1.08); }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } .video-grid .video.side { aspect-ratio: 16 / 9; } }

/* ---------- Акция ---------- */
.promo { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 340px); gap: 24px; align-items: end; padding: clamp(32px, 4vw, 64px) var(--pad); background: var(--accent); color: var(--accent-ink); }
.promo .badge { background: #121212; color: var(--accent); align-self: start; margin-top: 10px; }
.promo p { margin: 12px 0 0; max-width: 46ch; font-weight: 500; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 4px; }
.countdown div { padding: 10px 8px; background: #121212; color: #fff; }
.countdown b { display: block; font-size: 1.8rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.countdown small { font-size: 9.5px; color: #8a8a8a; text-transform: uppercase; letter-spacing: .08em; }
.promo .tile { width: 100%; background: #121212; color: var(--accent); }
.promo .tile::before { background: #fff; }
.promo .tile:hover { color: #121212; }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; font-size: clamp(1.02rem, 1.3vw, 1.2rem); font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 14px; height: 14px; position: relative; margin-top: 6px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { padding: 0 40px 22px 0; color: var(--ink-dim); overflow: hidden; }
.faq details.closing summary i::after { transform: rotate(90deg); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Контакты + форма ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
.info { margin: 36px 0 0; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info dt { font-size: 12px; color: var(--ink-dim); padding-top: 2px; }
.info dd { margin: 0; font-weight: 500; }
.info dd a:hover { color: var(--accent); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 2px 0; }
.hours td:last-child { text-align: right; }
.hours tr.is-today td { color: var(--accent); font-weight: 600; }
.hours tr.off td:last-child { color: var(--ink-dim); }
.socials { display: flex; flex-wrap: wrap; gap: 6px; }
.socials a { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; }
.socials a:hover { border-color: var(--accent); }
.socials svg { width: 15px; height: 15px; }
.map { position: relative; margin-top: 24px; aspect-ratio: 16 / 9; overflow: hidden; background: #171717; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 36px 36px; }
.map-grid::after { content: ""; position: absolute; left: 50%; top: 45%; width: 16px; height: 16px; background: var(--accent); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 10px rgba(255,214,51,.15); }
.map button { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: var(--paper); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }

.form { padding: clamp(22px, 3vw, 40px); background: var(--paper-2); }
.form .t-md { margin-bottom: 6px; }
.form > p { color: var(--ink-dim); font-size: 14.5px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-size: 12px; color: var(--ink-dim); }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; background: var(--paper); border: 1px solid rgba(255,255,255,.14); border-radius: 0; font-size: 16px; transition: border-color .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field.has-error input { border-color: var(--err); }
.field .err { display: none; font-size: 12.5px; color: var(--err); }
.field.has-error .err { display: block; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; pointer-events: none; }
.seg label { display: flex; align-items: center; justify-content: center; height: 42px; border: 1px solid rgba(255,255,255,.14); font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--ink); }
.seg input:checked + label { border-color: var(--accent); background: rgba(255,214,51,.08); }
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .tile { width: 100%; margin-top: 8px; }
.form .consent { font-size: 11.5px; color: var(--ink-mute); margin: 12px 0 0; }
.form .consent a { text-decoration: underline; }
.form-status { margin-top: 12px; font-size: 14px; }
.form-status.err { color: var(--err); }
.hp { position: absolute; left: -9999px; }
.tile[aria-busy="true"] { pointer-events: none; opacity: .7; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } .info > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Подвал-«занавес»: открывается из-под контента ---------- */
main { position: relative; z-index: 2; background: var(--paper); }
.foot { position: sticky; bottom: 0; z-index: 0; min-height: 100svh; display: flex; flex-direction: column; background: #0c0c0c; padding: calc(var(--header-h) + 24px) var(--pad) 18px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-top .t-lg { max-width: 13em; margin-bottom: 24px; }
.foot h4 { margin: 0 0 14px; font-size: 12px; font-weight: 500; color: var(--ink-dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot a:hover { color: var(--accent); }
.foot .wordmark { margin-top: auto; padding-top: 48px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: 12px; color: var(--ink-mute); }
@media (max-width: 900px) { .foot { position: relative; min-height: 0; } .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Страница услуги ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 12.5px; color: var(--ink-dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ink-mute); }
.svc-hero { padding: calc(var(--header-h) + 20px) var(--pad) 0; position: relative; background: var(--paper); }
.svc-hero h1 { font-size: clamp(2.6rem, 7.6vw, 8rem); line-height: .94; letter-spacing: -.055em; }
.svc-hero h1 span { color: var(--ink-mute); display: block; }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: 24px 0 0; }
.svc-row p { max-width: 50ch; margin: 0; font-size: clamp(1rem, 1.3vw, 1.2rem); color: #c8c8c8; }
.svc-row .tile { width: clamp(220px, 24vw, 340px); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(24px, 3vw, 40px); }
.facts div { padding: 14px 16px 20px 0; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -.04em; }
.facts small { font-size: 12px; color: var(--ink-dim); }
@media (max-width: 700px) { .svc-row { grid-template-columns: 1fr; } .svc-row .tile { width: 100%; } }
.class-switch { display: inline-flex; gap: 4px; margin-bottom: 18px; }
.class-switch button { height: 32px; padding: 0 14px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--ink-dim); }
.class-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 13px 4px; border-top: 1px solid rgba(255,255,255,.07); }
.steps li::before { content: counter(s, decimal-leading-zero); color: var(--accent); font-weight: 600; font-size: 12px; padding-top: 2px; }
.steps b { font-weight: 500; display: block; margin-bottom: 2px; }
.steps span { color: #8a8a8a; font-size: 12.5px; }

/* ---------- «Спасибо» ---------- */
.thanks { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: calc(var(--header-h) + 24px) var(--pad) 48px; }
.thanks h1 { font-size: clamp(2.6rem, 8vw, 8rem); letter-spacing: -.05em; line-height: .95; }
.thanks p { max-width: 46ch; color: #c8c8c8; font-size: 1.1rem; }
.thanks .row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Без анимаций: всё статично и видно ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.no-motion [data-fade] { opacity: 1 !important; transform: none !important; }
.no-motion .scene, .no-motion .scene.short { height: auto; }
.no-motion .scene + section { margin-top: 0; }
.no-motion .scene-sticky { position: relative; height: auto; min-height: 100svh; }
.no-motion .scene-text { position: relative; min-height: 100svh; }
.no-motion .scene-media img { filter: brightness(.3); }
.no-motion .acc-track { height: auto; }
.no-motion .acc-sticky { position: static; height: auto; }
.no-motion :is(.acc-rows, .acc-row) { flex: none; }
.no-motion .acc-row { --a: 1 !important; min-height: 340px; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; }
.calc-lines li b { color: #cfcfcf; font-weight: 500; }
.feat > .ui { align-self: start; }
.feat-l .tag, .guarantee .tag { justify-self: start; }

/* Гарантии: три обещания в ряд */
.guarantee { grid-template-columns: 80px minmax(0, 1fr) auto; align-items: start; }
.g-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.g-list > div { padding: 20px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.g-list > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.g-list .badge { justify-self: start; }
.g-list p { margin: 0; color: var(--ink-dim); font-size: 15px; max-width: 26ch; }
.guarantee .seal { margin-right: 0; margin-left: 24px; }
@media (max-width: 1100px) { .guarantee { grid-template-columns: 1fr; } .guarantee .seal { margin: 0; } }
@media (max-width: 760px) { .g-list { grid-template-columns: 1fr; } .g-list > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
/* Пакеты: цены по классам */
.cols li b { font-weight: 600; }
.cols li s { color: var(--ink-mute); margin-left: 6px; font-size: 13px; }
.cols .price .tag { align-self: center; }
.calc-lines li.disc { color: var(--accent); }
.calc-lines li.disc b { color: var(--accent); }

/* ---------- Политика конфиденциальности ---------- */
.legal { display: grid; gap: 28px; max-width: 72ch; }
.legal h2 { margin: 0 0 10px; }
.legal p { margin: 0; color: #c8c8c8; line-height: 1.6; }
.legal-date { font-size: 13px; color: var(--ink-mute) !important; }

/* ---------- Плашка cookies ---------- */
.cookiebar { position: fixed; z-index: 70; left: var(--pad); right: var(--pad); bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 560px; margin-left: auto; display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--line); font-size: 13px; line-height: 1.45; color: var(--ink-dim); }
.cookiebar[hidden] { display: none; }
.cookiebar p { margin: 0; }
.cookiebar a { color: var(--ink); }
.cookiebar div { display: flex; gap: 8px; flex: none; }
.cookiebar button { font: inherit; font-weight: 600; padding: 9px 14px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.cookiebar button.pri { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) { .cookiebar { bottom: calc(72px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; } .cookiebar div > * { flex: 1; } }
