/* ==========================================================================
   «Под Прикрытием» — тонировка авто
   ========================================================================== */
:root {
  --bg: #050608;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eef1f5;
  --muted: #8e97a4;
  --blue: #e31e2d;
  --blue-2: #ff4d5a;
  --glow: rgba(230, 30, 45, .5);
  --ok: #3ddc97;
  --bad: #ff5a6a;
  --r: 22px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --fd: "Exo 2", system-ui, sans-serif;
  --fb: "Manrope", system-ui, sans-serif;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--fb); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
/* film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.menu-open body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { position: relative; padding: clamp(72px, 9vw, 124px) 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Chrome text ---------- */
.chrome {
  background:
    linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%) no-repeat,
    linear-gradient(180deg, #fff 0%, #dfe4ea 36%, #7f8995 52%, #eef1f4 66%, #a9b2bc 100%);
  background-size: 250% 100%, 100% 100%;
  background-position: 150% 0, 0 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  color: transparent;
}
.chrome--live { animation: chrome 7s var(--ease) 1s infinite; }
.is-in .chrome { animation: chrome-once 2.2s var(--ease) .5s both; }
@keyframes chrome { 0%, 60% { background-position: 150% 0, 0 0; } 100% { background-position: -50% 0, 0 0; } }
@keyframes chrome-once { from { background-position: 150% 0, 0 0; } to { background-position: -50% 0, 0 0; } }


