/* GWM Kota Damansara — Dealer site
   Adapted from BMW M Design System (dark editorial) with GWM brand accents.
*/
/* Google Fonts moved to <link> in index.html for faster loading */

:root {
  /* Surfaces */
  --canvas: #000000;
  --soft: #0a0a0a;
  --card: #131313;
  --elev: #1c1c1c;
  --hairline: #262626;
  --hairline-strong: #3c3c3c;

  /* Text */
  --ink: #ffffff;
  --body: #b8b8b8;
  --body-strong: #e6e6e6;
  --muted: #7e7e7e;

  /* GWM brand accent (kept tweakable) */
  --accent: #E11D2E;        /* GWM red */
  --accent-2: #F26B2A;       /* warm secondary */
  --accent-glow: rgba(225, 29, 46, 0.35);
  --whatsapp: #25D366;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1440px;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  scroll-behavior: smooth;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ========== Layout ========== */
.shell { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 760px) { .shell { padding: 0 12px; } }

.hairline { border-top: 1px solid var(--hairline); }
.hairline-b { border-bottom: 1px solid var(--hairline); }

.section {
  padding: 32px 0;
  /* Offset for the sticky nav (~76px) so the eyebrow title is visible
     when a user clicks a nav anchor link (e.g. "About Me", "The Lineup"). */
  scroll-margin-top: 80px;
}
@media (max-width: 760px) {
  .section { padding: 22px 0; scroll-margin-top: 68px; }
}

/* Hero anchor — sits at the very top, no offset needed. */
.hero { scroll-margin-top: 0; }

/* GWM 3-color stripe (red / orange / white) — adapted from BMW M tricolor */
.gwm-stripe {
  height: 3px;
  background: linear-gradient(to right,
    var(--accent) 0% 50%,
    var(--accent-2) 50% 80%,
    var(--ink) 80% 100%);
}
.gwm-stripe-v {
  width: 3px;
  background: linear-gradient(to bottom,
    var(--accent) 0% 50%,
    var(--accent-2) 50% 80%,
    var(--ink) 80% 100%);
}

/* ========== Type ========== */
.display-xl { font-size: clamp(34px, 5.4vw, 68px); font-weight: 800; line-height: 0.95; letter-spacing: -1.5px; text-transform: uppercase; }
.display-lg { font-size: clamp(26px, 3.8vw, 44px); font-weight: 800; line-height: 1; letter-spacing: -0.8px; text-transform: uppercase; }
.display-md { font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; line-height: 1.05; letter-spacing: -0.3px; text-transform: uppercase; }
.title-lg   { font-size: 24px; font-weight: 700; line-height: 1.25; }
.title-md   { font-size: 18px; font-weight: 600; line-height: 1.3; }
.body       { font-size: 14px; font-weight: 300; line-height: 1.5; color: var(--body); }
.body-sm    { font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--body); }
.label      {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ink);
}
.label-muted { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.caption    { font-size: 12px; color: var(--muted); letter-spacing: 0.3px; }

.accent { color: var(--accent); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px;
  font: 700 12px/1 var(--font); letter-spacing: 1.6px; text-transform: uppercase;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; transition: 160ms ease;
  border-radius: 0;
}
.btn:hover { background: var(--ink); color: var(--canvas); }
.btn--primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.btn--primary:hover { background: #fff; color: var(--canvas); border-color: #fff; }
.btn--wa {
  background: var(--whatsapp); border-color: var(--whatsapp); color: #062b13;
}
.btn--wa:hover { background: #1ab856; border-color: #1ab856; color: #062b13; }
.btn--sm { height: 34px; padding: 0 14px; font-size: 10px; }

.text-link {
  display: inline-flex; gap: 8px; align-items: center;
  font: 700 12px/1 var(--font); letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink); cursor: pointer;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}
.text-link::after { content: "→"; font-size: 14px; transition: transform 160ms ease; }
.text-link:hover { border-color: var(--accent); }
.text-link:hover::after { transform: translateX(4px); }

/* ========== Nav ========== */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; height: 58px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 32px; width: auto; display: block; }
.brand-divider { width: 1px; height: 22px; background: var(--hairline-strong); display: inline-block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .a { font-size: 12px; font-weight: 700; letter-spacing: 1.8px; }
.brand-text .b { font-size: 9.5px; font-weight: 500; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 28px; margin-left: 16px; }
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--body-strong); transition: color 160ms ease;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--accent); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
@media (max-width: 980px) { .nav-links { display: none; } }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 60vh;
  background: #000;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 80%, rgba(225,29,46,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.04) 0%, transparent 40%),
    linear-gradient(180deg, #000 0%, #0a0a0a 60%, #000 100%);
}
.hero-grid { position: absolute; inset: 0; opacity: 0.06;
  background-image:
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-img-wrap {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0.92;
  filter: contrast(1.05) saturate(1.05);
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.7) 0%, transparent 40%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 82px; padding-bottom: 36px;
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  background: rgba(225,29,46,0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 700 11px/1 var(--font); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero-sub { color: var(--body-strong); font-size: 14px; line-height: 1.45; font-weight: 300; max-width: 520px; margin: 14px 0 20px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  position: absolute; right: 48px; bottom: 60px; z-index: 2;
  display: flex; gap: 24px;
  border-left: 1px solid var(--hairline-strong);
  padding: 10px 0 10px 16px;
}
.hero-meta .stat .v { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; }
.hero-meta .stat .l { font-size: 10px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
@media (max-width: 980px) { .hero-meta { display: none; } }

/* ========== Lineup grid ========== */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head .label-muted { display: block; margin-bottom: 8px; }

.model-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .model-grid { grid-template-columns: 1fr; }
}
.model-card {
  background: var(--card);
  position: relative;
  cursor: pointer;
  transition: 220ms ease;
  border: 1px solid transparent;
}
.model-card:hover { border-color: var(--hairline-strong); transform: translateY(-4px); }
.model-card--browse-only { cursor: default; }
.model-card--browse-only:hover { border-color: transparent; transform: none; }
.model-card--browse-only:hover .img-frame img { transform: none; }
.model-card .img-frame {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0e0e0e 0%, #1a1a1a 60%, #050505 100%);
  position: relative; overflow: hidden;
}
.model-card .img-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  transition: transform 600ms ease;
}
.model-card:hover .img-frame img { transform: scale(1.04); }
.model-card .badge-coming {
  position: absolute; top: 16px; left: 16px;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--hairline-strong);
  padding: 6px 10px;
  font: 700 10px/1 var(--font); letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted);
}

