/* assets/css/showroom.css — Apex Auto Investments: Sahara Simplified Editorial Showroom & DMS */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,600&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* ── 1. Color Architecture (The Apex Obsidian Atelier) ── */
  --color-bg:              #080C14;   /* Deep Obsidian Ground */
  --color-bg-subdued:      #0E1118;   /* Smoked Carbon Secondary Ground */
  --color-bg-cream:        #080C14;   /* Obsidian Ground (Replaced Cream) */
  --color-bg-pale-blue:    #0E1118;   /* Smoked Carbon (Replaced Ice Blue) */

  --color-surface:         rgba(18, 22, 30, 0.82);   /* Smoked Obsidian Glass Base */
  --color-surface-subdued: rgba(26, 30, 40, 0.90);   /* Elevated Smoked Surface */
  --color-dark-anchor:     #05080E;   /* Deep Abyss Anchor */

  --color-primary:         #E0561B;   /* Apex Refined Amber Tangerine */
  --color-primary-light:   #E86A34;   /* Warm Amber Glow */
  --color-primary-dark:    #B83E0E;   /* Deep Bronze Amber */
  --color-gold:            #E28238;   /* Warm Highlight */
  --color-deep-sea:        #0E1118;   /* Smoked Obsidian Anchor */
  --color-cyan:            #38BDF8;   /* Precision Ice / Technical Blue */

  /* Typography on Canvas & Glass Surfaces */
  --color-ink:             #F8FAFC;   /* Crisp Chalk White */
  --color-ink-secondary:   #94A3B8;   /* Cool Fog Gray */
  --color-ink-muted:       #64748B;   /* Slate Gray */
  --color-ink-micro:       #475569;   /* Micro specs */

  /* Card Typography */
  --color-card-ink:        #F8FAFC;
  --color-card-ink-sec:    #CBD5E1;
  --color-card-ink-muted:  #94A3B8;

  --color-border:          rgba(255, 255, 255, 0.10);
  --color-border-subtle:   rgba(255, 255, 255, 0.05);

  --color-accent-soft:     rgba(224, 86, 27, 0.14);
  --color-accent-edge:     rgba(224, 86, 27, 0.45);

  /* WhatsApp themed integration (Sleek Grey Palette) */
  --color-wa:              #94A3B8;
  --color-wa-hover:        #CBD5E1;

  /* ── Semantic Mappings ── */
  --bg:          var(--color-bg);
  --bg-raised:   var(--color-surface);
  --bg-inset:    var(--color-bg-subdued);
  --rule:        var(--color-border);
  --rule-subtle: var(--color-border-subtle);
  --ink:         var(--color-ink);
  --ink-main:    var(--color-ink);
  --ink-quiet:   var(--color-ink-secondary);
  --ink-mute:    var(--color-ink-muted);
  --accent:      var(--color-primary);
  --accent-dark: var(--color-primary-dark);
  --gold:        var(--color-gold);

  /* ── 2. Typography System ── */
  --font-serif:   'Fraunces', 'EB Garamond', Georgia, serif;
  --font-display: 'Fraunces', 'EB Garamond', Georgia, serif;
  --font-sans:    'Manrope', -apple-system, system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Space Grotesk', monospace;

  /* ── Motion & Transitions ── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease:        cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring:      cubic-bezier(0.34, 1.4, 0.64, 1);

  /* ── Antigravity Spatial & Glassmorphism Tokens ── */
  --glass-specular:       inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --glass-specular-prom:  inset 0 1px 1px rgba(255, 255, 255, 0.25);
  --shadow-spatial-sm:    0 8px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-spatial-md:    0 16px 40px -8px rgba(0, 0, 0, 0.65), 0 4px 12px -2px rgba(0, 0, 0, 0.35);
  --shadow-spatial-lg:    0 28px 60px -12px rgba(0, 0, 0, 0.8), 0 0 32px -4px rgba(224, 86, 27, 0.25);
  --glow-accent-subtle:   0 0 24px -4px rgba(224, 86, 27, 0.30);
  --glow-accent-active:   0 0 36px -2px rgba(232, 106, 52, 0.55);

  /* ── Bento Grid & Glass Tokens (Smoked Obsidian Glass) ── */
  --bento-radius:         20px;
  --bento-radius-sm:      14px;
  --bento-radius-lg:      28px;
  --bento-gap:            20px;
  --bento-glass-bg:       rgba(18, 22, 30, 0.82);
  --bento-glass-bg-subtle:rgba(12, 15, 22, 0.88);
  --bento-glass-bg-elev:  rgba(24, 28, 38, 0.92);
  --bento-glass-border:   rgba(255, 255, 255, 0.08);
  --bento-glass-border-prom: rgba(224, 86, 27, 0.50);
  --bento-glass-top-edge: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 30%, rgba(232, 106, 52, 0.45) 50%, rgba(255, 255, 255, 0.22) 70%, transparent 100%);
  --bento-glow-accent:    0 0 32px -4px rgba(224, 86, 27, 0.35);
}

/* ── Dark Mode Token Overrides (Permanent Dark) ── */
[data-theme="dark"] {
  --color-bg:              #080C14;
  --color-bg-subdued:      #0E1118;
  --color-surface:         rgba(18, 22, 30, 0.82);
  --color-surface-subdued: rgba(26, 30, 40, 0.90);
  --color-dark-anchor:     #05080E;

  --color-ink:             #F8FAFC;
  --color-ink-secondary:   #94A3B8;
  --color-ink-muted:       #64748B;
  --color-ink-micro:       #475569;

  --color-border:          rgba(255, 255, 255, 0.10);
  --color-border-subtle:   rgba(255, 255, 255, 0.05);

  --bg:          var(--color-bg);
  --bg-raised:   var(--color-surface);
  --bg-inset:    var(--color-bg-subdued);
  --rule:        var(--color-border);
  --ink:         var(--color-ink);
  --ink-quiet:   var(--color-ink-secondary);
  --ink-mute:    var(--color-ink-muted);
}

/* ── Reset & Base Styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; background: #080C14; color-scheme: dark; overflow-x: clip; }
body, [data-theme="dark"] body {
  font-family: var(--font-sans);
  background-color: #080C14;
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(224, 86, 27, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 65% 45% at 92% 55%, rgba(56, 189, 248, 0.035) 0%, transparent 65%),
    radial-gradient(ellipse 55% 35% at 8% 85%, rgba(224, 86, 27, 0.04) 0%, transparent 55%);
  background-attachment: fixed;
}

/* ── Skip Link ── */
.coc-skip {
  position: absolute; top: -60px; left: 12px; z-index: 9999;
  background: var(--accent); color: #fff; padding: 10px 18px;
  font-weight: 600; text-decoration: none; border-radius: 6px;
  transition: top 0.2s var(--ease);
}
.coc-skip:focus { top: 12px; }

/* ── Typography Hierarchy ── */
h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--accent);
}
.font-mono { font-family: var(--font-mono); }

/* ── Layout Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 32px);
  box-sizing: border-box;
}
.section { padding: 80px 0; }
.section-header { margin-bottom: 44px; }
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--ink-quiet);
  margin-top: 10px;
  max-width: 660px;
}

/* ── Hero Grid (2-Column Feature Split) ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Topbar (Monospace Telemetry) ── */
.topbar {
  background-color: rgba(8, 12, 20, 0.95);
  color: var(--color-ink-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-items { display: flex; gap: 24px; align-items: center; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; fill: var(--accent); }
.topbar-link { color: var(--color-ink); text-decoration: none; transition: color 0.2s; font-weight: 600; }
.topbar-link:hover { color: var(--color-primary); }

/* ── Header & Sticky Glassmorphic Navigation ── */
.header, [data-theme="dark"] .header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.6), inset 0 -1px 0 rgba(224, 86, 27, 0.25);
  transition: all 0.3s var(--ease);
}
.header::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255,85,0,.6) 25%,
    rgba(255,110,46,.95) 50%, rgba(255,85,0,.6) 75%,
    transparent 100%);
  box-shadow: 0 0 12px rgba(255,85,0,.5);
  z-index: 10; pointer-events: none;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 92px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}
.logo-brand span { color: var(--accent); font-style: italic; }
.logo-tag {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-ink-secondary);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-ink);
  text-decoration: none;
  transition: color 0.2s var(--ease);
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active { color: var(--color-primary); }
.nav-link.active::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
  box-shadow: 0 0 8px rgba(224, 86, 27, 0.6);
}

.header-ctas { display: flex; align-items: center; gap: 14px; margin-left: 20px; }

