/* ============================================================
   VORTEX - редизайн "Aurora" (тёмный премиум, фиолетовый неон)
   Класс-версия дизайн-референса Cloud Design.
   ============================================================ */

:root {
  --bg:            #0a0714;
  --bg-alt:        #0c0818;
  --text:          #f4f1fb;
  --muted:         #b7aecf;
  --muted-2:       #9d93b8;
  --muted-3:       #8b829e;
  --hero-sub:      #c7bcdc;
  --stat-label:    #a99fc4;
  --note:          #9a90b8;
  --review-text:   #e7e1f2;
  --band-sub:      #c9bfe0;

  --violet:        #a78bfa;
  --violet-2:      #8b5cff;
  --violet-deep:   #6d28d9;
  --violet-soft:   #c4b5fd;
  --violet-hi:     #dbccff;
  --pink:          #ff5fb4;
  --pink-2:        #a35cff;
  --star:          #ffcb45;

  --border:        rgba(139,92,255,.24);
  --border-soft:   rgba(139,92,255,.14);
  --border-in:     rgba(139,92,255,.28);
  --panel:         linear-gradient(180deg, rgba(34,25,56,.72), rgba(20,14,34,.62));
  --input-bg:      #16101f;

  --grad-primary:  linear-gradient(135deg, #8b5cff, #6d28d9);
  --grad-pink:     linear-gradient(120deg, #ff5fb4, #a35cff);
  --grad-accent:   linear-gradient(120deg, #dbccff, #a78bff);

  --maxw:          1180px;
  --font:          "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-disp:     "Space Grotesk", var(--font);
  --font-hero:     "Clash Display", "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  line-height: 1.5;
}
body.no-scroll { overflow: hidden; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-soft); }
img { max-width: 100%; }
input, textarea, select, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--muted-3); opacity: 1; }
h1, h2, h3, h4 { font-family: var(--font-disp); font-weight: 700; line-height: 1.15; margin: 0; }
.is-hidden { display: none !important; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- ambient background glow ---------- */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 32% at 88% 4%,  rgba(139,92,255,.18), transparent 60%),
    radial-gradient(42% 30% at 6% 30%,  rgba(255,95,180,.09), transparent 60%),
    radial-gradient(50% 34% at 92% 58%, rgba(93,123,255,.10), transparent 60%),
    radial-gradient(46% 30% at 8% 82%,  rgba(163,92,255,.12), transparent 60%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 600; cursor: pointer;
  border: 0; border-radius: 100px; transition: transform .18s, box-shadow .3s, border-color .2s, background .2s;
  text-align: center;
}
.btn-primary {
  background: var(--grad-primary); color: #fff;
  padding: 10px 18px; font-size: 14px;
  box-shadow: 0 10px 30px -10px rgba(139,92,255,.6);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(139,92,255,.85); }
.btn-lg { padding: 16px 36px; font-size: 1.04rem; box-shadow: 0 14px 44px -8px rgba(139,92,255,.7); }
.btn-lg:hover { transform: translateY(-2px); box-shadow: 0 18px 54px -8px rgba(139,92,255,.95); }
.btn-book {
  background: var(--grad-pink); color: #fff; flex: 1;
  padding: 12px 14px; font-size: .9rem;
  box-shadow: 0 10px 26px -12px rgba(255,95,180,.6);
}
.btn-book:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text); flex: 1;
  padding: 12px 14px; font-size: .9rem; border: 1px solid rgba(196,181,253,.35);
}
.btn-ghost:hover { color: var(--text); border-color: #fff; transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,7,20,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; display: block; }
.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: 0 1 auto; min-width: 0; }
.lang-switch {
  display: flex; gap: 2px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(139,92,255,.16); border-radius: 10px; padding: 3px;
}
.lang-btn {
  font-family: var(--font-disp); font-size: 12px; font-weight: 600; letter-spacing: .03em;
  border: 0; cursor: pointer; padding: 6px 9px; border-radius: 7px;
  color: var(--muted-2); background: transparent; transition: all .18s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { color: #fff; background: var(--grad-primary); }

/* ---------- меню в шапке ---------- */
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: 30px; }
.main-nav a { font-size: 14px; font-weight: 600; color: var(--muted-2); transition: color .18s; }
.main-nav a:hover { color: #fff; }

/* бургер (только на телефоне/планшете) */
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 9px; flex: 0 0 auto;
  border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; }
.burger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .22s, opacity .18s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- боковое выезжающее меню ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 85; background: rgba(5,3,10,.65);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; z-index: 90; height: 100vh; height: 100dvh; width: min(320px, 86vw);
  padding: 64px 24px 28px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, rgba(24,18,40,.98), rgba(14,10,26,.98));
  border-left: 1px solid var(--border); box-shadow: -20px 0 60px -20px rgba(0,0,0,.7);
  transform: translateX(105%); visibility: hidden; transition: transform .28s ease, visibility .28s; }
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--text); font-size: 16px; cursor: pointer; }
.drawer-close:hover { color: #fff; border-color: rgba(196,181,253,.5); }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 14px 2px; font-family: var(--font-disp); font-weight: 600; font-size: 1.05rem;
  color: var(--text); border-bottom: 1px solid var(--border-soft); }
