/* ===== АвтоСовесть — стили сайта ===== */
:root {
  --bg: #06081a;
  --bg-2: #0a0e26;
  --bg-3: #0f1433;
  --card: rgba(255, 255, 255, .035);
  --card-hi: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-hi: rgba(120, 140, 255, .35);
  --text: #eef1ff;
  --muted: #9ba4cc;
  --dim: #6c759f;
  --navy: #1f2380;
  --blue: #5468ff;
  --blue-hi: #8a9bff;
  --red: #ef3b36;
  --red-hi: #ff5a50;
  --green: #35d68f;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1200px;
  --gutter: 24px;
  --head: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----- кнопки ----- */
.btn {
  --h: 58px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn:active { transform: scale(.97); }
.btn-red {
  background: linear-gradient(135deg, var(--red-hi), var(--red) 55%, #c9241f);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(239, 59, 54, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-red::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out infinite 2s;
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(239, 59, 54, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.btn-wa { background: #1fae5b; color: #fff; box-shadow: 0 10px 30px -10px rgba(31, 174, 91, .7); }
.btn-wa:hover { transform: translateY(-2px); background: #22bf64; }
.btn-sm { --h: 46px; padding: 0 20px; font-size: 15px; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ----- шапка ----- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(6, 8, 26, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .3s; }
.header.scrolled .header-in { height: 70px; }
.logo { flex: none; display: block; }
.logo img { height: 46px; width: auto; transition: height .3s; }
.header.scrolled .logo img { height: 40px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.head-contacts { display: flex; align-items: center; gap: 14px; }
.head-phone { display: flex; flex-direction: column; line-height: 1.2; }
.head-phone b { white-space: nowrap; font-weight: 800; font-size: 17px; letter-spacing: .01em; }
.head-phone span { font-size: 12px; color: var(--dim); }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: background .2s, transform .2s;
}
.round-btn:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.round-btn.wa { color: #3fd27f; }
.burger { display: none; }

/* мобильное меню */
.mnav {
  position: fixed; inset: 0; z-index: 60; background: rgba(6, 8, 26, .97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; padding: 96px var(--gutter) 32px; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mnav.open { opacity: 1; pointer-events: auto; }
.mnav a.lnk { font-family: var(--head); font-size: 26px; padding: 10px 0; border-bottom: 1px solid var(--line); transform: translateY(14px); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.mnav.open a.lnk { transform: none; opacity: 1; }
.mnav.open a.lnk:nth-child(2) { transition-delay: .04s; } .mnav.open a.lnk:nth-child(3) { transition-delay: .08s; }
.mnav.open a.lnk:nth-child(4) { transition-delay: .12s; } .mnav.open a.lnk:nth-child(5) { transition-delay: .16s; }
.mnav.open a.lnk:nth-child(6) { transition-delay: .2s; }
.mnav .mnav-cta { margin-top: auto; display: grid; gap: 10px; }
.mnav-close { position: absolute; top: 18px; right: var(--gutter); }

/* ----- общие секции ----- */
section { position: relative; }
.sec { padding: 120px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-hi);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(239, 59, 54, .18); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 50px); margin-top: 18px; }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.grad { background: linear-gradient(100deg, #fff 0%, var(--blue-hi) 60%, #b7c1ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.red { color: var(--red-hi); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; } .reveal[data-d="4"] { transition-delay: .32s; }

/* ----- HERO ----- */
.hero { min-height: 100vh; min-height: 100svh; padding: 140px 0 0; display: flex; flex-direction: column; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg .glow-a { position: absolute; width: 900px; height: 900px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(84, 104, 255, .32), transparent); filter: blur(20px); animation: float 12s ease-in-out infinite; }
.hero-bg .glow-b { position: absolute; width: 600px; height: 600px; left: -240px; bottom: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(239, 59, 54, .16), transparent); animation: float 14s ease-in-out infinite reverse; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%);
}
@keyframes float { 50% { transform: translate(-40px, 40px); } }

.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; flex: 1; }
.hero-text h1 { font-size: clamp(36px, 5.2vw, 70px); line-height: 1.04; letter-spacing: -.025em; margin: 22px 0 24px; }
.hero-text h1 .line { display: block; overflow: hidden; }
.hero-text h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero-text h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero-text h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-lead b { color: var(--text); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { color: var(--green); width: 18px; height: 18px; }
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp .9s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* сцена с машиной */
.stage { position: relative; aspect-ratio: 820 / 330; margin-right: -60px; margin-bottom: 110px; }
.stage svg.car { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.car .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) forwards .3s; }
.car .draw.d2 { animation-delay: .9s; animation-duration: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.car .body-fill { opacity: 0; animation: fadeIn 1.2s ease forwards 1.6s; }
.car .lights { opacity: 0; animation: fadeIn .4s ease forwards 2.2s, flick 4s 2.6s infinite; }
.car .beam { opacity: 0; animation: beam 1s ease forwards 2.4s; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes beam { to { opacity: .9; } }
@keyframes flick { 0%, 92%, 100% { opacity: 1; } 95% { opacity: .55; } }
.car .bob { animation: bob .5s ease-in-out infinite alternate 2.4s; }
@keyframes bob { to { transform: translateY(-1.6px); } }
.car .spin { transform-box: fill-box; transform-origin: center; animation: spin .45s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.car .scan { animation: scan 3.6s cubic-bezier(.6, 0, .4, 1) infinite 2.8s; transform: translateX(-200px); }
@keyframes scan { 0% { transform: translateX(-200px); } 60%, 100% { transform: translateX(900px); } }

.road { position: absolute; left: 4%; right: -20%; bottom: 0; height: 3px; overflow: hidden; }
.road::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 46px, transparent 46px 96px); animation: road .5s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 70%, transparent); }
@keyframes road { to { transform: translateX(-96px); } }
.streaks { position: absolute; inset: 10% -20% 20% -30%; pointer-events: none; }
.streaks i { position: absolute; height: 1.5px; width: 160px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(138, 155, 255, .8)); animation: streak 1.4s linear infinite; opacity: 0; }
.streaks i:nth-child(1) { top: 18%; animation-delay: .2s; }
.streaks i:nth-child(2) { top: 42%; animation-delay: .9s; width: 220px; }
.streaks i:nth-child(3) { top: 64%; animation-delay: .5s; }
.streaks i:nth-child(4) { top: 82%; animation-delay: 1.2s; width: 120px; }
.streaks i:nth-child(5) { top: 30%; animation-delay: 1.6s; width: 90px; }
@keyframes streak { 0% { left: 105%; opacity: 0; } 15% { opacity: 1; } 100% { left: -20%; opacity: 0; } }

.tag {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 8px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: rgba(10, 14, 38, .78); border: 1px solid var(--line-hi); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(8px) scale(.94); animation: pop .6s var(--ease) forwards;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
}
.tag .ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #04130b; }
.tag .ok svg { width: 13px; height: 13px; stroke-width: 3.2; }
.tag small { color: var(--muted); font-weight: 600; }
.tag::after { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 0 0 rgba(138, 155, 255, .7); animation: ping 2s infinite; }
.tag.t1 { left: 70%; top: 14%; animation-delay: 2.9s; } .tag.t1::after { left: 18px; top: calc(100% + 22px); }
.tag.t2 { left: 32%; top: 2%; animation-delay: 3.3s; } .tag.t2::after { left: 30px; top: calc(100% + 36px); }
.tag.t3 { left: 6%; top: 32%; animation-delay: 3.7s; } .tag.t3::after { left: 60%; top: calc(100% + 20px); }
.tag.t4 { left: 40%; top: 76%; animation-delay: 4.1s; } .tag.t4::after { display: none; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(138, 155, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(138, 155, 255, 0); } }

.deal-card {
  position: absolute; right: 6%; bottom: -48%; padding: 16px 20px; border-radius: 18px;
  background: linear-gradient(150deg, rgba(25, 32, 80, .9), rgba(10, 14, 38, .9)); border: 1px solid var(--line-hi);
  backdrop-filter: blur(12px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0; animation: fadeUp .8s var(--ease) forwards 4.4s;
}
.deal-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.deal-card b { display: block; font-family: var(--head); font-size: 26px; color: var(--green); margin: 4px 0 2px; }
.deal-card span { font-size: 13px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 70px; }
.stat { padding: 30px 24px 36px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.02em; }
.stat b em { font-style: normal; color: var(--red-hi); }
.stat > span { color: var(--muted); font-size: 15px; display: block; margin-top: 6px; max-width: 220px; }

/* ----- бегущая строка марок ----- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--head); font-size: 22px; font-weight: 500; color: var(--dim); padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----- риски ----- */
.risks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.risk {
  padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  position: relative; overflow: hidden; transition: transform .4s var(--ease), border-color .3s;
}
.risk:hover { transform: translateY(-6px); border-color: rgba(239, 59, 54, .4); }
.risk .num { font-family: var(--head); font-size: 13px; color: var(--dim); }
.risk .ri { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin: 18px 0 22px; background: rgba(239, 59, 54, .12); color: var(--red-hi); }
.risk .ri svg { width: 26px; height: 26px; }
.risk h3 { font-size: 19px; margin-bottom: 12px; }
.risk p { color: var(--muted); font-size: 15px; }
.risk-note {
  margin-top: 24px; padding: 26px 30px; border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(84, 104, 255, .16), rgba(84, 104, 255, .03)); border: 1px solid var(--line-hi);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between;
}
.risk-note p { font-size: 19px; font-weight: 600; max-width: 760px; }

/* ----- кому подходит ----- */
.fit { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fit-item {
  padding: 24px 22px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; font-weight: 600; font-size: 16px; line-height: 1.45;
  transition: background .3s, border-color .3s;
}
.fit-item:hover { background: var(--card-hi); border-color: var(--line-hi); }
.fit-item .fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(84, 104, 255, .16); color: var(--blue-hi); }

/* ----- что проверяем ----- */
.check-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.check-card { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); padding: 36px; position: relative; overflow: hidden; }
.check-card h3 { font-size: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.check-card h3 .badge { font-family: var(--body); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(84, 104, 255, .2); color: var(--blue-hi); letter-spacing: .04em; }
.check-card > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-card.legal .clist { grid-template-columns: 1fr; }
.clist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; font-weight: 500; }
.clist li .ck { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(53, 214, 143, .14); color: var(--green); margin-top: 1px; }
.clist li .ck svg { width: 14px; height: 14px; stroke-width: 3; }
.clist li.more { color: var(--blue-hi); font-weight: 700; }
.check-card .big { position: absolute; right: -10px; bottom: -40px; font-family: var(--head); font-size: 200px; font-weight: 700; color: rgba(255, 255, 255, .025); line-height: 1; pointer-events: none; }
.check-cta { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 10px; }

/* ----- окупаемость ----- */
.payback { background: var(--bg-2); overflow: hidden; }
.payback-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.payback h2 { font-size: clamp(32px, 4.4vw, 56px); margin: 18px 0 22px; }
.payback h2 .huge { display: block; font-size: 1.7em; line-height: 1; color: var(--red-hi); letter-spacing: -.04em; }
.payback .txt p { color: var(--muted); font-size: 18px; margin-bottom: 14px; }
.payback .txt p b { color: var(--text); }
.bill {
  border-radius: 26px; padding: 34px; position: relative;
  background: linear-gradient(160deg, #141a45, #0b0f2c); border: 1px solid var(--line-hi);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.bill-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.bill-head b { font-family: var(--head); font-size: 20px; }
.bill-head span { white-space: nowrap; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(53, 214, 143, .14); color: var(--green); letter-spacing: .05em; text-transform: uppercase; }
.bill-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); font-size: 16px; }
.bill-row span { color: var(--muted); }
.bill-row b { font-weight: 700; white-space: nowrap; text-align: right; }
.bill-row.minus b { color: var(--green); }
.bill-row.total { border-bottom: 0; padding-top: 22px; }
.bill-row.total span { color: var(--text); font-weight: 700; }
.bill-row.total b { font-family: var(--head); font-size: 26px; }
.bill-bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); margin-top: 18px; overflow: hidden; }
.bill-bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--blue), var(--green)); transition: width 1.6s var(--ease) .3s; }
.bill.in .bill-bar i { width: 100%; }
.bill-foot { font-size: 13px; color: var(--dim); margin-top: 12px; }

/* ----- этапы с дорогой ----- */
.steps-sec { overflow: hidden; }
.timeline { position: relative; padding: 20px 0 40px; }
.road-v { position: absolute; top: 0; bottom: 0; left: 50%; width: 76px; transform: translateX(-50%); border-radius: 40px; background: #0d1130; border: 1px solid var(--line); overflow: hidden; }
.road-v::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .28) 0 22px, transparent 22px 44px); }
.road-v .trail { position: absolute; left: 0; right: 0; top: 0; height: 0; background: linear-gradient(180deg, rgba(84, 104, 255, 0), rgba(84, 104, 255, .35)); }
.car-top { position: absolute; left: 50%; top: 0; width: 38px; height: auto; transform: translate(-50%, 0); z-index: 3; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .7)); will-change: transform; pointer-events: none; }
.step { position: relative; width: 50%; padding: 26px 70px 26px 0; }
.step:nth-child(even) { margin-left: 50%; padding: 26px 0 26px 70px; }
.step-card {
  padding: 28px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: border-color .5s, background .5s, transform .5s var(--ease), opacity .5s; opacity: .45; transform: scale(.97);
}
.step.active .step-card { opacity: 1; transform: none; border-color: var(--line-hi); background: linear-gradient(150deg, rgba(84, 104, 255, .12), rgba(255, 255, 255, .02)); }
.step-num { font-family: var(--head); font-size: 14px; color: var(--blue-hi); display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-num i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(84, 104, 255, .18); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step::after { /* точка на дороге */
  content: ''; position: absolute; top: 56px; right: -8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--dim); transition: border-color .4s, box-shadow .4s; z-index: 2;
}
.step:nth-child(even)::after { right: auto; left: -8px; }
.step.active::after { border-color: var(--red); box-shadow: 0 0 0 6px rgba(239, 59, 54, .2); }

