/* ============================================================
   KING ELECTRIC CARS — Design System
   Dark cinematic luxury automotive. Red / carbon / white.
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=general-sans@400,500,600,700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* palette */
  --ink:        #0a0a0b;
  --ink-1:      #0e0e11;
  --ink-2:      #141418;
  --ink-3:      #1a1a1f;
  --ink-4:      #212128;
  --line:       rgba(255,255,255,.08);
  --line-2:     rgba(255,255,255,.14);
  --line-3:     rgba(255,255,255,.22);

  --white:      #f5f6f8;
  --muted:      #a2a3ab;
  --muted-2:    #8b8c94;

  --red:        #e11d2a;
  --red-bright: #ff2a38;
  --red-600:    #c11320;
  --red-tint:   rgba(225,29,42,.14);
  --red-glow:   rgba(225,29,42,.45);

  --paper:      #f3f4f6;
  --paper-ink:  #14141a;

  /* type */
  --font-display: 'Clash Display', ui-sans-serif, system-ui, sans-serif;
  --font-sans:    'General Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* spacing / layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 148px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  /* motion */
  --e-out: cubic-bezier(.16,1,.3,1);
  --e-in-out: cubic-bezier(.65,.05,.36,1);
  --dur: .6s;

  /* effects */
  --shadow-card: 0 24px 60px -28px rgba(0,0,0,.85);
  --shadow-red: 0 18px 44px -18px var(--red-glow);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
}

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

