/* Geely UZ — Brand-aligned redesign v2
   Palette: Geely Cosmos Blue + Seagull accent + graphite + pure white.
   Type: Montserrat (single family, weights 300-800).
*/

:root {
  /* Brand */
  --gee-blue:        #002F87;   /* Geely Cosmos Blue */
  --gee-blue-2:      #003E9F;
  --gee-blue-deep:   #001F5C;
  --gee-seagull:     #79C6EF;   /* Geely Seagull accent */
  --gee-seagull-2:   #4FB1E5;
  --gee-silver:      #B2B7B0;   /* Geely Snow / Silver */

  /* Surfaces */
  --bg:        #0A1024;        /* near-black blue */
  --bg-2:      #0F1A3A;
  --bg-3:      #16244C;
  --ink:       #0A1024;
  --ink-2:     #243056;

  --paper:     #FFFFFF;
  --paper-2:   #F4F6FA;        /* very pale blue-grey, NOT cream */
  --paper-3:   #E7ECF3;
  --paper-4:   #D6DCE6;

  --mute:      #5C6478;
  --mute-2:    #8B92A3;
  --mute-3:    rgba(255,255,255,.62);
  --mute-4:    rgba(255,255,255,.42);

  --line:        #1B274D;
  --line-soft:   rgba(10,16,36,.10);
  --line-softer: rgba(10,16,36,.06);
  --line-d:      rgba(255,255,255,.10);
  --line-d-2:    rgba(255,255,255,.18);

  --accent:      var(--gee-blue);
  --accent-2:    var(--gee-blue-2);
  --accent-soft: #E6EDF8;
  --hot:         #E84A2A;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 44px;

  --shadow-sm: 0 1px 2px rgba(10,16,36,.06), 0 4px 14px rgba(10,16,36,.08);
  --shadow-md: 0 12px 36px rgba(10,16,36,.12);
  --shadow-cta: 0 12px 28px rgba(0,47,135,.32);

  --max: 1360px;

  /* Type rhythm — single family */
  --font-base: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace; /* used very sparingly for numbers */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--paper); color: var(--ink); }
body {
  margin: 0;
  font-family: var(--font-base);
  font-feature-settings: "ss01";
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gee-blue); outline-offset: 3px; border-radius: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }

/* ============ TYPE ============ */
h1, h2, h3, h4 { font-family: var(--font-base); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }

.t-display-xl { font-size: clamp(40px, 5.4vw, 88px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
.t-display-l  { font-size: clamp(36px, 5.4vw, 76px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
.t-display-m  { font-size: clamp(30px, 4.2vw, 56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
.t-h1 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.t-h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.t-h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.t-h4 { font-size: clamp(18px, 1.6vw, 20px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.t-lead { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: var(--mute); font-weight: 400; }
.t-body { font-size: 15px; line-height: 1.65; color: var(--ink-2); font-weight: 400; }
.t-small { font-size: 13px; line-height: 1.5; color: var(--mute); }
.t-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gee-blue);
}
.t-eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.t-eyebrow.is-dark { color: var(--gee-seagull); }
.t-eyebrow.is-mute { color: var(--mute); }
.t-num {
  font-family: var(--font-base);
  font-feature-settings: "tnum", "lnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.t-mono { font-family: var(--font-base); font-weight: 500; letter-spacing: 0.06em; font-feature-settings: "tnum","lnum"; font-variant-numeric: tabular-nums; }

/* ============ LAYOUT ============ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }
@media (max-width: 768px) { .section, .section-lg { padding: 64px 0; } }

.surface-paper { background: var(--paper); color: var(--ink); }
.surface-pale  { background: var(--paper-2); color: var(--ink); }
.surface-blue  { background: var(--gee-blue); color: #fff; }
.surface-blue-deep { background: var(--gee-blue-deep); color: #fff; }
.surface-dark  { background: var(--bg); color: #fff; }
.surface-dark-2{ background: var(--bg-2); color: #fff; }

/* ============ DIVIDER ============ */
.rule { height: 1px; background: var(--line-soft); }
.rule-d { height: 1px; background: var(--line-d); }
.rule-thick { height: 2px; background: var(--ink); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gee-blue); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--gee-blue-2); }
.btn-accent { background: var(--gee-blue); color: #fff; box-shadow: var(--shadow-cta); }
.btn-accent:hover { background: var(--gee-blue-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--gee-blue); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-soft); }
.btn-ghost:hover { border-color: var(--gee-blue); color: var(--gee-blue); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line-softer); }
.btn-light:hover { background: var(--paper-2); }
.btn-onDark { background: #fff; color: var(--gee-blue); }
.btn-onDark:hover { background: var(--paper-2); }
.btn-onDark-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.30); }
.btn-onDark-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-onDark-accent { background: var(--gee-seagull); color: var(--gee-blue-deep); font-weight: 700; }
.btn-onDark-accent:hover { background: #95D5F3; }
.btn-sq { border-radius: var(--r-sm); }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* ============ BADGES / TAGS ============ */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--ink);
  background: #fff;
}
.tag-blue { background: var(--gee-blue); color: #fff; border-color: transparent; }
.tag-seagull { background: var(--gee-seagull); color: var(--gee-blue-deep); border-color: transparent; }
.tag-hot    { background: var(--hot); color: #fff; border-color: transparent; }
.tag-dark   { background: rgba(255,255,255,.08); color: rgba(255,255,255,.92); border-color: var(--line-d); }
.tag-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ============ FORM FIELDS ============ */
.field {
  width: 100%;
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field::placeholder { color: var(--mute-2); }
.field:focus {
  outline: none;
  border-color: var(--gee-blue);
  box-shadow: 0 0 0 4px rgba(0,47,135,.10);
}
.field-dark {
  background: rgba(255,255,255,.06);
  border-color: var(--line-d);
  color: #fff;
}
.field-dark::placeholder { color: rgba(255,255,255,.45); }
.field-dark:focus {
  border-color: var(--gee-seagull);
  box-shadow: 0 0 0 4px rgba(121,198,239,.18);
}
.field-error { border-color: #DC2626 !important; box-shadow: 0 0 0 4px rgba(220,38,38,.12) !important; }

/* honeypot */
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* Autofill */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active,
select:-webkit-autofill, textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
  transition: background-color 99999s ease-out 0s;
}
.field-dark:-webkit-autofill, .field-dark:-webkit-autofill:hover, .field-dark:-webkit-autofill:focus, .field-dark:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-2) inset !important;
  box-shadow: 0 0 0 1000px var(--bg-2) inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
}

/* Lang switcher */
.lang-pill { display: inline-flex; gap: 0; border: 1px solid var(--line-soft); border-radius: 999px; padding: 3px; }
.lang-pill button {
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mute);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-pill button.active { background: var(--gee-blue); color: #fff; }
.lang-pill-dark { border-color: var(--line-d); }
.lang-pill-dark button { color: rgba(255,255,255,.55); }
.lang-pill-dark button.active { background: var(--gee-seagull); color: var(--gee-blue-deep); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-softer);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line-soft); background: rgba(255,255,255,.96); }
.site-header .row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 76px;
  position: relative;
}
.site-header nav { display: flex; align-items: center; gap: 26px; grid-column: 1; }
.site-header nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
.site-header nav a:hover { color: var(--gee-blue); }
.site-header nav a.is-active { color: var(--gee-blue); }
.site-header nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gee-blue);
}
.site-header .brand {
  display: inline-flex; align-items: center;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  pointer-events: auto; z-index: 1;
}
.site-header .brand img { height: 36px; width: auto; display: block; }
.site-header .right { display: flex; align-items: center; gap: 14px; justify-content: flex-end; grid-column: 3; }
@media (max-width: 1024px) {
  .site-header .row { grid-template-columns: auto 1fr auto; height: 64px; gap: 12px; }
  .site-header nav { display: none; }
  .site-header .brand img { height: 28px; }
  .site-header .right .phone-link { display: none; }
}

