/* assets/css/showroom.css — AutoLogic PE: Performance Obsidian & Crimson Red Showroom & DMS */

@import url('https://fonts.googleapis.com/css2?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 (High-Contrast Obsidian Void, Lightened Slate Glass & Strategic Crimson) ── */
  --color-bg:             #060709;   /* Deepest Canvas Void */
  --color-bg-subdued:     #0A0C10;   /* Deep Ground Well */
  --color-surface:        #181C26;   /* Elevated Lightened Titanium-Slate Glass */
  --color-surface-elevated:#222838;  /* Pop-Out Bento Compartment */
  --color-surface-subdued:#10131A;   /* Inset Well */
  --bento-radius:         20px;      /* Bento UI Standard Curve */
  --bento-radius-lg:      24px;      /* Bento UI Large Compartment Curve */
  --bento-radius-sm:      12px;      /* Bento UI Micro Compartment Curve */

  --color-primary:        #C52228;   /* AutoLogic Refined Executive Crimson (Toned Down) */
  --color-primary-light:  #D9383E;   /* Soft Active Accent */
  --color-primary-dark:   #8A1015;   /* Deep Understated Crimson */
  --color-gold:           #F59E0B;   /* Verified 5-Star Amber Gold */

  --color-ink:            #F8FAFC;   /* Pure High-Contrast White/Platinum */
  --color-ink-secondary:  #CBD5E1;   /* Warm Slate Silver */
  --color-ink-muted:      #94A3B8;   /* Muted Platinum Grey */
  --color-ink-micro:      #64748B;   /* Dimmed Slate */

  --color-border:         rgba(255, 255, 255, 0.09); /* Smoked Platinum Glass Edge */
  --color-border-subtle:  rgba(255, 255, 255, 0.04);
  --color-border-accent:  rgba(197, 34, 40, 0.22);   /* Refined Hairline Accent */
  --color-dark-anchor:    #050608;

  --color-accent-soft:    rgba(255, 255, 255, 0.06);
  --color-accent-edge:    rgba(255, 255, 255, 0.14);

  /* WhatsApp themed integration (Stealth Slate Grey / Platinum) */
  --color-wa:             #CBD5E1;
  --color-wa-hover:       #FFFFFF;

  /* ── Semantic Mappings ── */
  --bg:          var(--color-bg);
  --bg-raised:   #1E2330;
  --bg-inset:    #090B0F;
  --rule:        rgba(255, 255, 255, 0.12);
  --rule-subtle: rgba(255, 255, 255, 0.05);
  --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:   'Space Grotesk', 'Manrope', -apple-system, system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Manrope', -apple-system, system-ui, sans-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);
}

