/* ==========================================================================
   ARABI — Dark Luxury Automotive Brand Site
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Palette */
  --bg: #0a0a0c;
  --bg-elevated: #131419;
  --surface: #1a1c22;
  --surface-2: #20232b;
  --border: rgba(201, 169, 106, 0.16);
  --border-soft: rgba(255, 255, 255, 0.06);

  --gold: #c9a96a;
  --gold-bright: #e3c588;
  --gold-deep: #9c7f49;
  --gold-glow: rgba(201, 169, 106, 0.35);

  --text: #f4f1ea;
  --text-muted: #9a9890;
  --text-dim: #6b6a65;

  --white: #ffffff;

  /* Typography */
  --font-en-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-en-body: "Inter", system-ui, sans-serif;
  --font-ar-display: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-ar-body: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;

  /* Spacing & sizing */
  --maxw: 1280px;
  --pad-x: clamp(1.1rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;

  /* Effects */
  --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 12px 40px -12px var(--gold-glow);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-en-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Arabic typography when RTL */
html[dir="rtl"] body { font-family: var(--font-ar-body); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] .display { font-family: var(--font-ar-display); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-en-display); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }

::selection { background: var(--gold); color: #0a0a0c; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.1rem;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0.05em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

.section-title { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1.1rem; }
.section-title .accent { color: var(--gold); }
.section-intro { color: var(--text-muted); max-width: 60ch; font-size: 1.05rem; }

.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.8rem; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  background: var(--btn-bg); border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.3s, color 0.3s;
  position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #1a1408; box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 48px -12px var(--gold-glow); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }
.btn-light { background: var(--white); color: #0a0a0c; }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  padding-block: 1.3rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
  border-block-end: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding-block: 0.8rem;
  border-block-end-color: var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 1px solid var(--border); }
.brand-name { font-family: var(--font-en-display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.16em; }
html[dir="rtl"] .brand-name { letter-spacing: 0.04em; }
.brand-name .x { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a {
  padding: 0.5rem 0.9rem; border-radius: 100px; font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted); transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.nav-actions { display: flex; align-items: center; gap: 0.7rem; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; border: 1px solid var(--border);
  border-radius: 100px; padding: 0.3rem; gap: 0.2rem; background: rgba(255,255,255,0.02);
}
.lang-toggle button {
  padding: 0.35rem 0.8rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted); transition: all 0.3s var(--ease);
}
.lang-toggle button.active { background: var(--gold); color: #1a1408; }

/* Hamburger */
.hamburger {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border); flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { width: 20px; height: 2px; background: var(--text); transition: 0.3s var(--ease); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu (hidden on all screens; shown as overlay on mobile via media query) */
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.25) 35%, rgba(10,10,12,0.75) 78%, var(--bg) 100%),
    radial-gradient(120% 90% at 80% 20%, transparent 30%, rgba(10,10,12,0.55));
}
html[dir="rtl"] .hero-bg::after {
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.25) 35%, rgba(10,10,12,0.75) 78%, var(--bg) 100%),
    radial-gradient(120% 90% at 20% 20%, transparent 30%, rgba(10,10,12,0.55));
}
.hero-inner { max-width: 760px; padding-block: 6rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1rem; border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright);
  background: rgba(201,169,106,0.06); margin-bottom: 1.6rem; backdrop-filter: blur(6px);
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 1.4rem; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-muted); max-width: 54ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem); }
.hero-stat .num { font-family: var(--font-en-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--text); }
.hero-stat .num .u { color: var(--gold); font-size: 0.7em; margin-inline-start: 0.1em; }
.hero-stat .lbl { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
html[dir="rtl"] .hero-stat .lbl { letter-spacing: 0.02em; }

.scroll-cue {
  position: absolute; inset-block-end: 1.8rem; inset-inline-start: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--text-dim); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}