/* Color toggle (top-right of car image) */
.color-toggle {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; gap: 6px;
  padding: 5px 6px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 4;
}
.color-toggle__swatch {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0; margin: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  outline: none;
}
.color-toggle__swatch:hover { transform: scale(1.12); }
.color-toggle__swatch.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6), 0 0 0 3px var(--accent);
}
.color-toggle__swatch:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6), 0 0 0 3px var(--accent);
}
.color-toggle__name {
  position: absolute; bottom: 10px; right: 10px;
  padding: 4px 8px;
  font: 600 10px/1 var(--font); letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 4;
}
.model-card .body-pad { padding: 16px 16px 18px; }
.model-card .name { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; text-transform: uppercase; line-height: 1; }
.model-card .seg { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; margin-top: 8px; }
.model-card .price-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline);
}

/* Lineup — section head + first card row in view; further rows via page scroll */
#lineup .section-head { margin-bottom: 24px; }
#lineup .section-head .label-muted { margin-bottom: 12px; }
.model-card .price .currency { font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }
.model-card .price .v { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.model-card .price .pre { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }

/* ========== VDP modal ========== */
.vdp-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
  display: grid; place-items: stretch;
  animation: fade 200ms ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.vdp {
  background: #000;
  width: 100%; height: 100%;
  overflow-y: auto;
  animation: slideUp 320ms cubic-bezier(.2,.7,.2,1);
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.vdp-topbar {
  position: sticky; top: 0; z-index: 4;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
  height: 64px; display: flex; align-items: center;
}
.vdp-topbar .crumbs { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.vdp-topbar .crumbs b { color: var(--ink); font-weight: 600; }
.vdp-close {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--hairline-strong); cursor: pointer;
  background: transparent; color: var(--ink);
  transition: 160ms;
}
.vdp-close:hover { background: var(--ink); color: var(--canvas); }

.vdp-hero {
  position: relative;
  min-height: 58vh;
  display: grid; grid-template-columns: 1fr;
  background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
  overflow: hidden;
}
.vdp-hero-img {
  position: absolute; inset: 0;
}
.vdp-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.vdp-hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 30%, transparent 50%, rgba(0,0,0,0.9) 100%);
}
.vdp-hero-content {
  position: relative; z-index: 2;
  padding: 34px 0 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 58vh;
}
.vdp-hero-grid {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: flex-end;
}
.vdp-hero .name-block .seg { font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; margin-bottom: 18px; }
.vdp-hero .price-tag {
  display: inline-flex; flex-direction: column;
  border: 1px solid var(--hairline-strong);
  padding: 18px 24px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
}
.vdp-hero .price-tag .pre { font-size: 10px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.vdp-hero .price-tag .v { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-top: 4px; }
.vdp-hero .price-tag .suf { font-size: 11px; letter-spacing: 1.5px; color: var(--body); margin-top: 4px; }
@media (max-width: 760px) {
  .vdp-hero-grid { grid-template-columns: 1fr; }
  .vdp-hero .price-tag { align-self: flex-start; }
}

/* VDP spec strip */
.vdp-specs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--hairline);
}
.vdp-specs .cell {
  padding: 24px 20px;
  border-right: 1px solid var(--hairline);
}
.vdp-specs .cell:last-child { border-right: 0; }
.vdp-specs .cell .l { font-size: 10px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.vdp-specs .cell .v { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; margin-top: 6px; }
.vdp-specs .cell .u { font-size: 12px; color: var(--body); margin-left: 4px; font-weight: 300; }
@media (max-width: 880px) { .vdp-specs { grid-template-columns: repeat(2, 1fr); } .vdp-specs .cell:nth-child(2) { border-right: 0; } .vdp-specs .cell:nth-child(1), .vdp-specs .cell:nth-child(2) { border-bottom: 1px solid var(--hairline); } }

/* VDP body */
.vdp-body { padding: 44px 0; }
.vdp-row { display: grid; grid-template-columns: 240px 1fr; gap: 32px; margin-bottom: 42px; align-items: start; }
.vdp-row h3 { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin: 0 0 12px; }
.vdp-row .sub { color: var(--muted); font-size: 13px; letter-spacing: 1px; }
@media (max-width: 880px) { .vdp-row { grid-template-columns: 1fr; gap: 24px; } }

/* VDP gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 21/9; }
.gallery .g { background: #0a0a0a; overflow: hidden; position: relative; }
.gallery .g:nth-child(1) { grid-row: 1 / span 2; }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; grid-template-rows: auto; aspect-ratio: auto; } .gallery .g:nth-child(1) { grid-row: auto; aspect-ratio: 16/9; } .gallery .g { aspect-ratio: 16/9; } }

/* VDP feature pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); }
.pillar { background: var(--canvas); padding: 28px 22px; }
.pillar .ico { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); margin-bottom: 20px; }
.pillar h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.2px; }
.pillar p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.55; font-weight: 300; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }

/* Spec table */
.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.spec-table .group { padding: 24px 0; border-top: 1px solid var(--hairline); }
.spec-table .group:nth-last-child(-n+2) { border-bottom: 1px solid var(--hairline); }
.spec-table .group h4 { margin: 0 0 16px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.spec-table .row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: var(--body); border-bottom: 1px dashed var(--hairline); }
.spec-table .row:last-child { border-bottom: 0; }
.spec-table .row b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .spec-table { grid-template-columns: 1fr; } }