/* ── Dark Mode Token Overrides ── */
[data-theme="dark"] {
  --color-bg:             #090A0D;   /* Deep Smoked Obsidian */
  --color-bg-subdued:     #0F1116;
  --color-surface:        #14161C;
  --color-surface-subdued:#191C24;

  --color-ink:            #F8FAFC;   /* High Contrast Light Text */
  --color-ink-secondary:  #CBD5E1;
  --color-ink-muted:      #94A3B8;
  --color-ink-micro:      #64748B;

  --color-border:         rgba(255, 255, 255, 0.09);
  --color-border-subtle:  rgba(255, 255, 255, 0.04);
  --color-border-accent:  rgba(197, 34, 40, 0.22);
  --color-dark-anchor:    #050608;

  --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%; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image: 
    radial-gradient(ellipse 80% 50% at 85% 12%, rgba(197, 34, 40, 0.035) 0%, transparent 65%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ── 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: #FFFFFF;
  background: linear-gradient(135deg, #FFFFFF 0%, #D1D5DB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.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.16em;
  color: #94A3B8;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  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: var(--color-dark-anchor);
  color: #CBD5E1;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.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: #94A3B8; }
.topbar-link { color: #CBD5E1; text-decoration: none; transition: color 0.2s; }
.topbar-link:hover { color: #FFFFFF; }



/* ── Header & Floating Island Glassmorphic Navigation ── */
.header {
  position: sticky; top: 14px; z-index: 1000;
  width: 100%;
  padding: 0 16px;
  pointer-events: none;
}
.header-pill-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  pointer-events: auto;
  background: rgba(13, 15, 19, 0.90);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 6px 14px 6px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.logo-wrap { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-header-img {
  height: 42px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}
.logo-wrap:hover .brand-header-img {
  transform: scale(1.03);
}

.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0 auto; }
.nav-link {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(248, 250, 252, 0.75);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}
.nav-link.active {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.nav-link.active::after { display: none; }

.header-ctas { display: flex; align-items: center; gap: 10px; }
.header-finance-btn {
  border-radius: 100px !important;
  padding: 9px 20px !important;
  font-size: 0.82rem !important;
}



/* ── Header WhatsApp Button (Smoked Graphite Glass / Red Hover) ── */
.header-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #F8FAFC;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}
.header-wa-btn svg {
  width: 18px;
  height: 18px;
  fill: #CBD5E1;
  transition: transform 0.2s ease, fill 0.2s ease;
}
.header-wa-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.header-wa-btn:hover svg {
  fill: #FFFFFF;
  transform: scale(1.08);
}

/* ── Mobile Hamburger Toggle Button ── */
.mobile-nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  background: var(--bg-inset);
  border: 1px solid var(--rule);
  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(--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;
  transition: visibility 0.3s ease;
}
.mobile-nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 12, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  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(12, 13, 16, 0.96);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.65);
  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 var(--rule);
  margin-bottom: 18px;
}
.mobile-nav-logo {
  height: 60px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
}
.mobile-nav-close {
  background: var(--bg-inset);
  border: 1px solid var(--rule);
  color: var(--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: var(--ink);
  text-decoration: none;
  background: transparent;
  transition: all 0.2s ease;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--color-accent-soft);
  color: var(--accent);
  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(197, 34, 40, 0.10);
  border: 1px solid rgba(197, 34, 40, 0.25);
  color: var(--color-primary-light);
}
.mobile-nav-footer {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  margin-top: 18px;
}
.mobile-nav-dealer-meta {
  font-size: 0.78rem;
  color: var(--ink-quiet);
  line-height: 1.6;
  text-align: center;
  padding-top: 8px;
}

/* ── Brand 3D Logos ── */
.brand-header-img {
  height: 40px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.brand-footer-img {
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.7));
}
@media (max-width: 768px) {
  .brand-header-img { height: 36px; max-width: 200px; }
}

/* ── Buttons (Performance Obsidian & Crimson Theme) ── */
.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.01); }
.btn:active { transform: translateY(-1px) scale(0.99); }

/* Primary Button: AutoLogic Refined Executive Crimson (Toned Down) */
.btn-primary {
  background: linear-gradient(135deg, #C52228 0%, #A81B20 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 
    0 4px 14px rgba(0, 0, 0, 0.4), 
    0 2px 6px rgba(0, 0, 0, 0.25), 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #D4282E 0%, #B81E23 100%);
  border-color: rgba(255, 255, 255, 0.30);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.5), 
    0 0 16px rgba(197, 34, 40, 0.25), 
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}

/* Outline Button: Refined Smoked Platinum Rim */
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--color-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* WhatsApp Button: Stealth Smoked Slate Glass with Platinum Trim (Zero Bright Green) */
.btn-wa {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.4), 
    inset 0 1px 0.5px rgba(255, 255, 255, 0.25);
  text-shadow: none;
}
.btn-wa:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.6), 
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* 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(227, 27, 35, 0.06);
  background: var(--bg-inset);
  isolation: isolate;
}
.autologic-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: #FAF5EE;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.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, #C52228 0%, #8A1015 100%);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  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(10, 11, 14, 0.92);
  color: #FAF5EE;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 20px 22px;
  max-width: 380px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  display: flex; flex-direction: column; gap: 14px;
}


.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: rgba(250, 245, 238, 0.8);
}
[data-theme="light"] .map-card-address {
  color: var(--ink-quiet);
}

.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);
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column;
  background: var(--color-dark-anchor);
  color: #FFFFFF;
}
.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: 640px;
  }
  .hero-media img {
    object-position: 68% 45% !important;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 560px;
  }
  .hero-media img {
    object-position: 72% 40% !important;
  }
}