html[dir="rtl"] .scroll-cue { transform: translateX(50%); }
.scroll-cue .mouse { width: 22px; height: 36px; border: 1.5px solid var(--text-dim); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; inset-block-start: 6px; inset-inline-start: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--gold); border-radius: 3px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Marquee strip ---------- */
.marquee { border-block: 1px solid var(--border-soft); padding-block: 1.1rem; overflow: hidden; background: var(--bg-elevated); }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; animation: scroll-x 28s linear infinite; }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
.marquee-track span { font-family: var(--font-en-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "✦"; color: var(--gold); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Vision strip ---------- */
.vision {
  position: relative; padding-block: clamp(5rem, 11vw, 9rem); text-align: center; overflow: hidden;
}
.vision::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(201,169,106,0.10), transparent 70%);
}
.vision h2 { font-size: clamp(2rem, 6vw, 4.6rem); line-height: 1.15; max-width: 18ch; margin-inline: auto; }
.vision h2 .accent { color: var(--gold); font-style: italic; }
.vision .sub { margin-top: 1.5rem; color: var(--text-muted); letter-spacing: 0.05em; }

/* ---------- Vehicles overview ---------- */
.vehicles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.vehicle-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-soft); background: var(--surface); min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.vehicle-card:hover { transform: translateY(-6px); border-color: var(--border); }
.vehicle-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.vehicle-card:hover img { transform: scale(1.06); }
.vehicle-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.1) 0%, rgba(10,10,12,0.5) 55%, rgba(10,10,12,0.95) 100%);
}
.vehicle-card .vc-body { position: relative; z-index: 2; padding: 2rem; }
.vehicle-card .vc-tag { color: var(--gold-bright); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.vehicle-card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.vehicle-card .vc-desc { color: var(--text-muted); margin-bottom: 1.2rem; max-width: 42ch; }
.vehicle-card .vc-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold-bright); font-weight: 600; }
.vehicle-card .vc-link svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
html[dir="rtl"] .vehicle-card .vc-link svg { transform: scaleX(-1); }
.vehicle-card:hover .vc-link svg { transform: translateX(4px); }
html[dir="rtl"] .vehicle-card:hover .vc-link svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Vehicle detail sections ---------- */
.vehicle-hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.vehicle-hero.reverse .vh-media { order: 2; }
.vh-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); }
.vh-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.7s var(--ease); }
.vh-media:hover img { transform: scale(1.04); }
.vh-media .badge {
  position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem;
  background: rgba(10,10,12,0.7); backdrop-filter: blur(8px); border: 1px solid var(--border);
  padding: 0.45rem 1rem; border-radius: 100px; font-size: 0.78rem; color: var(--gold-bright); letter-spacing: 0.08em;
}
.vh-text h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.vh-text h2 .accent { color: var(--gold); }
.vh-text p { color: var(--text-muted); margin-bottom: 1.2rem; }

/* Two-column detail layouts */
.x9-layout, .d4-layout, .d4-bottom {
  display: grid; gap: clamp(1.5rem, 4vw, 2.5rem);
}
.x9-layout { grid-template-columns: 1.4fr 1fr; }
.d4-layout { grid-template-columns: 1fr 1fr; }
.d4-bottom { grid-template-columns: 1fr 1.3fr; }

/* Key stats band */
.stats-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft);
  border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.stat-cell { background: var(--surface); padding: 1.6rem 1.3rem; text-align: center; }
.stat-cell .num { font-family: var(--font-en-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: var(--gold-bright); line-height: 1; }
.stat-cell .num .u { font-size: 0.55em; color: var(--text-muted); margin-inline-start: 0.15em; }
.stat-cell .lbl { margin-top: 0.6rem; font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Spec tables ---------- */
.spec-block { margin-bottom: 2.4rem; }
.spec-block h3 {
  display: flex; align-items: center; gap: 0.7rem; font-size: 1.3rem; margin-bottom: 1.2rem;
  padding-block-end: 0.8rem; border-block-end: 1px solid var(--border-soft);
}
.spec-block h3 .ico { color: var(--gold); display: inline-flex; }
.spec-block h3 .ico svg { width: 22px; height: 22px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.8rem; }
.spec-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 1.1rem; background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); transition: border-color 0.3s, transform 0.3s;
}
.spec-row:hover { border-color: var(--border); transform: translateX(3px); }
html[dir="rtl"] .spec-row:hover { transform: translateX(-3px); }
.spec-row .k { color: var(--text-muted); font-size: 0.88rem; }
.spec-row .v { color: var(--text); font-weight: 600; font-size: 0.95rem; text-align: end; }

