/* ANISTECH v3 «Открытая смета». Палитра «Графит», без чистого синего. */
@font-face { font-family: "Anistech Unbounded"; src: url(../fonts/anistech-unbounded.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Play"; src: url(../fonts/play-cyrillic.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0400-04FF; }
@font-face { font-family: "Play"; src: url(../fonts/play-latin.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Tektur"; src: url(../fonts/tektur-cyrillic.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0400-04FF; }
@font-face { font-family: "Tektur"; src: url(../fonts/tektur-latin.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-cyrillic.woff2) format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0400-04FF; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-latin.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Russo One"; src: url(../fonts/russo-one-cyrillic.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0400-04FF; }
@font-face { font-family: "Russo One"; src: url(../fonts/russo-one-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tektur"; src: url(../fonts/tektur-cyrillic.woff2) format("woff2"); font-weight: 400 900; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0400-04FF; }
@font-face { font-family: "Tektur"; src: url(../fonts/tektur-latin.woff2) format("woff2"); font-weight: 400 900; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Onest"; src: url(../fonts/onest-cyrillic.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0400-04FF; }
@font-face { font-family: "Onest"; src: url(../fonts/onest-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F7F7F5; --line: #3A3832; --ink: #161511; --text: #161511; --muted: #5B574C;
  --bubble: #ECEBE6; --hair: #DEDCD4; --amber: #F7A63C; --bronze: #8A5420; --paper: #FFFFFF;
  --rim: rgba(0,0,0,0); --bezel: rgba(8,8,7,.92); --island: #060605; --metal-1: #9B968B; --metal-2: #3A3832; --metal-3: #1E1C18; --ink-1: #2C2A25; --ink-2: #0F0E0B; --edge-op: .42; --gold-1: #E9C777; --gold-2: #9A7632; --glare-op: 1;
  --frame-cap: #8A5420; --glow: .20; --grain-op: .09; --btn-line: #8A5420; --chip-bg: rgba(244,197,151,.42); --chip-line: #D9A66A;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .09  0 0 0 0 .07  0 0 0 .95 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  --head: "Play", "Onest", system-ui, sans-serif;
  --body: "Onest", system-ui, sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #131311; --line: #D9D3C5; --ink: #F2EFE8; --text: #F2EFE8; --muted: #B8B2A4;
  --bubble: #26241F; --hair: #38352D; --paper: #1C1B18;
  --metal-1: #8A867D; --metal-2: #35332E; --metal-3: #131210; --rim: rgba(255,255,255,.34); --bezel: rgba(5,5,5,.95); --island: #050504; --ink-1: #FFFFFF; --ink-2: #C9C3B5; --edge-op: .7; --glare-op: .32;
  --frame-cap: #F4C597; --glow: .30; --grain-op: .10; --btn-line: #F4C597; --chip-bg: rgba(244,197,151,.14); --chip-line: rgba(244,197,151,.55);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .95  0 0 0 0 .9  0 0 0 0 .8  0 0 0 .95 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--body); }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.v3-skip { position: absolute; left: -999px; top: 8px; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 8px; z-index: 50; }
.v3-skip:focus { left: 12px; }
.v3-wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

.v3-only-dark { display: none; }
[data-theme="dark"] .v3-only-dark { display: inline; }
[data-theme="dark"] .v3-only-light { display: none; }

/* Шапка */
.v3-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.v3-header__in { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.v3-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; margin-right: auto; }
.v3-brand__mark { height: 36px; width: auto; }
.v3-brand__word { height: 20px; width: auto; }
.v3-nav { display: flex; gap: 4px; }
.v3-nav > a { padding: 8px 11px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--muted); }
.v3-nav > a:hover { color: var(--text); background: var(--bubble); }
.v3-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--hair); background: transparent; color: var(--text); cursor: pointer; }
.v3-icon-btn > svg { width: 20px; height: 20px; }
.v3-burger { display: none; }

/* Кнопки */
.v3-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.v3-btn--dark { background: var(--ink); color: var(--bg); }
.v3-btn--line { border-color: var(--btn-line); color: var(--text); }
.v3-btn--amber { background: var(--amber); color: #161511; box-shadow: 0 6px 22px rgba(247, 166, 60, .35); }
.v3-btn--amber:hover { filter: brightness(1.07); }
.v3-header__cta { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Первый экран */
.v3-hero { padding: clamp(20px, 2.6vw, 36px) 0 clamp(28px, 3.4vw, 48px); overflow-x: clip; }   /* сияние за телефоном шире колонки — не даём ему растянуть страницу */
.v3-hero__in { align-items: start !important; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
/* Заголовки h1/h2 — капсом (решение Игоря 18.11.2026): так они в одном регистре с логотипом, и у строки нет «прыгающих» высот. Текст остаётся обычным. */
.v3-h1 { font: 700 clamp(30px, 4.4vw, 62px)/.98 var(--head); letter-spacing: 0; text-transform: none; margin: 0 0 18px; }
.v3-lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--muted); max-width: 46ch; margin: 0 0 26px; }
.v3-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.v3-hero__stage { position: relative; aspect-ratio: 1 / .86; min-width: 0; }
.v3-hero__stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }

/* Живое демо поверх собранного телефона */
.v3-hero__demo { position: relative; min-width: 0; }
.v3-chat { position: absolute; display: flex; flex-direction: column; justify-content: flex-end; gap: .5em; overflow: hidden; font-size: var(--v3-chat-fs, 12px); line-height: 1.3; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 2.2em); mask-image: linear-gradient(to bottom, transparent, #000 2.2em); }
.v3-bub { max-width: 88%; overflow-wrap: anywhere; padding: .5em .8em; border-radius: 1em 1em 1em .3em; background: var(--bubble); color: var(--text); align-self: flex-start; animation: v3-in .3s ease-out; }
.v3-bub--me { align-self: flex-end; background: var(--ink); color: var(--bg); border-radius: 1em 1em .3em 1em; }
.v3-kb { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .5em; }
.v3-kb > button { min-height: 2.6em; padding: 0 .75em; white-space: nowrap; border-radius: 999px; border: 1px solid var(--chip-line); background: var(--chip-bg); color: var(--text); font: 600 1em/1 var(--body); cursor: pointer; }
.v3-kb > button.is-picked { background: var(--amber); color: #161511; border-color: var(--amber); }
.v3-kb > button:disabled { cursor: default; }
.v3-typing { align-self: flex-start; display: flex; gap: 4px; padding: .7em .8em; border-radius: 1em; background: var(--bubble); }
.v3-typing--me { align-self: flex-end; background: var(--ink); }
.v3-typing > i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: v3-dot 1s infinite; }
.v3-typing--me > i { background: var(--bg); }
.v3-typing > i:nth-child(2) { animation-delay: .15s; } .v3-typing > i:nth-child(3) { animation-delay: .3s; }
.v3-push { position: absolute; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 .9em; border-radius: 1em; background: var(--ink); color: var(--bg); font-size: var(--v3-chat-fs, 12px); line-height: 1.3; opacity: 0; transform: translateY(-8px); transition: opacity .35s, transform .35s; pointer-events: none; box-shadow: 0 8px 24px rgba(22, 21, 17, .18); }
.v3-push.is-on { opacity: 1; transform: none; }
.v3-push > b { color: var(--amber); }
[data-theme="dark"] .v3-push > b { color: var(--bronze); }
/* Выноски сметы: справа от телефона на компьютере, списком под ним на телефоне */
.v3-callouts { position: absolute; left: 14%; right: calc(100% - var(--v3-phone-left, 40%) + 3%); text-align: right; top: 14%; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.v3-callout { position: relative; padding-right: 30px; opacity: 0; transform: translateX(6px); transition: opacity .45s, transform .45s; }
.v3-callout.is-on { opacity: 1; transform: none; }
.v3-callout::before { content: ""; position: absolute; right: -2px; top: .75em; width: 24px; border-top: 1.5px solid var(--line); }
.v3-callout::after { content: ""; position: absolute; right: -5px; top: calc(.75em - 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.v3-callout__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 600 14px/1.3 var(--body); color: var(--text); }
.v3-callout__price { display: block; font: 600 14px/1.4 var(--body); color: var(--text); opacity: .78; }
.v3-total { position: absolute; left: 0; right: calc(100% - var(--v3-phone-left, 40%) + 3%); bottom: 22%; margin: 0; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 4px; opacity: 0; transition: opacity .45s; }
.v3-total.is-on { opacity: 1; }
.v3-total > span { font-size: 13px; color: var(--muted); }
.v3-total > strong { align-self: flex-end; font: 600 clamp(18px, 1.8vw, 26px)/1.1 var(--head); letter-spacing: -.02em; padding: .15em .45em; border-radius: .3em; background: var(--amber); color: #161511; }
.v3-niches { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.v3-niches > button { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hair); background: transparent; color: var(--muted); font: 500 13.5px/1 var(--body); cursor: pointer; white-space: nowrap; }
@media (min-width: 901px) { .v3-niches { flex-wrap: nowrap; } .v3-niches > button { padding: 0 9px; font-size: 13px; } }
.v3-niches > button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.v3-niches > .v3-pausebtn { border-style: dashed; }
.v3-niches > .v3-pausebtn:hover { border-color: var(--amber); color: var(--text); }
.v3-note { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
@keyframes v3-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes v3-dot { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .v3-bub, .v3-typing > i { animation: none; } .v3-callout, .v3-push, .v3-total { transition: none; } }

@media (max-width: 1239px) {
  .v3-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 10px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--hair); }
  .v3-nav.is-open { display: flex; }
  .v3-nav > a { padding: 12px 10px; font-size: 17px; }
  .v3-burger { display: inline-grid; }
}
@media (max-width: 900px) {
  .v3-hero__in { grid-template-columns: 1fr; }
  .v3-hero__stage { aspect-ratio: 10 / 16; }
  .v3-callouts, .v3-total { position: static; margin-top: 6px; }
  .v3-total { margin-top: 12px; }
  .v3-callouts, .v3-total { text-align: left; align-items: flex-start; }
  .v3-callout { padding-right: 0; padding-left: 22px; transform: translateX(-6px); }
  .v3-callout::before { right: auto; left: -2px; } .v3-callout::after { right: auto; left: -5px; }
  .v3-total > strong { align-self: flex-start; }
  .v3-callouts { gap: 10px; height: 172px; overflow: hidden; }   /* одна высота для всех ниш — кнопки ниже не прыгают */
  .v3-callout::before { width: 14px; }
  .v3-kb > button { min-height: 40px; }
}
@media (max-width: 520px) {
  .v3-header__cta { display: none; }
  .v3-brand__word { height: 15px; }
  .v3-hero__btns > .v3-btn { flex: 1 1 100%; }
}

/* Фон и текстура: зерно «бумаги» и янтарное сияние ядра за телефоном — в обеих темах (светлая: тёплая бумага, тёмная: уголь) */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 30; opacity: var(--grain-op); background-image: var(--grain); }
.v3-hero__demo::before { content: ""; position: absolute; inset: -14% -24%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 46% 56% at 50% 46%, rgba(247, 166, 60, var(--glow)), transparent 72%); }
main { position: relative; z-index: 1; }
.v3-core-halo { animation: v3-halo 2.6s ease-in-out infinite; }
@keyframes v3-halo { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .v3-core-halo { animation: none; } }

/* Блик на стекле телефона: две мягкие диагональные полосы поверх переписки */
.v3-glare { position: absolute; pointer-events: none; opacity: 0; transition: opacity .8s ease; background: linear-gradient(115deg, rgba(255,255,255,0) 6%, rgba(255,255,255,.34) 17%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 62%, rgba(255,255,255,.13) 74%, rgba(255,255,255,0) 88%); }
.v3-glare.is-on { opacity: var(--glare-op); }

/* Фон первого экрана: фото «ИИ-ядро» (своё для каждой темы) + мягкая вуаль слева для читаемости заголовка и плавный переход вниз */
.v3-hero { position: relative; isolation: isolate; }
.v3-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 30%, transparent 58%), linear-gradient(180deg, transparent 72%, var(--bg) 100%), url("../img/bg/hero-light.webp");
  background-size: 100% 100%, 100% 100%, var(--bg-w, cover) auto; background-position: 0 0, 0 0, var(--bg-x, 50%) var(--bg-y, 50%); background-repeat: no-repeat; }
:root[data-theme="dark"] .v3-hero::before { background-image: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 30%, transparent 58%), linear-gradient(180deg, transparent 72%, var(--bg) 100%), url("../img/bg/hero-dark.webp"); }
.v3-hero__demo::before { background: radial-gradient(ellipse 58% 62% at 52% 50%, color-mix(in srgb, var(--bg) 50%, transparent) 0%, color-mix(in srgb, var(--bg) 30%, transparent) 55%, transparent 80%); }   /* у фото своё сияние: вместо янтарного пятна — мягкая вуаль, чтобы подписи и пилюли читались */
@media (max-width: 900px) { .v3-hero::before { background-image: linear-gradient(180deg, color-mix(in srgb, var(--bg) 82%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 40%, var(--bg) 100%), linear-gradient(180deg, transparent 72%, var(--bg) 100%), url("../img/bg/hero-light.webp"); }
  :root[data-theme="dark"] .v3-hero::before { background-image: linear-gradient(180deg, color-mix(in srgb, var(--bg) 82%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 40%, var(--bg) 100%), linear-gradient(180deg, transparent 72%, var(--bg) 100%), url("../img/bg/hero-dark.webp"); } }

/* текст первого экрана — по вертикали на одной оси с телефоном */
@media (min-width: 901px) { .v3-hero__text { min-height: var(--v3-stage-h, 0); display: flex; flex-direction: column; justify-content: center; } }

/* Кнопка «Отправить» в строке ввода: янтарный круг со стрелкой-самолётиком */
.v3-send { position: absolute; border-radius: 50%; background: var(--amber); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity .5s, transform .5s; pointer-events: none; box-shadow: 0 2px 10px rgba(247, 166, 60, .35), inset 0 1px 0 rgba(255,255,255,.35); }
.v3-send.is-on { opacity: 1; transform: none; }
.v3-send > svg { width: 52%; height: 52%; transform: translate(-6%, 2%); }
/* Грань корпуса: тонкие слои на разной глубине; при наклоне складываются в боковую стенку */
.v3-edge { position: absolute; display: none; border: 2px solid var(--metal-2); background: none; pointer-events: none; }
.v3-edge:nth-of-type(odd) { border-color: var(--metal-1); }
.v3-hero__stage.is-3d .v3-edge { display: block; }
/* v4-прототип в v3: слои на разной глубине */
.v3-hero__stage.is-3d { transform-style: preserve-3d; transform-origin: var(--v3-pcx, 50%) var(--v3-pcy, 50%); will-change: transform; }
.v3-hero__stage.is-3d > svg { transform-style: flat; }
.v3-hero__stage.is-3d .v3-chat { translate: 0 0 7px; }
.v3-hero__stage.is-3d .v3-send { translate: 0 0 8px; }
.v3-hero__stage.is-3d .v3-push { translate: 0 0 16px; }
.v3-hero__stage.is-3d .v3-glare { translate: calc(var(--v3-tilt, 0) * -1.6px) 0 10px; }

/* Шрифтовая пара (решение Игоря 18.11.2026): заголовки — Tektur обычным регистром, служебный и поясняющий текст — JetBrains Mono; переписка в телефоне остаётся Onest */
.v3-lead, .v3-btn, .v3-nav a, .v3-niches > button, .v3-callout__name, .v3-callout__price, .v3-total > span, .v3-note { font-family: "JetBrains Mono", ui-monospace, monospace; }
.v3-lead { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; }
.v3-btn { font-size: 14px; }
.v3-niches > button { font-size: 12.5px; }

/* телефон: фон-шар не должен «раздуваться»; вуаль светлее, чтобы светлая тема оставалась светлой */
@media (max-width: 900px) { .v3-hero::before { background-repeat: no-repeat; background-color: var(--bg); } }

@media (max-width: 900px) {
  /* края фото растворяются в цвет страницы — нет полос сверху и снизу */
  .v3-hero:not(.has-orb)::before { background-image: linear-gradient(180deg, var(--bg), var(--bg)), linear-gradient(180deg, var(--bg), transparent), linear-gradient(0deg, var(--bg), transparent), url("../img/bg/hero-light.webp");
    background-size: 100% var(--bg-y, 0px), 100% calc(var(--bg-h, 500px) * .32), 100% calc(var(--bg-h, 500px) * .32), var(--bg-w, 250%) auto;
    background-position: 0 0, 0 var(--bg-y, 0px), 0 calc(var(--bg-y, 0px) + var(--bg-h, 500px) * .68), var(--bg-x, 0) var(--bg-y, 0); }
  :root[data-theme="dark"] .v3-hero:not(.has-orb)::before { background-image: linear-gradient(180deg, var(--bg), var(--bg)), linear-gradient(180deg, var(--bg), transparent), linear-gradient(0deg, var(--bg), transparent), url("../img/bg/hero-dark.webp"); }
}

@media (max-width: 900px) { .v3-hero:not(.has-orb)::before { background-blend-mode: normal, normal, normal, normal; }
  :root:not([data-theme="dark"]) .v3-hero:not(.has-orb) { --veil: 1; }
  :root:not([data-theme="dark"]) .v3-hero:not(.has-orb)::before { filter: brightness(1.06) saturate(.9); } }

/* боковая стенка: гладкий металл по глубине, кнопки — выступающие накладки, повёрнутые к зрителю боком */
.v3-hero__stage.is-3d .v3-edge { border: 2px solid var(--metal-2); }
.v3-hero__stage.is-3d .v3-edge:nth-of-type(3n) { border-color: var(--metal-1); }
.v3-hero__stage.is-3d .v3-edge:nth-of-type(3n+1) { border-color: var(--metal-3); }
.v3-wbtn { position: absolute; display: none; pointer-events: none; transform-origin: left center; transform: translateZ(-2px) rotateY(90deg); border-radius: 2px; background: linear-gradient(90deg, var(--metal-1), var(--metal-2) 60%, var(--metal-3)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.35); }
.v3-hero__stage.is-3d .v3-wbtn { display: block; }
@media (max-width: 900px) { .v3-callouts, .v3-total { transform: none !important; } }

/* Блок «Услуги»: строки сметы (макет утверждён Игорем 19.11.2026) */
.sv { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--hair); }
.sv__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sv__head { position: sticky; top: 96px; }
.sv__head h2 { font: 700 clamp(30px, 3.6vw, 52px)/1.04 var(--head); margin: 0 0 18px; }
.sv__head p { color: var(--muted); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 15px; line-height: 1.65; max-width: 36ch; margin: 0 0 22px; }
.sv__rows { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--text); }
.sv__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; padding: 26px 0 24px; border-bottom: 1px solid var(--hair); }
.sv__row::before { content: ""; position: absolute; left: -18px; top: 26px; bottom: 24px; width: 3px; border-radius: 2px; background: var(--amber); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.sv__row:hover::before, .sv__row:focus-within::before { transform: scaleY(1); }
.sv__name { margin: 0; font: 700 clamp(20px, 1.9vw, 26px)/1.2 "Onest", system-ui, sans-serif; }
.sv__lead { grid-column: 1; color: var(--muted); margin: 6px 0 0; max-width: 56ch; font-size: 16px; line-height: 1.55; }
.sv__tags { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; list-style: none; font: 500 12.5px/1.2 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); }
.sv__tags > li::before { content: "+ "; color: var(--amber); }
.sv__price { grid-column: 2; grid-row: 1 / span 3; align-self: start; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.sv__price > b { font: 700 clamp(22px, 2.3vw, 32px)/1 var(--head); white-space: nowrap; }
.sv__price > span { font: 500 12.5px/1.3 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); }
.sv__btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sv__btns > .v3-btn { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
.sv__row--quiet > .sv__name { opacity: .86; }
.sv__total { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; font: 500 13px/1.4 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); }
@media (max-width: 900px) {
  .sv__in { grid-template-columns: 1fr; }
  .sv__head { position: static; }
  .sv__row { grid-template-columns: 1fr; }
  .sv__price { grid-column: 1; grid-row: auto; text-align: left; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 10px; }
  .sv__row::before { left: -12px; }
}
@media (max-width: 900px) { .sv__total { flex-direction: column; gap: 4px; } }

.sv__quizlink { display: block; margin-top: 18px; font: 500 13.5px/1.5 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.sv__quizlink:hover { color: var(--text); }

/* ===== Остальные блоки главной (порядок утверждён Игорем 19.11.2026): прозрачность → кейс → этапы → amiu → вопросы → заявка ===== */
.tr__list { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--text); }
.tr__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 28px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.tr__row > b { font: 700 clamp(17px, 1.5vw, 20px)/1.3 "Onest", system-ui, sans-serif; }
.tr__row > span { color: var(--muted); font-size: 16px; line-height: 1.55; }
.tr__row a, .fq a, .am a { color: var(--text); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.cs__h { font: 700 clamp(28px, 3.2vw, 46px)/1.06 var(--head); margin: 0 0 clamp(24px, 4vw, 44px); max-width: 24ch; }
.cs__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cs__shots { position: relative; padding-bottom: 8%; }
.cs__desk { width: 88%; height: auto; border-radius: 14px; border: 1px solid var(--hair); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .35); display: block; }
.cs__phone { position: absolute; right: 0; bottom: 0; width: 24%; height: auto; border-radius: 18px; border: 1px solid var(--hair); box-shadow: 0 20px 46px -16px rgba(0, 0, 0, .45); }
.cs__tag { font: 500 12.5px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); }
.cs__txt > h3 { font: 700 clamp(22px, 2.2vw, 30px)/1.15 var(--head); margin: 12px 0 18px; }
.cs__dl { margin: 0; border-top: 1.5px solid var(--text); }
.cs__dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.cs__dl dt { font: 700 12.5px/1.6 "JetBrains Mono", ui-monospace, monospace; color: var(--btn-line); text-transform: uppercase; letter-spacing: .04em; }
.cs__dl dd { margin: 0; font-size: 16px; line-height: 1.55; }
.cs__note { margin: 14px 0 0; color: var(--muted); font: 500 13px/1.5 "JetBrains Mono", ui-monospace, monospace; }
.cs__self { margin: clamp(28px, 4vw, 48px) 0 0; padding: 16px 0 0; border-top: 1px dashed var(--hair); color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 76ch; }
.cs__self > b { color: var(--text); }
.st__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--text); }
.st__list > li { position: relative; padding: 28px 22px 24px 0; display: grid; gap: 6px; align-content: start; }
.st__list > li + li { padding-left: 22px; border-left: 1px solid var(--hair); }
.st__list i { font: 700 13px/1 "JetBrains Mono", ui-monospace, monospace; font-style: normal; width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--text); border-radius: 50%; margin-bottom: 8px; }
.st__list em { font: 500 12.5px/1.2 "JetBrains Mono", ui-monospace, monospace; font-style: normal; color: var(--btn-line); }
.st__list b { font: 700 clamp(18px, 1.6vw, 22px)/1.25 "Onest", system-ui, sans-serif; }
.st__list span { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.st__pay { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--hair); font: 500 13.5px/1.5 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); }
.am { background: #161511; color: #F7F7F5; padding: clamp(48px, 7vw, 96px) 0; }
.am__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.am__tag { font: 500 12.5px/1.5 "JetBrains Mono", ui-monospace, monospace; color: #F4C597; }
.am__logo { margin: 18px 0 14px; }
.am__logo > img { width: clamp(150px, 16vw, 230px); height: auto; display: block; }
.am__lead { color: #cfcdc6; font-size: 17px; line-height: 1.6; margin: 0 0 22px; max-width: 58ch; }
.am__line { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid #38352D; }
.am__line > li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #38352D; color: #cfcdc6; font-size: 15.5px; }
.am__line img { width: 80px; height: auto; display: block; }
.am__line em { font-style: normal; color: #F7A63C; font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace; margin-left: 6px; }
.am__h { font: 700 12.5px/1 "JetBrains Mono", ui-monospace, monospace; color: #F4C597; text-transform: uppercase; letter-spacing: .06em; }
.am__who { margin: 14px 0 22px; padding: 0; list-style: none; border-top: 1px solid #38352D; }
.am__who > li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid #38352D; }
.am__who b { font: 700 18px/1.3 "Onest", system-ui, sans-serif; }
.am__who span { color: #cfcdc6; font-size: 15px; line-height: 1.5; }
.am__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.am .v3-btn--line.am__ghost { color: #F7F7F5; border-color: #F4C597; }
.am .v3-btn[hidden] { display: none; }
.am__note { margin: 18px 0 0; color: #a9a69d; font: 500 13px/1.55 "JetBrains Mono", ui-monospace, monospace; }
.fq { border-top: 1.5px solid var(--text); }
.fq details { border-bottom: 1px solid var(--hair); }
.fq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 20px 0; font: 700 clamp(17px, 1.5vw, 20px)/1.35 "Onest", system-ui, sans-serif; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: "+"; font: 500 24px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--amber); flex: none; }
.fq details[open] > summary::after { content: "−"; }
.fq details > p { margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 62ch; }
.fm { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--hair); }
.fm__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.fm__intro > h2 { font: 700 clamp(28px, 3.2vw, 46px)/1.06 var(--head); margin: 0 0 16px; }
.fm__intro > p { color: var(--muted); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 15px; line-height: 1.65; max-width: 40ch; margin: 0 0 18px; }
.fm__list { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 6px; font: 500 14px/1.5 "JetBrains Mono", ui-monospace, monospace; }
.fm__list > li::before { content: "+ "; color: var(--amber); }
.fm__msgr { display: flex; flex-wrap: wrap; gap: 10px; }
.fm__msgr > a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--btn-line); color: var(--text); text-decoration: none; font: 600 13.5px/1 "JetBrains Mono", ui-monospace, monospace; }
.fm__form { display: grid; gap: 16px; padding: 28px; border: 1.5px solid var(--text); border-radius: 18px; background: color-mix(in srgb, var(--paper) 70%, transparent); }
.fm__chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.fm__chips > legend { width: 100%; padding: 0 0 8px; font: 700 15px/1.3 "Onest", system-ui, sans-serif; }
.fm__ctx { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 10px 14px; border: 1px dashed var(--amber); border-radius: 12px; font: 500 13px/1.5 "JetBrains Mono", ui-monospace, monospace; }
.fm__ctx[hidden] { display: none; }
.fm__ctx button { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
.fm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fm__f { display: grid; gap: 6px; font: 600 14px/1.3 "Onest", system-ui, sans-serif; }
.fm__f > input, .fm__f > textarea { font: 500 16px/1.4 "Onest", system-ui, sans-serif; color: var(--text); background: color-mix(in srgb, var(--bg) 60%, transparent); border: 1px solid var(--hair); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; box-sizing: border-box; }
.fm__f > input:focus, .fm__f > textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.fm__f > input[aria-invalid="true"] { border-color: #c0392b; }
.fm__opt { color: var(--muted); font-weight: 500; }
.fm__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.fm__consent > input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--amber); flex: none; }
.fm__consent a { color: var(--text); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.fm__submit { justify-self: start; min-height: 50px; padding: 0 28px; font-size: 15px; }
.fm__msg { margin: 0; min-height: 1.4em; font: 500 14px/1.4 "JetBrains Mono", ui-monospace, monospace; }
.fm__msg.is-ok { color: #2f7d4f; } .fm__msg.is-err { color: #c0392b; }
.ft { border-top: 1px solid var(--hair); padding: 36px 0 90px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.ft__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ft a { color: var(--text); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.ft__contacts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.v3-dock { display: none; }
@media (max-width: 900px) {
  .tr__row { grid-template-columns: 1fr; }
  .cs__grid, .am__in, .fm__in { grid-template-columns: 1fr; }
  .st__list { grid-template-columns: 1fr; }
  .st__list > li, .st__list > li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--hair); }
  .fm__row { grid-template-columns: 1fr; }
  .fm__form { padding: 20px; }
  .ft__in { grid-template-columns: 1fr; }
  .v3-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--hair); transform: translateY(110%); transition: transform .3s; }
  .v3-dock.is-on { transform: none; }
  .v3-dock > .v3-btn { flex: 1; min-height: 46px; padding: 0 10px; font-size: 14px; }
}

.qz__chip { position: relative; display: inline-flex; }
.qz__chip > input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qz__chip > span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hair); font: 500 13.5px/1.2 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); transition: background .2s, border-color .2s, color .2s; }
.qz__chip:hover > span { border-color: var(--btn-line); color: var(--text); }
.qz__chip > input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.qz__chip > input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 900px) { .ft a { display: inline-block; padding: 11px 2px; min-height: 40px; box-sizing: border-box; } .ft__contacts { gap: 0 12px; } }

/* 3D-шар по кнопке (js/orb.js): по умолчанию на первом экране картинка, шар включает кнопка в шапке */
.v3-orb { position: absolute; z-index: -1; pointer-events: none; }
.v3-hero.has-orb::before, :root[data-theme="dark"] .v3-hero.has-orb::before {
  background-image: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 30%, transparent 58%), linear-gradient(180deg, transparent 72%, var(--bg) 100%); }
@media (max-width: 900px) { .v3-hero.has-orb::before, :root[data-theme="dark"] .v3-hero.has-orb::before { background-image: linear-gradient(180deg, color-mix(in srgb, var(--bg) 82%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 40%, var(--bg) 100%), linear-gradient(180deg, transparent 72%, var(--bg) 100%); } }
.v3-orb-btn[aria-pressed="true"] { border-color: var(--amber); color: var(--amber); }
.v3-orb-btn[hidden] { display: none; }