/* Ken Burns Subtle Ambient Zoom Animation (kb-active) - starts distant (scale 0.98) and glides gracefully */
.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(6, 7, 9, 0.98) 0%,
      rgba(6, 7, 9, 0.92) 36%,
      rgba(6, 7, 9, 0.55) 65%,
      rgba(6, 7, 9, 0.15) 85%,
      transparent 100%),
    linear-gradient(0deg,
      rgba(6, 7, 9, 0.98) 0%,
      rgba(6, 7, 9, 0.85) 15%,
      rgba(6, 7, 9, 0.40) 35%,
      transparent 60%);
}

.hero-stage {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 60px);
}
@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0 32px;
    padding-inline: clamp(16px, 4vw, 24px);
  }
}
.hero-left {
  position: relative; z-index: 2;
}
.hero-right {
  position: relative; z-index: 2;
}

.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-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: 16px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 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 10px var(--accent); }
  50% { transform: scale(1.3); opacity: 0.75; box-shadow: 0 0 16px var(--accent); }
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #FFFFFF;
}
.hero-title .text-glow {
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.2);
}
.hero-title em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-subtext {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.6;
  color: rgba(250, 245, 238, 0.82);
  margin-top: 14px;
  max-width: 52ch;
}

.hero-trust-chips {
  display: flex; gap: 10px; 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.76rem;
  font-weight: 700;
  color: var(--color-ink-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 5px 12px;
  border-radius: 100px;
}
.hero-trust-chip svg {
  color: #94A3B8;
  stroke: #94A3B8;
}

/* ── Right-Side Hero Featured Vehicle Glass Card (3D Specular Tilt) ── */
.hero-car-glass-card {
  position: relative;
  background: linear-gradient(155deg, rgba(30, 36, 50, 0.92) 0%, rgba(18, 22, 32, 0.97) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--bento-radius-lg, 24px);
  padding: 16px;
  box-shadow: 
    0 24px 60px -10px rgba(0, 0, 0, 0.85), 
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 0 30px rgba(255, 255, 255, 0.02);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transform-style: preserve-3d;
  perspective: 1200px;
  isolation: isolate;
}
.hero-car-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.03) 30%, transparent 65%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
}
.hero-car-glass-card:hover {
  transform: translateY(-8px) rotateX(1deg) scale(1.018);
  box-shadow: 
    0 36px 85px -10px rgba(0, 0, 0, 0.95), 
    0 0 30px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.50);
  border-color: rgba(255, 255, 255, 0.28);
  border-top-color: rgba(255, 255, 255, 0.65);
}
.hero-car-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-inset);
}
.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.05);
}
.hero-car-floating-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 11, 14, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  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;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  z-index: 3;
}
.hero-car-status-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 11, 14, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  padding: 5px 11px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}
.hero-car-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s infinite;
}
.hero-car-details {
  padding: 14px 6px 4px;
}
.hero-car-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.hero-car-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}
.hero-car-price-main {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hero-car-est-pm {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #CBD5E1;
}
.hero-car-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}
.hero-car-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-ink-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 9px;
  border-radius: 6px;
}
.hero-car-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  margin-top: 6px;
}

.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.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-sans);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: #FFFFFF;
}
.hero-facts .hero-sep { color: rgba(255,255,255,0.4); font-size: 16px; }
.hero-delta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #FFFFFF; white-space: nowrap;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* ── Provenance Ticker Pinned to Hero Bottom (Frosted Glassmorphism) ── */
.hero-ticker {
  position: relative; z-index: 2;
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(11, 13, 17, 0.94);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.hero-ticker > div {
  padding: 20px clamp(14px, 2vw, 32px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
  overflow: hidden;
}
.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: #F8FAFC;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  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: #94A3B8;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  .hero-ticker {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-ticker > div:nth-child(2) { border-right: 0; }
  .hero-ticker > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .hero-ticker > div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
}

/* ── Integrated Floating Search Rail ── */
.search-rail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  width: 100%;
  box-sizing: border-box;
}
.search-rail-inner {
  background: rgba(18, 20, 26, 0.94);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 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;
}

