:root {
  --accent: #00f619;
  --pink: #fb3eff;
  --cyan: #00d1ff;
  --bg: #0c0c0d;
  --card: #131315;
  --card2: #1c1c1f;
  --line: rgba(255, 255, 255, .1);
  --text: #fff;
  --muted: #b7b7b8;
  --dim: #737373;
  --pad: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
a { color: inherit; }
em { font-style: normal; color: var(--accent); }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
::selection { background: var(--accent); color: #000; }

/* ---------- Заставка загрузки ---------- */
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: transform .9s var(--ease), opacity .9s; }
#loader .box { display: grid; justify-items: center; gap: 22px; }
#loader svg { width: 96px; height: 96px; overflow: visible; }
#loader .ld { fill: none; stroke: #4a4a4d; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) forwards; }
#loader .ld.l2 { animation-delay: .25s; }
#loader .ld.l3 { animation-delay: .4s; }
#loader .ld.l4 { animation-delay: .55s; }
#loader .ld.ok { stroke: var(--accent); stroke-width: 2.5; animation-delay: 1s; animation-duration: .6s; filter: drop-shadow(0 0 6px var(--accent)); }
#loader .pct { font-size: 13px; letter-spacing: .14em; color: var(--dim); font-variant-numeric: tabular-nums; }
#loader .track { width: 160px; height: 2px; background: #222; overflow: hidden; border-radius: 2px; }
#loader .track i { display: block; height: 100%; width: 0; background: var(--accent); }
body.loaded #loader { transform: translateY(-100%); opacity: 0; pointer-events: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Появление при прокрутке ---------- */
.js [data-r] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-r].in { opacity: 1; transform: none; }
main { animation: pageIn .5s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Шапка ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.header > * { pointer-events: auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.logo svg { width: 30px; height: 30px; color: var(--accent); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 50%, transparent)); }
.nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(19, 19, 21, .75); backdrop-filter: blur(14px); }
.nav a { padding: 8px 15px; border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; }
.nav a.active { color: #fff; background: rgba(255, 255, 255, .1); }
.burger { display: none; width: 46px; height: 42px; border: 1px solid var(--line); border-radius: 999px; background: rgba(19, 19, 21, .8); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: #fff; margin: 0 auto; position: relative; content: ""; }
.burger span::before { position: absolute; top: -5px; }
.burger span::after { position: absolute; top: 5px; }
.scrollbar { position: fixed; top: 0; right: 0; width: 3px; height: 0; z-index: 60; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: #000; font: 600 15px/1.4 var(--sans); text-decoration: none; cursor: pointer; transition: box-shadow .25s, background .25s, color .25s, transform .25s; }
.btn:hover { box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-1px); }
.btn.out { background: #000; color: #fff; }
.btn.out:hover { background: var(--accent); color: #000; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn.ghost:hover { border-color: #fff; box-shadow: none; }
.btn.sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Секции ---------- */
.section { padding: clamp(56px, 8vw, 120px) 0; position: relative; }
.head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 780px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: block; margin-bottom: 14px; color: var(--accent); font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; }
.h { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.head p { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.45; text-wrap: balance; }
.page-top { height: 84px; }

/* ---------- Первый экран ---------- */
.hero { padding: 112px 0 var(--pad); min-height: 100vh; min-height: 100svh; display: flex; }
.hero .wrap { width: 100%; display: flex; flex-direction: column; gap: 28px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero h1 { font-size: clamp(34px, 4.7vw, 66px); line-height: 1.02; letter-spacing: -.025em; max-width: 820px; text-wrap: balance; }
.hero-side { max-width: 340px; flex: none; }
.hero-side p { color: var(--muted); line-height: 1.4; }
.hero-side .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.scene { position: relative; flex: 1; min-height: 400px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: radial-gradient(120% 90% at 70% 0%, #1d1d20, #0f0f10 60%); }
.floor { position: absolute; inset: -60% -40% -40%; transform: perspective(900px) rotateX(64deg) rotateZ(-24deg); background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 72px 72px; animation: floor 6s linear infinite; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 85%); mask-image: radial-gradient(closest-side, #000 30%, transparent 85%); }
@keyframes floor { to { background-position: 72px 72px; } }
.scene .route { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease); filter: drop-shadow(0 0 6px var(--accent)); }
.scene .route path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.scene[data-stage="0"] .route { transition-duration: .3s; }
.scene[data-stage="1"] .route { clip-path: inset(0 72% 0 0); }
.scene[data-stage="2"] .route { clip-path: inset(0 46% 0 0); }
.scene[data-stage="3"] .route { clip-path: inset(0 20% 0 0); }
.scene[data-stage="4"] .route { clip-path: inset(0 0 0 0); }

.win { position: absolute; left: 7%; top: 11%; width: min(540px, 56%); padding: 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(19, 19, 21, .92); box-shadow: 0 40px 80px rgba(0, 0, 0, .6); transform: perspective(1400px) rotateY(13deg) rotateX(5deg); transform-origin: left center; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
.win-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.win-bar b { width: 9px; height: 9px; border-radius: 50%; background: #333; }
.win-bar span { margin-left: auto; color: var(--dim); font-variant-numeric: tabular-nums; }
.lot { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; margin-top: 6px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .4s, background .4s; }
.scene.go .lot { opacity: 1; transform: none; }
.scene.go .lot:nth-child(3) { transition-delay: .12s; }
.scene.go .lot:nth-child(4) { transition-delay: .24s; }
.scene.go .lot:nth-child(5) { transition-delay: .36s; }
.lot .pf { color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lot .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lot .st { padding: 3px 10px; border-radius: 999px; background: #222; color: var(--muted); font-size: 12px; white-space: nowrap; transition: background .4s, color .4s; }
.scene:not([data-stage="0"]) .lot:not(.pick) { opacity: .35; }
.scene:not([data-stage="0"]) .lot.pick { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.scene:not([data-stage="0"]) .lot.pick .st { background: var(--accent); color: #000; font-weight: 600; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--accent) 14%, transparent)); border-bottom: 1px solid var(--accent); opacity: 0; pointer-events: none; }
.scene[data-stage="0"] .scan, .scene[data-stage="1"] .scan { animation: scan 1.6s linear infinite; }
@keyframes scan { 0% { transform: translateY(-100%); opacity: 1; } 100% { transform: translateY(250%); opacity: 1; } }

.doc { position: absolute; right: 8%; top: 13%; width: 250px; padding: 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(19, 19, 21, .92); box-shadow: 0 30px 60px rgba(0, 0, 0, .55); transform: perspective(1400px) rotateY(-14deg) rotateX(5deg); animation: float 8s ease-in-out -3s infinite; opacity: .35; transition: opacity .5s; font-size: 13px; }
.scene[data-stage="2"] .doc, .scene[data-stage="3"] .doc, .scene[data-stage="4"] .doc { opacity: 1; }
.doc h4 { margin: 0 0 10px; font-size: 14px; font-weight: 500; }
.doc li { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: var(--dim); transition: color .4s; }
.doc ul { list-style: none; margin: 0; padding: 0; }
.doc li::before { content: ""; width: 14px; height: 14px; border: 1px solid #444; border-radius: 4px; transition: background .4s, border-color .4s; flex: none; }
.scene[data-stage="2"] .doc li, .scene[data-stage="3"] .doc li, .scene[data-stage="4"] .doc li { color: #fff; }
.scene[data-stage="2"] .doc li::before, .scene[data-stage="3"] .doc li::before, .scene[data-stage="4"] .doc li::before { background: var(--accent); border-color: var(--accent); }
.doc li:nth-child(2), .doc li:nth-child(2)::before { transition-delay: .3s; }
.doc li:nth-child(3), .doc li:nth-child(3)::before { transition-delay: .6s; }
.doc .bar { height: 3px; margin-top: 12px; border-radius: 3px; background: #222; overflow: hidden; }
.doc .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.2s var(--ease); }
.scene[data-stage="2"] .doc .bar i, .scene[data-stage="3"] .doc .bar i, .scene[data-stage="4"] .doc .bar i { width: 100%; }

.stamp { position: absolute; right: 14%; bottom: 24%; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border: 1.5px solid var(--accent); border-radius: 12px; background: rgba(12, 12, 13, .9); color: var(--accent); font-weight: 600; box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 30%, transparent); opacity: 0; transform: scale(1.5) rotate(-10deg); transition: opacity .35s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.stamp svg { width: 26px; height: 26px; }
.scene[data-stage="3"] .stamp, .scene[data-stage="4"] .stamp { opacity: 1; transform: rotate(-4deg); }
.stamp .a, .stamp .b { display: block; }
.scene[data-stage="4"] .stamp .a, .scene:not([data-stage="4"]) .stamp .b { display: none; }

.stages { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 12, 13, .85); backdrop-filter: blur(10px); max-width: calc(100% - 24px); }
.stages span { padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--dim); white-space: nowrap; transition: background .4s, color .4s; }
.stages span.on { background: var(--accent); color: #000; font-weight: 600; }

/* ---------- Крупный текст, проявляющийся при прокрутке ---------- */
.statement .big { font-size: clamp(26px, 3.7vw, 52px); line-height: 1.12; letter-spacing: -.02em; max-width: 1100px; }
.statement .w { color: #3a3a3d; transition: color .35s; }
.statement .w.on { color: #fff; }

/* ---------- Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--pad); }
.stat { padding-top: 20px; border-top: 1px solid var(--line); position: relative; }
.stat::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--accent); transition: width 1.4s var(--ease) .2s; }
.stat.in::before { width: 100%; }
.stat .num { font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .num small { font-size: .5em; letter-spacing: 0; }
.stat h3 { margin-top: 14px; font-size: 18px; font-weight: 500; }
.stat p { margin-top: 6px; color: var(--dim); font-size: 15px; }

/* ---------- Карточки ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-decoration: none; overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, -400px) var(--my, -400px), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.card:hover::before { opacity: 1; }
a.card:hover { transform: translateY(-4px); }
.card > * { position: relative; }
.card .n { color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; }
.card h3 { margin-top: 10px; font-size: clamp(21px, 1.9vw, 26px); font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.card .ico { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: flex-end; color: var(--dim); transition: color .3s; }
.card:hover .ico { color: var(--accent); }
.card .ico svg { width: 44px; height: 44px; }
.card .more { font-size: 14px; color: var(--accent); }

/* слайдер */
.slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
.slider::-webkit-scrollbar { display: none; }
.slider.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.slider .card { flex: 0 0 min(340px, 78vw); min-height: 320px; scroll-snap-align: start; scroll-margin-left: var(--pad); }
.slider-ui { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.slider-ui .prog { flex: 1; height: 2px; background: #222; border-radius: 2px; overflow: hidden; }
.slider-ui .prog i { display: block; height: 100%; width: 20%; background: var(--accent); transition: width .2s; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: #fff; font-size: 18px; cursor: pointer; transition: border-color .2s, color .2s; }
.arrow:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Шаги с автопереключением ---------- */
.stepper { display: grid; grid-template-columns: minmax(280px, 1fr) 1.5fr; gap: var(--pad); align-items: stretch; }
.step-tab { display: block; width: 100%; text-align: left; padding: 18px 20px; margin-bottom: 6px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--dim); font: inherit; cursor: pointer; position: relative; overflow: hidden; transition: background .3s, color .3s, border-color .3s; }
.step-tab:hover { color: #fff; }
.step-tab.on { background: var(--card); border-color: var(--line); color: #fff; }
.step-tab .t { display: flex; align-items: center; gap: 14px; font-size: clamp(19px, 1.8vw, 24px); }
.step-tab .t::before { content: ""; flex: none; width: 12px; height: 12px; border: 1.5px solid currentColor; transform: rotate(45deg); transition: background .3s, border-color .3s, box-shadow .3s; }
.step-tab.on .t::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--accent); }
.step-tab .d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); color: var(--muted); font-size: 15px; line-height: 1.45; }
.step-tab .d > span { overflow: hidden; padding-left: 26px; }
.step-tab.on .d { grid-template-rows: 1fr; padding-top: 8px; }
.step-tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.step-tab.on .bar { animation: fill 6s linear forwards; }
.stepper:hover .step-tab.on .bar { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.step-view { position: relative; min-height: 420px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: radial-gradient(100% 100% at 80% 0%, #1d1d20, #0f0f10 65%); }
.step-view .floor { animation-duration: 9s; }
.step-pane { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 3vw, 40px); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.step-pane.on { opacity: 1; transform: none; }
.step-pane .bign { position: absolute; top: 4%; right: 5%; font-size: clamp(120px, 20vw, 260px); line-height: 1; font-weight: 600; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .14); font-variant-numeric: tabular-nums; }
.step-pane.on .bign { -webkit-text-stroke-color: var(--accent); filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 40%, transparent)); transition: -webkit-text-stroke-color .8s .2s; }
.step-pane h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; }
.step-pane p { margin-top: 10px; max-width: 460px; color: var(--muted); }

/* ---------- Тарифы / форматы ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.plan { --c: var(--pink); display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: border-color .3s, box-shadow .3s; }
.plan:nth-child(3n+2) { --c: var(--cyan); }
.plan:nth-child(3n+3) { --c: var(--accent); }
.plan:hover { border-color: var(--c); box-shadow: 0 0 50px -20px var(--c); }
.plan .label { align-self: flex-start; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan h3 { margin-top: 22px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; line-height: 1.05; }
.plan h3 em { color: var(--c); }
.plan > p { margin-top: 14px; color: var(--muted); line-height: 1.45; }
.plan ul { list-style: none; margin: 22px 0 0; padding: 0; }
.plan li { position: relative; padding: 9px 0 9px 30px; font-weight: 500; }
.plan li::before { content: ""; position: absolute; left: 0; top: 12px; width: 17px; height: 17px; border-radius: 4px; border: 1px solid var(--c); background: linear-gradient(var(--c), var(--c)) center / 0 0 no-repeat; }
.plan li::after { content: ""; position: absolute; left: 5px; top: 16px; width: 7px; height: 4px; border-left: 1.5px solid var(--c); border-bottom: 1.5px solid var(--c); transform: rotate(-45deg); }
.plan .foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; color: var(--dim); font-size: 14px; }

/* ---------- Кейсы ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case { min-height: 0; }
.case .tag { color: var(--dim); font-size: 14px; }
.case dl { margin: 22px 0 0; display: grid; gap: 0; }
.case dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.case dt { color: var(--dim); }
.case dd { margin: 0; color: var(--muted); }
.case dl > div:last-child dd { color: var(--accent); font-weight: 500; }

/* ---------- Бегущая строка ---------- */
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker + .ticker { margin-top: 12px; }
.ticker .run { display: flex; gap: 12px; width: max-content; animation: run 40s linear infinite; }
.ticker.rev .run { animation-direction: reverse; }
.ticker:hover .run { animation-play-state: paused; }
.ticker span { padding: 14px 26px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: clamp(16px, 1.5vw, 20px); color: var(--muted); white-space: nowrap; transition: color .2s, border-color .2s; }
.ticker span:hover { color: var(--accent); border-color: var(--accent); }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- Строки ---------- */
.rows { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px 1fr 1.2fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease), background .3s; }
.row:hover { padding-left: 16px; padding-right: 16px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent); }
.row .n { color: var(--dim); font-variant-numeric: tabular-nums; transition: color .3s; }
.row:hover .n { color: var(--accent); }
.row h3 { font-size: clamp(20px, 2vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
.row p { color: var(--muted); line-height: 1.45; max-width: 620px; }
.row .more { display: inline-block; margin-top: 10px; color: var(--accent); font-size: 14px; }

/* ---------- Текст и вопросы ---------- */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.split .head { margin-bottom: 0; position: sticky; top: 100px; }
.prose { color: var(--muted); font-size: 17px; line-height: 1.55; }
.prose strong { color: #fff; font-weight: 500; }
.prose p { margin-bottom: 16px; }
.prose a { color: var(--accent); }
.prose ul { list-style: none; margin: 0 0 16px; padding: 0; border-bottom: 1px solid var(--line); }
.prose li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--line); }
.prose li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 9px; height: 9px; border: 1.5px solid var(--accent); transform: rotate(45deg); }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 8px; transition: border-color .3s; }
.faq details[open], .faq details:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 56px 20px 22px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 1.5px; background: var(--accent); transition: transform .3s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 22px 22px; color: var(--muted); animation: pageIn .4s var(--ease); }

/* ---------- Призыв ---------- */
.cta-box { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 5vw, 72px); min-height: 340px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--accent) 16%, #131315), #131315 60%); }
.cta-box > div { position: relative; max-width: 640px; }
.cta-box p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.rings { position: absolute; right: -60px; top: 50%; width: 460px; height: 460px; margin-top: -230px; color: var(--accent); opacity: .5; pointer-events: none; }
.rings polygon { fill: none; stroke: currentColor; stroke-width: .6; transform-origin: 100px 100px; animation: spin 24s linear infinite; }
.rings polygon:nth-child(2) { animation-duration: 36s; animation-direction: reverse; opacity: .6; }
.rings polygon:nth-child(3) { animation-duration: 50s; opacity: .35; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Контакты ---------- */
.contact-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact-row .k { color: var(--dim); font-size: 14px; }
.contact-row a, .contact-row .v { font-size: clamp(19px, 2vw, 28px); line-height: 1.25; letter-spacing: -.01em; text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.contact-row a:hover { color: var(--accent); }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.form h3 { font-size: 26px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--dim); }
.form input, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: #fff; font: 400 16px/1.4 var(--sans); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.form .hint { font-size: 13px; color: var(--dim); }

/* ---------- Подвал ---------- */
.footer { padding: 0 0 28px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer-bottom a { text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.preview-bar { position: relative; z-index: 70; background: var(--accent); color: #000; text-align: center; padding: 7px 16px; font-size: 13px; font-weight: 600; }

@media (max-width: 1120px) {
  .nav { display: none; position: fixed; top: 70px; left: 16px; right: 16px; transform: none; flex-direction: column; border-radius: 16px; padding: 8px; background: rgba(19, 19, 21, .97); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; font-size: 16px; }
  .burger { display: block; }
  .header .btn { margin-left: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --pad: 16px; }
  .header .btn { display: none; }
  .hero { padding-top: 92px; }
  .hero-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-side { max-width: none; }
  .scene { min-height: 490px; }
  .win { left: 4%; right: 4%; top: 6%; width: auto; transform: none; }
  .lot { grid-template-columns: 1fr auto; }
  .lot .pf { display: none; }
  .doc { display: none; }
  .stamp { right: 8%; bottom: 20%; }
  .stages span { padding: 6px 9px; font-size: 11px; }
  .cards, .cases, .stepper, .split, .row { grid-template-columns: 1fr; }
  .row { gap: 6px; }
  .split .head { position: static; }
  .step-view { min-height: 300px; order: -1; }
  .contact-row { grid-template-columns: 1fr; gap: 2px; }
  .case dl > div { grid-template-columns: 1fr; gap: 2px; }
  .rings { opacity: .25; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-r] { opacity: 1; transform: none; }
  .statement .w { color: #fff; }
  #loader .ld { stroke-dashoffset: 0; }
}