::selection { background: var(--red); color: #fff; }

/* grain texture on the whole page (lightweight, no blend-mode recomposite) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  opacity: .04;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -.01em; }
.display {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.9rem, 8.5vw, 7rem);
  line-height: .94; letter-spacing: -.025em;
  text-transform: uppercase;
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.02em; }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--muted); line-height: 1.55; }
.tnum { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .72rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--red-bright);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.eyebrow.muted { color: var(--muted); }
.eyebrow.muted::before { background: linear-gradient(90deg, var(--muted), transparent); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); z-index: 2; scroll-margin-top: 88px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: var(--pad-y) var(--pad-x);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border-radius: 100px; position: relative; overflow: hidden;
  transition: transform .3s var(--e-out), background .3s var(--e-out), box-shadow .3s var(--e-out), color .3s var(--e-out), border-color .3s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--e-out); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 22px 50px -16px var(--red-glow); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--white); background: rgba(255,255,255,.02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { --pad-y: 11px; --pad-x: 18px; font-size: .86rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--white); transition: gap .3s var(--e-out), color .3s; }
.link-arrow svg { width: 16px; transition: transform .3s var(--e-out); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--e-out), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; }
.brand__word span { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 15px; font-size: .92rem; font-weight: 500; color: var(--muted);
  border-radius: 100px; position: relative; transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--e-out);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* language toggle */
.lang {
  display: inline-flex; align-items: center; border: 1px solid var(--line-2);
  border-radius: 100px; padding: 3px; background: rgba(255,255,255,.02); position: relative;
}
.lang button { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; font-size: .78rem; font-weight: 600; border-radius: 100px; color: var(--muted); letter-spacing: .04em; transition: color .3s; z-index: 1; }
.lang button.active { color: #fff; }
.lang__pill { position: absolute; top: 3px; bottom: 3px; width: calc(50% - 3px); border-radius: 100px; background: var(--red); transition: transform .35s var(--e-out); z-index: 0; }
.lang[data-active="en"] .lang__pill { transform: translateX(100%); }

.header__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 6px; font-weight: 600; font-size: .9rem; }
.header__phone svg { width: 16px; color: var(--red); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--e-out), opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(8,8,10,.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 90px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .4s var(--e-out), transform .4s var(--e-out), visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; color: var(--white); padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .25s, padding-left .3s var(--e-out); }
.mobile-menu a:hover { color: var(--red); padding-left: 10px; }
.mobile-menu__foot { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-top: clamp(112px, 15vh, 150px); padding-bottom: clamp(40px, 6vw, 76px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.08); will-change: transform; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.15) 30%, rgba(10,10,11,.55) 62%, var(--ink) 99%),
    linear-gradient(90deg, rgba(10,10,11,.86) 0%, rgba(10,10,11,.4) 46%, rgba(10,10,11,.12) 100%);
}
.hero__grid { position: absolute; inset: 0; z-index: 1; opacity: .22;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 84px 84px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%); }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { margin-bottom: 22px; }
.hero__title { font-size: clamp(2.5rem, 6.4vw, 5.4rem); line-height: .94; max-width: 18ch; }
.hero__title .accent { color: var(--red); -webkit-text-stroke: 0; }
.hero__sub { max-width: 46ch; margin-top: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(44px, 6vw, 70px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.hero__stat { background: rgba(14,14,17,.6); backdrop-filter: blur(8px); padding: 22px 24px; }
.hero__stat b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.6rem); display: block; line-height: 1; }
.hero__stat b .u { font-size: .5em; color: var(--red); margin-left: 2px; }
.hero__stat > span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; margin-top: 8px; display: block; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-2); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid var(--line-3); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 6px; border-radius: 3px; background: var(--red); animation: scrollDot 1.7s var(--e-in-out) infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} 100%{opacity:0} }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink-1); overflow: hidden; padding-block: 20px; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 18px; font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.marquee__item svg { width: 16px; color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature (in stock) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.feature-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--ink-2); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; transition: transform .5s var(--e-out), border-color .5s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.feature-card__img { position: absolute; inset: 0; z-index: -1; }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--e-out); }
.feature-card:hover .feature-card__img img { transform: scale(1.05); }
.feature-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.1) 0%, rgba(10,10,11,.35) 45%, rgba(10,10,11,.94) 100%); }
.feature-card__body { padding: clamp(24px, 3vw, 38px); position: relative; }
.feature-card__badge { position: absolute; top: clamp(20px,3vw,30px); left: clamp(24px,3vw,38px); z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 100px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge-stock { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.badge-soon { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,.6)} 70%{box-shadow:0 0 0 8px rgba(255,255,255,0)} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0)} }
.feature-card__brand { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.feature-card__name { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); text-transform: uppercase; margin-top: 4px; }
.feature-card__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.feature-card__price small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.feature-card__price b { font-family: var(--font-display); font-size: clamp(1.6rem,2.6vw,2.2rem); }
.feature-card__specs { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.spec-mini b { font-family: var(--font-display); font-size: 1.2rem; display: block; }
.spec-mini span { font-size: .72rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- Model grid ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 40px; }
.filters__sep { width: 1px; height: 26px; background: var(--line-2); margin-inline: 6px; flex-shrink: 0; }
/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.3; transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px;
  margin-top: -7px; border-right: 2px solid var(--red-bright); border-bottom: 2px solid var(--red-bright);
  transform: rotate(45deg); transition: transform .3s var(--e-out);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item summary:hover { color: var(--red-bright); }
.faq__item p { color: var(--muted); line-height: 1.65; padding: 0 clamp(0px, 4vw, 60px) 24px 0; max-width: 78ch; margin-top: -4px; }

.models-more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
.models-more__count { font-size: .86rem; color: var(--muted-2); letter-spacing: .02em; }
@media (max-width: 640px) { .filters__sep { display: none; } }
.filter-chip { padding: 12px 18px; min-height: 44px; border-radius: 100px; border: 1px solid var(--line-2); font-size: .86rem; font-weight: 500; color: var(--muted); transition: all .3s var(--e-out); }
.filter-chip:hover { color: var(--white); border-color: var(--line-3); }
.filter-chip.active { background: var(--white); color: var(--ink); border-color: var(--white); }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.model-card {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--ink-2); display: flex; flex-direction: column;
  transition: transform .5s var(--e-out), border-color .5s, box-shadow .5s;
}
.model-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow-card); }
.model-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0d0d10; }
.model-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--e-out); }
.model-card:hover .model-card__media img { transform: scale(1.06); }
.model-card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.model-card__price { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 7px 12px; border-radius: 100px; background: rgba(10,10,11,.7); backdrop-filter: blur(8px); border: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 600; font-size: .92rem; }
.model-card__over { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 16px; background: linear-gradient(180deg, transparent, rgba(10,10,11,.86)); transform: translateY(101%); transition: transform .45s var(--e-out); }
.model-card:hover .model-card__over,
.model-card:focus-within .model-card__over { transform: none; }
/* Touch devices have no hover. Rather than pinning a heavy red bar over every
   photo, hide the overlay — the image and the title are both links to the model
   page, and the WhatsApp CTA below stays visible. */