.menu-btn {
  display: none; width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line-soft);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
@media (max-width: 1024px) { .menu-btn { display: inline-flex; } }

.mobile-nav {
  position: fixed; inset: 0; z-index: 70;
  background: var(--paper);
  display: none;
  flex-direction: column;
  padding: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-nav .links { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.mobile-nav .links a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-base);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.015em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .links a::after { content: "→"; opacity: .4; font-size: 22px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg); color: var(--mute-3); padding: 40px 0 32px; }
.site-footer h4 { color: #fff; font-family: var(--font-base); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; }
.site-footer .col a { display: block; padding: 5px 0; color: rgba(255,255,255,.65); font-size: 14px; transition: color .15s ease; }
.site-footer .col a:hover { color: var(--gee-seagull); }
.site-footer .footer-brand { margin-bottom: 32px; }
.site-footer .grid { display: grid; gap: 48px; grid-template-columns: 1.3fr repeat(3, 1fr); }
@media (max-width: 900px) { .site-footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .site-footer .grid { grid-template-columns: 1fr; } }

/* ============ MARQUEE OFFER STRIP ============ */
.offer-strip {
  background: var(--gee-blue); color: #fff;
  overflow: hidden;
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 0;
  white-space: nowrap;
  position: relative;
}
.offer-strip .track { display: inline-block; animation: marquee 50s linear infinite; }
.offer-strip .track > span { padding: 0 28px; }
.offer-strip .track > span::before { content: "◆ "; color: var(--gee-seagull); margin-right: 12px; }
.offer-strip:hover .track { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============ HERO (brand) ============ */
.hero {
  position: relative;
  background: var(--gee-blue-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(121,198,239,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(0,62,159,.6) 0%, transparent 60%),
    linear-gradient(180deg, var(--gee-blue-deep) 0%, #060B1F 100%);
  z-index: 0;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  align-items: stretch;
  min-height: 680px;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .hero-stage { padding: 0 40px; }
}
@media (max-width: 1024px) {
  .hero-stage { grid-template-columns: 1fr; min-height: 0; }
  .rot-rail { display: none !important; }
}
.hero-text {
  padding: 56px 56px 40px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 32px;
  position: relative;
  min-width: 0;
}
@media (max-width: 768px) { .hero-text { padding: 64px 24px 32px; gap: 32px; } }
.hero-art {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img.car {
  position: relative;
  width: 110%;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.6));
}
.hero-art .price-card {
  position: absolute;
  left: 32px; bottom: 32px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(14px);
  border-radius: var(--r-md);
  padding: 18px 22px;
  color: #fff;
  z-index: 2;
}
.hero-art .pill-nav {
  position: absolute;
  right: 24px; bottom: 24px;
  display: flex; gap: 8px;
  z-index: 2;
}
.hero-art .pill-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.hero-art .pill-nav button:hover { background: rgba(255,255,255,.20); border-color: rgba(255,255,255,.4); }
.hero-art .modeldots {
  position: absolute;
  top: 24px; right: 24px;
  display: flex; gap: 6px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}
.hero-art .modeldots b { color: var(--gee-seagull); }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 28px;
  margin-top: 8px;
}
.hero-meta > div { padding-right: 12px; }
.hero-meta .num { font-family: var(--font-base); font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: #fff; }
.hero-meta .label { font-family: var(--font-base); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 10px; line-height: 1.4; font-weight: 500; }

/* hero side rotator dots */
.rot-rail {
  display: flex; flex-direction: column; gap: 12px;
  padding: 96px 0 56px 0;
  align-self: center;
  z-index: 3;
}
@media (max-width: 1024px) { .rot-rail { display: none; } }
.rot-rail button {
  background: transparent; border: 0; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 0 8px 14px;
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.4);
  border-left: 2px solid rgba(255,255,255,.16);
  transition: color .2s ease, border-color .2s ease;
}
.rot-rail button.active { color: #fff; border-color: var(--gee-seagull); }
.rot-rail button .name { font-family: var(--font-base); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: inherit; }

/* hero h1 spacing — prevent overlap */
.hero-text h1 { margin-top: 28px; }
.hero-text .lead { margin-top: 24px; max-width: 520px; }
.hero-text .actions { margin-top: 32px; }

/* ============ MODEL CARD (lineup) ============ */
.lineup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .lineup-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .lineup-grid { grid-template-columns: 1fr; } }

.modelcard {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.modelcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gee-blue); }
.modelcard .art {
  aspect-ratio: 16 / 11;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper-3) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.modelcard .art img {
  width: 96%;
  height: 96%;
  object-fit: contain;
}
.modelcard .body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.modelcard .name { font-family: var(--font-base); font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.modelcard .type { font-family: var(--font-base); font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--gee-blue); }
.modelcard .specrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-softer); border-bottom: 1px solid var(--line-softer); margin-top: auto; }
.modelcard .specrow .v { font-family: var(--font-base); font-size: 16px; font-weight: 700; letter-spacing: -.005em; color: var(--ink); }
.modelcard .specrow .l { font-family: var(--font-base); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--mute); margin-top: 4px; }
.modelcard .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.modelcard .price-from { font-family: var(--font-base); font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--mute); text-transform: uppercase; }
.modelcard .price-num { font-family: var(--font-base); font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.modelcard .price-num small { font-size: 12px; color: var(--mute); font-weight: 500; margin-left: 4px; }
.modelcard .ribbon {
  position: absolute; top: 16px; left: 16px;
  background: var(--gee-blue); color: #fff;
  font-family: var(--font-base);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 4px;
  z-index: 2;
}
.modelcard .ribbon.is-hot { background: var(--hot); }
.modelcard .ribbon.is-seagull { background: var(--gee-seagull); color: var(--gee-blue-deep); }

/* ============ SPEC TABLE ============ */
.spectable { width: 100%; border-collapse: collapse; }
.spectable th, .spectable td { padding: 18px 0; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spectable th { font-family: var(--font-base); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); width: 220px; }
.spectable td { font-family: var(--font-base); font-size: 17px; font-weight: 600; letter-spacing: -0.005em; }

/* ============ FAQ ============ */
.faq-list details { border-top: 1px solid var(--line-soft); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-soft); }
.faq-list summary {
  list-style: none; cursor: pointer;
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  font-family: var(--font-base);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600; letter-spacing: -.01em;
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex-shrink: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--line-soft); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--ink); transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq-list details[open] summary::after { content: "−"; background: var(--gee-blue); color: #fff; border-color: var(--gee-blue); transform: rotate(180deg); }
.faq-list .body { padding: 0 60px 28px 0; color: var(--mute); font-size: 15px; line-height: 1.65; max-width: 720px; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ FLOATING / MOBILE BAR ============ */
.float-chats { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 768px) { .float-chats { bottom: 80px; right: 14px; } }
.chat-fab { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 12px 28px rgba(10,16,36,.30); transition: transform .15s ease; }
.chat-fab:hover { transform: scale(1.06); }
.chat-tg { background: #229ED9; }
.chat-wa { background: #25D366; }
.chat-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-softer);
  z-index: 45;
  display: none;
  gap: 10px;
}
@media (max-width: 768px) { .mobile-bar { display: flex; } }
.mobile-bar .btn { flex: 1; }

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,16,36,.55);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 90;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  width: 100%; max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  animation: pop .22s cubic-bezier(.2,.7,.2,1);
}
@keyframes pop { from { opacity: 0; transform: scale(.98) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* ============ SUCCESS ============ */
.form-success { text-align: center; padding: 32px 16px; }
.form-success .check {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--accent-soft); color: var(--gee-blue);
  display: inline-flex; align-items: center; justify-content: center; font-size: 28px;
}

/* ============ SLIDER ============ */
input[type=range].brand-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--paper-3);
  border-radius: 999px; outline: none;
}
input[type=range].brand-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%; background: var(--gee-blue); border: 0; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,47,135,.30);
}
input[type=range].brand-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gee-blue); border: 0; cursor: pointer;
}
input[type=range].brand-range.on-dark {
  background: rgba(255,255,255,.16);
}
input[type=range].brand-range.on-dark::-webkit-slider-thumb {
  background: var(--gee-seagull);
  box-shadow: 0 4px 12px rgba(121,198,239,.30);
}
input[type=range].brand-range.on-dark::-moz-range-thumb { background: var(--gee-seagull); }