/* ── Header WhatsApp Button (Sleek Technical Grey) ── */
.header-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94A3B8;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}
.header-wa-btn svg {
  width: 20px;
  height: 20px;
  fill: #94A3B8;
  transition: transform 0.2s ease, fill 0.2s ease;
}
.header-wa-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #CBD5E1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.header-wa-btn:hover svg {
  fill: #CBD5E1;
  transform: scale(1.08);
}

/* ── Mobile Hamburger Toggle Button ── */
.mobile-nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  transition: all 0.2s var(--ease);
}
.mobile-nav-toggle:hover {
  background: var(--color-accent-soft);
  border-color: var(--accent);
}
.mobile-nav-toggle .hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ── Glassmorphic Mobile Navigation Drawer ── */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 999995;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: visibility 0.3s ease;
}
.mobile-nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-drawer.is-open .mobile-nav-backdrop {
  opacity: 1;
}
.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 86%;
  max-width: 360px;
  background: rgba(10, 14, 24, 0.96);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border-left: 1px solid rgba(224, 86, 27, 0.35);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.7);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-nav-drawer.is-open .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}
.mobile-nav-logo {
  height: 60px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
}
.mobile-nav-close {
  background: rgba(26, 30, 40, 0.85);
  border: 1px solid rgba(235, 235, 223, 0.2);
  color: var(--color-card-ink);
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-nav-close:hover {
  background: var(--color-accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  color: #F8FAFC !important;
  text-decoration: none;
  background: transparent;
  transition: all 0.2s ease;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(224, 86, 27, 0.16);
  color: #E86A34 !important;
  border-left: 3px solid var(--accent);
}
.mobile-nav-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(224, 86, 27, 0.18);
  border: 1px solid rgba(224, 86, 27, 0.35);
  color: #E86A34;
}
.mobile-nav-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 18px;
}
.mobile-nav-dealer-meta {
  font-size: 0.78rem;
  color: var(--color-ink-secondary);
  line-height: 1.6;
  text-align: center;
  padding-top: 8px;
}

/* ── Brand 3D Logos ── */
.brand-header-img {
  height: 72px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.3s ease;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}
.brand-footer-img {
  height: 78px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}
@media (max-width: 768px) {
  .header-inner { height: 76px; }
  .brand-header-img { height: 60px; max-width: 250px; }
}
@media (max-width: 480px) {
  .header-inner { height: 64px; }
  .brand-header-img { height: 46px; max-width: 180px; }
}

/* ── Buttons (Apex Electric Tangerine & Spatial Elevation) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  border-radius: 9px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s ease, border-color 0.3s ease, color 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
  max-width: 100%;
  box-sizing: border-box;
}
.btn svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.btn-block {
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
}

/* Light Glimmer Glare Beam Sweep (::after) */
.btn::after {
  content: '';
  position: absolute;
  top: -20%; left: -140%;
  width: 75%; height: 140%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 30%, 
    rgba(255, 255, 255, 0.65) 50%, 
    rgba(255, 255, 255, 0.2) 70%, 
    transparent 100%
  );
  transform: rotate(22deg);
  transition: left 0.8s var(--ease-out);
  pointer-events: none;
  z-index: 2;
}

.btn:hover::after {
  left: 150%;
}

.btn:hover { transform: translateY(-3px) scale(1.015); }
.btn:active { transform: translateY(0px) scale(0.975); transition-duration: 0.1s; }

/* Primary Button: Apex Electric Tangerine Glow */
.btn-primary {
  background: linear-gradient(135deg, #E86A34 0%, #E0561B 52%, #B83E0E 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 4px 14px rgba(224, 86, 27, 0.30), 
    0 2px 6px rgba(217, 71, 0, 0.30), 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #EC7742 0%, #E86A34 52%, #E0561B 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 8px 24px -2px rgba(224, 86, 27, 0.40), 
    0 4px 14px rgba(217, 71, 0, 0.40), 
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
}

/* Outline Button: Smoked Glass Rim on Dark Canvas */
.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #F8FAFC !important;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: #FFFFFF !important;
  background: rgba(224, 86, 27, 0.18);
  box-shadow: 0 6px 18px rgba(224, 86, 27, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* WhatsApp Button: Sleek Grey Tech Style */
.btn-wa {
  background: rgba(26, 32, 44, 0.9);
  color: #CBD5E1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.35), 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.15);
  text-shadow: none;
}
.btn-wa svg {
  fill: #94A3B8;
  transition: fill 0.2s ease;
}
.btn-wa:hover {
  background: rgba(38, 46, 62, 0.95);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  box-shadow: 
    0 10px 24px rgba(0, 0, 0, 0.45), 
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}
.btn-wa:hover svg {
  fill: #FFFFFF;
}

/* Continuous Ambient Glimmer Glint Animation (.btn-glimmer) */
.btn-glimmer::before {
  content: '';
  position: absolute;
  top: -20%; left: -140%;
  width: 75%; height: 140%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.15) 30%, 
    rgba(255, 255, 255, 0.5) 50%, 
    rgba(255, 255, 255, 0.15) 70%, 
    transparent 100%
  );
  transform: rotate(22deg);
  animation: shimmer-ambient 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}
@keyframes shimmer-ambient {
  0%, 75% { left: -140%; }
  100% { left: 160%; }
}

.btn-sm { padding: 7px 14px; font-size: 0.82rem; border-radius: 8px; }
.btn-lg { padding: 13px 24px; font-size: 0.96rem; border-radius: 10px; }

/* ── Bespoke Interactive Map Component ── */
.interactive-map-card {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.12), 0 4px 12px rgba(224, 86, 27, 0.06);
  background: var(--bg-inset);
  isolation: isolate;
}
.apex-map-canvas {
  width: 100%;
  height: 100%;
  z-index: 1;
  touch-action: pan-y;
}

/* ── Social Media Icon Links ── */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #F2F3F4;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-icon-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(168, 83, 36, 0.35);
}
.social-icon-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.social-icon-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}
.social-icon-btn:hover svg {
  transform: scale(1.1);
}

/* Custom Animated Map Marker Pin */
.map-custom-pin {
  width: 44px; height: 44px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.pin-ring {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pin-pulse-wave 2.2s infinite ease-out;
  pointer-events: none;
}
@keyframes pin-pulse-wave {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}
.pin-body {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #E86A34 0%, #B83E0E 100%);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(168, 83, 36, 0.35);
  transition: transform 0.25s var(--ease-out);
}
.map-custom-pin:hover .pin-body {
  transform: scale(1.15);
}

/* Floating Glass Overlay Card */
.map-overlay-card {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 10;
  background: rgba(13, 17, 26, 0.92);
  color: #FFFFFF;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px 22px;
  max-width: 380px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  display: flex; flex-direction: column; gap: 14px;
}
[data-theme="light"] .map-overlay-card {
  background: rgba(13, 17, 26, 0.92);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.12);
}

.map-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent);
}
.map-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s infinite ease-in-out;
}

.map-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600;
  margin-top: 2px; line-height: 1.2;
}
.map-card-address {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--color-card-ink-sec);
}
[data-theme="light"] .map-card-address {
  color: var(--color-card-ink-sec);
}

.map-card-ctas {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px;
}

/* ── Hero Section (Full-Bleed Ken Burns & Scrim Overlay) ── */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  isolation: isolate;
  display: flex; flex-direction: column;
  background: #080C14;
  color: #FFFFFF;
  padding-bottom: 0;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 50%;
  filter: saturate(0.92) brightness(1.02);
  transition: opacity 0.4s ease;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-bottom: 24px;
    background: #080C14;
  }
  .hero-media {
    height: 520px;
    bottom: auto;
    opacity: 0.35;
  }
  .hero-media img {
    object-position: center 25% !important;
  }
  .hero-media img.kb-active {
    animation: none !important;
  }
  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(8, 12, 20, 0.82) 0%,
        rgba(8, 12, 20, 0.94) 320px,
        #080C14 480px,
        #080C14 100%) !important;
  }
}

/* Ken Burns Subtle Ambient Zoom Animation */
.hero-media img.kb-active {
  animation: kenburns 22s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(0.98) translate(0, 0); }
  50%  { transform: scale(1.04) translate(-1%, -0.5%); }
  100% { transform: scale(1.01) translate(0.5%, 0.3%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img.kb-active { animation: none; }
}

.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(8, 12, 20, 0.96) 0%,
      rgba(8, 12, 20, 0.88) 42%,
      rgba(8, 12, 20, 0.65) 75%,
      rgba(8, 12, 20, 0.35) 100%),
    linear-gradient(0deg,
      #080C14 0%,
      #080C14 260px,
      rgba(8, 12, 20, 0.96) 380px,
      rgba(8, 12, 20, 0.70) 540px,
      transparent 720px);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  max-width: 720px;
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(56px, 7vw, 84px) 0 clamp(48px, 6vw, 64px);
  width: 100%;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-subtext {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  color: var(--color-ink-secondary);
  margin-top: 18px;
  max-width: 540px;
}
.text-glow {
  color: var(--accent);
}
.hero-trust-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.hero-trust-chip svg {
  color: var(--accent);
  stroke: var(--accent);
}