@media (max-width: 960px) {
  .search-rail-inner {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
  }
}
@media (max-width: 560px) {
  .search-rail-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.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(--ink-mute);
}
/* ── Form Inputs & Select Dropdowns (Obsidian Glass Palette) ── */
.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 var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-subdued);
  color: var(--ink);
  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='%23CBD5E1' 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: var(--bg-raised);
  box-shadow: 0 0 0 3px rgba(197, 34, 40, 0.15);
}
select option {
  background-color: var(--bg-raised);
  color: var(--ink);
  padding: 8px;
}

/* Dark Mode & Dark Card Input Variant */
.form-input-dark {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  height: 42px;
}
.form-input-dark::placeholder {
  color: rgba(250, 245, 238, 0.6) !important;
}
.form-input-dark:focus {
  border-color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 0 0 3px rgba(197, 34, 40, 0.16) !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: #0D0E12;
  color: var(--color-ink);
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] select option {
  background-color: #0D0E12;
  color: #FAF5EE;
}

/* ── 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), 
    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), 
    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%); }
}

/* ── Body Shape Category Tiles ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat-tile {
  background: linear-gradient(155deg, rgba(30, 36, 48, 0.88) 0%, rgba(18, 22, 30, 0.96) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center; text-decoration: none;
  color: var(--ink);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}
.cat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, transparent 50%);
  opacity: 0.55;
  pointer-events: none;
}
.cat-tile:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.24);
  border-top-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.40);
}
.cat-icon { width: 48px; height: 32px; fill: var(--ink-quiet); transition: fill 0.2s; }
.cat-tile:hover .cat-icon { fill: var(--accent); }
.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;
}

/* ── 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 rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-quiet);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.collection-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.18);
}
.collection-tab.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ── Stock Grid & Card Atom (3D Specular Interactive Standard) ── */
.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: linear-gradient(155deg, rgba(32, 38, 52, 0.92) 0%, rgba(20, 24, 34, 0.97) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--bento-radius, 20px);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  text-decoration: none; color: inherit;
  transform-style: preserve-3d;
  perspective: 1200px;
  box-shadow: 
    0 18px 45px -10px rgba(0, 0, 0, 0.88), 
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 0 24px rgba(255, 255, 255, 0.02);
  isolation: isolate;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.04) 30%, transparent 65%);
  opacity: 0.65;
  transition: opacity 0.4s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.card:hover {
  transform: translateY(-8px) rotateX(1deg) scale(1.015);
  border-color: rgba(255, 255, 255, 0.26);
  border-top-color: rgba(255, 255, 255, 0.60);
  box-shadow: 
    0 32px 80px -12px rgba(0, 0, 0, 0.95), 
    0 0 28px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.50);
}
.card:hover::before {
  opacity: 1;
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-inset);
  overflow: hidden;
  margin: 12px 12px 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.card-img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out);
}
.card:hover .card-img { transform: scale(1.04); }

.card-vir-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10, 11, 14, 0.92);
  color: #FFFFFF; backdrop-filter: blur(6px);
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  display: flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
}
.card-vir-score { color: var(--gold); font-weight: 800; }

.card-body-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(250, 245, 238, 0.92);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
  z-index: 3;
}

.card-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; position: relative; z-index: 3; }
.card-year-make {
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 700;
  color: var(--ink-mute); 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: #FFFFFF;
  overflow-wrap: break-word;
  word-break: break-word;
}
.card-specs {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #CBD5E1;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: rgba(10, 12, 17, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.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: #FFFFFF;
}
.card-repay {
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 600;
  color: #CBD5E1;
}

.card-filler {
  background: var(--color-dark-anchor);
  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.12);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}
.card-filler:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.25); color: #FFFFFF; }

/* ── 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(28, 25, 23, 0.05);
}
.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: 36px;
  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: 1.1rem; font-weight: 800; color: var(--ink-mute); letter-spacing: -0.02em;
}

/* ── Footer (Obsidian Carbon Anchor) ── */
.footer {
  background-color: var(--color-dark-anchor);
  color: #FAF5EE; padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  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: 500; color: #FFFFFF; margin-bottom: 12px;
}
.footer-brand-title span { color: var(--accent); font-style: italic; }
.footer-desc { color: rgba(250,245,238,0.7); margin-bottom: 20px; line-height: 1.6; }
.footer-col-title {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700; 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: rgba(250,245,238,0.8); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--accent); }

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1 !important;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.footer-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.25s ease, fill 0.25s ease;
}
.footer-social-icon:hover {
  background: rgba(197, 34, 40, 0.22);
  border-color: rgba(197, 34, 40, 0.65);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -2px rgba(197, 34, 40, 0.45);
}
.footer-social-icon:hover svg {
  transform: scale(1.12);
  fill: #FFFFFF;
}