/* ----- цены ----- */
.prices { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price {
  border-radius: var(--radius); padding: 32px 30px; background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s; position: relative;
}
.price:hover { transform: translateY(-6px); border-color: var(--line-hi); }
.price .ptag { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.price h3 { font-size: 21px; margin: 12px 0 10px; }
.price .pdesc { color: var(--muted); font-size: 15px; }
.price .pval { font-family: var(--head); font-size: 36px; font-weight: 600; margin: 24px 0 20px; letter-spacing: -.02em; }
.price .pval small { font-family: var(--body); font-size: 16px; color: var(--muted); font-weight: 600; margin-right: 6px; }
.price ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; font-size: 15px; }
.price li .ico { color: var(--green); width: 18px; height: 18px; margin-top: 3px; }
.price .btn { margin-top: auto; }
.price.hit {
  grid-row: span 2; background: linear-gradient(165deg, #232c86 0%, #141a52 45%, #0b0f30 100%); border-color: rgba(138, 155, 255, .45);
  box-shadow: 0 40px 80px -30px rgba(84, 104, 255, .5);
}
.price.hit .ptag { color: #fff; display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--red); }
.price.hit h3 { font-size: 28px; margin-top: 20px; }
.price.hit .pval { font-size: 46px; }
.price-note { text-align: center; color: var(--muted); margin-top: 28px; font-size: 15px; }

/* ----- кейсы ----- */
.cases { overflow: hidden; }
.cases-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.cases-top .sec-head { margin-bottom: 0; }
.arrows { display: flex; gap: 10px; flex: none; }
.arrows button { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; transition: background .2s, transform .2s; }
.arrows button:hover { background: var(--card-hi); transform: scale(1.05); }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 380px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 30px;
  margin: 0 calc(var(--gutter) * -1);
  scroll-padding-left: var(--gutter);
}
@media (min-width: 641px) { .track { margin-right: calc((100% - 100vw) / 2); padding-right: 60px; } }
.track::-webkit-scrollbar { display: none; }
.case {
  scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s;
}
.case:hover { transform: translateY(-6px); border-color: var(--line-hi); }
.case-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case:hover .case-img img { transform: scale(1.05); }
.case-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 20, 51, .95)); }
.case-img .yr { position: absolute; left: 16px; top: 16px; z-index: 1; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: rgba(6, 8, 26, .7); backdrop-filter: blur(8px); }
.case-body { padding: 4px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case h3 { font-size: 20px; margin-bottom: 14px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 16px; }
.specs div { font-size: 14px; }
.specs div span { display: block; color: var(--dim); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.specs div b { font-weight: 700; }
.case p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.win { margin-top: auto; padding: 14px 16px; border-radius: 14px; background: rgba(53, 214, 143, .1); border: 1px solid rgba(53, 214, 143, .25); font-size: 14.5px; font-weight: 600; }
.win b { color: var(--green); font-family: var(--head); font-size: 17px; display: block; margin-bottom: 2px; }

/* ----- о нас ----- */
.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 1 / 1.05; background: radial-gradient(circle at 50% 35%, #232c86, #0b0f2c 70%); border: 1px solid var(--line-hi); display: grid; place-items: center; }
.about-visual .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(138, 155, 255, .25); animation: pulse 6s ease-in-out infinite; }
.about-visual .ring:nth-child(1) { width: 40%; aspect-ratio: 1; }
.about-visual .ring:nth-child(2) { width: 62%; aspect-ratio: 1; animation-delay: .6s; }
.about-visual .ring:nth-child(3) { width: 84%; aspect-ratio: 1; animation-delay: 1.2s; }
@keyframes pulse { 50% { transform: scale(1.04); opacity: .5; } }
.about-visual .names { position: relative; text-align: center; z-index: 1; }
.about-visual .names b { display: block; font-family: var(--head); font-size: clamp(34px, 4vw, 54px); line-height: 1.05; }
.about-visual .names span { display: block; margin-top: 14px; color: var(--blue-hi); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.about-visual .quote-chip { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 18px 20px; border-radius: 18px; background: rgba(6, 8, 26, .7); backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.about-visual .quote-chip b { color: var(--text); }
.about .txt h2 { font-size: clamp(30px, 4vw, 48px); margin: 18px 0 24px; }
.about .txt p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.about .txt p b { color: var(--text); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 30px; }
.value { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.value .ico { color: var(--blue-hi); width: 22px; height: 22px; }
.ig-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); transition: background .2s; }
.ig-link:hover { background: var(--card-hi); }
.ig-link .ig { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

/* ----- FAQ ----- */
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item[open] { border-color: var(--line-hi); background: var(--card-hi); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); transition: transform .35s var(--ease), background .3s; }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--red); }
.faq-item .ans { padding: 0 28px 26px; color: var(--muted); font-size: 16px; }

/* ----- форма заявки ----- */
.lead { padding: 120px 0; }
.lead-box {
  border-radius: 34px; padding: 64px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #222b88 0%, #151b5a 45%, #0b0f30 100%); border: 1px solid rgba(138, 155, 255, .35);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.lead-box::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(239, 59, 54, .3), transparent); }
.lead-box > * { position: relative; }
.lead-box h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 18px 0 20px; }
.lead-box .lt p { color: #c5ccf0; font-size: 18px; }
.lead-perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.lead-perks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.lead-perks .ico { color: var(--green); }
.form { display: grid; gap: 14px; padding: 34px; border-radius: 26px; background: rgba(6, 8, 26, .55); backdrop-filter: blur(14px); border: 1px solid var(--line); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; height: 60px; padding: 24px 20px 8px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05); color: var(--text); font: 600 16px var(--body); outline: none; transition: border-color .2s, background .2s;
}
.field textarea { height: 96px; resize: none; padding-top: 28px; }
.field label { position: absolute; left: 20px; top: 19px; color: var(--dim); font-size: 16px; pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--blue-hi); background: rgba(255, 255, 255, .08); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 9px; font-size: 12px; color: var(--blue-hi); font-weight: 700; }
.field.err input { border-color: var(--red); }
.agree { display: flex; gap: 10px; font-size: 13px; color: var(--muted); align-items: flex-start; cursor: pointer; }
.agree input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.agree a { text-decoration: underline; text-underline-offset: 2px; }
.agree.err { color: var(--red-hi); }
.form .btn { width: 100%; }
.form .alt { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; }
.form .alt::before, .form .alt::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.form-done { display: none; text-align: center; padding: 30px 10px; }
.form-done .okb { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: rgba(53, 214, 143, .16); color: var(--green); }
.form-done .okb svg { width: 36px; height: 36px; stroke-width: 2.6; }
.form-done h3 { font-size: 24px; margin-bottom: 10px; }
.form-done p { color: var(--muted); }
.form.sent > :not(.form-done) { display: none; }
.form.sent .form-done { display: block; }
.hp { position: absolute; left: -9999px; }