/* Dimensions (4-up) */
.dim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.dim-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.4rem; text-align: center; }
.dim-card .ico { color: var(--gold); display: flex; justify-content: center; margin-bottom: 0.7rem; }
.dim-card .ico svg { width: 26px; height: 26px; }
.dim-card .num { font-family: var(--font-en-display); font-weight: 700; font-size: 1.25rem; }
.dim-card .lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ---------- Feature tabs ---------- */
.tabs { margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tab-btn {
  padding: 0.7rem 1.3rem; border-radius: 100px; font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted); border: 1px solid var(--border-soft); background: var(--surface);
  transition: all 0.3s var(--ease);
}
.tab-btn:hover { color: var(--text); border-color: var(--border); }
.tab-btn.active { background: var(--gold); color: #1a1408; border-color: var(--gold); }
.tab-panel { display: none; animation: fadeUp 0.5s var(--ease); }
.tab-panel.active { display: block; }

/* Feature chips list */
.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.8rem; }
.feature-item {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.1rem;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  transition: border-color 0.3s, background 0.3s;
}
.feature-item:hover { border-color: var(--border); background: var(--surface-2); }
.feature-item .check { color: var(--gold); flex-shrink: 0; display: inline-flex; }
.feature-item .check svg { width: 18px; height: 18px; }
.feature-item span { font-size: 0.92rem; color: var(--text); }

/* Driving mode chips */
.mode-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.mode-chip {
  padding: 0.6rem 1.2rem; border-radius: 100px; border: 1px solid var(--border);
  background: rgba(201,169,106,0.05); color: var(--text); font-weight: 500; font-size: 0.88rem;
  transition: all 0.3s var(--ease);
}
.mode-chip:hover { background: var(--gold); color: #1a1408; transform: translateY(-2px); }

/* Module cards (Smart Box) */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.9rem; }
.module-card {
  padding: 1.3rem; border-radius: var(--radius); border: 1px solid var(--border-soft);
  background: var(--surface); text-align: center; transition: all 0.3s var(--ease);
}
.module-card:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow-soft); }
.module-card .ico { color: var(--gold); display: flex; justify-content: center; margin-bottom: 0.7rem; }
.module-card .ico svg { width: 28px; height: 28px; }
.module-card span { font-size: 0.9rem; font-weight: 500; }