.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(250,245,238,0.5);
}
.footer-trudealer { color: #FAF5EE; text-decoration: none; font-weight: 600; }
.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(10, 11, 14, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.12); /* Smoked Platinum rim */
  box-shadow: 0 -8px 32px -4px rgba(0, 0, 0, 0.75);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.mbar-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 2px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}
.mbar-tab:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.08);
}
.mbar-tab.active {
  color: #FFFFFF;
}
.mbar-tab svg {
  width: 19px;
  height: 19px;
  transition: transform 0.2s;
}
.mbar-tab:hover svg {
  transform: translateY(-1px);
}
.mbar-ico-wrap {
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mbar-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
}
.mbar-pulse {
  position: absolute;
  top: -1px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #CBD5E1;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}
.mbar-tab.mbar-wa {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
  .mbar { display: grid; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  /* Mobile footer styling — cleanly visible above sticky .mbar */
  .footer {
    display: block !important;
    padding: 44px 0 calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    background: linear-gradient(180deg, rgba(10, 11, 14, 0.98) 0%, rgba(5, 6, 8, 1) 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  }
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    margin-bottom: 32px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
    font-size: 0.76rem !important;
    padding-top: 20px !important;
  }
  #social-proof-ticker {
    display: none !important;
  }

  /* Widgets fall into the sticky footer — suppress only floating corner pills and mobile FABs, keeping host roots active for modal rendering */
  .tru-fabs,
  #truFabs,
  #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;
  }
}

/* Suppress other floating launchers when a modal form is open */
body.tf-open #tru-afford-root .ta-launcher,
body.tf-open #truchat-launcher,
body.ta-open [id^="tru-form-"][id$="-host"] .tf-launcher,
body.ta-open #tf .tf-launcher,
body.ta-open #truchat-launcher {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: scale(0.92) !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: 18px !important;
    margin-bottom: 28px !important;
    padding: 0 14px;
  }
  .search-rail-container {
    padding: 0 !important;
  }
  .search-rail-inner {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    gap: 14px;
    background: rgba(12, 13, 16, 0.92) !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(227, 27, 35, 0.22) !important;
    transform: translateY(-8px);
    transition: transform 0.3s var(--ease), 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: rgba(10, 11, 14, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-ctas .header-wa-btn {
    min-width: 38px !important;
    min-height: 38px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .header-ctas .header-wa-btn svg {
    margin: 0 !important;
  }
  .brand-header-img { height: 38px; max-width: 200px; }
  .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: 0 16px 40px -12px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .sourcing-concierge-card {
  background: linear-gradient(145deg, rgba(17, 18, 22, 0.92) 0%, rgba(10, 11, 14, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.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(197, 34, 40, 0.10);
  border: 1px solid rgba(197, 34, 40, 0.25);
  color: var(--color-primary-light);
  margin-bottom: 18px;
}
.concierge-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.3;
}
.concierge-desc {
  font-size: 0.96rem;
  color: var(--ink-quiet);
  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(-4px);
  box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.16), 0 0 0 1px var(--color-border);
}
.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: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--rule);
}
[data-theme="dark"] .tc-glass {
  background: rgba(14, 15, 18, 0.90);
  border-color: rgba(227, 27, 35, 0.22);
}

/* 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(227, 27, 35, 0.08);
}
.media-tab-btn.is-active {
  background: linear-gradient(135deg, #D9383E 0%, #C52228 52%, #851317 100%);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 4px 14px rgba(197, 34, 40, 0.22), 
    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: #060709;
}
.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(10, 11, 14, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 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(227, 27, 35, 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(6, 7, 9, 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.7);
  transition: transform 0.3s ease;
}
.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.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: rgba(255, 255, 255, 0.85);
  background: rgba(10, 11, 14, 0.88);
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* TruOrbit 360 Player Styling */
.w3d-root {
  font-family: var(--font-sans);
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--color-surface);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
[data-theme="dark"] .w3d-root {
  background: #0B0C0E;
  color: #FAF5EE;
}
.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(197, 34, 40, 0.10), transparent 52%),
    radial-gradient(ellipse at 50% 0%, #17181C, transparent 55%),
    linear-gradient(180deg, #0E0F12 0%, #060709 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(197, 34, 40, 0.12), 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.55));
  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.45);
  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(10, 11, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: #e8eef6;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: none;
  pointer-events: none;
}
.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), #FF2E36);
  padding: 7px 12px;
  border-radius: 100px;
  box-shadow: 0 8px 20px -8px rgba(227, 27, 35, 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: rgba(232, 238, 246, 0.75);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 10px;
  border-radius: 100px;
}
.w3d-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 238, 246, 0.65);
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
}
.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: rgba(255, 255, 255, 0.25);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.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: rgba(255, 255, 255, 0.25);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.w3d-play-btn.on {
  background: linear-gradient(135deg, #D9383E 0%, #C52228 52%, #851317 100%);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(197, 34, 40, 0.22);
}
.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; }
}