@media (hover: none) { .model-card__over { display: none; } }
.model-card__over .btn { width: 100%; }
.model-card__body { padding: 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.model-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.model-card__brand { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.model-card__name { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; margin-top: 2px; line-height: 1; }
.model-card__type { font-size: .72rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.spec-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 10px; margin-top: auto; }
.spec {
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: rgba(255,255,255,.015);
  display: flex; flex-direction: column; gap: 3px;
}
.spec > span { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); display: inline-flex; align-items: center; gap: 5px; }
.spec > span svg { width: 12px; color: var(--muted); opacity: .75; }
.spec b { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; }
.spec b .u { font-size: .62em; color: var(--muted); font-weight: 500; margin-left: 2px; }

/* ---------- Flagship ---------- */
.flagship { position: relative; overflow: hidden; }
.flagship__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,4vw,64px); align-items: center; }
.flagship__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 100% at 60% 20%, #1a1a20, #0b0b0e); }
.flagship__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }
.flagship__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(80% 60% at 30% 90%, var(--red-tint), transparent 60%); pointer-events: none; }
.flagship__glow { position: absolute; width: 60%; height: 60%; right: -10%; top: -10%; background: radial-gradient(circle, var(--red-glow), transparent 68%); filter: blur(40px); opacity: .5; z-index: 0; }
.flagship__body .h2 { margin: 16px 0 20px; }
.flagship__list { display: flex; flex-direction: column; gap: 2px; margin: 30px 0; border-top: 1px solid var(--line); }
.flagship__list li { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.flagship__list li svg { width: 20px; color: var(--red); flex-shrink: 0; }
.flagship__list li b { font-weight: 600; }
.flagship__list li span { color: var(--muted); font-size: .95rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.why-card { background: var(--ink-1); padding: clamp(26px,3vw,38px) clamp(22px,2.4vw,30px); position: relative; transition: background .4s; }
.why-card:hover { background: var(--ink-3); }
.why-card__icon { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--red); margin-bottom: 22px; background: var(--red-tint); }
.why-card__icon svg { width: 24px; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.why-card p { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.why-card__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-size: .8rem; color: var(--muted-2); letter-spacing: .1em; }

/* ---------- Range chart ---------- */
.range { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,3.4vw,44px); }
.range__cap { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-bright); font-weight: 600; margin-bottom: 18px; }
.range__list { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.range__row { display: grid; grid-template-columns: 172px 1fr 64px; align-items: center; gap: 18px; }
.range__label { font-weight: 500; font-size: .95rem; }
.range__label small { display: block; color: var(--muted-2); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.range__track { height: 12px; border-radius: 100px; background: rgba(255,255,255,.05); overflow: hidden; position: relative; }
.range__fill { height: 100%; border-radius: 100px; width: 0; background: linear-gradient(90deg, var(--red-600), var(--red-bright)); transition: width 1.2s var(--e-out); box-shadow: 0 0 16px -2px var(--red-glow); }
.range__val { font-family: var(--font-display); font-weight: 600; text-align: right; }
.range__val .u { font-size: .64em; color: var(--muted); }
.range__foot { margin-top: 26px; font-size: .8rem; color: var(--muted-2); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px,2.4vw,28px); counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 2px solid var(--line-2); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 3.4rem; color: transparent; -webkit-text-stroke: 1.4px var(--line-3); line-height: 1; display: block; margin-bottom: 20px; transition: -webkit-text-stroke-color .4s, color .4s; }
.step:hover { border-top-color: var(--red); }
.step:hover::before { color: var(--red); -webkit-text-stroke-color: var(--red); }
.step h3 { font-size: 1.24rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -1; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,.92), rgba(8,8,10,.55) 70%, rgba(8,8,10,.3)); }
.cta-band__inner { padding: clamp(44px,6vw,88px) clamp(28px,5vw,72px); max-width: 640px; }
.cta-band .h2 { margin: 18px 0 22px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,4vw,56px); }
.form { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px;
  color: var(--white); font-size: 1rem; transition: border-color .3s, background .3s; min-height: 52px;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); background: var(--ink-3); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23a2a3ab' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .8rem; color: var(--muted-2); }

.contact-info { display: flex; flex-direction: column; gap: 4px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item:first-child { padding-top: 0; }
.info-item__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--red-tint); border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); flex-shrink: 0; }
.info-item__icon svg { width: 20px; }
.info-item small { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.info-item b, .info-item a { font-weight: 600; font-size: 1.05rem; }
/* contact links are primary tap targets on mobile */
.info-item a { display: inline-flex; align-items: center; min-height: 44px; }
.info-item a:hover { color: var(--red); }
.contact-map { margin-top: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
.contact-map iframe { width: 100%; height: clamp(300px, 42vw, 440px); border: 0; display: block; filter: invert(0.92) hue-rotate(180deg) saturate(0.85) contrast(0.92); }
.contact-map__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px clamp(18px,2.4vw,26px); border-top: 1px solid var(--line); background: var(--ink-1); }
.contact-map__bar span { color: var(--muted); font-size: .9rem; max-width: 62ch; }
.contact-map__bar .link-arrow { min-height: 44px; }

.socials { display: flex; gap: 12px; margin-top: 26px; }
.socials a { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--white); transition: all .3s var(--e-out); }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.socials a svg { width: 20px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--ink-1); position: relative; z-index: 2; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px,6vw,80px); }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.footer h3 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.footer__col a { display: block; padding: 9px 0; color: var(--muted); font-size: .95rem; transition: color .25s, padding-left .25s var(--e-out); }
.footer__col a:hover { color: var(--white); padding-left: 6px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .84rem; }
.footer__bottom .flag { display: inline-flex; align-items: center; gap: 8px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); z-index: 200; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 100px; padding: 13px 22px; display: flex; align-items: center; gap: 10px; font-size: .9rem; box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transition: opacity .35s var(--e-out), transform .35s var(--e-out), visibility .35s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 18px; color: var(--red); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--e-out), transform .8s var(--e-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track, .badge-dot, .scroll-cue .mouse::after { animation: none !important; }
  .hero__bg img { transform: none !important; }
}