/* ============ MISC ============ */
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.fineprint { font-size: 12px; color: var(--mute); line-height: 1.5; }
.center { text-align: center; }
.muted { color: var(--mute); }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.two-col   { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .three-col, .two-col { grid-template-columns: 1fr; } }

/* ============ OFFER STRIP ON HERO (merged with hero block) ============ */
.offer-strip-onhero {
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  position: relative;
  z-index: 2;
}
.offer-strip-onhero .track span {
  color: rgba(255,255,255,.85);
}
.offer-strip-onhero .track span::before { color: var(--gee-seagull); }

/* ============ WHY GEELY (statement section, 2-col) ============ */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text { max-width: 640px; }
.why-brands {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}
.why-brands span {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mute);
  opacity: .55;
  transition: opacity .2s, color .2s;
}
.why-brands span:hover { opacity: 1; color: var(--ink); }
.why-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, #0F1530 0%, var(--gee-blue-deep) 100%);
}
.why-visual img {
  width: 100%; height: 100%; object-fit: cover; opacity: .85;
}
.why-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  min-width: 200px;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { aspect-ratio: 4/3; }
}

/* ============ FINAL CTA (test-drive form + image) ============ */
.final-cta {
  background: linear-gradient(160deg, var(--gee-blue-deep) 0%, #060B1F 100%);
  border-radius: var(--r-2xl);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.final-cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(0, 47, 135, .55) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(121, 198, 239, .15) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.final-cta-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.final-cta-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.final-cta-list li span:first-child {
  color: var(--gee-seagull);
  font-weight: 700;
  font-size: 18px;
}
.final-cta-car {
  margin-top: auto;
  padding-top: 24px;
  position: relative;
}
.final-cta-car img {
  width: 100%;
  max-width: 360px;
  max-height: 180px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.6));
}
.final-cta-form {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.final-cta-form-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--mute);
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .final-cta {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 32px;
  }
  .final-cta-car { display: none; }
  .final-cta-form { padding: 24px; }
}