/* ----- контакты ----- */
.contacts-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; }
.contact-card { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); padding: 40px; }
.contact-card h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 18px 0 30px; }
.c-row { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.c-row:last-of-type { border-bottom: 0; }
.c-row .ci { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(84, 104, 255, .15); color: var(--blue-hi); flex: none; }
.c-row small { display: block; color: var(--dim); font-size: 13px; font-weight: 600; }
.c-row b { font-size: 19px; font-weight: 700; }
.c-row a:hover b { color: var(--blue-hi); }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; min-height: 420px; background: #0d1130; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.map-card .map-btn { position: absolute; left: 20px; bottom: 20px; z-index: 1; }

/* ----- подвал ----- */
.footer { border-top: 1px solid var(--line); padding: 50px 0 40px; color: var(--dim); font-size: 14px; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .logo img { height: 52px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 30px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ----- мобильная панель ----- */
.mbar { display: none; }

/* ===== адаптив ===== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .head-contacts { margin-left: auto; }
  .burger { display: grid; }
  .risks, .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .stage { margin-right: 0; }
}
@media (max-width: 980px) {
  :root { --gutter: 20px; }
  .sec, .lead { padding: 90px 0; }
  .hero { padding-top: 120px; }
  .hero-in { grid-template-columns: 1fr; gap: 30px; }
  .stage { margin: 10px 0 120px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .check-wrap, .payback-in, .about-in, .lead-box, .contacts-in { grid-template-columns: minmax(0, 1fr); }
  .payback-in, .about-in { gap: 40px; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price.hit { grid-row: auto; grid-column: 1 / -1; }
  .lead-box { padding: 40px 28px; gap: 34px; }
  /* на узких экранах цитата идёт под именами, а не поверх них */
  .about-visual { aspect-ratio: auto; grid-template-rows: auto auto; gap: 40px; padding: 64px 20px 20px; }
  .about-visual .ring:nth-child(1) { width: min(40%, 220px); }
  .about-visual .ring:nth-child(2) { width: min(62%, 340px); }
  .about-visual .ring:nth-child(3) { width: min(84%, 460px); }
  .about-visual .quote-chip { position: relative; left: auto; right: auto; bottom: auto; width: 100%; max-width: 560px; z-index: 1; }
  /* дорога сбоку */
  .road-v { left: 22px; width: 44px; }
  .car-top { left: 22px; width: 24px; }
  .step, .step:nth-child(even) { width: 100%; margin-left: 0; padding: 14px 0 14px 66px; }
  .step::after, .step:nth-child(even)::after { left: 15px; right: auto; top: 46px; width: 14px; height: 14px; display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .sec, .lead { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head p { font-size: 16px; }
  .header-in { height: 68px; gap: 12px; }
  .logo img, .header.scrolled .logo img { height: 34px; }
  .head-phone, .round-btn.wa, .round-btn.ig-b { display: none; }
  .hero { padding-top: 96px; }
  @media (max-width: 420px) { .head-cta { display: none; } }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-trust { font-size: 13px; gap: 8px 16px; }
  .stage { margin: 0 -8px 96px; }
  .tag.t4 { left: 30%; top: 82%; }
  .tag { font-size: 11px; padding: 5px 9px 5px 6px; gap: 6px; }
  .tag .ok { width: 16px; height: 16px; }
  .tag small { display: none; }
  .tag.t1 { left: 62%; top: 4%; } .tag.t2 { left: 26%; top: -8%; } .tag.t3 { left: 0; top: 30%; }
  .tag::after { display: none; }
  .deal-card { right: 0; bottom: -66%; padding: 10px 14px; border-radius: 14px; }
  .deal-card b { font-size: 19px; }
  .deal-card small { font-size: 10px; }
  .deal-card span { font-size: 11px; }
  .stat { padding: 22px 14px 24px; }
  .stat > span { font-size: 13px; }
  .marquee span { font-size: 17px; gap: 36px; padding: 0 18px; }
  .risks, .fit-grid, .price-grid, .values, .clist { grid-template-columns: 1fr; }
  .risk { padding: 24px 22px; }
  .risk-note { padding: 22px; }
  .risk-note p { font-size: 17px; }
  .check-card { padding: 26px 22px; }
  .bill { padding: 24px 20px; }
  .bill-row { font-size: 14.5px; }
  .bill-row b { white-space: normal; }
  .bill-row.total b { font-size: 21px; }
  .step-card { padding: 22px 20px; }
  .step h3 { font-size: 18px; }
  .price { padding: 26px 22px; }
  .price.hit .pval { font-size: 38px; }
  .cases-top { flex-direction: column; align-items: flex-start; }
  .arrows { display: none; }
  .track { grid-auto-columns: 86%; }
  .faq-item summary { padding: 20px; font-size: 16px; }
  .faq-item .ans { padding: 0 20px 22px; font-size: 15px; }
  .lead-box { padding: 32px 18px; border-radius: 26px; margin: 0 -4px; }
  .form { padding: 22px 16px; }
  .contact-card { padding: 28px 22px; }
  .c-row b { font-size: 17px; }
  .map-card { min-height: 320px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(6, 8, 26, .92); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar .btn { --h: 52px; padding: 0 12px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