/* ---------- Model detail page ---------- */
.mp-top { padding-top: 110px; }
.mp-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: .9rem; font-weight: 500; margin-bottom: 18px; transition: color .25s, gap .25s var(--e-out); }
.mp-back svg { width: 16px; transform: rotate(180deg); }
.mp-back:hover { color: var(--white); gap: 11px; }

.mp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.5vw, 40px); }
.mp-head__brand { font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mp-head__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .95; text-transform: uppercase; letter-spacing: -.02em; }
.mp-head__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mp-head__type { font-size: .8rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 100px; }

.mp-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 3vw, 40px); align-items: start; }

.gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); aspect-ratio: 16 / 10; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--e-out); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery__thumb { border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); background: var(--ink-2); aspect-ratio: 4/3; padding: 0; cursor: pointer; transition: border-color .25s, transform .3s var(--e-out); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb:hover { transform: translateY(-2px); border-color: var(--line-3); }
.gallery__thumb.active { border-color: var(--red); }

.mp-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.mp-panel { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 30px); }
.mp-panel h2 { font-size: 1.15rem; margin-bottom: 16px; }
.mp-price-note { color: var(--muted); font-size: .92rem; line-height: 1.55; margin-top: 12px; }
.mp-price-from { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.mp-panel .btn { width: 100%; margin-top: 16px; }
.mp-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.mp-section { margin-top: clamp(48px, 7vw, 88px); }
.mp-section > h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 22px; }
.spec-table { border-top: 1px solid var(--line); }
.spec-table__row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.spec-table__row dt { color: var(--muted); font-size: .92rem; }
.spec-table__row dd { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; text-align: right; }
.spec-table__row dd .u { font-size: .72em; color: var(--muted); font-weight: 500; margin-left: 3px; }
.spec-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.spec-col h3 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-bright); font-family: var(--font-sans); font-weight: 600; margin-bottom: 10px; }
.mp-note { margin-top: 20px; font-size: .8rem; color: var(--muted-2); }

.video-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.mp-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.mp-highlights li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.mp-highlights li svg { width: 18px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

.wa-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,11,.85); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: none; }
.wa-bar .btn { width: 100%; }
@media (max-width: 960px) {
  .mp-grid { grid-template-columns: 1fr; }
  .mp-side { position: static; }
  .spec-cols { grid-template-columns: 1fr; }
  .mp-highlights { grid-template-columns: 1fr; }
  .wa-bar { display: block; }
  body.has-wa-bar { padding-bottom: 84px; }
}
/* keep all 5 thumbs on one row on phones — 4 columns left an orphan */
@media (max-width: 520px) {
  .gallery__thumbs { gap: 7px; }
}

.model-card__wa { font-size: .88rem; margin-top: 2px; min-height: 44px; align-items: center; }
.model-card__wa svg { width: 16px; }
.model-card__name a { color: inherit; display: inline-block; padding: 8px 0; }
.model-card__name a:hover { color: var(--red-bright); }

/* ---------- Focus & skip link ---------- */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 200; background: var(--red); color: #fff; padding: 12px 20px; border-radius: 10px; font-weight: 600; box-shadow: var(--shadow-red); transition: top .25s var(--e-out); }
.skip-link:focus { top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .header__phone { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  /* below this width the hero stats reach the bottom of the viewport and the
     scroll cue would sit on top of them */
  .scroll-cue { display: none; }
  .burger { display: flex; }
  .models { grid-template-columns: repeat(2, 1fr); }
  .flagship__inner { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .range__row { grid-template-columns: 128px 1fr 56px; gap: 12px; }
}
@media (max-width: 720px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 100svh; }
  .why-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .models { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .range__row { grid-template-columns: 96px 1fr 48px; }
  .range__label small { display: none; }
  .lang { order: -1; }
}
