/* ==========================================================================
   Автостекла Мытищи — премиальный сайт
   ========================================================================== */

:root {
  --bg: #06080b;
  --bg-2: #0b0f14;
  --bg-3: #10161d;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef3f7;
  --muted: #8a96a3;
  --muted-2: #5f6b77;
  --accent: #6fe0ff;
  --accent-2: #b9f3ff;
  --accent-deep: #1fa9d6;
  --warm: #ffb547;
  --danger: #ff6b6b;
  --ok: #5ef0a6;

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;

  --font-head: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #001018; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Noise overlay for a filmic feel */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.h-section {
  font-size: clamp(28px, 3.7vw, 54px);
}

.grad {
  background: linear-gradient(110deg, #ffffff 10%, var(--accent-2) 45%, var(--accent) 75%, #4db4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}

.lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 620px; }

.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section__head { margin-bottom: clamp(40px, 5vw, 72px); display: grid; gap: 18px; }
.section__head--split {
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section__head--split { grid-template-columns: 1.2fr 1fr; gap: 48px; }
}

/* Split-text helper */
.split-line { display: block; overflow: hidden; padding: 0.24em 0.06em 0.1em 0; margin: -0.24em -0.06em -0.1em 0; }
.split-word { display: inline-block; will-change: transform; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background 0.3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  color: #001219;
  background: linear-gradient(120deg, var(--accent-2), var(--accent) 55%, #3fc4f5);
  box-shadow: 0 10px 40px -10px rgba(111, 224, 255, 0.6), inset 0 1px 0 rgba(255,255,255,0.6);
}
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.75) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
  z-index: -1;
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 60px -12px rgba(111, 224, 255, 0.85), inset 0 1px 0 rgba(255,255,255,0.6); }

.btn--ghost {
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: rgba(111,224,255,0.5); background: rgba(111,224,255,0.07); }

.btn--wa { color: #fff; background: linear-gradient(120deg, #2fe07b, #13b35c); box-shadow: 0 10px 40px -12px rgba(47, 224, 123, 0.6); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

.magnetic { will-change: transform; }

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__glass {
  position: relative;
  width: 180px; height: 96px;
  border-radius: 40px 40px 14px 14px / 30px 30px 14px 14px;
  background: linear-gradient(160deg, rgba(220,230,240,0.55), rgba(160,175,190,0.35));
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.1);
}
.preloader__glass::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0b2033, #06101b 60%, #1a3048);
  clip-path: inset(0 100% 0 0);
  animation: wipe 1.4s var(--ease-io) infinite alternate;
}
.preloader__glass::after {
  content: "";
  position: absolute; top: -20%; bottom: -20%;
  width: 6px; left: 0;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
  animation: wipe-bar 1.4s var(--ease-io) infinite alternate;
}
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes wipe-bar { to { left: calc(100% - 6px); } }
.preloader__text { font-family: var(--font-head); font-size: 13px; letter-spacing: 0.3em; color: var(--muted); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 120;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), #fff);
}

.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.4s var(--ease-out), background 0.4s, border-color 0.4s, transform 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(6, 8, 11, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-110%); }
.header__inner { display: flex; align-items: center; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(111,224,255,0.25), rgba(111,224,255,0.04));
  border: 1px solid rgba(111,224,255,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 30px -10px rgba(111,224,255,0.5);
}
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { display: grid; line-height: 1.1; }
.logo__name { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; }
.logo__sub { font-size: 11px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; }