.drawer-nav a:hover { color: var(--violet-soft); }
.drawer-lang { align-self: flex-start; }
.drawer-wa { width: 100%; padding: 14px 18px; font-size: 15px; margin-top: auto; }

/* отступ якорей, чтобы заголовок блока не прятался под шапкой */
#catalog, #benefits, #guarantees, #reviews, #faq, #contacts { scroll-margin-top: 76px; }

/* ---------- sections ---------- */
.section { position: relative; z-index: 2; padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid rgba(139,92,255,.1); border-bottom: 1px solid rgba(139,92,255,.1); }
.section-line { border-top: 1px solid rgba(139,92,255,.1); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block; font-family: var(--font-disp);
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.02em; color: var(--text); }
.section-sub { color: var(--muted); font-size: 1.02rem; margin: 14px 0 0; line-height: 1.6; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(620px, 88vh, 900px);
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center right;
  background-image: url("../img/hero.jpg");
  background-image: image-set(url("../img/hero.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg"));
}
picture { display: contents; }
.hero-scrim-1 { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9,6,18,.96) 0%, rgba(9,6,18,.86) 34%, rgba(9,6,18,.45) 62%, rgba(9,6,18,.15) 100%); }
.hero-scrim-2 { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(9,6,18,.55) 0%, transparent 22%, transparent 62%, rgba(10,7,20,.98) 100%); }
.hero-glow { position: absolute; top: -10%; left: 40%; width: 60%; height: 80%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(139,92,255,.28), transparent 62%); }
.hero-inner { position: relative; z-index: 3; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 64px 24px; }
.hero-content { max-width: 680px; }
.hero-title {
  font-family: var(--font-hero); font-weight: 700;
  font-size: clamp(2.8rem, 6.4vw, 4.8rem); line-height: 1.0; letter-spacing: -.025em;
  margin: 0 0 26px; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.5); text-wrap: balance;
}
.hero-title .accent { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 2.7vw, 1.28rem); color: var(--hero-sub); line-height: 1.55; max-width: 520px; margin: 0 0 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; }
.stat { padding: 2px 30px; border-left: 1px solid rgba(196,181,253,.28); text-align: center; }
.stat:first-child { padding-left: 0; border-left: none; }
.stat-n { font-family: var(--font-disp); font-weight: 700; font-size: clamp(2rem, 5vw, 2.7rem); line-height: 1; color: #fff; letter-spacing: -.01em; display: inline-flex; align-items: center; justify-content: center; }
.stat-n .star { color: var(--violet-2); font-size: .9em; line-height: 1; margin-left: 2px; }
/* маленькая приставка перед цифрой: "цены от 15%" */
.stat-n .stat-pre { font-family: var(--font); font-size: .38em; font-weight: 600; line-height: 1.15;
  color: var(--stat-label); letter-spacing: 0; margin-right: 7px; text-align: left; }
.stat-l { color: var(--stat-label); font-size: .9rem; margin-top: 8px; }

/* ---------- catalog ---------- */
.car-groups { display: flex; flex-direction: column; gap: 44px; }
.car-group-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-disp); font-weight: 600; font-size: 1.15rem; color: var(--text); margin: 0 0 18px; }
.car-group-title .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 10px rgba(163,92,255,.7); }
.st-group-available .dot { background: var(--grad-pink); }
.st-group-transit   .dot { background: #5db0ff; }
.st-group-sold      .dot { background: #28d472; }
.st-group-pending   .dot { background: #ffce5a; }
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 22px; }
.car-card {
  position: relative; background: var(--panel); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 14px 50px -22px rgba(163,92,255,.7);
  transition: transform .2s, border-color .2s, box-shadow .3s;
}
.car-card:hover { transform: translateY(-4px); border-color: rgba(163,92,255,.6); box-shadow: 0 26px 64px -22px rgba(163,92,255,.95); }
.car-top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.car-flag { font-size: .76rem; font-weight: 600; color: #e9e9ee; background: rgba(10,7,20,.7); border: 1px solid rgba(255,255,255,.14); border-radius: 100px; padding: 5px 11px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.car-status { font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; white-space: nowrap; }
.car-status.st-available { background: var(--grad-pink); color: #fff; }
.car-status.st-transit   { background: linear-gradient(120deg, #3f7bff, #5db0ff); color: #05122e; }
.car-status.st-sold      { background: linear-gradient(120deg, #1fbf63, #28d472); color: #04240f; }
.car-status.st-pending   { background: linear-gradient(120deg, #e8a33a, #ffce5a); color: #3a2600; }
.car-photo {
  position: relative; height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(90% 80% at 50% 120%, rgba(163,92,255,.55), rgba(163,92,255,0) 62%), linear-gradient(180deg, #1a1230, #120c22);
}
.car-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car-ph-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(196,181,253,.4); display: flex; align-items: center; justify-content: center; color: var(--violet-soft); font-size: 15px; }
.car-note { color: var(--note); font-size: .82rem; letter-spacing: .03em; }
.car-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.car-name { font-family: var(--font-disp); font-weight: 600; font-size: 1.2rem; color: #fff; margin: 0; }
.car-specs { color: var(--muted-2); font-size: .86rem; line-height: 1.5; margin: 0; }
.car-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.car-price { font-family: var(--font-disp); font-weight: 700; font-size: 1.45rem; color: #fff; }
.car-pricenote { color: var(--muted-3); font-size: .78rem; }
.car-actions { display: flex; gap: 10px; margin-top: 8px; }
.car-sold { margin-top: 8px; padding: 12px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,.12); color: var(--muted-2); font-weight: 600; font-size: .9rem; text-align: center; }

/* ---------- CTA band "не нашли модель" ---------- */
.band { position: relative; padding: 0 24px 80px; z-index: 2; }
.band-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto; padding: 52px; border-radius: 24px;
  background: linear-gradient(120deg, rgba(139,92,255,.2), rgba(255,95,180,.08));
  border: 1px solid rgba(139,92,255,.3);
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; overflow: hidden;
}
.band-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 120% at 90% 50%, rgba(255,95,180,.16), transparent 60%); }
.band-text { position: relative; }
.band-title { font-size: clamp(1.5rem, 3.4vw, 2rem); color: #fff; letter-spacing: -.01em; margin: 0 0 10px; }
.band-sub { font-size: 1.05rem; color: var(--band-sub); margin: 0; max-width: 520px; }
.band .btn-lg { position: relative; padding: 17px 40px; font-size: 1.02rem; box-shadow: 0 14px 44px -10px rgba(139,92,255,.6); flex: 0 0 auto; }
.band .btn-lg:hover { box-shadow: 0 18px 52px -10px rgba(139,92,255,.9); }

/* ---------- benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px; align-items: stretch; }
.num-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.num-item { display: flex; gap: 16px; align-items: flex-start; }
.num-idx { flex: 0 0 auto; font-family: var(--font-disp); font-weight: 700; font-size: 1.05rem; color: var(--violet); width: 30px; }
.num-title { display: block; font-family: var(--font-disp); font-size: 1.05rem; color: var(--text); font-weight: 600; }
.num-desc { display: block; color: var(--muted-2); font-size: .94rem; margin-top: 4px; line-height: 1.55; }
.media-panel {
  min-height: 480px; border-radius: 20px; border: 1px solid var(--border-in); overflow: hidden;
  background: radial-gradient(90% 80% at 50% 30%, rgba(163,92,255,.2), transparent 65%), linear-gradient(180deg, #1a1230, #120c22);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 20px 60px -26px rgba(163,92,255,.7);
}
.media-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.media-icon { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(196,181,253,.4); display: flex; align-items: center; justify-content: center; color: var(--violet-soft); font-size: 1.4rem; }
.media-note { color: var(--note); font-size: .85rem; letter-spacing: .03em; }

/* ---------- guarantees + form ---------- */
.guarantees-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 56px; align-items: center; }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; margin-top: 2px; }
.check-title { display: block; font-family: var(--font-disp); font-size: 1.02rem; color: var(--text); font-weight: 600; }
.check-desc { display: block; color: var(--muted-2); font-size: .92rem; margin-top: 2px; line-height: 1.55; }
.lead-card {
  scroll-margin-top: 84px;
  background: linear-gradient(180deg, rgba(28,22,44,.92), rgba(18,13,32,.92));
  border: 1px solid rgba(139,92,255,.22); border-radius: 20px; padding: 28px 24px;
  box-shadow: 0 30px 80px -30px rgba(139,92,255,.5);
}
.lead-title { font-family: var(--font-disp); font-weight: 600; font-size: 1.2rem; margin: 0 0 6px; color: #fff; }
.lead-text { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.form-modes { display: flex; gap: 6px; background: rgba(255,255,255,.04); border: 1px solid rgba(139,92,255,.16); border-radius: 12px; padding: 4px; }
.form-mode { flex: 1; font-weight: 600; font-size: 13.5px; color: var(--muted-2); background: transparent; border: 0; border-radius: 8px; padding: 9px 8px; cursor: pointer; transition: all .18s; }
.form-mode.is-active { color: #fff; background: var(--grad-primary); }
.field { display: flex; flex-direction: column; }
.field input, .field textarea, .field select, .lead-form input, .lead-form textarea, .lead-form select {
  width: 100%; font-size: 16px; color: var(--text); background: var(--input-bg);
  border: 1px solid var(--border-in); border-radius: 11px; padding: 13px 15px;
}
.lead-form textarea { resize: vertical; min-height: 78px; line-height: 1.45; padding: 13px 14px; }
.lead-form select { padding: 13px 14px; }
.field.has-error input, .field.has-error textarea { border-color: #ff6b8b; }
.field-error { color: #ff8fa3; font-size: 12px; margin-top: 5px; }
.btn-submit { width: 100%; padding: 15px; border-radius: 11px; background: var(--grad-pink); color: #fff; font-weight: 600; font-size: 1rem; border: 0; cursor: pointer; box-shadow: 0 12px 34px -12px rgba(255,95,180,.6); transition: transform .18s, box-shadow .3s; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 42px -12px rgba(255,95,180,.85); }
.btn-submit:disabled { opacity: .7; cursor: default; transform: none; }
.form-trust { color: var(--muted-3); font-size: 12.5px; margin: 14px 0 0; text-align: center; }
/* кнопка WhatsApp (зелёная, с иконкой) */
.btn-wa { display: flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none;
  background: linear-gradient(135deg, #25d366, #12a150); color: #fff;
  box-shadow: 0 12px 34px -12px rgba(37,211,102,.6); }
.btn-wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 42px -12px rgba(37,211,102,.9); }
.btn-wa .wa-ico { flex: 0 0 auto; }
.lead-wa .lead-text { margin-bottom: 20px; }

/* ---------- reviews ---------- */
.review-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.review-card { background: var(--panel); border: 1px solid rgba(139,92,255,.22); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 14px 50px -24px rgba(163,92,255,.6); }
.rv-photo { width: 100%; height: 260px; overflow: hidden; background: radial-gradient(circle at 50% 38%, rgba(163,92,255,.4), rgba(93,123,255,.12)); }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.stars { color: var(--star); letter-spacing: 2px; font-size: .9rem; }
.rv-text { font-size: .9rem; color: var(--review-text); font-style: italic; line-height: 1.55; margin: 0; flex: 1; }
.review-meta { display: flex; flex-direction: column; margin-top: auto; }
.rv-name { font-family: var(--font-disp); font-weight: 600; font-size: .9rem; color: var(--text); }
.rv-car { color: var(--muted-3); font-size: .8rem; }
.marquee { margin-top: 26px; overflow: hidden; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: vmarq 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.rv-mini { flex: 0 0 auto; width: 300px; background: var(--panel); border: 1px solid rgba(139,92,255,.22); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 12px 44px -24px rgba(163,92,255,.6); }
.rv-mini .rv-text { flex: 1; font-size: .92rem; line-height: 1.5; }
@keyframes vmarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- FAQ (аккордеон: открыт только один вопрос) ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  transition: border-color .3s, box-shadow .3s; }
.faq-item.is-open { border-color: rgba(163,92,255,.55); box-shadow: 0 14px 44px -24px rgba(163,92,255,.7); }
.faq-h { margin: 0; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-disp); font-weight: 600; font-size: 1.02rem; color: var(--text);
  transition: background .3s, color .3s; }
.faq-q:hover { background: rgba(167,139,250,.07); color: #fff; }
.faq-q:focus-visible { outline: 2px solid var(--violet); outline-offset: -2px; }
.faq-ico { position: relative; flex: 0 0 auto; width: 20px; height: 20px; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--violet); border-radius: 2px;
  transition: transform .3s, opacity .3s; }
.faq-ico::before { top: 9px; left: 1px; width: 18px; height: 2px; }
.faq-ico::after  { top: 1px; left: 9px; width: 2px; height: 18px; }
.faq-item.is-open .faq-ico::after { transform: rotate(90deg); opacity: 0; }   /* + превращается в - */
.faq-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: .96rem; line-height: 1.6; }

/* ---------- страница "Документы и сертификаты" ---------- */
.docs-section .section-head { max-width: 760px; }
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 22px; }
.docs-card { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 24px;
  box-shadow: 0 14px 50px -26px rgba(163,92,255,.6); }
.docs-h { font-family: var(--font-disp); font-size: 1.15rem; color: #fff; margin: 0 0 16px; }
.docs-dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.docs-dl > div { display: flex; flex-direction: column; gap: 3px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.docs-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.docs-dl dt { color: var(--muted-3); font-size: .8rem; }
.docs-dl dd { margin: 0; color: var(--text); font-size: .98rem; font-weight: 600; overflow-wrap: anywhere; }
.caen-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.caen-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.caen-code { flex: 0 0 auto; min-width: 56px; text-align: center; font-family: var(--font-disp); font-weight: 700;
  font-size: .8rem; color: #fff; background: var(--grad-primary); border-radius: 100px; padding: 5px 8px; }
.docs-files-h { margin: 48px 0 22px; }
.certs { display: flex; flex-direction: column; align-items: center; gap: 44px; }
.cert { width: 100%; max-width: 880px; }
.cert-title { font-family: var(--font-disp); font-weight: 600; font-size: 1.05rem; color: var(--text); margin: 0 0 14px; }
.cert-img { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 20px 60px -28px rgba(163,92,255,.7); }
.cert-img img { display: block; width: 100%; height: auto; }
.docs-back { margin: 44px 0 0; text-align: center; }
.docs-back a { font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid rgba(139,92,255,.12); padding: 48px 0 28px; position: relative; z-index: 2; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.footer-brand img { height: 30px; margin-bottom: 12px; display: block; }
.footer-tagline { color: var(--muted-2); font-size: .95rem; max-width: 320px; margin: 0; }
.footer-contacts h4 { font-family: var(--font-disp); font-size: .95rem; margin: 0 0 12px; color: var(--text); font-weight: 600; }
.footer-contacts a, .footer-contacts span { display: block; color: var(--muted-2); font-size: .92rem; margin-bottom: 7px; }
.footer-bottom { max-width: var(--maxw); margin: 28px auto 0; padding: 20px 24px 0; border-top: 1px solid rgba(139,92,255,.12); color: var(--muted-3); font-size: .82rem; }

/* ---------- sticky CTA ---------- */
.sticky-cta {
  position: fixed; right: 24px; bottom: 26px; z-index: 70; width: 236px; padding: 20px 18px;
  border: 1px solid var(--border-in); border-radius: 18px;
  background: linear-gradient(180deg, rgba(29,22,44,.96), rgba(17,12,29,.96));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -22px rgba(139,92,255,.7); text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .25s, transform .25s, visibility .25s;
}
.sticky-cta.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.sticky-text { font-family: var(--font-disp); font-weight: 600; font-size: 1.02rem; margin-bottom: 14px; color: #fff; line-height: 1.35; }
.sticky-btn { width: 100%; padding: 12px; border-radius: 100px; }

/* ---------- thanks modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5,3,10,.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.is-open { display: flex; }
.modal-box { max-width: 420px; width: 100%; padding: 36px 28px; text-align: center; background: linear-gradient(180deg, rgba(29,22,44,.96), rgba(18,13,32,.96)); border: 1px solid var(--border-in); border-radius: 20px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.7); }
.modal-check { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--grad-primary); box-shadow: 0 12px 30px -8px rgba(139,92,255,.6); }
.modal-title { font-family: var(--font-disp); font-size: 1.6rem; margin: 0 0 10px; color: #fff; }
.modal-text { color: var(--muted); margin: 0; }
.modal-close { margin-top: 22px; width: 100%; padding: 14px; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 600; border: 1px solid rgba(196,181,253,.3); cursor: pointer; transition: color .18s, border-color .18s; }
.modal-close:hover { color: #fff; border-color: #fff; }

/* ---------- responsive ---------- */
@media (min-width: 961px) {
  .drawer, .drawer-overlay { display: none; }        /* на компьютере бокового меню нет */
}
@media (max-width: 1100px) {
  .main-nav { gap: 16px; margin-left: 18px; }
  .main-nav a { font-size: 13px; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }                        /* меню уезжает в бургер */
  .header-right .lang-switch { display: none; }       /* языки - в боковом меню */
  .header-wa { display: none; }                       /* WhatsApp - в боковом меню и в sticky */
  .burger { display: flex; }
}
@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .benefits-grid, .guarantees-grid { gap: 36px; }
  .band-inner { padding: 36px 28px; }
}
@media (max-width: 560px) {
  .wrap, .site-header-inner, .hero-inner, .footer-inner, .footer-bottom { padding-left: 18px; padding-right: 18px; }
  .header-right .lang-btn { padding: 6px 7px; font-size: 11px; }
  .hero-inner { padding-top: 40px; padding-bottom: 40px; }
  .stat { padding: 2px 18px; }
  .band { padding: 0 18px 60px; }
  .band-inner { padding: 28px 22px; }
  .sticky-cta { right: 14px; left: 14px; bottom: 14px; width: auto; }
}
/* на телефоне 3 цифры в ряд: сетка + приставка отдельной строкой */
@media (max-width: 640px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 2px 10px; text-align: center; }
  .stat:first-child { padding-left: 0; }
  .stat-n { font-size: clamp(1.55rem, 6.5vw, 2rem); }
  .stat-n.has-pre { flex-direction: column; gap: 1px; }
  .stat-n.has-pre .stat-pre { margin-right: 0; font-size: .44em; text-align: center; }
  .stat-l { font-size: .76rem; line-height: 1.25; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .btn, .car-card, .btn-submit { transition: none; }
  .faq-panel, .faq-q, .faq-item, .faq-ico::before, .faq-ico::after, .drawer, .drawer-overlay { transition: none; }
}

/* ---------- доступность / отклик по нажатию ---------- */
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 10px 16px; border-radius: 8px;
  background: var(--violet-2); color: #fff; font-weight: 600; transition: top .18s; }
.skip-link:focus { top: 12px; color: #fff; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
.lang-btn { min-height: 34px; }
.drawer-lang { gap: 5px; }
.drawer-lang .lang-btn { padding: 9px 13px; font-size: 13px; min-height: 40px; }
.btn:active, .btn-submit:active, .btn-wa:active { transform: translateY(0) scale(.98); }
.lang-btn:active, .faq-q:active, .drawer-nav a:active { opacity: .8; }
[inert] { pointer-events: none; }