/* ── Hero Glass Vehicle Card (Right Column — Obsidian 3D Glass) ── */
.hero-car-glass-card {
  position: relative;
  background: rgba(18, 22, 30, 0.90);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 16px;
  box-shadow:
    0 24px 60px -10px rgba(0, 0, 0, 0.7),
    0 0 35px -5px rgba(224, 86, 27, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  overflow: hidden;
  text-decoration: none;
  color: #FFFFFF !important;
  display: block;
}
.hero-car-glass-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 32px 70px -10px rgba(0, 0, 0, 0.85),
    0 0 45px 0px rgba(224, 86, 27, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.hero-car-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(30, 42, 68, 0.5) 0%, rgba(10, 14, 24, 0.95) 100%);
}
.hero-car-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.hero-car-glass-card:hover .hero-car-img {
  transform: scale(1.06);
}
.hero-car-floating-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(8, 12, 20, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 5px 11px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}
.hero-car-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 12, 20, 0.90);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.hero-car-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-car-details {
  padding: 16px 8px 6px;
}
.hero-car-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.hero-car-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.25;
}
.hero-car-price-main {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}
.hero-car-est-pm {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-ink-secondary);
  margin-top: 2px;
}
.hero-car-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.hero-car-pill {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: #FFFFFF !important;
  background: rgba(26, 30, 40, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 3px 10px;
  border-radius: 100px;
}
.hero-car-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 72px 0 36px;
  }
  .hero-left { padding-top: 12px; }
  .hero-subtext { 
    color: #E2E8F0 !important;
    font-size: 0.95rem !important; 
    line-height: 1.65 !important; 
    margin-top: 14px !important; 
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  }
  .hero-trust-chips { margin-top: 18px; gap: 8px; }
  .hero-trust-chip { 
    font-size: 0.74rem; 
    padding: 5px 12px;
    background: rgba(18, 22, 30, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
  }
}
@media (max-width: 768px) {
  .hero-stage { padding: 68px 0 36px; gap: 28px; }
  .hero-left { padding-top: 14px; }
}
@media (max-width: 480px) {
  .hero-stage { padding: 64px 0 30px; gap: 24px; }
  .hero-left { padding-top: 10px; }
  .hero-subtext { 
    font-size: 0.92rem !important; 
    line-height: 1.6 !important;
  }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2.4s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 12px var(--accent); }
  50% { transform: scale(1.35); opacity: 0.75; box-shadow: 0 0 20px var(--accent); }
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 14ch;
  color: var(--color-ink);
}
.hero-title em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-facts {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  font-family: var(--font-sans);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--color-ink);
}
.hero-facts .hero-sep { color: rgba(255, 255, 255, 0.2); font-size: 16px; }
.hero-delta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: rgba(224, 86, 27, 0.14);
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); white-space: nowrap;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ── Provenance Ticker Pinned to Hero Bottom (Frosted Glassmorphism) ── */
.hero-ticker {
  position: relative; z-index: 5;
  margin: 28px auto 14px;
  max-width: 1200px;
  width: calc(100% - 32px);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(14, 18, 26, 0.85);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 
    0 24px 60px -8px rgba(0, 0, 0, 0.75), 
    0 0 28px -4px rgba(224, 86, 27, 0.20), 
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.hero-ticker > div {
  padding: 20px clamp(14px, 2vw, 32px);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
  overflow: hidden;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.hero-ticker > div:hover {
  background: rgba(224, 86, 27, 0.07);
}
.hero-ticker > div:hover b {
  color: var(--accent);
  transition: color 0.2s ease;
}
.hero-ticker > div:first-child { border-left: 0; }
.hero-ticker b {
  display: block;
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: -0.02em;
  color: #FFFFFF;
  white-space: nowrap;
}
.hero-ticker span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-ink-secondary);
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Hero Social Proof & Quick Connect Strip ── */
.hero-social-strip {
  position: relative;
  z-index: 2;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 32px !important;
  padding: 18px 24px !important;
  background: rgba(8, 12, 20, 0.90) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.hero-social-strip .social-icon-btn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #F8FAFC !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.hero-social-strip .social-icon-btn:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 22px rgba(224, 86, 27, 0.5) !important;
}

.hero-social-strip .social-icon-btn:active {
  transform: scale(0.95) !important;
}

.hero-social-strip .social-icon-btn svg {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
  transition: transform 0.25s ease !important;
}

.hero-social-strip .social-icon-btn:hover svg {
  transform: scale(1.12) !important;
}

@media (max-width: 768px) {
  .hero-social-strip {
    gap: 28px !important;
    padding: 16px 20px !important;
  }
  .hero-social-strip .social-icon-btn {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
  }
}

/* ── Floating Search Rail ── */
.search-rail-section {
  position: relative;
  z-index: 20;
  margin-top: 0;
  margin-bottom: 36px;
}
.search-rail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}
.search-rail-inner {
  background: rgba(18, 22, 30, 0.90);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 2px solid var(--accent);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.65), 
    0 0 36px -4px rgba(224, 86, 27, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1.2fr;
  gap: 16px;
  align-items: flex-end;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-rail-inner:focus-within {
  border-top-color: #E86A34;
  box-shadow: 
    0 28px 70px rgba(0, 0, 0, 0.75), 
    0 0 44px -2px rgba(232, 106, 52, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-label {
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-ink-secondary);
}
/* ── Form Inputs & Select Dropdowns ── */
.filter-select, .filter-input, input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.92rem; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(18, 22, 30, 0.90);
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  height: 42px;
  -webkit-appearance: none;
  appearance: none;
}
.filter-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FF5500' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.filter-select:focus, .filter-input:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: rgba(26, 32, 44, 0.98);
  box-shadow: 0 0 0 3px rgba(224, 86, 27, 0.25);
}
select option {
  background-color: #121620;
  color: #FFFFFF;
  padding: 8px;
}

/* Form Input Dark Variant */
.form-input-dark {
  background: rgba(18, 22, 30, 0.90) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  height: 42px;
}
.form-input-dark::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}
.form-input-dark:focus {
  border-color: var(--accent) !important;
  background: rgba(26, 32, 44, 0.98) !important;
  box-shadow: 0 0 0 3px rgba(224, 86, 27, 0.3) !important;
}

[data-theme="dark"] .filter-select,
[data-theme="dark"] .filter-input,
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background-color: rgba(18, 22, 30, 0.90);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] select option {
  background-color: #121620;
  color: #FFFFFF;
}

