/* ============================================================
   LUXEHAUS MOTORS — Main Stylesheet
   ============================================================ */

:root {
  --black:      #080808;
  --off-black:  #0f0f0f;
  --dark:       #141414;
  --panel:      #1a1a1a;
  --border:     rgba(255,255,255,0.08);
  --border-md:  rgba(255,255,255,0.14);
  --white:      #ffffff;
  --off-white:  #e8e2d9;
  --cream:      #c9bfa8;
  --gold:       #b8955a;
  --gold-light: #d4aa6a;
  --gold-dim:   rgba(184,149,90,0.18);
  --text-muted: rgba(255,255,255,0.45);
  --text-body:  rgba(255,255,255,0.72);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --nav-h:  72px;
  --max-w:  1280px;
  --radius: 2px;
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-h);
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: 0.12em;
}
.logo-lux {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  display: inline;
}
.logo-haus {
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 20px;
  color: var(--gold);
  display: inline;
}
.logo-sub {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--cream);
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-body);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(18px);
  padding: 24px 40px 32px;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a {
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile .mobile-cta { color: var(--gold); }
.nav-mobile .mobile-cta { border: none; font-weight: 500; }
.nav-mobile.open { display: flex; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   SECTION LABELS & HEADINGS
   ============================================================ */
.section-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--off-white);
  margin-bottom: 16px;
}
.section-heading em {
  font-style: italic;
  color: var(--gold);
}
.section-sub {
  font-size: 16px;
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 60px;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,8,8,0.82) 0%,
    rgba(8,8,8,0.50) 55%,
    rgba(8,8,8,0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  padding-top: var(--nav-h);
  animation: fadeUp 1.2s 0.4s var(--ease) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 130px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--off-white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-body);
  max-width: 480px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 100px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  writing-mode: vertical-rl;
}
.hero-scroll span {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
  background: rgba(0,0,0,0.6);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(4px);
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.ticker-dot { color: var(--gold) !important; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  padding: 120px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.philosophy-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--off-white);
  margin-bottom: 28px;
}
.philosophy-text h2 em { font-style: italic; color: var(--gold); }
.philosophy-text p {
  color: var(--text-body);
  margin-bottom: 20px;
  font-size: 16px;
}
.philosophy-text strong { color: var(--white); font-weight: 500; }
.text-link {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  transition: gap 0.2s;
}
.text-link:hover { gap: 14px; }
.philosophy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 40px;
}
.stat-item {
  background: var(--panel);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   VEHICLE
   ============================================================ */
.vehicle {
  padding: 80px 40px 120px;
  background: var(--off-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vehicle-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  margin-top: 24px;
}
.vehicle-image-wrap {
  position: relative;
  overflow: hidden;
}
.vehicle-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.vehicle-image-wrap:hover .vehicle-img { transform: scale(1.03); }
.vehicle-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(8,8,8,0.85);
  border: 1px solid var(--border-md);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 8px 14px;
  backdrop-filter: blur(8px);
}
.vehicle-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--off-white);
  margin-bottom: 36px;
}
.vehicle-title em { font-style: italic; color: var(--gold); display: block; }
.vehicle-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 36px;
}
.spec {
  background: var(--dark);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-val {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
}
.spec-key {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.vehicle-desc {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 28px;
  line-height: 1.8;
}
.vehicle-price {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--cream);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.vehicle-price strong {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold);
  font-weight: 400;
  margin-left: 10px;
}

/* ============================================================
   ENGINEERING PILLARS
   ============================================================ */
.engineering {
  padding: 120px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.engineering .section-label { justify-content: center; }
.engineering .section-label::before { display: none; }
.engineering .section-sub { margin: 0 auto 64px; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  text-align: left;
}
.pillar {
  background: var(--panel);
  padding: 48px 40px;
  position: relative;
  transition: background 0.3s;
}
.pillar:hover { background: var(--dark); }
.pillar-num {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pillar-icon {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.pillar h3 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.pillar p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
}
.pillar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.pillar:hover::after { transform: scaleX(1); }

/* ============================================================
   LIFESTYLE
   ============================================================ */
.lifestyle {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lifestyle-image-wrap {
  position: absolute;
  inset: 0;
}
.lifestyle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.lifestyle-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,0.88) 40%, rgba(8,8,8,0.3) 100%);
}
.lifestyle-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}
.lifestyle-content h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--off-white);
  margin-bottom: 20px;
}
.lifestyle-content h2 em { font-style: italic; color: var(--gold); display: block; }
.lifestyle-content p {
  font-size: 16px;
  color: var(--text-body);
  max-width: 400px;
  margin-bottom: 36px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 120px 40px;
  background: var(--off-black);
}
.testimonials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.testimonials-grid {
  margin-top: 48px;
}
.coming-soon-card {
  border: 1px solid var(--border);
  padding: 64px 48px;
  text-align: center;
  background: var(--panel);
}
.coming-soon-icon {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px;
}
.coming-soon-title {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.coming-soon-sub {
  font-size: 15px;
  color: var(--text-muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(184,149,90,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.cta-banner .section-label { justify-content: center; }
.cta-banner .section-label::before { display: none; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--off-white);
  margin-bottom: 20px;
}
.cta-banner h2 em { font-style: italic; color: var(--gold); display: block; }
.cta-banner p {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 48px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--off-black);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-logo {
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  line-height: 1.3;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   CONFIGURE PAGE
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
  padding-left: 40px;
  padding-right: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--off-white);
}
.page-hero h1 em { font-style: italic; color: var(--gold); display: block; }
.page-hero p {
  font-size: 16px;
  color: var(--text-body);
  max-width: 540px;
  margin-top: 20px;
}

.configure-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.config-sections { display: flex; flex-direction: column; gap: 2px; }
.config-section {
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
}
.config-section-header {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--dark);
}
.config-section-num {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
}
.config-section-title {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}
.config-section-body { padding: 24px 28px; }
.config-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.config-option {
  position: relative;
}
.config-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.config-option label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 100px;
}
.config-option label:hover { border-color: var(--gold-light); }
.config-option input:checked + label {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.option-name {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.06em;
}
.option-price {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.config-option input:checked + label .option-price { color: var(--gold); }

/* Color swatches */
.color-options { display: flex; flex-wrap: wrap; gap: 10px; }
.color-opt { position: relative; }
.color-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.color-opt label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  border-radius: 2px;
}
.color-opt input:checked + label { border-color: var(--gold); }
.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
}
.color-name {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* Budget */
.budget-options { display: flex; flex-wrap: wrap; gap: 8px; }
.budget-btn {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 12px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.budget-btn:hover, .budget-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* Summary sidebar */
.config-summary {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
}
.summary-header {
  padding: 24px 28px;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}
.summary-header h3 {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.summary-header p {
  font-size: 12px;
  color: var(--text-muted);
}
.summary-lines {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: var(--text-body);
}
.summary-line .s-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.summary-line .s-val {
  font-size: 13px;
  color: var(--white);
  text-align: right;
}
.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.summary-total {
  padding: 20px 28px;
  background: var(--dark);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.total-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
}
.total-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--gold);
}
.summary-disclaimer {
  padding: 14px 28px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  line-height: 1.6;
}
.summary-action {
  padding: 24px 28px;
  border-top: 1px solid var(--border);
}
.summary-action .btn { width: 100%; text-align: center; }

/* Consultation prep */
.consult-prep {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 100px;
}
.consult-prep-inner {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 60px;
}
.consult-prep h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 36px;
}
.consult-prep h3 em { font-style: italic; color: var(--gold); }
.prep-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.prep-item { display: flex; gap: 16px; }
.prep-num {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.prep-item h4 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.prep-item p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}
.consult-prep .btn { display: inline-flex; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--off-white);
  margin-bottom: 28px;
}
.about-text h2 em { font-style: italic; color: var(--gold); }
.about-text p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.9;
}
.about-img-wrap {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.about-values {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 100px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 40px;
}
.value-card {
  background: var(--panel);
  padding: 40px 32px;
  transition: background 0.3s;
}
.value-card:hover { background: var(--dark); }
.value-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}
.value-card h3 {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.value-card p { font-size: 14px; color: var(--text-body); line-height: 1.8; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--off-white);
  margin-bottom: 24px;
}
.contact-info h2 em { font-style: italic; color: var(--gold); }
.contact-info p { font-size: 15px; color: var(--text-body); line-height: 1.9; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail h4 {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-detail p { font-size: 14px; color: var(--text-body); }
.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 48px 40px;
}
.contact-form h3 {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23b8955a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-field select option { background: #1a1a1a; }
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.form-success {
  display: none;
  padding: 20px;
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  text-align: center;
  margin-top: 16px;
}
.form-success p {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   PRIVACY / TERMS
   ============================================================ */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 40px 100px;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 12px;
}
.legal-page .last-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 48px;
  letter-spacing: 0.1em;
}
.legal-page h2 {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 40px;
  margin-bottom: 14px;
}
.legal-page p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 16px;
}
.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page ul li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 48px; }
  .philosophy-stats { margin-top: 0; }
  .vehicle-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .configure-layout { grid-template-columns: 1fr; }
  .config-summary { position: static; }
  .prep-items { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { position: static; }
  .about-img-wrap img { aspect-ratio: 16/9; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 24px; }
  .hero-content { padding: 0 24px; padding-top: var(--nav-h); }
  .hero-scroll { display: none; }
  .philosophy { padding: 80px 24px; }
  .vehicle { padding: 60px 24px 80px; }
  .engineering { padding: 80px 24px; }
  .testimonials { padding: 80px 24px; }
  .cta-banner { padding: 80px 24px; }
  .lifestyle-content { padding: 60px 24px; }
  .footer-inner { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 20px 24px; }
  .page-hero { padding-left: 24px; padding-right: 24px; }
  .configure-layout { padding: 0 24px 80px; }
  .consult-prep { padding: 0 24px 80px; }
  .consult-prep-inner { padding: 36px 24px; }
  .prep-items { grid-template-columns: 1fr; }
  .about-grid { padding: 0 24px 80px; }
  .about-values { padding: 0 24px 80px; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-layout { padding: 0 24px 80px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   IMPROVEMENTS PATCH — Page Transitions, Back-to-Top,
   Testimonials, Hamburger X, Font consolidation
   ============================================================ */

/* ── Page transitions ─────────────────────────────────────── */
body {
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
body.page-loaded {
  opacity: 1;
}
body.page-leaving {
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Hamburger → X animation ──────────────────────────────── */
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.nav-hamburger span {
  transition: transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.2s,
              background 0.2s;
}

/* ── Back to top ──────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 90;
  width: 44px;
  height: 44px;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid var(--border-md);
  backdrop-filter: blur(12px);
  color: var(--gold);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s, background 0.2s;
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#back-to-top:hover {
  border-color: var(--gold);
  background: rgba(184, 149, 90, 0.12);
}

/* ── Testimonials — upgraded ──────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.testimonial-card {
  background: var(--panel);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.testimonial-card:hover { background: var(--dark); }
.testimonial-card:hover::before { transform: scaleX(1); }
.testimonial-quote-icon {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.25;
  font-style: italic;
  user-select: none;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.7;
  font-weight: 300;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.testimonial-name {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}
.testimonial-detail {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}
.testimonial-stars span {
  color: var(--gold);
  font-size: 11px;
}

/* Be first card */
.testimonial-be-first {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 48px;
}
.be-first-left { display: flex; flex-direction: column; gap: 12px; }
.be-first-icon {
  font-size: 28px;
  color: var(--gold);
  opacity: 0.5;
}
.be-first-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.2;
}
.be-first-title em { font-style: italic; color: var(--gold); }
.be-first-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-be-first { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 768px) {
  #back-to-top { bottom: 20px; right: 20px; }
}

/* ============================================================
   BUG FIX PATCH — Additional fixes
   ============================================================ */

/* GLB load progress bar */
.viewer-loading-bar {
  width: 120px;
  height: 2px;
  background: var(--border-md);
  margin-top: 8px;
  overflow: hidden;
}
.viewer-loading-bar-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.3s;
}

/* Form success visible state */
.form-success.visible {
  display: block !important;
}

/* Config option selected state — ensure label text color stays readable */
.config-option input:checked + label .option-name {
  color: var(--white);
}

/* Mutual exclusion visual hint */
.config-option input:disabled + label {
  opacity: 0.35;
  cursor: not-allowed;
}
.config-option input:disabled + label:hover {
  border-color: var(--border);
}

/* Multi option — disabled state for conflicting mods */
.multi-option input:disabled + label {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Viewer hint — hide on very small screens */
@media (max-width: 480px) {
  .viewer-hint { display: none; }
  .viewer-label { font-size: 9px; }
}

/* Fix configure layout on very wide screens */
@media (min-width: 1400px) {
  .configure-layout {
    grid-template-columns: 1fr 400px;
  }
}