.nav { display: none; margin-left: auto; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header__phone { display: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.header__phone small { display: block; font-weight: 500; font-size: 11px; color: var(--ok); letter-spacing: 0.04em; }
.header__phone small::before { content: "●"; margin-right: 6px; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.header .btn { display: none; }

.burger {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 1.5px; background: var(--text);
  position: relative; transition: transform 0.4s var(--ease-out), background 0.3s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.is-menu-open .burger span { background: transparent; }
.is-menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.is-menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 90;
  padding: 110px var(--gutter) 40px;
  background: rgba(6, 8, 11, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.8s var(--ease-io);
  overflow-y: auto;
}
.is-menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: clamp(26px, 7vw, 40px);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__foot { margin-top: auto; padding-top: 30px; display: grid; gap: 12px; }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .header__actions { margin-left: 0; }
  .header__phone { display: block; }
  .header .btn { display: inline-flex; }
  .burger, .mobile-menu { display: none; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .header__phone { display: block; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 110px 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 70% 45%, rgba(31, 169, 214, 0.22), transparent 70%),
    radial-gradient(40% 40% at 15% 85%, rgba(111, 224, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #05070a 0%, #081018 60%, var(--bg) 100%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 75%);
}

.hero__layout {
  display: grid;
  gap: 8px;
  align-items: center;
}
.hero__content { position: relative; z-index: 2; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero__badge b {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 181, 71, 0.14);
  color: var(--warm);
}

.hero__title {
  font-size: clamp(34px, 4.1vw, 66px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero__title .thin { font-weight: 300; }

.hero__text { color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); max-width: 540px; margin: 0 0 34px; }
.hero__text strong { color: var(--text); font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  max-width: 560px;
}
.hero__stat { background: rgba(8, 12, 16, 0.85); padding: 18px 20px; }
.hero__stat-value { font-family: var(--font-head); font-size: clamp(20px, 1.7vw, 26px); white-space: nowrap; font-weight: 600; display: flex; align-items: baseline; gap: 6px; }
.hero__stat-value small { font-size: 0.55em; color: var(--muted); font-weight: 500; }
.hero__stat-label { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 4px; }
@media (min-width: 640px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }

/* 3D stage */
.hero__stage {
  position: relative;
  height: 64svh;
  min-height: 420px;
  margin: 0 calc(var(--gutter) * -1);
}
#glass-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  touch-action: none;
  outline: none;
}
.stage-fallback {
  display: none;
  position: absolute; inset: 10% 8%;
  border-radius: 40% 40% 12% 12% / 22% 22% 12% 12%;
  background: linear-gradient(160deg, #0b2033, #06101b 60%, #1a3048);
  box-shadow: inset 0 0 0 10px #050608, 0 30px 80px -20px rgba(111,224,255,0.3);
}
.no-webgl .stage-fallback { display: block; }

.stage-hud {
  position: absolute;
  left: var(--gutter); bottom: 12px;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(6, 10, 14, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  z-index: 3;
}
.stage-hud__ring { width: 46px; height: 46px; transform: rotate(-90deg); }
.stage-hud__ring circle { fill: none; stroke-width: 4; }
.stage-hud__ring .bg { stroke: rgba(255,255,255,0.1); }
.stage-hud__ring .fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; transition: stroke-dashoffset 0.3s; filter: drop-shadow(0 0 6px rgba(111,224,255,0.7)); }
.stage-hud__label { font-size: 12px; color: var(--muted); line-height: 1.2; }
.stage-hud__value { font-family: var(--font-head); font-size: 18px; font-weight: 600; }

.stage-hint {
  position: absolute;
  left: 50%; top: 14%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(111, 224, 255, 0.12);
  border: 1px solid rgba(111, 224, 255, 0.35);
  color: var(--accent-2);
  font-size: 13px; font-weight: 700;
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
  animation: hint-float 2.4s var(--ease-io) infinite;
  transition: opacity 0.5s, transform 0.5s;
}
.stage-hint.is-hidden { opacity: 0; transform: translate(-50%, -10px); animation: none; }
.stage-hint i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(111,224,255,0.7);
  animation: ping 1.6s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(111,224,255,0); } 100% { box-shadow: 0 0 0 0 rgba(111,224,255,0); } }
@keyframes hint-float { 50% { transform: translate(-50%, -6px); } }

.stage-done {
  position: absolute;
  left: 50%; bottom: 12px;
  width: min(380px, calc(100% - 32px));
  transform: translate(-50%, 20px) scale(0.96);
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(6, 10, 14, 0.78);
  border: 1px solid rgba(111,224,255,0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), visibility 0.6s;
  z-index: 4;
}
.stage-done.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.stage-hud { transition: opacity 0.4s; }
.stage-done.is-visible ~ .stage-hud, .hero__stage.is-done .stage-hud { opacity: 0; }
.stage-done h3 { font-size: 20px; margin-bottom: 8px; }
.stage-done p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.stage-done__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: none;
  flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-2);
}
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: cue 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (min-width: 1000px) {
  .hero { padding-top: 120px; }
  .hero__layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: 0; min-height: calc(100svh - 160px); }
  .hero__stage { height: auto; align-self: stretch; min-height: 640px; margin: 0 calc(var(--gutter) * -1) 0 -12%; }
  .stage-hud { left: auto; right: calc(var(--gutter) + 90px); bottom: 40px; }
  .scroll-cue { display: flex; }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.marquee__item {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee__item:hover { color: var(--text); }
.marquee__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.6; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Services (bento)
   -------------------------------------------------------------------------- */
.services__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); }
  .card--wide { grid-column: span 2; }
  .card--tall { grid-row: span 2; }
}

.card {
  --mx: 50%; --my: 50%;
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  transition: border-color 0.4s, transform 0.6s var(--ease-out);
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(111,224,255,0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(111,224,255,0.7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover::before, .card:hover::after { opacity: 1; }

.card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(111,224,255,0.08);
  border: 1px solid rgba(111,224,255,0.2);
  color: var(--accent);
  margin-bottom: 24px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: clamp(19px, 1.6vw, 23px); margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.card__price {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.card__price b { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.card__price span { font-size: 13px; color: var(--muted); }
.card__arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: background 0.3s, transform 0.4s var(--ease-out), border-color 0.3s;
  flex: none;
}
.card__arrow svg { width: 16px; height: 16px; }
.card:hover .card__arrow { background: var(--accent); color: #001219; border-color: var(--accent); transform: rotate(-45deg); }

.card--feature {
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(111,224,255,0.18), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
}
.card--feature .card__visual {
  position: relative;
  flex: 1;
  min-height: 160px;
  margin: 0 -28px 20px;
  overflow: hidden;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  background: rgba(111,224,255,0.1);
  color: var(--accent);
  border: 1px solid rgba(111,224,255,0.25);
  margin-bottom: 14px;
  width: fit-content;
}
.tag--warm { background: rgba(255,181,71,0.1); color: var(--warm); border-color: rgba(255,181,71,0.3); }

/* Windshield illustration inside feature card */
.ws-illus { position: absolute; inset: 10px 20px 0; width: calc(100% - 40px); height: calc(100% - 10px); }
.ws-illus .ws-glass { fill: url(#wsGrad); stroke: rgba(255,255,255,0.25); stroke-width: 1.5; }
.ws-illus .ws-shine { fill: url(#wsShine); animation: ws-shine 4s var(--ease-io) infinite; }
@keyframes ws-shine { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(120%); } }

/* --------------------------------------------------------------------------
   Car picker
   -------------------------------------------------------------------------- */
.picker { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.picker__layout { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .picker__layout { grid-template-columns: 1.5fr 1fr; gap: 48px; } }

.picker__car {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 50% at 50% 60%, rgba(111,224,255,0.1), transparent 70%),
    var(--bg-3);
  padding: clamp(16px, 3vw, 36px);
  overflow: hidden;
}
.picker__car::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111,224,255,0.4), transparent);
}
.car-svg { width: 100%; height: auto; overflow: visible; }
.car-svg .body { fill: url(#bodyGrad); stroke: rgba(255,255,255,0.22); stroke-width: 1.4; }
.car-svg .detail { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 1.2; }
.car-svg .wheel-tire { fill: #050608; stroke: rgba(255,255,255,0.15); stroke-width: 1.5; }
.car-svg .wheel-rim { fill: url(#rimGrad); stroke: rgba(255,255,255,0.3); }
.car-svg .wheel-spokes { stroke: rgba(255,255,255,0.35); stroke-width: 3; stroke-linecap: round; }
.car-svg .zone {
  cursor: pointer;
  fill: rgba(111,224,255,0.1);
  stroke: rgba(111,224,255,0.45);
  stroke-width: 1.4;
  transition: fill 0.35s, stroke 0.35s, filter 0.35s;
  outline: none;
}
.car-svg .zone--light { fill: rgba(255,255,255,0.1); stroke: rgba(255,255,255,0.4); }
.car-svg .zone--tail { fill: rgba(255,90,90,0.2); stroke: rgba(255,120,120,0.5); }
.car-svg .zone:hover, .car-svg .zone:focus-visible { fill: rgba(111,224,255,0.3); stroke: var(--accent); }
.car-svg .zone.is-active {
  fill: rgba(111,224,255,0.45);
  stroke: #fff;
  filter: drop-shadow(0 0 10px rgba(111,224,255,0.9));
  animation: zone-pulse 1.8s var(--ease-io) infinite;
}
@keyframes zone-pulse { 50% { fill: rgba(111,224,255,0.25); } }
.car-svg .shadow { fill: url(#shadowGrad); }

.picker__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 600;
  color: var(--muted);
  transition: all 0.3s;
}
.chip:hover { color: var(--text); border-color: rgba(111,224,255,0.4); }
.chip.is-active { background: var(--accent); color: #001219; border-color: var(--accent); }

.picker__panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  padding: clamp(24px, 3vw, 36px);
  min-height: 380px;
  display: flex; flex-direction: column;
}
.picker__panel-inner { display: flex; flex-direction: column; height: 100%; flex: 1; }
.picker__panel h3 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 12px; }
.picker__panel p { color: var(--muted); margin: 0 0 20px; }
.picker__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.picker__list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.picker__list li span:last-child { font-weight: 700; white-space: nowrap; }
.picker__panel .btn { margin-top: auto; }
.swap-in { animation: swap-in 0.6s var(--ease-out); }
@keyframes swap-in { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }

/* --------------------------------------------------------------------------
   Diagnostics: quiz + before/after
   -------------------------------------------------------------------------- */
.diag__layout { display: grid; gap: 20px; }
@media (min-width: 1000px) { .diag__layout { grid-template-columns: 1fr 1fr; } }

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012));
  padding: clamp(22px, 3vw, 36px);
  position: relative;
  overflow: hidden;
}

.quiz__progress { display: flex; gap: 6px; margin-bottom: 26px; }
.quiz__progress i { flex: 1; height: 3px; border-radius: 3px; background: var(--line-2); transition: background 0.4s; }
.quiz__progress i.is-done { background: var(--accent); box-shadow: 0 0 10px rgba(111,224,255,0.6); }
.quiz__step-label { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.quiz__q { font-size: clamp(20px, 2vw, 26px); margin-bottom: 22px; }
.quiz__options { display: grid; gap: 10px; }
.quiz__opt {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
  font-weight: 600;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.quiz__opt:hover { border-color: rgba(111,224,255,0.5); background: rgba(111,224,255,0.06); transform: translateX(4px); }
.quiz__opt small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.quiz__opt-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: rgba(111,224,255,0.08); color: var(--accent);
}
.quiz__opt-icon svg { width: 22px; height: 22px; }
.quiz__result h4 { font-size: clamp(22px, 2.2vw, 30px); margin: 6px 0 12px; }
.quiz__result p { color: var(--muted); margin: 0 0 18px; }
.quiz__price { font-family: var(--font-head); font-size: clamp(28px, 3vw, 40px); font-weight: 600; margin-bottom: 20px; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz__back { font-size: 14px; color: var(--muted); margin-top: 18px; text-decoration: underline; text-underline-offset: 3px; }

.ba { display: flex; flex-direction: column; }
.ba__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 20px 0 16px;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  background: #000;
}
.ba__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__before { clip-path: inset(0 50% 0 0); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 20px rgba(111,224,255,0.9);
  pointer-events: none;
}
.ba__handle::after {
  content: "‹ ›";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(6,10,14,0.7);
  border: 2px solid #fff;
  backdrop-filter: blur(6px);
  font-weight: 700; letter-spacing: 2px;
}
.ba__label {
  position: absolute; top: 14px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  background: rgba(6,10,14,0.7);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba__label--l { left: 14px; color: #ffb3b3; }
.ba__label--r { right: 14px; color: var(--accent-2); }
.ba__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ba__fact { padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.ba__fact b { display: block; font-family: var(--font-head); font-size: 18px; }
.ba__fact span { font-size: 12px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Calculator
   -------------------------------------------------------------------------- */
.calc { background: var(--bg-2); }
.calc__layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .calc__layout { grid-template-columns: 1.4fr 1fr; } }

.calc__group { margin-bottom: 28px; }
.calc__group:last-child { margin-bottom: 0; }
.calc__label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  position: relative;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  font-weight: 700; font-size: 15px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.seg label small { font-weight: 500; font-size: 12px; color: var(--muted); }
.seg label:hover { border-color: rgba(111,224,255,0.4); }
.seg input:checked + label {
  border-color: var(--accent);
  background: rgba(111,224,255,0.08);
  box-shadow: inset 0 0 0 1px var(--accent), 0 8px 30px -14px rgba(111,224,255,0.8);
}
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check label {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  cursor: pointer;
  font-size: 14px; font-weight: 600;
  transition: border-color 0.3s, background 0.3s;
}
.check label::before {
  content: "";
  width: 20px; height: 20px; flex: none;
  border-radius: 6px;
  border: 1.5px solid var(--line-2);
  background: rgba(255,255,255,0.03) center / 12px no-repeat;
  transition: all 0.3s;
}
.check input:checked + label { border-color: rgba(111,224,255,0.6); background: rgba(111,224,255,0.06); }
.check input:checked + label::before {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001219' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.check input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.check label span { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }

.calc__result {
  position: sticky; top: 100px;
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(111,224,255,0.2), transparent 60%),
    linear-gradient(160deg, #0f1820, #0a0f14);
  border: 1px solid rgba(111,224,255,0.25);
  overflow: hidden;
}
.calc__result::before {
  content: "";
  position: absolute; inset: -40% -40% auto auto;
  width: 300px; height: 300px;
  background: conic-gradient(from 0deg, transparent, rgba(111,224,255,0.25), transparent 30%);
  border-radius: 50%;
  animation: spin 8s linear infinite;
  filter: blur(30px);
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.calc__total-label { color: var(--muted); font-size: 14px; position: relative; }
.calc__total { font-family: var(--font-head); font-size: clamp(40px, 5vw, 64px); font-weight: 600; line-height: 1.1; margin: 6px 0 4px; position: relative; letter-spacing: -0.03em; }
.calc__time { color: var(--accent-2); font-weight: 600; font-size: 14px; margin-bottom: 22px; position: relative; display: flex; align-items: center; gap: 8px; }
.calc__time svg { width: 16px; height: 16px; }
.calc__lines { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; position: relative; }
.calc__lines li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.calc__lines li b { color: var(--text); font-weight: 600; white-space: nowrap; }
.calc__note { font-size: 12px; color: var(--muted-2); margin: 14px 0 0; position: relative; }
.calc__result .btn { position: relative; }

/* --------------------------------------------------------------------------
   Film protection demo
   -------------------------------------------------------------------------- */
.film__layout { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .film__layout { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.film__benefits { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 16px; }
.film__benefits li { display: flex; gap: 14px; }
.film__benefits li svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; }
.film__benefits b { display: block; }
.film__benefits span { color: var(--muted); font-size: 15px; }

.film-demo { padding: 20px; }
.film-demo__toggle {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.film-demo__toggle button {
  position: relative; z-index: 1;
  height: 42px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  color: var(--muted);
  transition: color 0.4s;
}
.film-demo__toggle button.is-active { color: #001219; }
.film-demo__toggle::before {
  content: "";
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--accent);
  transition: transform 0.5s var(--ease-out), background 0.4s;
}
.film-demo__toggle.is-film::before { transform: translateX(100%); }
.film-demo__toggle:not(.is-film)::before { background: #ff9a9a; }

.film-demo__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: radial-gradient(80% 80% at 50% 0%, #12304a, #060c12);
}
.film-demo__stage svg { width: 100%; height: 100%; }
.film-demo__stage.is-shake { animation: shake 0.45s; }
@keyframes shake {
  20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -4px); }
  60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, -1px); }
}
.film-demo__status {
  position: absolute; left: 50%; bottom: 16px;
  transform: translate(-50%, 10px);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(6,10,14,0.8);
  backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.film-demo__status.is-visible { opacity: 1; transform: translate(-50%, 0); }
.film-demo__status.is-bad { color: #ffb3b3; }
.film-demo__status.is-good { color: var(--ok); }
.film-demo__actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.film-demo__actions .btn { flex: 1; }
.crack-line { fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 1.2; stroke-linecap: round; }
.film-layer { transition: opacity 0.5s; }

/* --------------------------------------------------------------------------
   Process (horizontal)
   -------------------------------------------------------------------------- */
.process { overflow: hidden; }
.process__track { display: grid; gap: 16px; }
.step {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  min-height: 300px;
  display: flex; flex-direction: column;
}
.step__num {
  font-family: var(--font-head);
  font-size: 88px; font-weight: 700;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(111,224,255,0.4);
  margin-bottom: auto;
}
.step h3 { font-size: 22px; margin: 28px 0 10px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
.step__time { position: absolute; top: 30px; right: 30px; font-size: 12px; font-weight: 700; color: var(--accent); padding: 5px 10px; border-radius: 999px; background: rgba(111,224,255,0.08); }
.process__bar { height: 2px; background: var(--line); margin-top: 40px; border-radius: 2px; overflow: hidden; display: none; }
.process__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transform-origin: 0 50%; transform: scaleX(0); }

@media (min-width: 1000px) {
  .process.is-horizontal .process__track { display: flex; width: max-content; gap: 20px; padding-right: var(--gutter); }
  .process.is-horizontal .step { width: 420px; min-height: 380px; }
  .process.is-horizontal .process__bar { display: block; }
}
@media (min-width: 700px) and (max-width: 999px) { .process__track { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Why us
   -------------------------------------------------------------------------- */
.why__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.why__item { background: var(--bg); padding: clamp(26px, 3vw, 40px); position: relative; overflow: hidden; transition: background 0.4s; }
.why__item:hover { background: #0a1016; }
.why__num { font-family: var(--font-head); font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-bottom: 14px; }
.why__num small { font-size: 0.42em; color: var(--muted); margin-left: 6px; font-weight: 500; letter-spacing: 0; }
.why__item h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.why__item p { color: var(--muted); margin: 0; font-size: 15px; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.reviews__layout { display: grid; gap: 20px; }
@media (min-width: 1000px) { .reviews__layout { grid-template-columns: 1fr 1.3fr; } }
.rating-big { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.rating-big__score { font-family: var(--font-head); font-size: clamp(80px, 10vw, 140px); font-weight: 600; line-height: 0.9; letter-spacing: -0.05em; }
.stars { display: flex; gap: 4px; color: var(--warm); }
.stars svg { width: 26px; height: 26px; filter: drop-shadow(0 0 10px rgba(255,181,71,0.5)); }
.rating-big__meta { color: var(--muted); }
.rating-big__meta b { color: var(--text); }
.rating-sources { display: grid; gap: 10px; }
.rating-source {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  transition: border-color 0.3s, background 0.3s;
}
.rating-source:hover { border-color: rgba(111,224,255,0.5); background: rgba(111,224,255,0.05); }
.rating-source__name { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.rating-source__logo { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.rating-source__val { font-family: var(--font-head); font-weight: 600; }
.rating-source__val small { font-family: var(--font-body); color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 6px; }

.bars { display: grid; gap: 22px; }
.bar__head { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 10px; }
.bar__head span { color: var(--muted); font-weight: 500; font-size: 14px; }
.bar__track { height: 8px; border-radius: 8px; background: rgba(255,255,255,0.06); overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); box-shadow: 0 0 16px rgba(111,224,255,0.6); transition: width 1.6s var(--ease-out); }
.reviews__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.reviews__note { font-size: 12px; color: var(--muted-2); margin-top: 18px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq__layout { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 19px);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-2);
  position: relative;
  transition: transform 0.5s var(--ease-out), background 0.3s, border-color 0.3s;
}
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent); color: #001219; border-color: var(--accent); }
.faq__body { overflow: hidden; }
.faq__body p { margin: 0; padding: 0 56px 24px 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   Contacts
   -------------------------------------------------------------------------- */
.contacts__layout { display: grid; gap: 20px; }
@media (min-width: 1000px) { .contacts__layout { grid-template-columns: 1fr 1.2fr; } }
.contacts__info { display: flex; flex-direction: column; gap: 22px; }
.addr-tabs { display: grid; gap: 10px; }
.addr-tab {
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  transition: border-color 0.3s, background 0.3s;
  display: flex; gap: 14px; align-items: flex-start;
}
.addr-tab svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.addr-tab b { display: block; font-size: 16px; }
.addr-tab span { color: var(--muted); font-size: 14px; }
.addr-tab.is-active { border-color: var(--accent); background: rgba(111,224,255,0.06); }
.contacts__row { display: grid; gap: 4px; }
.contacts__row small { color: var(--muted); font-size: 13px; }
.contacts__phone { font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.messenger {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-weight: 700; font-size: 14px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s;
}
.messenger svg { width: 20px; height: 20px; }
.messenger:hover { transform: translateY(-3px); }
.messenger--wa:hover { border-color: #2fe07b; background: rgba(47,224,123,0.08); }
.messenger--tg:hover { border-color: #3aa8ff; background: rgba(58,168,255,0.08); }
.messenger--vk:hover { border-color: #4c8dff; background: rgba(76,141,255,0.08); }

.map {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7) contrast(0.95) brightness(0.95);
}
.map__badge {
  position: absolute; left: 16px; top: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(6,10,14,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600;
  pointer-events: none;
}

/* Callback form */
.cta-form { margin-top: 20px; }
.cta-form__grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .cta-form__grid { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.field input, .field select {
  height: 56px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus { border-color: var(--accent); background: rgba(111,224,255,0.04); box-shadow: 0 0 0 4px rgba(111,224,255,0.12); }
.field input.is-invalid { border-color: var(--danger); }
.cta-form__agree { font-size: 12px; color: var(--muted-2); margin: 12px 0 0; }

/* Big CTA banner */
.cta-banner {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(36px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(111,224,255,0.25);
  background: linear-gradient(135deg, #0c1a24, #070b10 60%);
}
.cta-banner__glow {
  position: absolute; inset: auto -10% -60% auto;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,224,255,0.35), transparent 60%);
  z-index: -1;
  filter: blur(20px);
}
.cta-banner h2 { font-size: clamp(28px, 4.4vw, 60px); max-width: 860px; margin-bottom: 18px; }
.cta-banner p { color: var(--muted); max-width: 560px; margin: 0 0 30px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: 60px 0 120px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__inner { display: grid; gap: 30px; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.5fr 1fr 1fr; } .footer { padding-bottom: 50px; } }
.footer h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--accent); }
.footer__copy { color: var(--muted-2); font-size: 13px; margin-top: 30px; }
.footer__big {
  font-family: var(--font-head);
  font-size: clamp(44px, 12vw, 190px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.85;
  margin-top: 50px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  white-space: nowrap;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Floating
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(10, 14, 18, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-2);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease-out);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px;
  border-radius: 14px;
  font-size: 11px; font-weight: 700;
}
.mobile-bar a svg { width: 22px; height: 22px; }
.mobile-bar a:first-child { background: var(--accent); color: #001219; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

.fab {
  position: fixed; right: 28px; bottom: 28px;
  z-index: 95;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: none; place-items: center;
  background: linear-gradient(135deg, #2fe07b, #13b35c);
  color: #fff;
  box-shadow: 0 14px 40px -10px rgba(47,224,123,0.7);
  transition: transform 0.4s var(--ease-out);
}
.fab svg { width: 30px; height: 30px; }
.fab::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #2fe07b;
  animation: fab-ping 2.4s infinite;
}
@keyframes fab-ping { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }
.fab:hover { transform: scale(1.08); }
.fab__tip {
  position: absolute; right: 78px; top: 50%;
  transform: translateY(-50%) translateX(10px);
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff; color: #0a0f14;
  font-size: 13px; font-weight: 700;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.fab:hover .fab__tip { opacity: 1; transform: translateY(-50%); }
@media (min-width: 900px) { .fab { display: grid; } }

/* Toast */
.toast {
  position: fixed; left: 50%; top: 24px;
  transform: translate(-50%, calc(-100% - 40px));
  z-index: 250;
  padding: 14px 22px;
  border-radius: 14px;
  background: #fff; color: #0a0f14;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5);
  transition: transform 0.6s var(--ease-out), visibility 0.6s;
  max-width: calc(100% - 32px);
  text-align: center;
  visibility: hidden;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }

/* Reveal defaults (only when JS animations are active) */
.js-anim [data-reveal] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js-anim [data-reveal] { opacity: 1; }
}

/* ==========================================================================
   Правовые документы, согласие, cookie
   ========================================================================== */
.op-missing {
  background: rgba(255, 181, 71, 0.16);
  color: var(--warm);
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 700;
}

/* Consent checkbox in forms */
.consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 16px;
  font-size: 13px; line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
  max-width: 720px;
}
.consent input {
  appearance: none; -webkit-appearance: none;
  flex: none;
  width: 22px; height: 22px;
  margin: 0;
  border-radius: 7px;
  border: 1.5px solid var(--line-2);
  background: rgba(255,255,255,0.03) center / 13px no-repeat;
  cursor: pointer;
  transition: all 0.25s;
}
.consent input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001219' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent.is-invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255,107,107,0.15); }
.consent a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* Cookie banner */
.cookie {
  position: fixed; left: 16px; bottom: 16px;
  z-index: 140;
  width: min(420px, calc(100% - 32px));
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(10, 14, 18, 0.94);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
  font-size: 14px;
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s;
}
.cookie.is-visible { transform: none; opacity: 1; }
.cookie h4 { font-family: var(--font-body); font-size: 16px; font-weight: 800; letter-spacing: 0; margin: 0 0 8px; }
.cookie p { margin: 0 0 16px; color: var(--muted); }
.cookie a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie__actions .btn { height: 44px; padding: 0 14px; font-size: 13px; }
@media (max-width: 899px) { .cookie { bottom: 96px; } }

/* Map placeholder until cookie consent */
.map__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center; align-content: center; gap: 14px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(111,224,255,0.08), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    var(--bg-3);
}
.map__placeholder svg { width: 40px; height: 40px; color: var(--accent); }
.map__placeholder p { margin: 0; max-width: 340px; }

/* Footer legal */
.footer__legal {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer__legal a, .footer__legal button { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; padding: 0; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--accent); }
.footer__req { color: var(--muted-2); font-size: 13px; margin-top: 16px; line-height: 1.7; }

/* --------------------------------------------------------------------------
   Document pages
   -------------------------------------------------------------------------- */
.doc-page { background: var(--bg); }
.doc-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  background: rgba(6, 8, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.doc-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.doc-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.doc-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.doc-back:hover { color: var(--accent); }

.doc { padding: clamp(40px, 7vw, 90px) 0 80px; }
.doc__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.doc__body { min-width: 0; overflow-wrap: break-word; }
@media (min-width: 1000px) { .doc__layout { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; } }
.doc__toc { font-size: 14px; }
.doc__toc nav { display: grid; gap: 2px; }
@media (min-width: 1000px) { .doc__toc nav { position: sticky; top: 100px; } }
.doc__toc a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--muted); line-height: 1.35; }
.doc__toc a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.doc__toc-title { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 10px 12px; }

.doc__body { max-width: 820px; }
.doc__body h1 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 18px; }
.doc__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.doc__body h2 {
  font-size: clamp(19px, 1.8vw, 24px);
  margin: 44px 0 16px;
  padding-top: 8px;
  scroll-margin-top: 90px;
}
.doc__body h3 { font-family: var(--font-body); font-size: 17px; font-weight: 800; letter-spacing: 0; margin: 24px 0 10px; }
.doc__body p, .doc__body li { color: #c3ccd5; font-size: 16px; line-height: 1.75; }
.doc__body p { margin: 0 0 14px; }
.doc__body ul, .doc__body ol { margin: 0 0 16px; padding-left: 22px; }
.doc__body li { margin-bottom: 6px; }
.doc__body a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.doc__body strong { color: var(--text); }
.doc__lead { font-size: 17px; color: var(--muted); }
.doc__note {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(111,224,255,0.25);
  background: rgba(111,224,255,0.05);
  margin: 0 0 20px;
}
.doc__note p:last-child { margin: 0; }
.doc-table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.doc-table th, .doc-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: #c3ccd5; line-height: 1.55; }
.doc-table th { color: var(--text); font-weight: 700; background: rgba(255,255,255,0.03); }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-req { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 20px; }
.doc-req div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.doc-req div:last-child { border-bottom: 0; }
.doc-req dt { color: var(--muted); font-size: 13px; }
.doc-req dd { margin: 0; font-weight: 600; }
@media (min-width: 700px) { .doc-req div { grid-template-columns: 240px 1fr; gap: 16px; } }
.doc-footer { border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: 13px; color: var(--muted-2); }
.doc-footer .footer__legal { margin-top: 0; padding-top: 0; border-top: 0; }
@media print {
  .doc-header, .doc__toc, .doc-footer, body::after { display: none !important; }
  body, .doc-page { background: #fff; color: #000; }
  .doc__body p, .doc__body li, .doc-table td { color: #000; }
}