/* ── Social Proof Ticker Strip (Raised 3D Floating Glass Bar) ── */
.proof-ticker {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 14px 20px;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-quiet);
  position: relative;
  z-index: 5;
  margin: 32px auto 16px;
  max-width: 1280px;
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.45), 
    0 4px 14px rgba(224, 86, 27, 0.15), 
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
[data-theme="dark"] .proof-ticker {
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.55), 
    0 4px 14px rgba(224, 86, 27, 0.18), 
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.proof-ticker-track {
  display: inline-flex; gap: 48px;
  animation: ticker-slide 30s linear infinite;
}
@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Bento Grid & Smoked Obsidian Card Surface Tokens (EXCLUSIVELY FOR CARDS) ── */
.card,
.bento-card,
.hero-car-glass-card,
.srp-sidebar,
.srp-bar,
.wiz-card,
.val-card,
.fin-car-card,
.fin-spec-card,
.fin-preapproval-card,
.vir-card,
.vdp-rail,
.vdp-gallery,
.interactive-map-card,
.modal-box {
  --ink: #FFFFFF;
  --ink-main: #FFFFFF;
  --ink-quiet: #CBD5E1;
  --ink-mute: #94A3B8;
  --rule: rgba(255, 255, 255, 0.10);
  --rule-subtle: rgba(255, 255, 255, 0.05);
  --bg-inset: rgba(10, 14, 24, 0.7);
  --bg-raised: rgba(26, 30, 40, 0.90);
  color: var(--color-card-ink);
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6,
.bento-card h1, .bento-card h2, .bento-card h3, .bento-card h4, .bento-card h5, .bento-card h6,
.hero-car-glass-card h1, .hero-car-glass-card h2, .hero-car-glass-card h3, .hero-car-glass-card h4,
.srp-sidebar h1, .srp-sidebar h2, .srp-sidebar h3, .srp-sidebar h4,
.srp-bar h1, .srp-bar h2, .srp-bar h3, .srp-bar h4,
.wiz-card h1, .wiz-card h2, .wiz-card h3, .wiz-card h4,
.val-card h1, .val-card h2, .val-card h3, .val-card h4,
.fin-car-card h1, .fin-car-card h2, .fin-car-card h3, .fin-car-card h4,
.fin-spec-card h1, .fin-spec-card h2, .fin-spec-card h3, .fin-spec-card h4,
.fin-preapproval-card h1, .fin-preapproval-card h2, .fin-preapproval-card h3, .fin-preapproval-card h4,
.vir-card h1, .vir-card h2, .vir-card h3, .vir-card h4,
.vdp-rail h1, .vdp-rail h2, .vdp-rail h3, .vdp-rail h4,
.modal-box h1, .modal-box h2, .modal-box h3, .modal-box h4,
.bento-card a {
  color: #FFFFFF !important;
}

.card p,
.bento-card p,
.hero-car-glass-card p,
.srp-sidebar p,
.wiz-card p,
.val-card p,
.fin-car-card p,
.fin-spec-card p,
.fin-preapproval-card p,
.vdp-rail p,
.modal-box p {
  color: #CBD5E1 !important;
}

/* Outline Buttons on Smoked Obsidian Cards */
.card .btn-outline,
.bento-card .btn-outline,
.hero-car-glass-card .btn-outline,
.vdp-rail .btn-outline,
.wiz-card .btn-outline,
.val-card .btn-outline,
.fin-car-card .btn-outline,
.fin-preapproval-card .btn-outline,
.vir-card .btn-outline,
.srp-sidebar .btn-outline,
.modal-box .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.card .btn-outline:hover,
.bento-card .btn-outline:hover,
.hero-car-glass-card .btn-outline:hover,
.vdp-rail .btn-outline:hover,
.wiz-card .btn-outline:hover,
.val-card .btn-outline:hover,
.fin-car-card .btn-outline:hover,
.fin-preapproval-card .btn-outline:hover,
.vir-card .btn-outline:hover,
.srp-sidebar .btn-outline:hover,
.modal-box .btn-outline:hover {
  background: rgba(224, 86, 27, 0.22);
  color: #FFFFFF !important;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(224, 86, 27, 0.40);
}

/* Form Controls inside Smoked Obsidian Cards */
.card select, .card input,
.bento-card select, .bento-card input,
.srp-sidebar select, .srp-sidebar input,
.srp-bar select, .srp-bar input,
.vdp-rail select, .vdp-rail input,
.wiz-card select, .wiz-card input,
.modal-box select, .modal-box input,
.trade-input, .filter-input, .filter-select {
  background: rgba(18, 22, 30, 0.90) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.card select option, .card input option,
.bento-card select option,
.srp-sidebar select option,
.srp-bar select option,
.vdp-rail select option,
.wiz-card select option,
.modal-box select option,
.trade-input option, .filter-select option {
  background: #121620 !important;
  color: #FFFFFF !important;
}

/* ── Bento Grid System ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--bento-gap);
  width: 100%;
}
.bento-card {
  background: var(--bento-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--bento-glass-border);
  border-radius: var(--bento-radius);
  padding: clamp(22px, 3.5vw, 32px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-spatial-sm), var(--glass-specular);
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease-out), border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--bento-glass-top-edge);
  opacity: 0.9;
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 86, 27, 0.45);
  box-shadow: var(--shadow-spatial-md), var(--glass-specular-prom), var(--bento-glow-accent);
}
.bento-col-12 { grid-column: span 12; }
.bento-col-8  { grid-column: span 8; }
.bento-col-7  { grid-column: span 7; }
.bento-col-6  { grid-column: span 6; }
.bento-col-5  { grid-column: span 5; }
.bento-col-4  { grid-column: span 4; }
.bento-col-3  { grid-column: span 3; }

@media (max-width: 960px) {
  .bento-col-8, .bento-col-7, .bento-col-6, .bento-col-5, .bento-col-4, .bento-col-3 {
    grid-column: span 12;
  }
}
@media (min-width: 641px) and (max-width: 960px) {
  .bento-col-6-md { grid-column: span 6; }
}

/* ── Body Shape Category Tiles (Bento Styled) ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat-tile {
  background: var(--bento-glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--bento-glass-border);
  border-radius: var(--bento-radius-sm);
  padding: 24px 16px;
  text-align: center; text-decoration: none;
  color: var(--ink);
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease-out), border-color 0.35s ease, background-color 0.3s ease;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-spatial-sm), var(--glass-specular);
  will-change: transform;
}
.cat-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--bento-glass-top-edge);
  opacity: 0.9;
  pointer-events: none;
}
.cat-tile:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent);
  box-shadow: var(--shadow-spatial-md), var(--glass-specular-prom), var(--bento-glow-accent);
}
.cat-icon { width: 48px; height: 32px; fill: var(--ink-quiet); transition: fill 0.2s, transform 0.3s var(--spring); }
.cat-tile:hover .cat-icon { fill: var(--accent); transform: scale(1.08); }
.cat-name { font-weight: 700; font-size: 0.95rem; }
.cat-count {
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 600;
  color: var(--ink-mute);
  background: var(--bg-inset);
  padding: 2px 8px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s, color 0.25s;
}
.cat-tile:hover .cat-count {
  border-color: rgba(224, 86, 27, 0.35);
  color: var(--accent);
}

/* ── Collection Filter Tabs ── */
.collection-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.collection-tab {
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 0.88rem; font-weight: 600;
  border-radius: 20px;
  border: 1px solid var(--rule);
  background: var(--bg-inset);
  color: var(--ink-quiet);
  cursor: pointer;
  box-shadow: var(--glass-specular);
  transition: all 0.25s var(--ease-out);
}
.collection-tab:hover, .collection-tab.is-active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 6px 18px -2px rgba(224, 86, 27, 0.4), var(--glass-specular-prom);
  transform: translateY(-2px);
}

/* ── Stock Grid & Card Atom (Glassmorphic 3D Depth) ── */
.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bento-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--bento-glass-border);
  border-radius: var(--bento-radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease-out), border-color 0.35s ease;
  position: relative; text-decoration: none; color: var(--color-card-ink);
  box-shadow: var(--shadow-spatial-sm), var(--glass-specular);
  will-change: transform;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--bento-glass-top-edge);
  opacity: 0.9;
  pointer-events: none;
  z-index: 2;
}
.card:hover {
  transform: translateY(-7px);
  border-color: rgba(224, 86, 27, 0.45);
  box-shadow: var(--shadow-spatial-md), var(--glass-specular-prom), var(--bento-glow-accent);
}
.card-media {
  position: relative; aspect-ratio: 16 / 10; background: rgba(18, 22, 30, 0.9); overflow: hidden;
}
.card-img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.card:hover .card-img { transform: scale(1.05); }

.card-vir-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(18, 22, 30, 0.92);
  color: #FFFFFF;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 700;
  padding: 5px 11px; border-radius: 8px;
  display: flex; align-items: center; gap: 6px;
  border: 1px solid rgba(235, 235, 223, 0.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(235, 235, 223, 0.25);
}
.card-vir-score { color: var(--gold); font-weight: 800; }

.card-body-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(18, 22, 30, 0.88);
  color: var(--color-card-ink);
  font-family: var(--font-sans);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid rgba(235, 235, 223, 0.15);
  backdrop-filter: blur(8px);
}

.card-content { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.card-year-make {
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase; margin-bottom: 4px;
}
.card-title {
  font-family: var(--font-sans);
  font-size: 1.2rem; font-weight: 700;
  line-height: 1.25; margin-bottom: 12px;
  color: var(--color-card-ink);
  overflow-wrap: break-word;
  word-break: break-word;
}
.card-specs {
  display: flex; gap: 10px 14px;
  flex-wrap: wrap;
  font-size: 0.82rem; color: var(--color-card-ink-sec);
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(235, 235, 223, 0.12);
}
.spec-item { display: flex; align-items: center; gap: 4px; white-space: nowrap; }

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.card-price {
  font-family: var(--font-sans);
  font-size: 1.4rem; font-weight: 800;
  color: var(--color-card-ink);
}
.card-repay {
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 700;
  color: var(--color-primary-light);
}

.card-filler {
  background: rgba(14, 20, 34, 0.9);
  color: #FFFFFF; border-radius: 14px;
  padding: 32px; display: flex; align-items: center; justify-content: center;
  text-align: center; text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}
.card-filler:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--accent); }