/* ============ TECH FEATURE COMPOSITION (right column on dark tech section) ============ */
.tech-feature {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 47, 135, .55) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(121, 198, 239, .15) 0%, transparent 55%),
    linear-gradient(155deg, #0F1530 0%, #060B1F 100%);
  display: flex;
  flex-direction: column;
  padding: 40px;
  isolation: isolate;
}
.tf-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 60%, #000 0%, transparent 80%);
  z-index: 0;
}
.tf-glow {
  position: absolute; left: 50%; top: 38%; width: 90%; height: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(121,198,239,.25) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.tf-car {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 -16px;
}
.tf-car img {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
}
.tf-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.10);
}
.tf-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.tf-line span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--gee-seagull);
  font-weight: 600;
  min-width: 38px;
}
.tf-line b { font-weight: 500; color: rgba(255,255,255,.8); }
.tf-foot {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: #fff;
}
@media (max-width: 900px) {
  .tech-feature { aspect-ratio: 4/4; padding: 28px; }
  .tf-car img { max-width: 380px; }
}

/* ============ PAGE HERO ============ */
.page-hero { padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.page-hero-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-hero-counts > div .n { font-family: var(--font-base); font-size: clamp(36px, 4vw, 48px); font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.page-hero-counts > div .l { font-family: var(--font-base); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-top: 8px; }

/* ============ COMPARE TABLE ============ */
.compare-table-wrap { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 18px 24px; text-align: left; vertical-align: middle; font-family: var(--font-base); font-size: 14px; }
.compare-table thead th { vertical-align: bottom; padding: 32px 24px 24px; border-bottom: 1px solid var(--line); }
.compare-table thead th:first-child { background: var(--paper-2); }
.compare-table tbody tr { border-top: 1px solid var(--line-softer); }
.compare-table tbody tr:hover { background: var(--paper-2); }
.compare-table td:first-child { font-weight: 600; color: var(--mute); width: 30%; }
.compare-table td b { font-weight: 700; color: var(--ink); font-size: 16px; }
.compare-table .ct-img { width: 100%; aspect-ratio: 16/10; background: linear-gradient(180deg, var(--paper-2), var(--paper-3)); border-radius: 12px; display:flex; align-items:center; justify-content:center; margin-bottom: 16px; overflow: hidden; }
.compare-table .ct-img img { width: 90%; height: 90%; object-fit: contain; }
.compare-table .ct-name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.compare-table .ct-tag { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gee-blue); margin-top: 4px; }
@media (max-width: 800px) {
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 12px; }
  .compare-table .ct-name { font-size: 16px; }
}

/* ============ CROSS CARDS ============ */
.cross-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .cross-grid { grid-template-columns: 1fr; } }
.cross-card { display: block; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px; padding: 40px; text-decoration: none; color: var(--ink); transition: all .2s ease; position: relative; }
.cross-card:hover { transform: translateY(-3px); border-color: var(--gee-blue); box-shadow: var(--shadow-md); }
.cross-card h3 { font-family: var(--font-base); font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 16px 0 12px; }
.cross-card p { font-family: var(--font-base); font-size: 15px; color: var(--mute); margin: 0; max-width: 400px; }
.cross-card .arrow { position: absolute; top: 40px; right: 40px; font-size: 22px; color: var(--gee-blue); transition: transform .2s ease; }
.cross-card:hover .arrow { transform: translateX(6px); }