/* Temperature zones */
.temp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.9rem; margin-bottom: 1.5rem; }
.temp-card { padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--border-soft); background: linear-gradient(160deg, var(--surface), var(--bg-elevated)); text-align: center; }
.temp-card .deg { font-family: var(--font-en-display); font-size: 1.6rem; font-weight: 700; color: var(--gold-bright); }
.temp-card .lbl { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 0.8rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border-soft); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,10,12,0.5)); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.big { grid-column: span 2; grid-row: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,5,7,0.94); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; animation: fadeIn 0.3s; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); border: 1px solid var(--border); }
.lightbox .lb-close { position: absolute; inset-block-start: 1.5rem; inset-inline-end: 1.5rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); color: var(--text); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.lightbox .lb-close:hover { background: var(--gold); color: #1a1408; transform: rotate(90deg); }

/* ---------- Price callout ---------- */
.price-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface), var(--bg-elevated)); border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.price-card::before { content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -10%; width: 50%; height: 180%; background: radial-gradient(closest-side, var(--gold-glow), transparent); opacity: 0.5; }
.price-card .pc-label { position: relative; color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.price-card .pc-value { position: relative; font-family: var(--font-en-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.price-card .pc-value .accent { color: var(--gold); }

/* ---------- D-Series family ---------- */
.family-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
.family-card {
  padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--border-soft);
  background: var(--surface); transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.family-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.family-card .fc-tag { font-family: var(--font-en-display); font-weight: 800; font-size: 1.6rem; color: var(--gold); margin-bottom: 0.3rem; }
.family-card .fc-cap { color: var(--text); font-weight: 600; margin-bottom: 0.6rem; }
.family-card .fc-desc { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- About / values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.value-card {
  padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--border-soft);
  background: var(--surface); transition: all 0.4s var(--ease);
}
.value-card:hover { border-color: var(--border); transform: translateY(-4px); }
.value-card .ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(201,169,106,0.1); color: var(--gold); margin-bottom: 1rem; }
.value-card .ico svg { width: 24px; height: 24px; }
.value-card h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--text-muted); font-size: 0.92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.manifesto { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.7; color: var(--text); }
.manifesto p { margin-bottom: 1rem; }
.manifesto .q { color: var(--gold); font-style: italic; font-weight: 600; }
.motto {
  font-family: var(--font-en-display); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700;
  padding: 1.5rem 0; border-block: 1px solid var(--border); margin-block: 1.5rem;
}
.motto .accent { color: var(--gold); }

/* Promise pills */
.promise-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.promise-pill { padding: 0.7rem 1.3rem; border-radius: 100px; border: 1px solid var(--border); background: rgba(201,169,106,0.05); color: var(--text); font-weight: 500; font-size: 0.9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, #15110a, var(--bg-elevated)); border: 1px solid var(--border); text-align: center;
}
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% 0%, var(--gold-glow), transparent 60%); opacity: 0.4; }
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; max-width: 24ch; margin-inline: auto; }
.cta-banner p { color: var(--text-muted); max-width: 56ch; margin: 0 auto 1.8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.contact-info .ci-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-block-end: 1px solid var(--border-soft); }
.contact-info .ci-item .ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: rgba(201,169,106,0.1); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.contact-info .ci-item .ico svg { width: 20px; height: 20px; }
.contact-info .ci-item .k { color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-info .ci-item .v { color: var(--text); font-weight: 600; margin-top: 0.2rem; }
.contact-info .ci-item .v a { color: var(--gold-bright); }

.social-row { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.social-row a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.3s var(--ease); }
.social-row a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.social-row a svg { width: 20px; height: 20px; }

/* Form */
.form-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.45rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; background: var(--bg-elevated); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { cursor: pointer; }
.form-note { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.8rem; }
.form-success { display: none; padding: 1rem; border-radius: var(--radius-sm); background: rgba(80,200,120,0.1); border: 1px solid rgba(80,200,120,0.4); color: #7ad99a; font-size: 0.9rem; margin-bottom: 1rem; }
.form-success.show { display: block; animation: fadeUp 0.4s var(--ease); }

/* ---------- Footer ---------- */
.footer { border-block-start: 1px solid var(--border-soft); background: var(--bg-elevated); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand p { color: var(--text-muted); margin-top: 1rem; max-width: 34ch; font-size: 0.92rem; }
.footer-col h5 { font-family: var(--font-en-display); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.25s; }
.footer-col ul li a:hover { color: var(--gold-bright); }
.footer-markets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.footer-markets span { font-size: 0.78rem; padding: 0.35rem 0.8rem; border: 1px solid var(--border-soft); border-radius: 100px; color: var(--text-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block-start: 1.8rem; border-block-start: 1px solid var(--border-soft); }
.footer-bottom p { color: var(--text-dim); font-size: 0.85rem; }
.footer-bottom .made { color: var(--text-muted); font-size: 0.85rem; }
.footer-bottom .made .accent { color: var(--gold); }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .vehicle-hero { grid-template-columns: 1fr; }
  .vehicle-hero.reverse .vh-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .x9-layout, .d4-layout, .d4-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }

  /* Mobile menu */
  .mobile-menu {
    position: fixed; inset: 0; z-index: 99; background: rgba(10,10,12,0.98); backdrop-filter: blur(20px);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.5rem;
    opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
  }
  .mobile-menu.open { opacity: 1; pointer-events: auto; }
  .mobile-menu a { font-family: var(--font-en-display); font-size: 1.5rem; font-weight: 600; color: var(--text); padding: 0.6rem; }
  .mobile-menu a:hover { color: var(--gold); }
  .mobile-menu .mm-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; }

  .vehicles-grid { grid-template-columns: 1fr; }
  .dim-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item.big { grid-column: span 2; grid-row: span 1; }
  .hero-stats { gap: 1.5rem; }
  .price-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item.big { grid-column: span 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