/* ── Holding Screen State ── */
.holding-box {
  background: var(--bg-raised); border: 1px solid var(--rule); border-radius: 16px;
  padding: 48px 32px; text-align: center; max-width: 600px; margin: 40px auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.holding-icon {
  width: 56px; height: 56px; background: var(--color-accent-soft); color: var(--accent);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* ── Finance Partner Badges ── */
.finance-bank-strip {
  display: flex; justify-content: center; align-items: center; gap: 24px;
  flex-wrap: wrap; padding: 24px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
.bank-badge {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 800;
  color: #FFFFFF !important; letter-spacing: -0.01em;
  background: rgba(18, 24, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  display: inline-flex; align-items: center; justify-content: center;
}
.bento-card .bank-badge {
  background: rgba(26, 30, 40, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  box-shadow: none;
}

/* ── Footer (Deep Obsidian Ground) ── */
.footer {
  background-color: #05080E;
  color: #F8FAFC;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand-title {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: #FFFFFF; margin-bottom: 12px;
}
.footer-brand-title span { color: var(--accent); font-style: italic; }
.footer-desc { color: var(--color-ink-secondary); margin-bottom: 20px; line-height: 1.65; font-size: 0.92rem; }
.footer-col-title {
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 800; text-transform: uppercase;
  color: #FFFFFF; margin-bottom: 16px; letter-spacing: 0.08em;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-link { color: var(--color-ink-secondary); text-decoration: none; transition: color 0.2s ease; font-size: 0.92rem; }
.footer-link:hover { color: var(--color-primary); }

.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.84rem; color: var(--color-ink-muted);
}
.footer-trudealer { color: #FFFFFF; text-decoration: none; font-weight: 700; }
.footer-trudealer span { color: var(--accent); }

/* ── Mobile Sticky Bottom Action Bar & Unified Widget Command Hub ── */
.mbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99990;
  background: rgba(8, 12, 20, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 -8px 32px -4px rgba(0, 0, 0, 0.6);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.mbar-tab {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 2px 6px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(242, 243, 244, 0.72);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}
.mbar-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2.5px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mbar-tab:hover {
  color: #FFFFFF;
  background: radial-gradient(circle at 50% 0%, rgba(224, 86, 27, 0.22) 0%, rgba(18, 22, 30, 0.6) 100%);
  border-color: rgba(224, 86, 27, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px -2px rgba(224, 86, 27, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.mbar-tab:hover::before {
  opacity: 1;
  transform: scaleX(1);
}
.mbar-tab:active {
  transform: scale(0.93) translateY(0);
  background: rgba(224, 86, 27, 0.28);
  box-shadow: 0 2px 8px -1px rgba(224, 86, 27, 0.3);
}
.mbar-tab.active {
  color: #FFFFFF;
  background: linear-gradient(180deg, rgba(224, 86, 27, 0.22) 0%, rgba(18, 22, 30, 0.7) 100%);
  border-color: rgba(224, 86, 27, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 14px -2px rgba(224, 86, 27, 0.35);
}
.mbar-tab.active::before {
  opacity: 1;
  transform: scaleX(1);
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}
.mbar-tab svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}
.mbar-tab:hover svg {
  transform: translateY(-2px) scale(1.12);
  filter: drop-shadow(0 0 8px rgba(224, 86, 27, 0.6));
  color: var(--color-primary-light);
}
.mbar-tab.active svg {
  color: var(--color-primary-light);
  filter: drop-shadow(0 0 6px rgba(224, 86, 27, 0.5));
}
.mbar-ico-wrap {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mbar-tab:hover .mbar-ico-wrap {
  transform: translateY(-2px) scale(1.14);
}
.mbar-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.mbar-tab:hover .mbar-avatar {
  border-color: var(--color-primary);
  box-shadow: 0 0 12px rgba(224, 86, 27, 0.7);
}
.mbar-pulse {
  position: absolute;
  top: -1px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}
.mbar-tab.mbar-wa {
  color: rgba(242, 243, 244, 0.75);
}
.mbar-tab.mbar-wa:hover,
.mbar-tab.mbar-wa.active {
  color: #FFFFFF;
  background: radial-gradient(circle at 50% 0%, rgba(37, 211, 102, 0.22) 0%, rgba(18, 22, 30, 0.6) 100%);
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 0 4px 16px -2px rgba(37, 211, 102, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.mbar-tab.mbar-wa:hover::before {
  background: linear-gradient(90deg, transparent, #25D366, transparent);
}
.mbar-tab.mbar-wa:hover svg {
  color: #25D366;
  filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.7));
}

@media (max-width: 768px) {
  .mbar { display: grid; }
  body { padding-bottom: 72px; }

  /* Suppress redundant social proof ticker on mobile so site-mbar stays pristine */
  #social-proof-ticker {
    display: none !important;
  }

  /* Widgets fall into the sticky footer — suppress only floating corner pills, keeping host roots active for modal rendering */
  #truchat-launcher,
  #tru-afford-root .ta-launcher,
  .ta-launcher,
  [id^="tru-form-"][id$="-host"] .tf-launcher,
  #tf .tf-launcher,
  .tf-launcher,
  #truBookBg:not(.open) {
    display: none !important;
  }
}

/* ── Desktop Left-Dock: Suppress TruChat standalone launcher ── */
@media (min-width: 769px) {
  #truchat-launcher,
  #truchat-floating-root #truchat-launcher {
    display: none !important;
    pointer-events: none !important;
  }
}

/* ── Desktop Round Apex Chat FAB ── */
#apex-chat-fab {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 999990;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(224, 86, 27, 0.45);
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, rgba(24,30,42,.65) 40%, rgba(18,22,30,.90) 100%);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 8px 28px -6px rgba(0,0,0,.6), 0 0 16px -4px rgba(237,75,0,.3), inset 0 1px 0 rgba(255,255,255,.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.25s cubic-bezier(.16,1,.3,1), box-shadow 0.25s ease;
  animation: apexFabBob 4s ease-in-out infinite;
}
#apex-chat-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 36px -6px rgba(0,0,0,.7), 0 0 24px -4px rgba(237,75,0,.5), inset 0 1px 0 rgba(255,255,255,.18);
  animation: none;
}
#apex-chat-fab:active {
  transform: scale(0.95);
}
.apex-fab-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(224, 86, 27, 0.5);
  animation: apexFabPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes apexFabBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes apexFabPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (max-width: 768px) {
  #apex-chat-fab { display: none !important; }
}

/* Suppress other floating launchers when a modal form is open */
body.tf-open #tru-afford-host,
body.tf-open [id^="tru-afford"],
body.tf-open #truchat-floating-root,
body.tf-open #apex-chat-fab,
body.ta-open [id^="tru-form-"][id$="-host"],
body.ta-open [id^="tru-form-"],
body.ta-open #truchat-floating-root,
body.ta-open #apex-chat-fab,
body.tc-open #tru-afford-host,
body.tc-open [id^="tru-afford"],
body.tc-open [id^="tru-form-"][id$="-host"],
body.tc-open [id^="tru-form-"],
body.tc-open #apex-chat-fab {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: translateY(16px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

@media (max-width: 1024px) {
  .search-rail-inner {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .search-rail-inner .filter-group:last-child {
    grid-column: 1 / -1;
  }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .stock-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav-menu { display: none; }
  .mobile-nav-toggle { display: flex; }
  .header-ctas .header-finance-btn { display: none; }
  .header-theme-toggle .theme-toggle-text { display: none; }

  /* 4-Grid Hero Ticker cleanly splits into 2x2 on tablet/mobile with crisp borders */
  .hero-ticker {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  }
  .hero-ticker > div {
    padding: 16px 14px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
    border-left: 0 !important;
  }
  .hero-ticker > div:nth-child(2n) {
    border-left: 1px solid rgba(255, 255, 255, 0.16) !important;
  }
  .hero-ticker > div:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  }
  .hero-ticker b {
    font-size: clamp(17px, 4.2vw, 24px) !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
  }
  .hero-ticker span {
    font-size: 0.68rem !important;
    letter-spacing: 0.05em !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .hero-inner {
    padding: clamp(36px, 6vw, 48px) clamp(16px, 4vw, 24px) clamp(28px, 5vw, 36px) !important;
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(28px, 7.5vw, 36px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 12px !important;
    max-width: 100% !important;
  }
  .hero-eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 14px !important;
  }
  .hero-facts {
    font-size: clamp(14px, 3.8vw, 17px) !important;
    gap: 8px 12px !important;
    padding: 12px 0 !important;
    margin-top: 16px !important;
  }
  .hero-delta {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
  }
  .hero-actions {
    gap: 12px !important;
    margin-top: 20px !important;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tile { padding: 16px 10px; }
  .cat-name { font-size: 0.88rem; word-break: break-word; }
  .cat-count { font-size: 0.68rem; padding: 2px 6px; }
  .stock-grid { grid-template-columns: 1fr; }
  .search-rail-section {
    margin-top: 14px !important;
    margin-bottom: 24px !important;
    padding: 0 14px;
  }
  .search-rail-container {
    padding: 0 !important;
  }
  .search-rail-inner {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    gap: 14px;
    background: rgba(18, 24, 34, 0.90) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-top: 2px solid var(--accent) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(224, 86, 27, 0.22) !important;
    transform: none !important;
    transition: box-shadow 0.3s var(--ease);
  }
  .search-rail-inner .filter-group:last-child {
    grid-column: auto;
  }
  .search-rail-inner .filter-select,
  .search-rail-inner .filter-input {
    background-color: rgba(18, 22, 30, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }
  .search-rail-inner .filter-select option {
    background-color: #121620 !important;
    color: #FFFFFF !important;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-ctas .header-wa-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .header-ctas .header-wa-btn svg {
    margin: 0 !important;
  }
  .brand-header-img { height: 58px; max-width: 240px; }
  .btn {
    white-space: normal;
    text-align: center;
    padding: 11px 18px;
    font-size: 0.86rem;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 32px clamp(16px, 4vw, 20px) 24px !important;
  }
  .hero-title {
    font-size: clamp(24px, 7.2vw, 30px) !important;
  }
  .hero-ticker span {
    font-size: 0.62rem !important;
    letter-spacing: 0.02em !important;
  }
  .map-overlay-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 14px 16px;
    gap: 10px;
  }
  .map-card-title { font-size: 1.15rem; }
  .map-card-address { font-size: 0.8rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ── Wholesale Sourcing Concierge (Flagship Elevated Empty State) ── */
.sourcing-concierge-card {
  max-width: 780px;
  margin: 32px auto;
  padding: 44px 32px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-spatial-md), var(--glass-specular);
  background: var(--bento-glass-bg);
  border: 1px solid var(--bento-glass-border);
  color: var(--color-card-ink);
}
[data-theme="dark"] .sourcing-concierge-card {
  background: var(--bento-glass-bg);
  border: 1px solid var(--bento-glass-border);
  color: var(--color-card-ink);
}
.concierge-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(224, 86, 27, 0.18);
  border: 1px solid rgba(224, 86, 27, 0.35);
  color: var(--color-primary-light);
  margin-bottom: 18px;
}
.concierge-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-card-ink);
  margin-bottom: 14px;
  line-height: 1.3;
}
.concierge-desc {
  font-size: 0.96rem;
  color: var(--color-card-ink-sec);
  max-width: 580px;
  margin: 0 auto 26px;
  line-height: 1.65;
}
.concierge-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  padding: 14px 20px;
  background: var(--bg-inset);
  border-radius: 12px;
  border: 1px solid var(--rule);
}
.concierge-trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}
.concierge-trust-strip .trust-item a {
  color: inherit;
  text-decoration: none;
}
.concierge-trust-strip .trust-item a:hover {
  color: var(--color-primary-light);
}
.concierge-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==============================================================
   TRUECARS FLAGSHIP — AESTHETIC POLISH & WIDGET LAYER
   Micro-interactions, glassmorphism, spring physics & z-index
   ============================================================== */

/* 1. Accessible focus rings */
:where(a, button, [role="button"], input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

/* 2. Springy button micro-interactions */
.btn, button.btn, a.btn {
  transition:
    transform .28s cubic-bezier(.34, 1.4, .64, 1),
    box-shadow .28s ease,
    filter .18s ease,
    background-color .2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(0) scale(.98); }

/* 3. Scoped Spring Motion — Card Lift & Image Scale */
.card, .cat-tile, .wiz-card, .fin-card, .report-card {
  transition:
    transform .35s cubic-bezier(.16, 1, .3, 1),
    box-shadow .35s ease,
    border-color .3s ease;
}
.card:hover, .cat-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-spatial-md), var(--glass-specular-prom), var(--bento-glow-accent);
}
.card img, .card-img, .vdp-hero-img {
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), filter .3s ease;
}
.card:hover img, .card:hover .card-img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

/* 4. Glassmorphism Helpers */
.tc-glass {
  background: var(--bento-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--bento-glass-border);
  box-shadow: var(--shadow-spatial-sm), var(--glass-specular);
}
[data-theme="dark"] .tc-glass {
  background: var(--bento-glass-bg);
  border-color: var(--bento-glass-border);
}

/* 5. Status & Value Tags */
.truecar-tag {
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-edge);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 6. Widget Z-Index Audit & Component Scoping */
:root {
  --z-sticky-bar: 1000;
  --z-modal:      2000;
  --z-truafford:  999985;
  --z-truchat:    999990;
  --z-toast:      999999;
}

/* 7. Reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
  .btn, .card, .cat-tile, .wiz-card, .card img, .card-img {
    transition: none !important;
    transform: none !important;
  }
}

/* ==============================================================
   FLAGSHIP VDP SYNC — IMMERSIVE GALLERY, LIGHTBOX & TRUORBIT 360
   ============================================================== */

/* Media Tabs Switcher */
.media-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px;
  background: var(--bg-inset);
  border: 1px solid var(--rule);
  border-radius: 100px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
}
.media-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: transparent;
  color: var(--ink-quiet);
  border: 1px solid transparent;
  padding: 44px 32px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-spatial-md), var(--glass-specular);
  background: var(--bento-glass-bg);
  border: 1px solid var(--bento-glass-border);
  color: var(--color-card-ink);
}
[data-theme="dark"] .sourcing-concierge-card {
  background: var(--bento-glass-bg);
  border: 1px solid var(--bento-glass-border);
  color: var(--color-card-ink);
}
.concierge-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(224, 86, 27, 0.18);
  border: 1px solid rgba(224, 86, 27, 0.35);
  color: var(--color-primary-light);
  margin-bottom: 18px;
}
.concierge-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-card-ink);
  margin-bottom: 14px;
  line-height: 1.3;
}
.concierge-desc {
  font-size: 0.96rem;
  color: var(--color-card-ink-sec);
  max-width: 580px;
  margin: 0 auto 26px;
  line-height: 1.65;
}
.concierge-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  padding: 14px 20px;
  background: var(--bg-inset);
  border-radius: 12px;
  border: 1px solid var(--rule);
}
.concierge-trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}
.concierge-trust-strip .trust-item a {
  color: inherit;
  text-decoration: none;
}
.concierge-trust-strip .trust-item a:hover {
  color: var(--color-primary-light);
}
.concierge-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==============================================================
   TRUECARS FLAGSHIP — AESTHETIC POLISH & WIDGET LAYER
   Micro-interactions, glassmorphism, spring physics & z-index
   ============================================================== */