/* ============ TECH STORIES ============ */
.tech-story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; padding: 80px 0; border-top: 1px solid var(--line-softer); }
.tech-story:first-child { border-top: 0; padding-top: 0; }
.tech-story:last-child { padding-bottom: 0; }
@media (max-width: 900px) { .tech-story { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; } .tech-story-reverse .ts-img { order: 0; } }
.tech-story-reverse .ts-img { order: 1; }
.tech-story .ts-img { aspect-ratio: 4/3; background: linear-gradient(180deg, var(--paper-2), var(--paper-3)); border-radius: 16px; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.tech-story .ts-img img { width: 100%; height: 100%; object-fit: cover; }
.tech-story .t-num-tag { display: inline-block; font-family: var(--font-base); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--gee-blue); padding: 4px 0; border-bottom: 1px solid var(--gee-blue); margin-bottom: 28px; }
.tech-story .ts-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-softer); }
.tech-story .ts-stats > div b { display: block; font-family: var(--font-base); font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.tech-story .ts-stats > div b small { font-size: .55em; font-weight: 500; color: var(--mute); margin-left: 2px; }
.tech-story .ts-stats > div span { display: block; font-family: var(--font-base); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--mute); margin-top: 4px; line-height: 1.3; }

/* ============ SECTION-TIGHT (CTA strips) ============ */
.section-tight { padding: 64px 0; }
.surface-ink { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border: 1px solid var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }

/* ============ DEALER CARDS ============ */
.dealer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .dealer-grid { grid-template-columns: 1fr; } }
.dealer-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; transition: all .2s ease; }
.dealer-card:hover { border-color: var(--gee-blue); box-shadow: var(--shadow-md); }
.dealer-card .dc-num { font-family: var(--font-base); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--mute); padding: 32px 32px 0; }
.dealer-card .dc-name { font-family: var(--font-base); font-size: 28px; font-weight: 700; letter-spacing: -.02em; padding: 8px 32px 0; line-height: 1.15; }
.dealer-card .dc-info { padding: 24px 32px; display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; border-top: 1px solid var(--line-softer); margin-top: 24px; font-family: var(--font-base); font-size: 14px; }
.dealer-card .dc-info dt { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
.dealer-card .dc-info dd { margin: 0; color: var(--ink); }
.dealer-card .dc-info dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.dealer-card .dc-actions { padding: 0 32px 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ CONTACT BLOCKS ============ */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px; padding: 32px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; transition: all .2s ease; }
.contact-card:hover { border-color: var(--gee-blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card .cc-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gee-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.contact-card .cc-label { font-family: var(--font-base); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.contact-card .cc-value { font-family: var(--font-base); font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.contact-card .cc-hint { font-family: var(--font-base); font-size: 13px; color: var(--mute); margin-top: auto; }


/* ============ TEST-DRIVE STEPPER ============ */
.td-shell { display: grid; grid-template-columns: 320px 1fr; gap: 48px; }
@media (max-width: 900px) { .td-shell { grid-template-columns: 1fr; gap: 32px; } }
.td-steps { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; align-self: start; }
@media (max-width: 900px) { .td-steps { position: static; flex-direction: row; gap: 8px; overflow-x: auto; } }
.td-step { display: flex; gap: 16px; padding: 20px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; transition: all .15s ease; align-items: flex-start; }
.td-step .td-num { font-family: var(--font-base); font-size: 13px; font-weight: 600; color: var(--mute); padding-top: 2px; min-width: 28px; }
.td-step .td-title { font-family: var(--font-base); font-size: 16px; font-weight: 700; color: var(--ink); }
.td-step .td-sub { font-family: var(--font-base); font-size: 13px; color: var(--mute); margin-top: 4px; }
.td-step.is-active { background: var(--ink); border-color: var(--ink); }
.td-step.is-active .td-num, .td-step.is-active .td-title, .td-step.is-active .td-sub { color: var(--paper); }
.td-step.is-done { opacity: 0.7; }
.td-step.is-done .td-num::before { content: "✓ "; color: var(--gee-blue); }

.td-pane { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px; padding: 40px; min-height: 480px; }
.td-pane .td-heading { font-family: var(--font-base); font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
.td-pane .td-sub-line { font-family: var(--font-base); font-size: 15px; color: var(--mute); margin: 0 0 32px; }
.td-pane .td-actions { margin-top: 32px; display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }

.td-cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .td-cars { grid-template-columns: 1fr; } }
.td-car { background: var(--paper-2); border: 2px solid transparent; border-radius: 12px; padding: 20px; cursor: pointer; transition: all .15s ease; text-align: left; font: inherit; color: inherit; }
.td-car:hover { border-color: var(--line); }
.td-car.is-selected { border-color: var(--gee-blue); background: var(--paper); box-shadow: 0 0 0 4px rgba(0,82,200,.08); }
.td-car .tdc-img { aspect-ratio: 5/3; display:flex; align-items:center; justify-content:center; }
.td-car .tdc-img img { width: 100%; height: 100%; object-fit: contain; }
.td-car .tdc-name { font-family: var(--font-base); font-size: 16px; font-weight: 700; margin-top: 12px; }
.td-car .tdc-tag { font-family: var(--font-base); font-size: 11px; color: var(--gee-blue); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }

.td-dealers { display: grid; gap: 12px; }
.td-dealer { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; background: var(--paper-2); border: 2px solid transparent; border-radius: 12px; cursor: pointer; font: inherit; color: inherit; text-align: left; transition: all .15s ease; }
.td-dealer:hover { border-color: var(--line); }
.td-dealer.is-selected { border-color: var(--gee-blue); background: var(--paper); box-shadow: 0 0 0 4px rgba(0,82,200,.08); }
.td-dealer .tdd-city { font-family: var(--font-base); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--mute); width: 80px; }
.td-dealer .tdd-name { font-family: var(--font-base); font-size: 16px; font-weight: 700; }
.td-dealer .tdd-addr { font-family: var(--font-base); font-size: 13px; color: var(--mute); margin-top: 2px; }
.td-dealer .tdd-arrow { color: var(--mute); }
.td-dealer.is-selected .tdd-arrow { color: var(--gee-blue); }

.td-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .td-form-grid { grid-template-columns: 1fr; } }

.td-summary { background: var(--paper-2); border-radius: 12px; padding: 20px 24px; margin-bottom: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 600px) { .td-summary { grid-template-columns: 1fr; } }
.td-summary > div .tds-l { font-family: var(--font-base); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.td-summary > div .tds-v { font-family: var(--font-base); font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 4px; }

/* ============ CREDIT FULL ============ */
.credit-shell { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
@media (max-width: 1000px) { .credit-shell { grid-template-columns: 1fr; } }
.credit-pane { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 40px; }
.credit-summary { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 20px; padding: 32px; position: sticky; top: 96px; }
.credit-summary .cs-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line-softer); font-family: var(--font-base); font-size: 14px; color: var(--mute); }
.credit-summary .cs-row:first-of-type { border-top: 0; padding-top: 0; }
.credit-summary .cs-row b { font-weight: 700; color: var(--ink); font-size: 15px; }
.credit-summary .cs-monthly { padding: 24px 0; border-top: 1px solid var(--line-softer); border-bottom: 1px solid var(--line-softer); margin: 16px 0 24px; }
.credit-summary .cs-monthly .csm-l { font-family: var(--font-base); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.credit-summary .cs-monthly .csm-v { font-family: var(--font-base); font-size: 38px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin-top: 6px; line-height: 1; }
.credit-summary .cs-monthly .csm-u { font-family: var(--font-base); font-size: 13px; color: var(--mute); margin-top: 4px; }

.credit-bank-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 4px; background: rgba(245,242,236,0.06); border-radius: 14px; margin-bottom: 28px; }
@media (max-width: 700px) { .credit-bank-tabs { grid-template-columns: 1fr; } }
.credit-bank-tab { padding: 14px 16px; border-radius: 10px; cursor: pointer; background: transparent; color: rgba(245,242,236,0.7); border: 0; text-align: left; font: inherit; transition: all .15s ease; }
.credit-bank-tab:hover { color: var(--paper); }
.credit-bank-tab.is-active { background: var(--paper); color: var(--ink); }
.credit-bank-tab .cbt-name { font-family: var(--font-base); font-size: 15px; font-weight: 700; }
.credit-bank-tab .cbt-sub { font-family: var(--font-base); font-size: 12px; opacity: 0.7; margin-top: 2px; }

.credit-field { margin-bottom: 28px; }
.credit-field .cf-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-family: var(--font-base); }
.credit-field .cf-l { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: rgba(245,242,236,0.7); text-transform: uppercase; }
.credit-field .cf-v { font-size: 20px; font-weight: 700; color: var(--paper); letter-spacing: -.01em; }
.credit-field input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; background: rgba(245,242,236,0.12); border-radius: 99px; outline: none; }
.credit-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; background: var(--gee-blue); border-radius: 50%; cursor: pointer; border: 3px solid var(--paper); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.credit-field input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; background: var(--gee-blue); border-radius: 50%; cursor: pointer; border: 3px solid var(--paper); }
.credit-field .cf-marks { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-base); font-size: 11px; color: rgba(245,242,236,0.5); }