/* ═══════════════════════════════════════════════════════════════
   ── AutoLogic PE Google & Facebook 4.5★ Reviews Marquee Ticker ──
   ═══════════════════════════════════════════════════════════════ */
.reviews-ticker-section {
  position: relative;
  padding: 32px 0 36px;
  background: linear-gradient(180deg, rgba(6, 7, 9, 0.95) 0%, rgba(10, 11, 14, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}


.reviews-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.reviews-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.reviews-score {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.reviews-stars-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviews-stars {
  color: #FFB800;
  font-size: 1rem;
  letter-spacing: 2px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 184, 0, 0.4);
}
.reviews-count-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-quiet);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reviews-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: #F8FAFC;
  text-decoration: none;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  transition: all 0.25s ease;
}
.reviews-action-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.reviews-ticker-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.reviews-ticker-wrap::before,
.reviews-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(24px, 6vw, 80px);
  z-index: 2;
  pointer-events: none;
}
.reviews-ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(9, 10, 13, 0.98) 0%, transparent 100%);
}
.reviews-ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(9, 10, 13, 0.98) 0%, transparent 100%);
}


.reviews-ticker-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: ticker-slide 42s linear infinite;
  will-change: transform;
}
.reviews-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-ticker-card {
  flex-shrink: 0;
  width: 340px;
  padding: 20px 22px;
  background: linear-gradient(155deg, rgba(30, 36, 48, 0.90) 0%, rgba(18, 22, 30, 0.96) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.review-ticker-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
  border-top-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

.review-ticker-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.review-card-stars {
  color: #FFB800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  line-height: 1;
}
.review-card-quote {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
  font-style: italic;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.review-card-author {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}
.review-card-location {
  font-size: 0.74rem;
  color: var(--ink-quiet);
}
.review-card-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(203, 213, 225, 0.08);
  color: #CBD5E1;
  border: 1px solid rgba(203, 213, 225, 0.20);
}

/* Left side: TruForm / TruAfford Floating Launcher */
#tru-afford-host,
#tru-afford-root,
#tf {
  position: fixed;
  left: 20px !important;
  right: auto !important;
  z-index: 99980;
}
[id^="tru-form"] {
  bottom: 24px !important;
}

/* Right side: TruChat Circular 3D FAB */
#truchat-floating-root {
  position: fixed !important;
  bottom: 24px !important;
  right: 20px !important;
  left: auto !important;
  z-index: 99980 !important;
}