/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 30px; border-radius: 999px; border: 1px solid var(--line-2);
  font: 700 15px/1 var(--fb); letter-spacing: .02em; white-space: nowrap; cursor: pointer;
  transition: box-shadow .4s, background .3s, border-color .3s, translate .4s var(--ease);
}
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-130%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .4) 50%, transparent 70%);
}
.btn:hover::after { transform: translateX(130%); transition: transform .9s var(--ease); }
.btn--primary {
  border-color: transparent; color: #fff;
  background: linear-gradient(180deg, #ff3b48, #b3101c);
  box-shadow: 0 12px 32px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--primary:hover { box-shadow: 0 18px 44px -10px rgba(230, 30, 45, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--ghost { background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); }
.btn--ghost .ico { color: var(--blue-2); }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--shine::after { animation: btn-shine 4.5s var(--ease) 3s infinite; }
@keyframes btn-shine { 0% { transform: translateX(-130%); } 40%, 100% { transform: translateX(130%); } }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); }
/* blur lives on a pseudo-element: backdrop-filter on .header itself would trap the fixed mobile nav inside it */
.header::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: rgba(5, 6, 8, .72); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.header.is-scrolled::before { opacity: 1; }
.header__in { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 6px 18px rgba(0, 0, 0, .6); }
.brand__name { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand__name b { font: italic 800 19px/1 var(--fd); letter-spacing: .02em; text-transform: uppercase; }
.brand__name small { margin-top: 6px; font: 600 9.5px/1 var(--fb); letter-spacing: .42em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { position: relative; font-size: 14.5px; font-weight: 600; color: #c3cad3; white-space: nowrap; transition: color .3s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px;
  background: var(--blue); box-shadow: 0 0 10px var(--blue);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.header__phone .ico { width: 18px; height: 18px; color: var(--blue-2); }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header) + 12px) 0 70px;
  background: radial-gradient(ellipse 55% 30% at 50% 88%, rgba(230, 30, 45, .2), transparent 70%), #000;
}
.hero__in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__ring {
  position: absolute; left: 50%; top: 40%; z-index: 0; width: min(1250px, 140vw); height: auto; aspect-ratio: 1;
  transform: translate(-50%, -50%); pointer-events: none; overflow: visible; transition: translate 1.2s var(--ease);
}
.ring { fill: none; stroke: url(#ringStroke); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ring--b { stroke-width: .8; opacity: .45; }
.ring-glint {
  fill: none; stroke: #ffb3b9; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 3 97;
  opacity: 0; transform-origin: 0 0; filter: drop-shadow(0 0 6px #ff3b48);
}
.is-ready .ring { animation: draw 2.8s var(--ease) .3s forwards; }
.is-ready .ring--b { animation-delay: .6s; }
.is-ready .ring-glint { animation: fade-in 1s 2.4s forwards, spin 18s linear 2.4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { to { opacity: 1; } }

.swoosh { position: absolute; z-index: 1; width: min(720px, 75vw); pointer-events: none; opacity: .7; }
.swoosh--l { left: -8%; bottom: 3%; }
.swoosh--r { right: -8%; top: 10%; transform: scale(-1, -1); }
.swoosh__line { fill: none; stroke: url(#swooshStroke); stroke-width: 1.2; }
.swoosh__run {
  fill: none; stroke: #ffd9dc; stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: .1 .9; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px #ff4d5a);
  animation: run 6s linear infinite;
}
.swoosh--r .swoosh__run { animation-delay: -3s; }
@keyframes run { to { stroke-dashoffset: 0; } }
.hero__dust { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 12.5px/1.3 var(--fb); letter-spacing: .3em; text-transform: uppercase; color: var(--blue-2);
}
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.hero__car {
  position: relative; isolation: isolate; width: min(760px, 94vw); aspect-ratio: 1214 / 610; margin-top: 6px; transition: translate .9s var(--ease);
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 14%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 14%, #000 88%, transparent);
  mask-composite: intersect;
}
.hero__car img { width: 100%; height: 100%; object-fit: cover; }
.hero__car i { position: absolute; pointer-events: none; }
/* overlay blend: the sweep only lights the chrome edges, black stays black */
.hero__sweep {
  inset: 0; mix-blend-mode: overlay; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%);
}
.hero__lamp {
  width: 24%; height: 26%; transform: translate(-50%, -50%); opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 120, 120, .75), rgba(255, 20, 40, .4) 45%, transparent 100%);
  mix-blend-mode: screen; filter: blur(4px);
}
.hero__lamp--l { left: 46%; top: 41%; }
.hero__lamp--r { left: 91%; top: 43%; width: 14%; }
.hero__lamp--top { left: 73%; top: 28%; width: 22%; height: 10%; }
.hero__flare {
  left: 0; right: 0; top: 42%; height: 2px; opacity: 0; transform: scaleX(.2); mix-blend-mode: screen;
  background: linear-gradient(90deg, transparent 2%, rgba(255, 90, 100, .9) 46%, transparent 64%, transparent 78%, rgba(255, 90, 100, .9) 91%, transparent 100%);
}
.js .hero__car { opacity: 0; filter: brightness(0); transform: scale(1.05); }
.is-ready .hero__car { animation: car-in 2.2s var(--ease) .2s forwards; }
.is-ready .hero__sweep { animation: sweep 7s ease-in-out 2.8s infinite; }
.is-ready .hero__lamp { animation: lamp 1.6s 1.3s forwards, breathe 4.5s ease-in-out 2.9s infinite; }
.is-ready .hero__flare { animation: flare 1.4s var(--ease) 1.6s forwards; }
@keyframes car-in { to { opacity: 1; filter: brightness(1); transform: none; } }
@keyframes sweep { 0% { transform: translateX(-120%); } 40%, 100% { transform: translateX(120%); } }
@keyframes lamp { 0% { opacity: 0; } 10% { opacity: .9; } 18% { opacity: .1; } 30% { opacity: 1; } 42% { opacity: .4; } 100% { opacity: .85; } }
@keyframes breathe { 0%, 100% { opacity: .85; } 50% { opacity: .55; } }
@keyframes flare { to { opacity: .85; transform: none; } }

.hero__title { display: flex; flex-direction: column; align-items: center; margin-top: 4px; }
.hero__brand {
  display: inline-flex; align-items: center; white-space: nowrap;
  font: italic 900 clamp(24px, 8.3vw, 96px)/1.05 var(--fd); text-transform: uppercase;
}
.hero__name { letter-spacing: .01em; filter: drop-shadow(0 6px 26px rgba(230, 30, 45, .2)); }
.js .hero__name { opacity: 0; }
.is-ready .hero__name { animation: title-in 1.5s var(--ease) .9s both, chrome 7s var(--ease) 3.2s infinite; }
@keyframes title-in { from { opacity: 0; letter-spacing: .32em; filter: blur(14px); } to { opacity: 1; letter-spacing: .01em; filter: blur(0) drop-shadow(0 6px 26px rgba(230, 30, 45, .2)); } }
.hero__sub {
  display: flex; align-items: center; gap: 18px; margin-top: 14px; padding-left: .55em;
  font: 600 clamp(12px, 1.6vw, 19px)/1 var(--fb); letter-spacing: .55em; text-transform: uppercase; color: #dfe4ea;
}
.hero__sub::before, .hero__sub::after { content: ""; width: clamp(28px, 8vw, 120px); height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7)); }
.hero__sub::after { background: linear-gradient(90deg, rgba(255, 255, 255, .7), transparent); }
.hero__lead { max-width: 640px; margin-top: 24px; color: #aab3be; font-size: clamp(15px, 1.4vw, 17.5px); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.hero__features { display: flex; justify-content: center; margin: 44px 0 0; padding: 0; list-style: none; }
.hero__features li {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 clamp(16px, 4vw, 54px);
  font: 600 12.5px/1.4 var(--fb); letter-spacing: .14em; text-transform: uppercase; color: #cfd5dc;
}
.hero__features li + li::before {
  content: ""; position: absolute; left: 0; top: 6%; bottom: 6%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--blue-2), transparent); box-shadow: 0 0 12px var(--blue);
}
.hero__features .ico { width: 34px; height: 34px; stroke-width: 1.3; color: #eef1f5; }
.hero__bar { width: min(900px, 92vw); height: 30px; margin-top: 26px; overflow: visible; }
.hero__bar path {
  fill: none; stroke: url(#barStroke); stroke-width: 2; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px var(--blue)) drop-shadow(0 0 14px var(--blue));
  animation: breathe 3.5s ease-in-out infinite;
}
.hero__scroll { position: absolute; left: 50%; bottom: 22px; z-index: 4; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: none; } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.js .rise { opacity: 0; transform: translateY(28px); }
.is-ready .rise { animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.6s + var(--i, 0) * .13s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 2; width: 104%; margin: -12px 0 -12px -2%; padding: 22px 0; overflow: hidden;
  background: linear-gradient(90deg, #0b0507, #2a0a0f 50%, #0b0507);
  border-block: 1px solid rgba(255, 80, 90, .2); transform: rotate(-1.2deg);
  box-shadow: 0 0 60px -10px rgba(230, 30, 45, .35);
}
.ticker__track { display: flex; align-items: center; width: max-content; animation: ticker 45s linear infinite; }
.ticker span, .ticker i { margin-right: 34px; }
.ticker span {
  font: italic 800 clamp(26px, 3.6vw, 46px)/1 var(--fd); text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(220, 230, 240, .45);
}
.ticker span:nth-of-type(odd) { color: #e9edf1; -webkit-text-stroke: 0; }
.ticker i { flex: none; width: 12px; height: 28px; background: var(--blue); transform: skewX(-24deg); box-shadow: 0 0 14px var(--blue); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.head { max-width: 780px; }
.head--center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 700 12.5px/1 var(--fb); letter-spacing: .26em; text-transform: uppercase; color: var(--blue-2); }
.kicker::before { content: ""; width: 22px; height: 11px; transform: skewX(-24deg); background: linear-gradient(90deg, #dfe4ea 0 38%, transparent 38% 62%, var(--blue) 62%); }
.title { margin-top: 18px; font: 800 clamp(30px, 4.6vw, 56px)/1.1 var(--fd); letter-spacing: -.01em; }
.lead { max-width: 640px; margin-top: 18px; color: var(--muted); font-size: clamp(15.5px, 1.4vw, 18px); }
.head--center .lead { margin-inline: auto; }

/* ---------- Services ---------- */
.tabs {
  position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 40px 0 34px; padding: 6px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color .3s; }
.tab:hover, .tab.is-active { color: #fff; }
.tabs__pill {
  position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px;
  background: linear-gradient(180deg, #ff3b48, #b3101c); box-shadow: 0 8px 24px -6px var(--glow);
  transition: transform .5s var(--ease), width .5s var(--ease);
}

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: transform .6s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.svc[hidden] { display: none; }
.svc::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 80, 90, .14), transparent 45%);
}
.svc:hover {
  border-color: rgba(255, 80, 90, .4);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 30px 70px -40px var(--glow);
  transition: transform .15s ease-out, border-color .4s, box-shadow .5s var(--ease);
}
.svc:hover::after { opacity: 1; }
/* square promo photo; a light sweep crosses it on hover */
.svc__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #0a0c10; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.04); transition: transform 1.2s var(--ease), filter .6s; }
.svc__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%) no-repeat -150% 0 / 200% 100%,
              linear-gradient(180deg, transparent 70%, rgba(8, 10, 14, .55));
  transition: background-position 1.1s var(--ease);
}
.svc:hover .svc__media img { transform: scale(1.06); filter: saturate(1.15) contrast(1.08); }
.svc:hover .svc__media::after { background-position: 250% 0, 0 0; }
.svc__body { flex: 1; padding: 22px 26px 0; }
.svc__tag { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); }
.svc__title { margin: 10px 0; font: 700 21px/1.22 var(--fd); }
.svc__text { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 26px 26px; }
.svc__price { font: italic 800 28px/1 var(--fd); white-space: nowrap; }
.svc__price small { margin-right: 6px; font: 600 13px var(--fb); color: var(--muted); }
.svc__price span { color: var(--blue-2); }
.svc__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.svc__btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc__btn:hover { background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 26px -8px var(--glow); }
.svc__btn:hover .ico { transform: translateX(3px); }
.svc.pop { animation: pop .6s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* ---------- Tint simulator ---------- */
.sim__grid { display: grid; gap: 24px; margin-top: 56px; }
.sim__stage {
  position: relative; display: flex; align-items: center; min-height: 440px; padding: 60px 0 50px; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 40% at 50% 66%, rgba(230, 30, 45, .26), transparent 70%), linear-gradient(180deg, #140a0d, #040507 75%);
}
.sim__view { position: relative; width: 100%; }
.sim__car {
  position: relative; width: 100%; height: auto;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 85%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 85%, transparent);
  mask-composite: intersect;
}
.reveal-on .sim__stage:not(.is-drive) .sim__car { opacity: 0; transform: scale(1.06); filter: brightness(0); }
.sim__stage.is-drive .sim__car { animation: sim-in 1.8s var(--ease) both; }
@keyframes sim-in { from { opacity: 0; transform: scale(1.06); filter: brightness(0); } }
.sim__chip {
  position: absolute; top: 9%; z-index: 1; transform: translateX(-50%); padding: 7px 12px; border-radius: 999px;
  background: rgba(5, 7, 10, .7); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.sim__chip b { margin-left: 4px; color: #fff; }
.sim__chip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 26px; background: linear-gradient(var(--line-2), transparent); }
.sim__chip--f { left: 45%; }
.sim__chip--r { left: 65%; }
.tint, .sheen { transition: opacity .5s var(--ease); }
.tint { fill: #05080b; }
.tint--f { opacity: var(--tf, .2); }
.sheen--f { opacity: var(--sf, .5); }
.tint--r { opacity: var(--tr, .85); }
.sheen--r { opacity: var(--sr, .8); }

.sim__panel {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; align-items: start;
  padding: clamp(24px, 3vw, 36px); border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
}
.sim__panel .btn { justify-self: start; }
.range__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.range__top label { font-weight: 700; font-size: 15.5px; }
.range__top output { font: italic 900 34px/1 var(--fd); }
.range input {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 10px; margin: 0; border-radius: 99px; cursor: pointer;
  background: linear-gradient(90deg, #030405, #4b5460 55%, #e3e9f0); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.range input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--blue);
  box-shadow: 0 0 0 6px rgba(230, 30, 45, .2), 0 6px 16px rgba(0, 0, 0, .6); transition: transform .2s var(--ease);
}
.range input::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--blue);
  box-shadow: 0 0 0 6px rgba(230, 30, 45, .2), 0 6px 16px rgba(0, 0, 0, .6);
}
.range input:active::-webkit-slider-thumb { transform: scale(1.15); }
.range__scale { position: relative; display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--muted); }
/* 70% on a 5…90 scale, corrected for the 26px thumb */
.range__mark { position: absolute; left: calc(13px + (100% - 26px) * .7647); transform: translateX(-50%); color: var(--ok); white-space: nowrap; }
.range__mark::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 4px); width: 2px; height: 22px; margin-left: -1px; border-radius: 2px; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.range__status { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 13.5px; font-weight: 600; }
.range__status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.is-ok { color: var(--ok); }
.is-bad { color: var(--bad); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.presets button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: #cfd6de; transition: background .3s, border-color .3s, color .3s; }
.presets button:hover { border-color: var(--blue); color: #fff; background: rgba(230, 30, 45, .15); }
.sim__note { margin: 26px 0 24px; padding-left: 14px; border-left: 2px solid var(--blue); font-size: 13.5px; color: var(--muted); }

/* ---------- Why us ---------- */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.perk {
  position: relative; padding: 30px 26px; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent); transition: transform .5s var(--ease), border-color .4s;
}
.perk::before { content: ""; position: absolute; top: -1px; left: 15%; right: 15%; height: 1px; opacity: 0; transition: opacity .4s; background: linear-gradient(90deg, transparent, var(--blue-2), transparent); }
.perk:hover { transform: translateY(-6px); border-color: rgba(255, 80, 90, .3); }
.perk:hover::before { opacity: 1; }
.perk__ico {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #ffd9dc;
  background: linear-gradient(180deg, rgba(230, 30, 45, .28), rgba(230, 30, 45, .05)); border: 1px solid rgba(255, 80, 90, .3);
  box-shadow: 0 10px 30px -10px var(--glow);
}
.perk__ico .ico { width: 28px; height: 28px; }
.perk h3 { margin: 22px 0 10px; font: 700 20px/1.25 var(--fd); }
.perk p { color: var(--muted); font-size: 14.5px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 60px; border-block: 1px solid var(--line); }
.stat { position: relative; padding: 34px 16px; text-align: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line-2); }
.stat b { display: inline-block; font: italic 900 clamp(38px, 5vw, 62px)/1.05 var(--fd); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b small { margin-right: .2em; font: 700 .4em/1 var(--fb); vertical-align: .6em; }
.stat b i { font-style: inherit; }
.stat p { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------- Process ---------- */
.steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 64px 0 0; padding: 0; list-style: none; }
.steps::before, .steps::after { content: ""; position: absolute; left: 10%; right: 10%; top: 34px; height: 2px; border-radius: 2px; background: var(--line-2); }
.steps::after { background: linear-gradient(90deg, var(--blue), var(--blue-2)); box-shadow: 0 0 14px var(--blue); transform: scaleX(var(--p)); transform-origin: left; }
.step { position: relative; z-index: 1; padding: 0 6px; text-align: center; }
.step__ico {
  display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto; border-radius: 50%;
  background: #0a0d12; border: 1px solid var(--line-2); color: #dfe6ee;
  transition: background .5s, border-color .5s, box-shadow .5s, color .5s;
}
.step.is-on .step__ico {
  background: linear-gradient(180deg, #ff3b48, #b3101c); border-color: transparent; color: #fff;
  box-shadow: 0 0 0 8px rgba(230, 30, 45, .12), 0 12px 30px -8px var(--glow);
}
.step__num { display: block; margin-top: 18px; font: italic 800 14px/1 var(--fd); letter-spacing: .1em; color: var(--blue-2); }
.step h3 { margin: 8px 0; font: 700 19px/1.25 var(--fd); }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq__side { position: sticky; top: 110px; }
.faq__side .btn { margin-top: 28px; }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font: inherit; }
.qa__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 24px 0; text-align: left;
  font: 700 clamp(17px, 1.8vw, 20px)/1.35 var(--fd); transition: color .3s;
}
.qa__q:hover { color: var(--blue-2); }
.qa__q i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); color: #fff; transition: transform .5s var(--ease), background .3s, border-color .3s; }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.qa__q i::after { transform: rotate(90deg); }
.qa.is-open .qa__q i { transform: rotate(180deg); background: var(--blue); border-color: var(--blue); }
.qa.is-open .qa__q i::after { transform: none; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa__a > div { overflow: hidden; visibility: hidden; transition: visibility .5s; }
.qa__a p { padding: 0 50px 24px 0; color: var(--muted); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a > div { visibility: visible; }

/* ---------- Contacts & booking ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; }
.booking {
  padding: clamp(26px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 0% 0%, rgba(230, 30, 45, .18), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; height: 60px; padding: 24px 18px 8px; border-radius: 16px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .35); outline: none; font-size: 15.5px;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { height: auto; min-height: 112px; padding-top: 28px; resize: vertical; }
.field select {
  appearance: none; cursor: pointer; padding-right: 44px;
  background: rgba(0, 0, 0, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%235aaeff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m2 5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.field select option { background: #0b0e13; color: #fff; }
.field label { position: absolute; left: 19px; top: 19px; color: var(--muted); font-size: 15px; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(230, 30, 45, .18); background-color: rgba(0, 0, 0, .5); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-11px) scale(.78); color: var(--blue-2); }
.was-validated .field :invalid { border-color: var(--bad); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.check input {
  appearance: none; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin: 1px 0 0; cursor: pointer;
  border-radius: 6px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); transition: background .2s, border-color .2s;
}
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.was-validated .check input:invalid { border-color: var(--bad); }
.form__note { font-size: 13.5px; color: var(--ok); }
.form__note:empty { display: none; }

.info { display: flex; flex-direction: column; gap: 14px; }
.info__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.info__list li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.info__ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(230, 30, 45, .14); color: var(--blue-2); }
.info small { display: block; margin-bottom: 2px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info__list a, .info__list span:not(.info__ico) { font-weight: 700; font-size: 17px; }
.info__msg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msg { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 16px; border: 1px solid var(--line-2); font-weight: 700; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.msg:hover { transform: translateY(-3px); }
.msg--wa:hover { background: #1f9d55; border-color: #1f9d55; }
.msg--tg:hover { background: #229ed9; border-color: #229ed9; }
.msg--vk:hover { background: #0077ff; border-color: #0077ff; }
.msg--max:hover { background: #6f3cff; border-color: #6f3cff; }
.msg b { font: italic 900 15px/1 var(--fd); color: var(--blue-2); }
.msg:hover b { color: #fff; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) brightness(.92); }
.map { position: relative; flex: 1; min-height: 340px; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: #070a0f; }
.map__btn { position: absolute; left: 14px; top: 14px; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 34px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #050608, #000); }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: #c3cad3; }
.footer__nav a:hover, .footer__phone:hover { color: var(--blue-2); }
.footer__phone { font-weight: 700; font-size: 17px; transition: color .3s; }
.footer__bottom { display: flex; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Overlays: preloader, progress, cursor glow, mobile bar, toast ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 26px;
  background: #000; transition: opacity .8s var(--ease), visibility .8s;
}
.is-ready .preloader { opacity: 0; visibility: hidden; }
.preloader__logo { display: flex; align-items: center; gap: .3em; font: italic 900 clamp(24px, 5vw, 40px)/1 var(--fd); text-transform: uppercase; }
.preloader__line { width: 180px; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.preloader__line i { display: block; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--blue-2), transparent); animation: load 1.1s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue), var(--blue-2)); box-shadow: 0 0 10px var(--blue); }
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 1; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 30, 45, .11), transparent); pointer-events: none; opacity: 0; transition: opacity .5s; mix-blend-mode: screen;
}
.cursor-glow.is-on { opacity: 1; }
.mbar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 70; max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 14px;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease);
  background: rgba(14, 18, 25, .92); border: 1px solid rgba(255, 80, 90, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); font-weight: 600; font-size: 14.5px; text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal (enabled by main.js) ---------- */
.reveal-on [data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms);
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 1400px) { .header__phone { display: inline-flex; } }

@media (max-width: 1180px) {
  .burger { position: relative; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; margin-left: 12px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(5, 6, 8, .5); }
  .burger span { position: absolute; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease); }
  .burger span:first-child { transform: translateY(-4px); }
  .burger span:last-child { transform: translateY(4px); }
  .menu-open .burger span:first-child { transform: rotate(45deg); }
  .menu-open .burger span:last-child { transform: rotate(-45deg); }
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 6px; margin: 0; padding: 100px 28px 40px;
    background: radial-gradient(ellipse at 80% 0%, rgba(230, 30, 45, .22), transparent 60%), rgba(5, 6, 8, .97);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a { font: italic 800 clamp(28px, 7vw, 44px)/1.3 var(--fd); text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; transition-delay: calc(var(--i, 0) * 60ms); }
  .menu-open .nav a { opacity: 1; transform: none; }
  .nav a::after { display: none; }
  .nav a:hover { color: var(--blue-2); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before, .steps::after { left: 34px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .steps::after { background: linear-gradient(180deg, var(--blue), var(--blue-2)); transform: scaleY(var(--p)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 70px 1fr; column-gap: 20px; padding: 0; text-align: left; }
  .step__ico { grid-row: span 3; margin: 0; }
  .step__num { margin-top: 6px; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
  .faq__side { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .sim__stage { min-height: 0; padding: 70px 0 44px; }
}

@media (max-width: 760px) {
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; padding: 8px; border-radius: 22px;
    background: rgba(10, 12, 16, .85); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform: translateY(150%); transition: transform .5s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar__call { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 16px; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .06); }
  .mbar__call .ico { width: 18px; height: 18px; color: var(--blue-2); }
  .footer { padding-bottom: 110px; }
  .toast { bottom: 96px; }
  .swoosh { opacity: .35; }
}

@media (max-width: 640px) {
  :root { --header: 66px; }
  .brand__name b { font-size: 16px; }
  .brand__name small { font-size: 8.5px; letter-spacing: .36em; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .hero { padding-bottom: 80px; }
  .hero__eyebrow { font-size: 10.5px; letter-spacing: .16em; }
  .hero__eyebrow::before, .hero__eyebrow::after { display: none; }
  .hero__title { margin-top: -4px; }
  .hero__sub { gap: 12px; letter-spacing: .22em; padding-left: .22em; }
  .hero__sub::before, .hero__sub::after { display: none; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 0; height: 52px; padding: 0 16px; }
  .hero__features { margin-top: 34px; }
  .hero__features li { padding: 0 12px; font-size: 10px; letter-spacing: .08em; gap: 10px; }
  .hero__features .ico { width: 28px; height: 28px; }
  .hero__scroll { display: none; }
  .tabs { margin: 30px 0 24px; }
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; padding: 16px; }
  .svc__media { width: 96px; height: 96px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
  .svc__body { padding: 0; }
  .svc__title { margin: 4px 0 6px; font-size: 17px; }
  .svc__text { font-size: 13.5px; }
  .svc__foot { grid-column: 1 / -1; margin-top: 14px; padding: 14px 0 0; border-top: 1px solid var(--line); }
  .svc__price { font-size: 23px; }
  .sim__chip { font-size: 11px; padding: 5px 9px; }
  .sim__chip::after { height: 14px; }
  .perks { grid-template-columns: 1fr; }
  .sim__panel { grid-template-columns: 1fr; }
  .range + .range { margin-top: 26px; }
  .form { grid-template-columns: 1fr; }
  .info__msg { grid-template-columns: 1fr 1fr; }
  .qa__a p { padding-right: 0; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}

@media (max-height: 760px) and (min-width: 641px) { .hero__scroll { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