.credit-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.credit-model-pill { padding: 14px 16px; background: rgba(245,242,236,0.06); border-radius: 10px; border: 0; cursor: pointer; color: rgba(245,242,236,0.7); font: inherit; text-align: center; transition: all .15s ease; }
.credit-model-pill:hover { color: var(--paper); }
.credit-model-pill.is-active { background: var(--paper); color: var(--ink); }
.credit-model-pill .cmp-n { font-family: var(--font-base); font-size: 14px; font-weight: 700; }
.credit-model-pill .cmp-p { font-family: var(--font-base); font-size: 11px; opacity: 0.7; margin-top: 2px; }


/* ============ FORM CARD ============ */
.form-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px; padding: 32px; }
textarea.field { resize: vertical; min-height: 60px; font-family: inherit; }
.hp { position: absolute; left: -9999px; }


/* hidden attribute respect */
[hidden] { display: none !important; }


/* ─────────────── MODEL PAGE ─────────────── */
.m-hero {
  position: relative;
  background: var(--paper-2);
  padding: 32px 0 64px;
  overflow: hidden;
}
.m-hero::before {
  content: ''; position: absolute; left: 50%; top: 100px; width: 1200px; height: 1200px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--gee-blue) 8%, transparent), transparent 60%);
  pointer-events: none;
}
.m-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: center;
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
}
@media (min-width: 768px) {
  .m-hero-grid { padding: 32px 40px; }
}
.m-hero-text { padding-left: 0; }
.m-hero-art { position: relative; }
.m-hero-art img { width: 100%; height: auto; object-fit: contain; max-height: 500px; }
.m-hero-price {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.m-hero-price-num { font-family: var(--font-base); font-size: 48px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin-top: 8px; }
.m-hero-price-num small { font-size: 16px; font-weight: 500; color: var(--mute); margin-left: 4px; }
.m-hero-actions { display: flex; gap: 12px; }

.m-hero-specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: 24px auto 0;
  position: relative; z-index: 1;
  max-width: var(--max);
  padding: 0 24px;
}
@media (min-width: 768px) {
  .m-hero-specs { padding: 0 40px; }
}
.m-hero-specs > div {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 28px 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.m-hero-specs > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 36px;
  height: 3px;
  background: var(--gee-blue);
  border-radius: 0 0 3px 3px;
}
.m-hero-specs > div:hover {
  transform: translateY(-3px);
  border-color: var(--gee-blue);
  box-shadow: 0 18px 40px -20px rgba(0, 47, 135, 0.35);
}
.mhs-v { font-family: var(--font-base); font-size: 38px; font-weight: 700; letter-spacing: -0.025em; line-height: 1; color: var(--ink); }
.mhs-v small { font-size: 14px; font-weight: 600; color: var(--gee-blue); margin-left: 6px; letter-spacing: 0; }
.mhs-l { font-family: var(--font-base); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-top: 14px; }