/* Mobile: floating launchers dock into sticky bottom bar (#site-mbar) */
@media (max-width: 768px) {
  /* Suppress all floating FABs & corner trigger pills on mobile */
  .tru-fabs,
  #truFabs,
  #tc-fab,
  #tc-tip,
  #truchat-launcher,
  #truchat-floating-root #truchat-launcher,
  .ta-launcher,
  #tru-afford-root .ta-launcher,
  .tf-launcher,
  [id^="tru-form"] .tf-launcher,
  #tf .tf-launcher {
    display: none !important;
    pointer-events: none !important;
  }

  /* TruChat Floating Container & Modal on Mobile */
  #truchat-floating-root {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 2147483640 !important;
  }
  #truchat-floating-root.is-open {
    display: block !important;
    pointer-events: auto !important;
  }
  #truchat-floating-root.is-open #truchat-panel,
  #truchat-panel.is-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: min(90vh, 680px) !important;
    border-radius: 22px 22px 0 0 !important;
    border-bottom: none !important;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.85) !important;
    pointer-events: auto !important;
    z-index: 2147483645 !important;
    animation: tcPanelSlideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  }

  /* TruAfford Container & Modal on Mobile */
  #tru-afford-host {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    pointer-events: none !important;
    z-index: 2147483640 !important;
  }
  #tru-afford-host:not(.is-open):not(.ta-open) {
    display: none !important;
  }
  #tru-afford-host.is-open,
  body.ta-open #tru-afford-host {
    display: block !important;
    pointer-events: auto !important;
    bottom: 0 !important;
    z-index: 2147483645 !important;
  }

  /* TruForm on Mobile */
  [id^="tru-form"]:not(.tf-is-open):not(.is-open) .tf-launcher,
  #tf:not(.is-open) .tf-launcher {
    display: none !important;
    pointer-events: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ── AutoLogic PE: "Logic HUD" Precision Telemetry & Spatial UI ──
   ═══════════════════════════════════════════════════════════════ */

/* Telemetry Micro-Badges & Corner Crosshairs */
.logic-hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}
.logic-hud-tag.crimson {
  color: var(--color-primary-light);
  background: rgba(197, 34, 40, 0.10);
  border-color: rgba(197, 34, 40, 0.28);
  box-shadow: 0 0 10px rgba(197, 34, 40, 0.12);
}

/* Enhanced 3D Vehicle Card Specs */
.card, .hero-car-glass-card {
  box-shadow: 
    0 16px 40px -10px rgba(0, 0, 0, 0.8),
    0 0 1px 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.card:hover, .hero-car-glass-card:hover {
  box-shadow: 
    0 28px 70px -12px rgba(0, 0, 0, 0.95),
    0 0 24px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Precision Spec Tiles on VDP */
.spec-tile {
  background: linear-gradient(145deg, rgba(20, 22, 28, 0.90) 0%, rgba(12, 14, 18, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}
.spec-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Search Rail Focus & Specular Edge */
.search-rail-inner:focus-within {
  border-color: rgba(255, 255, 255, 0.30);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.06);
}


/* ═══════════════════════════════════════════════════════════════
   ── Bento UI Modular Architecture & Glassmorphic Chambers ──────
   ═══════════════════════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.bento-card {
  position: relative;
  background: linear-gradient(155deg, rgba(30, 36, 50, 0.92) 0%, rgba(18, 22, 32, 0.97) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--bento-radius-lg, 24px);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 
    0 18px 45px -10px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 24px rgba(255, 255, 255, 0.02);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s ease;
  isolation: isolate;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 35%, transparent 65%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}
.bento-card:hover {
  transform: translateY(-6px) scale(1.008);
  border-color: rgba(255, 255, 255, 0.26);
  border-top-color: rgba(255, 255, 255, 0.60);
  box-shadow: 
    0 30px 75px -12px rgba(0, 0, 0, 0.95),
    0 0 24px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.bento-card:hover::before {
  opacity: 1;
}
.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-6 { grid-column: span 6; }
.bento-span-12 { grid-column: span 12; }

.bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.bento-title {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.bento-desc {
  color: var(--color-ink-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.bento-shelf {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(10, 12, 17, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-top: auto;
}
.bento-shelf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 4px 10px;
  border-radius: 6px;
}

@media (max-width: 960px) {
  .bento-span-7, .bento-span-5, .bento-span-6 {
    grid-column: span 12;
  }
}

/* ---- Floating FABs (Left Side) ---- */
.tru-fabs {
  display: none !important;
  pointer-events: none !important;
}
@media (max-width: 768px) {
  .tru-fabs,
  #truFabs {
    display: none !important;
    pointer-events: none !important;
  }
}
.tru-fab {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tru-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.tru-fab-wa { background: #25D366; }
.tru-fab-mail { background: #C52228; }
.tru-fab-call { background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); }