/* VDP CTA strip */
.vdp-cta {
  background: linear-gradient(135deg, rgba(225,29,46,0.18) 0%, rgba(0,0,0,0) 60%), #0a0a0a;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 44px 0;
}
.vdp-cta-grid { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.vdp-cta h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.4px; text-transform: uppercase; }
.vdp-cta p { margin: 8px 0 0; color: var(--body); font-size: 15px; }

/* ========== Promo cards ========== */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .promos { grid-template-columns: 1fr; } }
.promo {
  position: relative;
  background: var(--card);
  overflow: hidden;
  aspect-ratio: 5/4;
  cursor: pointer;
  transition: 200ms ease;
}
.promo:hover { transform: translateY(-4px); }
.promo .promo-bg { position: absolute; inset: 0; }
.promo .promo-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.promo .promo-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
}
.promo .promo-content { position: relative; z-index: 2; height: 100%; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.promo .tag {
  align-self: flex-start;
  background: var(--accent); color: #fff;
  font: 700 10px/1 var(--font); letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 10px;
}
.promo h3 { font-size: 22px; font-weight: 800; line-height: 1.05; letter-spacing: -0.3px; text-transform: uppercase; margin: 0 0 6px; }
.promo .promo-desc { color: var(--body-strong); font-size: 12px; line-height: 1.45; margin-bottom: 10px; }

/* ========== About / Booking ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.info-list { display: grid; gap: 18px; margin-top: 24px; }
.info-row { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; }
.info-row .ico { color: var(--accent); margin-top: 4px; }
.info-row .l { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-row .v { font-size: 15px; color: var(--ink); line-height: 1.5; }

.map-frame {
  background: #0a0a0a;
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
}

/* Booking form */
.form-card {
  background: var(--card);
  padding: 20px;
  border: 1px solid var(--hairline);
}
@media (max-width: 760px) { .form-card { padding: 20px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--soft);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  font: 300 14px/1.3 var(--font);
  padding: 10px 14px;
  border-radius: 0;
  outline: none;
  transition: border-color 160ms;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--body) 50%), linear-gradient(135deg, var(--body) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }

/* Booking success state */
.success-block {
  background: linear-gradient(135deg, rgba(37,211,102,0.12), transparent 60%), var(--card);
  border: 1px solid var(--whatsapp);
  padding: 48px;
  text-align: center;
}

/* ========== Footer ========== */
.footer { background: #050505; border-top: 1px solid var(--hairline); padding: 40px 0 20px; margin-top: 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer .footer-heading { margin: 0 0 14px; font-size: 11px; letter-spacing: 2px; color: var(--ink); text-transform: uppercase; font-weight: 700; }
.footer a { color: var(--body); font-size: 14px; line-height: 2; transition: color 160ms; }
.footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--muted); }

/* ========== Floating social stack ========== */
.fab-stack {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.fab {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
@media (max-width: 760px) {
  .hero { min-height: 54vh; }
  .hero-content { padding-top: 68px; padding-bottom: 28px; }
  .model-grid { grid-template-columns: 1fr; gap: 12px; }
}
.fab:hover { transform: scale(1.08); }
.fab-wa {
  background: var(--whatsapp);
  box-shadow: 0 12px 36px rgba(37,211,102,0.45);
  animation: pulse 2.4s ease-out infinite;
}
.fab-fb {
  background: #1877F2;
  box-shadow: 0 10px 28px rgba(24,119,242,0.45);
}
.fab-fb svg { width: 28px; height: 28px; }
.fab-xhs {
  background: #FF2442;
  box-shadow: 0 10px 28px rgba(255,36,66,0.45);
}
.fab-xhs svg { width: 28px; height: 28px; }
@keyframes pulse {
  0% { box-shadow: 0 12px 36px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.6); }
  70% { box-shadow: 0 12px 36px rgba(37,211,102,0.5), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 36px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ========== Hash-mark badges ========== */
.tag-strong {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font: 700 10px/1 var(--font); letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 10px;
}

/* Image fallback (SVG silhouette frame) */
.silhouette { background: radial-gradient(ellipse at 60% 70%, #222 0%, transparent 55%), linear-gradient(135deg, #0e0e0e 0%, #1a1a1a 60%, #050505 100%); }

/* Real photos: studio backdrop behind car; car above floor/glow; watermark on top */
.vehicle-photo { isolation: isolate; }
.vehicle-photo__sky { z-index: 0; }
.vehicle-photo__img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center 55%;
}
.vehicle-photo__watermark { z-index: 3; pointer-events: none; }

/* Tweaks panel button override */
.tweaks-panel-container button { color: inherit; }

body.modal-open { overflow: hidden; }

/* ========== WhatsApp Modal ========== */
.wa-modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fade 200ms ease;
}
.wa-modal {
  position: relative;
  width: 100%; max-width: 540px;
  background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  animation: slideUp 280ms cubic-bezier(.2,.7,.2,1);
  max-height: 90vh; overflow-y: auto;
}
.wa-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline-strong);
  cursor: pointer;
  transition: 160ms;
}
.wa-modal-close:hover { background: var(--ink); color: var(--canvas); }
.wa-modal-head {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--hairline);
  display: flex; gap: 16px; align-items: flex-start;
}
.wa-modal-badge {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--whatsapp);
  flex-shrink: 0;
}
.wa-modal-body { padding: 24px 32px 32px; }
@media (max-width: 540px) {
  .wa-modal-head, .wa-modal-body { padding-left: 20px; padding-right: 20px; }
}
.wa-field { margin-bottom: 20px; }
.wa-field-l { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.wa-field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wa-field-v { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink); }
.wa-message-box {
  background: var(--soft);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--whatsapp);
  padding: 14px 16px;
  font-size: 13px; line-height: 1.5;
  color: var(--body-strong);
  white-space: pre-wrap;
  font-family: var(--font);
  max-height: 160px; overflow-y: auto;
}
.wa-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 28px 0 18px;
  font-size: 10px; letter-spacing: 2px; color: var(--muted);
}
.wa-divider::before, .wa-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--hairline);
}
.wa-launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .wa-launch-grid { grid-template-columns: 1fr; } }
.wa-launch {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--hairline);
  text-decoration: none; color: var(--ink);
  transition: 160ms;
}
.wa-launch:hover { border-color: var(--accent); background: var(--elev); }
.wa-launch-ico { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; }
.wa-launch-t { font-size: 13px; font-weight: 700; letter-spacing: 0.3px; }
.wa-launch-d { font-size: 11px; color: var(--muted); margin-top: 2px; }
.wa-modal code { background: var(--soft); padding: 1px 5px; font-size: 11px; color: var(--accent); border: 1px solid var(--hairline); }