@media (max-width: 900px) {
  .m-hero-grid { grid-template-columns: 1fr; }
  .m-hero-text { padding-left: 0; }
  .m-hero-specs { grid-template-columns: repeat(2, 1fr); }
}

/* Tech-story (used by sections) */
.tech-story {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center;
}
.tech-story-reverse { direction: rtl; }
.tech-story-reverse > * { direction: ltr; }
.ts-img img { width: 100%; height: auto; object-fit: cover; border-radius: 16px; }
.ts-text .t-num-tag { font-family: var(--font-base); font-size: 13px; font-weight: 600; color: var(--gee-blue); letter-spacing: 0.1em; margin-bottom: 12px; }
.ts-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-soft); }
.ts-stats > div b { display: block; font-family: var(--font-base); font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.ts-stats > div span { display: block; font-family: var(--font-base); font-size: 12px; color: var(--mute); margin-top: 6px; }

@media (max-width: 900px) {
  .tech-story, .tech-story-reverse { grid-template-columns: 1fr; gap: 32px; }
  .tech-story-reverse, .tech-story-reverse > * { direction: ltr; }
}

/* ─────────────── CONFIGURATOR ─────────────── */
.cfg-shell {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  background: var(--ink); color: #fff;
  border-radius: 20px; overflow: hidden;
}
.cfg-stage {
  position: relative;
  background: linear-gradient(135deg, #0F1115 0%, #1B2030 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 40px;
  min-height: 480px;
}
.cfg-stage img { width: 100%; max-width: 540px; height: auto; object-fit: contain; }
.cfg-stage-info {
  position: absolute; left: 32px; top: 32px;
}
.cfg-stage-info .t-eyebrow { color: rgba(255,255,255,0.6); }
.cfg-price { font-family: var(--font-base); font-size: 36px; font-weight: 800; line-height: 1; margin-top: 12px; }
.cfg-price small { font-size: 14px; font-weight: 500; opacity: 0.6; margin-left: 4px; }

.cfg-controls { padding: 40px; display: flex; flex-direction: column; gap: 36px; }
.cfg-group { display: flex; flex-direction: column; }
.cfg-group .t-eyebrow { color: rgba(255,255,255,0.5); }

.cfg-trims { display: grid; gap: 12px; }
.cfg-trim {
  text-align: left; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #fff;
  border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: all 0.18s ease;
}
.cfg-trim:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.cfg-trim.is-active { background: var(--gee-blue); border-color: var(--gee-blue); }
.ct-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ct-n { font-family: var(--font-base); font-weight: 700; font-size: 16px; }
.ct-badge { display: inline-block; background: rgba(255,255,255,0.2); padding: 2px 8px; border-radius: 100px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 4px; vertical-align: middle; }
.ct-p { font-family: var(--font-base); font-weight: 600; font-size: 14px; opacity: 0.9; }
.ct-eq { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.ct-eq li { font-family: var(--font-base); font-size: 12px; opacity: 0.8; padding-left: 14px; position: relative; }
.ct-eq li::before { content: '+'; position: absolute; left: 0; opacity: 0.5; }

.cfg-colors { display: flex; gap: 8px; flex-wrap: wrap; }
.cfg-color {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #fff;
  border-radius: 100px; padding: 8px 16px 8px 8px; cursor: pointer; transition: all 0.18s ease;
  font-family: var(--font-base); font-size: 13px;
}
.cfg-color:hover { background: rgba(255,255,255,0.1); }
.cfg-color.is-active { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.cc-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--cc); border: 1px solid rgba(255,255,255,0.2); display: block; }

.cfg-payment {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 20px; background: rgba(255,255,255,0.06); border-radius: 12px;
}
.cp-l { font-family: var(--font-base); font-size: 12px; opacity: 0.6; }
.cp-v { font-family: var(--font-base); font-size: 22px; font-weight: 700; margin-top: 4px; }
.cp-v small { font-size: 12px; opacity: 0.6; font-weight: 500; margin-left: 4px; }
.cfg-payment .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.2); }
.cfg-payment .btn-ghost:hover { background: rgba(255,255,255,0.1); }

.cfg-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cfg-cta .btn { flex: 1; justify-content: center; }
.cfg-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.2); }
.cfg-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 900px) {
  .cfg-shell { grid-template-columns: 1fr; }
  .cfg-stage { min-height: 320px; padding: 32px; }
  .cfg-controls { padding: 28px; }
  .ct-eq { grid-template-columns: 1fr; }
}