/* 1. Accessible focus rings */
:where(a, button, [role="button"], input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

/* 2. Springy button micro-interactions */
.btn, button.btn, a.btn {
  transition:
    transform .28s cubic-bezier(.34, 1.4, .64, 1),
    box-shadow .28s ease,
    filter .18s ease,
    background-color .2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(0) scale(.98); }

/* 3. Scoped Spring Motion — Card Lift & Image Scale */
.card, .cat-tile, .wiz-card, .fin-card, .report-card {
  transition:
    transform .35s cubic-bezier(.16, 1, .3, 1),
    box-shadow .35s ease,
    border-color .3s ease;
}
.card:hover, .cat-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-spatial-md), var(--glass-specular-prom), var(--bento-glow-accent);
}
.card img, .card-img, .vdp-hero-img {
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), filter .3s ease;
}
.card:hover img, .card:hover .card-img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

/* 4. Glassmorphism Helpers */
.tc-glass {
  background: var(--bento-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--bento-glass-border);
  box-shadow: var(--shadow-spatial-sm), var(--glass-specular);
}
[data-theme="dark"] .tc-glass {
  background: var(--bento-glass-bg);
  border-color: var(--bento-glass-border);
}

/* 5. Status & Value Tags */
.truecar-tag {
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-edge);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 6. Widget Z-Index Audit & Component Scoping */
:root {
  --z-sticky-bar: 1000;
  --z-modal:      2000;
  --z-truafford:  999985;
  --z-truchat:    999990;
  --z-toast:      999999;
}

/* 7. Reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
  .btn, .card, .cat-tile, .wiz-card, .card img, .card-img {
    transition: none !important;
    transform: none !important;
  }
}

/* ==============================================================
   FLAGSHIP VDP SYNC — IMMERSIVE GALLERY, LIGHTBOX & TRUORBIT 360
   ============================================================== */

/* Media Tabs Switcher */
.media-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px;
  background: var(--bg-inset);
  border: 1px solid var(--rule);
  border-radius: 100px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
}
.media-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: transparent;
  color: var(--ink-quiet);
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.media-tab-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
}
.media-tab-btn:hover {
  color: var(--ink);
  background: rgba(224, 86, 27, 0.08);
}
.media-tab-btn.is-active {
  background: linear-gradient(135deg, #E86A34 0%, #E0561B 52%, #B83E0E 100%);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 4px 14px rgba(224, 86, 27, 0.35), 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.4);
}

/* Immersive Gallery & Lightbox */
.vdp-gallery-immersive {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-inset);
  border: 1px solid var(--rule);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.vdp-gallery-hero {
  width: 100%;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
}
.vdp-gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.vdp-gallery-hero:hover img {
  transform: scale(1.03);
}
.vdp-gallery-count {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(12, 16, 24, 0.88);
  backdrop-filter: blur(8px);
  color: #F7F7F2;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(235, 235, 223, 0.2);
  z-index: 2;
}
.vdp-filmstrip-thumb {
  flex: 0 0 84px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  border: 2px solid transparent;
  transition: all 0.2s;
  opacity: 0.65;
  padding: 0;
  background: transparent;
}
.vdp-filmstrip-thumb.is-active,
.vdp-filmstrip-thumb:hover {
  border-color: var(--accent);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(224, 86, 27, 0.35);
}
.vdp-filmstrip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fullscreen Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.gallery-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease;
}
.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(235, 235, 223, 0.12);
  border: 1px solid rgba(235, 235, 223, 0.25);
  color: #F7F7F2;
  font-size: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gallery-lightbox-close:hover {
  background: rgba(224, 86, 27, 0.65);
  border-color: var(--accent);
  transform: scale(1.1);
}
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(235, 235, 223, 0.12);
  border: 1px solid rgba(235, 235, 223, 0.25);
  color: #F7F7F2;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gallery-lightbox-nav:hover {
  background: rgba(224, 86, 27, 0.65);
  border-color: var(--accent);
}
.gallery-lightbox-nav.prev { left: 20px; }
.gallery-lightbox-nav.next { right: 20px; }
.gallery-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #F7F7F2;
  background: rgba(12, 16, 24, 0.88);
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(235, 235, 223, 0.2);
}

/* TruOrbit 360 Player Styling */
.w3d-root {
  font-family: var(--font-sans);
  color: var(--color-card-ink);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bento-glass-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-spatial-md);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