/* ─────────────── SPEC TABLE ─────────────── */
.spec-table-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px;
  border-top: 1px solid var(--line-soft);
}
.spec-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-softer);
  font-family: var(--font-base); font-size: 15px;
}
.sr-k { color: var(--mute); }
.sr-v { font-weight: 600; text-align: right; }

@media (max-width: 700px) {
  .spec-table-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ─────────────── CROSS-MODELS ─────────────── */
.cross-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.cross-card {
  background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: 16px;
  text-decoration: none; color: var(--ink);
  transition: all 0.2s ease;
}
.cross-card:hover { border-color: var(--gee-blue); transform: translateY(-2px); }

@media (max-width: 800px) {
  .cross-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ============ MOBILE POLISH (≤768) =======================
   95% трафика на мобайле — сюда складываем точечные правки
   текстового overflow, табличного поведения и форм.
   ========================================================= */
@media (max-width: 768px) {
  /* ── Глобально: длинные слова не вылетают за viewport,
       и никакой горизонтальный скролл от рандомных широких блоков ── */
  html, body { overflow-x: hidden; max-width: 100vw; }
  body { overflow-wrap: break-word; }
  h1, h2, h3, h4, p, span, a, li, td, th, .t-h1, .t-h2, .t-display-l, .t-display-m, .t-display-xl, .t-lead {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  /* ── Compare-table: вместо сжимания → горизонтальный скролл ── */
  .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
  .compare-table { min-width: 720px; }
  .compare-table .ct-img img { width: 240px; height: 150px; }

  /* ── Tech-story stats: 3 → 2 колонки, единицы перестают резаться ── */
  .tech-story .ts-stats,
  .ts-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ts-stats > div b { font-size: 24px; }
  .tech-story .ts-stats > div b { font-size: 24px; }

  /* ── Test-drive stepper: 3 шага в строке, без sub-текста ── */
  .td-steps { overflow-x: visible !important; flex-wrap: nowrap; }
  .td-step { padding: 10px 8px; gap: 6px; flex: 1 1 0; min-width: 0; align-items: center; }
  .td-step .td-sub { display: none; }
  .td-step .td-title { font-size: 12px; line-height: 1.2; word-break: break-word; overflow-wrap: anywhere; }
  .td-step .td-num { min-width: 20px; font-size: 11px; padding-top: 0; }
  .td-pane { padding: 24px; min-height: auto; }
  .td-pane .td-heading { font-size: 22px; }
  .td-pane .td-sub-line { font-size: 14px; }

  /* ── Test-drive footer-кнопки: ровные ширины, не уезжают ── */
  .td-pane .td-actions { flex-wrap: wrap; gap: 10px; }
  .td-pane .td-actions .btn { flex: 1 1 auto; justify-content: center; }
  .td-pane .td-actions > span { display: none; }

  /* ── Form labels с чекбоксом — текст не пакуется за чекбокс ── */
  label { word-break: break-word; overflow-wrap: anywhere; }
  label > input[type="checkbox"], label > input[type="radio"] { flex-shrink: 0; }
  label > span { flex: 1 1 0; min-width: 0; word-break: break-word; overflow-wrap: anywhere; }

  /* ── Контактные list items + плотные параграфы — переносятся аккуратно ── */
  .contact-bottom-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .contact-bottom-grid ul li,
  .contact-bottom-grid li,
  .contact-bottom-grid p { word-break: break-word !important; overflow-wrap: anywhere !important; line-height: 1.55 !important; }

  /* ── Page hero counts: оставляем 3 в строку, ужимаем шрифт ── */
  .page-hero-counts { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 24px 0; }
  .page-hero-counts > div .n { font-size: clamp(24px, 8vw, 36px); }
  .page-hero-counts > div .l { font-size: 10px; line-height: 1.3; }

  /* ── m-hero (страницы моделей): уменьшаем гигантский title ── */
  .m-hero-grid h1, .m-hero-grid .t-display-l { font-size: clamp(36px, 10vw, 56px); }
  .m-hero-specs { gap: 12px; }
  .mhs-v { font-size: clamp(22px, 7vw, 30px); }

  /* ── Configurator color picker: чтобы кнопки не уезжали ── */
  .cfg-colors { flex-wrap: wrap; }

  /* ── Credit calc: ползунки и плашки чтобы лежали ровно ── */
  .credit-pane { padding: 24px; }
  .credit-summary { padding: 24px; position: static; }
  .credit-summary .cs-monthly .csm-v { font-size: 30px; word-break: break-all; }
  .credit-summary .cs-row b { word-break: break-all; }

  /* ── Hero на главной — уменьшить line-height гигантских display ── */
  .hero-text h1 { font-size: clamp(40px, 11vw, 64px); line-height: 1.05; }

  /* ── Lineup-карточки: цифры могли сжиматься ── */
  .lineup-card .lc-stats { gap: 12px; }

  /* ── Footer колонки и подвал ── */
  .site-footer .grid { gap: 32px; }
}

/* ─── Узкие смартфоны (≤480) — ещё компактнее ─── */
@media (max-width: 480px) {
  .page-hero-counts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .page-hero-counts > div .n { font-size: clamp(22px, 7.5vw, 32px); }
  .td-step .td-title { font-size: 11px; }
  .td-step { padding: 8px 6px; gap: 4px; }
  .td-step .td-num { min-width: 16px; }
  .ts-stats > div b, .tech-story .ts-stats > div b { font-size: 22px; }
  .compare-table .ct-img img { width: 200px; height: 125px; }
}