[data-theme="dark"] .w3d-root {
  background: var(--color-surface);
  color: var(--color-card-ink);
}
.w3d-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: grab;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse at 50% 88%, rgba(224, 86, 27, 0.22), transparent 52%),
    radial-gradient(ellipse at 50% 0%, #161C26, transparent 55%),
    linear-gradient(180deg, #121720 0%, #080C14 100%);
}
.w3d-stage.dragging { cursor: grabbing; }
.w3d-floor {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 6%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, rgba(224, 86, 27, 0.3), transparent 70%);
  pointer-events: none;
}
.w3d-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4% 6% 10%;
  display: block;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.75));
  transition: opacity 0.12s ease;
  pointer-events: none;
  max-width: 100%;
  box-sizing: border-box;
}
.w3d-media.fading { opacity: 0.5; }
.w3d-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  animation: w3dPulse 2.2s ease-in-out infinite;
  z-index: 4;
  padding: 0;
}
.w3d-tag.info { background: #3b82f6; }
.w3d-tag.attention { background: #e7b24b; }
.w3d-tag.critical { background: #f0555a; }
.w3d-tag.active {
  transform: translate(-50%, -50%) scale(1.25);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}
@keyframes w3dPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
}
.w3d-pop {
  position: absolute;
  z-index: 6;
  min-width: 180px;
  max-width: min(280px, 86%);
  background: rgba(18, 22, 30, 0.96);
  border: 1px solid rgba(235, 235, 223, 0.22);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: #F7F7F2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  display: none;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.w3d-pop.on { display: block; animation: w3dPop 0.16s ease-out; }
@keyframes w3dPop {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.w3d-pop .sev {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.w3d-pop .sev.critical { color: #f0555a; }
.w3d-pop .sev.attention { color: #e7b24b; }
.w3d-pop .sev.info { color: #3b82f6; }
.w3d-pop b { color: var(--accent); font-size: 11px; letter-spacing: 0.04em; }
.w3d-pop .label { margin-top: 4px; line-height: 1.4; }

.w3d-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, var(--accent), #E86A34);
  padding: 7px 12px;
  border-radius: 100px;
  box-shadow: 0 8px 20px -8px rgba(224, 86, 27, 0.55);
}
.w3d-mockpill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F7F7F2;
  background: rgba(12, 16, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(235, 235, 223, 0.2);
  padding: 6px 12px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.w3d-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #EBEBDF;
  background: rgba(12, 16, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(235, 235, 223, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.w3d-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px 10px;
  background: var(--bg-inset);
  border-top: 1px solid var(--rule);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}




.w3d-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: var(--color-surface);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.w3d-ctrl-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(224, 86, 27, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 86, 27, 0.2);
}
.w3d-ctrl-btn:active {
  transform: translateY(0) scale(0.96);
}
.w3d-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 18px;
  height: 40px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--rule);
  background: var(--color-surface);
  color: var(--ink);
  transition: transform 0.25s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}
.w3d-play-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(224, 86, 27, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 86, 27, 0.2);
}
.w3d-play-btn.on {
  background: linear-gradient(135deg, #E0561B 0%, #B83E0E 100%);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(224, 86, 27, 0.35);
}
.w3d-scrub {
  flex: 1;
  min-width: 100px;
  display: flex;
  align-items: center;
}
.w3d-scrub input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  height: 6px;
  cursor: pointer;
}
.w3d-meta {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-quiet);
  background: var(--bg-inset);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 8px;
}
.w3d-legend {
  display: flex;
  gap: 16px;
  padding: 6px 18px 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  background: var(--bg-inset);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.w3d-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.w3d-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.w3d-legend i.info { background: #3b82f6; }
.w3d-legend i.attention { background: #e7b24b; }
.w3d-legend i.critical { background: #f0555a; }

#orbitContainer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 600px) {
  .w3d-stage { min-height: 240px; }
  .w3d-hint { font-size: 9px; padding: 4px 8px; }
  .w3d-controls { padding: 10px 12px 8px; gap: 8px; }
  .w3d-ctrl-btn { width: 36px; height: 36px; font-size: 1rem; }
  .w3d-play-btn { height: 36px; padding: 0 12px; font-size: 0.75rem; }
  .w3d-scrub { min-width: 80px; }
  .w3d-meta, .w3d-legend { padding-left: 12px; padding-right: 12px; }
}

/* ── Section Background Variants (Direction A Obsidian Atelier) ── */
.section-light,
.section-cream,
.section-pale-blue,
.section-alt {
  background: var(--bg-canvas) !important;
  color: var(--ink) !important;
}
.section-light .section-title,
.section-cream .section-title,
.section-pale-blue .section-title,
.section-alt .section-title {
  color: var(--ink) !important;
}
.section-light .section-eyebrow,
.section-cream .section-eyebrow,
.section-pale-blue .section-eyebrow,
.section-alt .section-eyebrow {
  color: var(--accent) !important;
}
.section-light .section-desc,
.section-cream .section-desc,
.section-pale-blue .section-desc,
.section-alt .section-desc {
  color: var(--ink-quiet) !important;
}

/* ── Category Tiles Refinements for Obsidian Canvas ── */
.cat-tile {
  background: var(--bg-surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.cat-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}
.cat-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 15%, rgba(224, 86, 27, 0.14) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.cat-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 86, 27, 0.55);
  box-shadow: 
    0 18px 40px rgba(0, 0, 0, 0.55), 
    0 0 24px -2px rgba(224, 86, 27, 0.30), 
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.cat-tile:hover::after {
  opacity: 1;
}
.cat-tile .glass-icon-tile {
  margin-bottom: 14px;
}
.cat-tile:hover .glass-icon-tile {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 
    0 20px 40px -4px rgba(224, 86, 27, 0.65),
    0 6px 18px rgba(0, 0, 0, 0.70),
    inset 0 1px 2px rgba(255, 255, 255, 0.80),
    inset 0 -2px 6px rgba(0, 0, 0, 0.40);
}
.cat-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.94rem;
  color: #FFFFFF;
  margin-bottom: 6px;
  line-height: 1.25;
}
.cat-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #94A3B8;
  font-weight: 600;
  transition: color 0.25s ease;
}
.cat-tile:hover .cat-count {
  color: var(--accent);
}
.cat-tile-all:hover .cat-count {
  color: #FFFFFF !important;
}
  font-size: 0.74rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ── TruInspect VIR® 6-Point Inspection Grid inside Bento ── */
.vir-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 640px) {
  .vir-checklist-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.vir-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(8, 12, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.vir-check-item:hover {
  border-color: rgba(224, 86, 27, 0.35);
  background: rgba(14, 20, 34, 0.8);
}
.vir-check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.12);
  border: 1.5px solid #94A3B8;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 2px;
}
.vir-check-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
  line-height: 1.3;
}
.vir-check-desc {
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.4;
}

/* ── Interactive Nationwide Delivery Map Bento Cell ── */
.delivery-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .delivery-bento-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.delivery-map-wrap {
  position: relative;
  background: radial-gradient(circle at 60% 70%, rgba(224, 86, 27, 0.06) 0%, rgba(20, 25, 34, 0.5) 60%, rgba(8, 12, 20, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.delivery-map-svg {
  width: 100%;
  height: auto;
  max-height: 380px;
  display: block;
}

.delivery-map-svg .map-land {
  fill: #161A22;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: fill 0.3s ease;
}
.delivery-map-svg .map-lesotho {
  fill: #0B0E14;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}
.delivery-map-svg .route {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.8;
  stroke-dasharray: 4 4;
  fill: none;
  opacity: 0.4;
  transition: stroke 0.25s ease, stroke-width 0.25s ease, opacity 0.25s ease;
}
.delivery-map-svg .route.on {
  stroke: var(--accent, #E0561B);
  stroke-width: 3;
  stroke-dasharray: none;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(224, 86, 27, 0.75));
}
.delivery-map-svg .mkr-city {
  cursor: pointer;
  outline: none;
}
.delivery-map-svg .mkr-city .halo {
  fill: none;
  stroke: transparent;
  transition: all 0.2s ease;
}
.delivery-map-svg .mkr-city:hover .halo,
.delivery-map-svg .mkr-city.on .halo {
  fill: rgba(224, 86, 27, 0.2);
  stroke: rgba(224, 86, 27, 0.45);
}
.delivery-map-svg .mkr-city .dot {
  fill: #94A3B8;
  transition: all 0.2s ease;
}
.delivery-map-svg .mkr-city:hover .dot {
  fill: #FFFFFF;
}
.delivery-map-svg .mkr-city.on .dot {
  fill: var(--accent, #E0561B);
  filter: drop-shadow(0 0 6px rgba(224, 86, 27, 0.9));
}
.delivery-map-svg .mkr-city .lab {
  fill: #94A3B8;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  transition: all 0.2s ease;
  user-select: none;
}
.delivery-map-svg .mkr-city:hover .lab {
  fill: #CBD5E1;
}
.delivery-map-svg .mkr-city.on .lab {
  fill: #FFFFFF;
  font-weight: 700;
}
.delivery-map-svg .origin-ring {
  fill: none;
  stroke: var(--accent, #E0561B);
  stroke-width: 2;
}
.delivery-map-svg .origin-lab {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  fill: var(--accent, #E0561B);
  letter-spacing: 0.06em;
}

/* Delivery Telemetry Side Card */
.delivery-telemetry {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.city-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.city-chip {
  background: rgba(18, 22, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.city-chip:hover {
  border-color: rgba(224, 86, 27, 0.4);
  color: #FFFFFF;
  background: rgba(26, 32, 44, 0.9);
}
.city-chip.is-active {
  background: rgba(224, 86, 27, 0.18);
  border-color: var(--accent, #E0561B);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(224, 86, 27, 0.25);
}

.telemetry-display-box {
  background: rgba(8, 12, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 640px) {
  .telemetry-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
.telemetry-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.telemetry-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}
.telemetry-val.highlight {
  color: var(--accent, #E0561B);
  font-size: 1.05rem;
}
.telemetry-note {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #94A3B8;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent, #E0561B);
  border-radius: 0 6px 6px 0;
}


/* ── 3D Glassmorphic Icon Tile System (Squircle Depth) ── */
.glass-icon-tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(224, 86, 27, 0.10) 45%, rgba(18, 22, 30, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top-color: rgba(255, 255, 255, 0.60);
  box-shadow: 
    0 12px 28px -4px rgba(224, 86, 27, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.60),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.55),
    inset 0 -2px 6px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(190%);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  user-select: none;
  flex-shrink: 0;
}
.glass-icon-tile::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 13px;
  background: radial-gradient(circle at 50% 30%, rgba(232, 106, 52, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.glass-icon-tile:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 
    0 18px 36px -4px rgba(224, 86, 27, 0.55),
    0 6px 18px rgba(0, 0, 0, 0.70),
    inset 0 1px 2px rgba(255, 255, 255, 0.70),
    inset 0 -2px 6px rgba(0, 0, 0, 0.40);
}
.glass-icon-tile.sm {
  width: 40px; height: 40px; min-width: 40px; min-height: 40px;
  border-radius: 12px; font-size: 0.9rem;
  box-shadow: 
    0 8px 18px -3px rgba(224, 86, 27, 0.40),
    0 3px 10px rgba(0, 0, 0, 0.50),
    inset 0 1px 1px rgba(255, 255, 255, 0.50);
}
.glass-icon-tile.lg {
  width: 66px; height: 66px; min-width: 66px; min-height: 66px;
  border-radius: 20px; font-size: 1.45rem;
}
.glass-icon-tile-accent {
  background: linear-gradient(135deg, rgba(224, 86, 27, 0.45) 0%, rgba(224, 86, 27, 0.22) 50%, rgba(18, 22, 30, 0.85) 100%) !important;
  border-color: rgba(224, 86, 27, 0.55) !important;
  border-top-color: rgba(255, 140, 60, 0.85) !important;
  box-shadow: 
    0 14px 32px -4px rgba(224, 86, 27, 0.65),
    0 4px 14px rgba(0, 0, 0, 0.60),
    inset 0 1px 2px rgba(255, 255, 255, 0.70),
    inset 0 -2px 6px rgba(0, 0, 0, 0.35) !important;
}
.glass-icon-tile-accent::after {
  background: radial-gradient(circle at 50% 30%, rgba(255, 140, 60, 0.50) 0%, transparent 70%) !important;
}
.glass-icon-tile svg {
  color: #FFFFFF;
  stroke: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 1;
}

/* ── Frosted Glass Pill System ── */
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #F8FAFC;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.glass-pill:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(224, 86, 27, 0.4);
  transform: translateY(-1px);
}
.glass-pill.accent {
  background: rgba(224, 86, 27, 0.14);
  border-color: rgba(224, 86, 27, 0.45);
  border-top-color: rgba(232, 106, 52, 0.7);
  box-shadow: 0 4px 16px rgba(224, 86, 27, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}
.glass-pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #94A3B8;
  display: inline-block;
  box-shadow: 0 0 6px #94A3B8;
}
.glass-pill.accent .glass-pill-dot {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* ── Vehicle Card Views Pill ── */
.card-views-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #CBD5E1;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.card-views-pill svg {
  stroke: var(--accent);
  width: 12px;
  height: 12px;
}

/* ── Mobile Collapsible VIR Checklist ── */
@media (max-width: 768px) {
  .vir-checklist-grid.vir-mobile-collapsible .vir-check-item:nth-child(n+4) {
    display: none;
  }
  .vir-checklist-grid.vir-mobile-collapsible.is-expanded .vir-check-item:nth-child(n+4) {
    display: flex;
    animation: fadeInVir 0.3s ease forwards;
  }
  .vir-expand-btn {
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    font-size: 0.84rem;
    font-weight: 700;
    justify-content: center;
    gap: 8px;
  }
}
@media (min-width: 769px) {
  .vir-expand-btn {
    display: none !important;
  }
}
@keyframes fadeInVir {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Dedicated Brightened Responsive Footer ── */
.footer {
  background: #080C14;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 64px 0 32px;
  color: #F8FAFC;
  position: relative;
  z-index: 10;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 36px;
}
.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 18px;
}
.footer-desc {
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 360px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-link {
  color: #94A3B8;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}
.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: #94A3B8;
}
.brand-footer-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-desc {
    font-size: 0.95rem;
  }
  .footer-link {
    font-size: 0.95rem;
    padding: 3px 0;
  }
  .footer-bottom {
    font-size: 0.86rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ── 360 Orbit Viewer Full-Viewport Scaling ── */
.w3d-stage {
  min-height: 440px !important;
  aspect-ratio: 16 / 10 !important;
}
.w3d-media {
  padding: 1% 2% 4% !important;
  object-fit: contain !important;
}
