/* ============================================================
   SHOWROOMS247 — Premium Dubai Automotive Marketplace
   Redesign v2: Cinematic · Editorial · Luxury
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg-void:    #04040a;
  --bg-base:    #07070f;
  --bg-raised:  #0e0e1a;
  --bg-float:   #12121e;
  --bg-glass:   rgba(12,12,22,0.72);

  --line:       rgba(255,255,255,0.06);
  --line-mid:   rgba(255,255,255,0.10);
  --line-blue:  rgba(0,162,255,0.25);
  --line-gold:  rgba(201,168,76,0.25);

  --ink-primary:   #eeeef5;
  --ink-secondary: #a0a0bc;
  --ink-faint:     #686880;

  --electric:      #00a2ff;
  --electric-dim:  rgba(0,162,255,0.10);
  --electric-glow: rgba(0,162,255,0.35);
  --gold:          #c9a84c;
  --gold-dim:      rgba(201,168,76,0.10);
  --silver:        #b8bdc8;
  --emerald:       #00c87a;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Cormorant Garamond', serif;
  --font-sans:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 100px;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s;
  --t-mid:  0.36s;
  --t-slow: 0.6s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-void);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font-sans); }

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--electric); border-radius: 2px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  background: rgba(4,4,10,0.82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: background var(--t-mid) var(--ease-out), border-color var(--t-mid);
  border-bottom: 1px solid var(--line);
}
.nav.scrolled {
  background: rgba(4,4,10,0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: var(--line-mid);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 11px; cursor: pointer; flex-shrink: 0; }
.logo-device {
  position: relative;
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.logo-device-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--electric);
  border-radius: 6px;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform var(--t-slow) var(--ease-out), opacity var(--t-mid);
}
.logo:hover .logo-device-ring { transform: rotate(90deg); opacity: 1; }
.logo-device-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 10px; height: 10px;
  background: var(--electric);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--electric-glow);
  transition: box-shadow var(--t-mid);
}
.logo:hover .logo-device-dot { box-shadow: 0 0 24px var(--electric-glow), 0 0 48px var(--electric-glow); }

.logo-wordmark { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.logo-top { font-family: var(--font-display); font-size: 16px; letter-spacing: 2.5px; color: var(--ink-primary); line-height: 1; }
.logo-bottom { font-family: var(--font-mono); font-size: 8px; letter-spacing: 3px; color: var(--electric); line-height: 1; margin-top: 2px; }

/* Nav links — centred */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  padding: 8px 15px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--ink-secondary);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--ink-primary); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--ink-primary); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  padding: 9px 20px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bg-void);
  background: var(--electric);
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 0 20px var(--electric-glow);
}
.nav-cta:hover { background: #33b5ff; transform: translateY(-1px); box-shadow: 0 4px 32px var(--electric-glow); }

.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink-primary); flex-direction: column; gap: 5px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: var(--t-fast); }
.mobile-nav { display: none; position: fixed; inset: 0; background: rgba(4,4,10,0.98); z-index: 899; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-display); font-size: 44px; letter-spacing: 3px; color: var(--ink-primary); padding: 8px 30px; transition: color var(--t-fast); text-transform: uppercase; }
.mobile-nav a:hover { color: var(--electric); }
.mobile-nav-close { position: absolute; top: 22px; right: 22px; background: none; border: none; color: var(--ink-secondary); font-size: 24px; cursor: pointer; }

/* ============================================================
   HERO — cinematic, full-bleed
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1544636331-e26879cd4d9b?w=1920&q=85&auto=format&fit=crop') center/cover no-repeat;
  transform-origin: center;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 40%, rgba(0,30,90,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(0,0,0,0.8) 0%, transparent 55%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(4,4,10,1) 0%, rgba(4,4,10,0.72) 30%, rgba(4,4,10,0.2) 62%, rgba(4,4,10,0.05) 100%),
    linear-gradient(to right, rgba(4,4,10,0.9) 0%, transparent 52%);
}

/* Horizontal light streak */
.hero-streak {
  position: absolute;
  top: 36%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(0,162,255,0.12) 25%, rgba(0,162,255,0.32) 50%, rgba(0,162,255,0.12) 75%, transparent 100%);
  pointer-events: none;
  animation: streakAnim 5s ease-in-out infinite alternate;
}
@keyframes streakAnim { from { opacity: 0.3; } to { opacity: 1; } }

/* Top-right decorative element */
.hero-corner-el {
  position: absolute;
  top: 80px; right: 44px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  opacity: 0.6;
}
.hero-corner-line { height: 1px; background: linear-gradient(to left, rgba(0,162,255,0.5), transparent); }
.hero-corner-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 2px; color: var(--electric); text-transform: uppercase; }

.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 44px 80px;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.hero-eyebrow-dot {
  width: 5px; height: 5px;
  background: var(--electric);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--electric-glow);
  animation: pulseAnim 2.5s ease-in-out infinite;
}
@keyframes pulseAnim { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.35; transform:scale(1.9); } }
.hero-eyebrow-text { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2.5px; color: var(--ink-secondary); text-transform: uppercase; }
.hero-eyebrow-rule { width: 40px; height: 1px; background: var(--line-mid); }

/* Headline — extreme editorial scale */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 96px);
  line-height: 0.93;
  letter-spacing: 1px;
  color: var(--ink-primary);
  margin-bottom: 28px;
  max-width: 700px;
}
.hero-title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.72em;
  line-height: 1.1;
  color: var(--electric);
  display: block;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Bottom two-column */
.hero-bottom {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: end;
}
.hero-bottom > * { min-width: 0; }
.hero-subtitle { font-size: 14px; color: #b0b0c8; line-height: 1.85; margin-bottom: 28px; max-width: 340px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* Search — glassmorphism */
.hero-search {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-md);
  overflow: hidden;
  min-width: 0;
}
.hero-search-inner {
  display: flex;
  align-items: stretch;
  min-height: 64px;
}
.search-field { padding: 16px 18px; flex: 1; min-width: 100px; }
.search-field label { display: block; font-family: var(--font-mono); font-size: 8px; letter-spacing: 2px; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 5px; }
.search-field select { width: 100%; background: transparent; border: none; color: var(--ink-primary); font-family: var(--font-sans); font-size: 13px; font-weight: 500; outline: none; appearance: none; cursor: pointer; }
.search-field select option { background: #0d0d18; }
.search-sep { background: var(--line); width: 1px; flex-shrink: 0; align-self: stretch; }
.search-btn {
  padding: 0 24px;
  min-width: 100px;
  flex-shrink: 0;
  background: var(--electric);
  color: var(--bg-void);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.search-btn:hover { background: #33b5ff; box-shadow: 0 0 24px var(--electric-glow); }

/* Stats bar — spans full page width at bottom of hero */
.hero-stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 4;
  border-top: 1px solid var(--line);
  background: rgba(4,4,10,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 44px;
  display: flex;
}
.hero-stat {
  flex: 1;
  padding: 20px 28px;
  border-right: 1px solid var(--line);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
.hero-stat-value { font-family: var(--font-display); font-size: 30px; color: var(--ink-primary); line-height: 1; letter-spacing: 1px; }
.hero-stat-value em { color: var(--electric); font-style: normal; }
.hero-stat-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 2px; color: var(--ink-faint); text-transform: uppercase; margin-top: 3px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; background: var(--electric); color: var(--bg-void); font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-radius: var(--r-sm); border: none; cursor: pointer; transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast); box-shadow: 0 0 22px var(--electric-glow); white-space: nowrap; }
.btn-primary:hover { background: #33b5ff; transform: translateY(-2px); box-shadow: 0 6px 36px var(--electric-glow); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; background: transparent; color: var(--ink-primary); font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-radius: var(--r-sm); border: 1px solid var(--line-mid); cursor: pointer; transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast); }
.btn-outline:hover { border-color: var(--electric); color: var(--electric); background: var(--electric-dim); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: transparent; color: var(--ink-secondary); font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; border-radius: var(--r-sm); border: 1px solid var(--line); cursor: pointer; transition: all var(--t-fast); }
.btn-ghost:hover { color: var(--ink-primary); border-color: var(--line-mid); }
.btn-sm { padding: 8px 16px !important; font-size: 11px !important; }
.btn-whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; width: 100%; background: #25D366; color: #fff; font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.3px; border-radius: var(--r-sm); border: none; cursor: pointer; transition: background var(--t-fast), transform var(--t-fast); }
.btn-whatsapp:hover { background: #1eb858; transform: translateY(-1px); }
.btn-call { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; width: 100%; background: transparent; color: var(--ink-primary); font-family: var(--font-sans); font-size: 13px; font-weight: 600; border: 1px solid var(--line-mid); border-radius: var(--r-sm); cursor: pointer; transition: all var(--t-fast); }
.btn-call:hover { border-color: var(--electric); color: var(--electric); background: var(--electric-dim); }
.btn-booking { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; width: 100%; background: var(--bg-raised); color: var(--ink-primary); font-family: var(--font-sans); font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: all var(--t-fast); }
.btn-booking:hover { border-color: var(--line-mid); background: var(--bg-float); }

/* ============================================================
   BADGES
   ============================================================ */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.badge-blue   { background: var(--electric-dim); border: 1px solid var(--line-blue); color: var(--electric); }
.badge-green  { background: rgba(0,200,122,0.1); border: 1px solid rgba(0,200,122,0.25); color: var(--emerald); }
.badge-gold   { background: var(--gold-dim); border: 1px solid var(--line-gold); color: var(--gold); }
.badge-silver { background: rgba(184,189,200,0.07); border: 1px solid rgba(184,189,200,0.18); color: var(--silver); }
.badge-red    { background: rgba(255,80,80,0.1); border: 1px solid rgba(255,80,80,0.25); color: #ff5050; }

/* ============================================================
   LAYOUT
   ============================================================ */
.section { padding: 108px 44px; max-width: 1280px; margin: 0 auto; }
.section-full { padding: 108px 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 44px; }
.section-header { margin-bottom: 60px; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 60px; }
.section-eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 2.5px; color: var(--electric); text-transform: uppercase; margin-bottom: 16px; opacity: 1; }
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--electric); opacity: 0.6; flex-shrink: 0; }
.section-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 56px); line-height: 0.95; letter-spacing: 1px; color: var(--ink-primary); margin-bottom: 16px; }
.section-title-serif { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(28px, 4vw, 52px); line-height: 1.12; color: var(--ink-primary); margin-bottom: 16px; }
.section-subtitle { font-size: 14px; color: var(--ink-secondary); max-width: 460px; line-height: 1.78; }

/* ============================================================
   SHOWROOM CARDS — stacked magazine grid
   ============================================================ */
.showroom-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.showroom-card {
  background: var(--bg-raised);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}
.showroom-card-image { position: absolute; inset: 0; }
.showroom-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out), filter var(--t-slow); filter: saturate(0.65) brightness(0.52); }
.showroom-card:hover .showroom-card-image img { transform: scale(1.07); filter: saturate(1) brightness(0.58); }
.showroom-card-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,4,10,0.98) 0%, rgba(4,4,10,0.45) 38%, rgba(4,4,10,0.08) 70%, transparent 100%); }
.showroom-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--electric); transform: scaleX(0); transform-origin: left; transition: transform var(--t-mid) var(--ease-out); }
.showroom-card:hover::after { transform: scaleX(1); }
.showroom-card-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; opacity: 0; transform: translateY(-6px); transition: opacity var(--t-mid), transform var(--t-mid); }
.showroom-card:hover .showroom-card-badges { opacity: 1; transform: translateY(0); }
.showroom-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 20px; transform: translateY(52px); transition: transform var(--t-mid) var(--ease-out); }
.showroom-card:hover .showroom-card-body { transform: translateY(0); }
.showroom-card-location { font-family: var(--font-mono); font-size: 8px; letter-spacing: 1.5px; color: var(--ink-secondary); text-transform: uppercase; margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.showroom-card-name { font-family: var(--font-display); font-size: 20px; letter-spacing: 1px; color: var(--ink-primary); line-height: 1.08; margin-bottom: 14px; }
.showroom-card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 14px; }
.showroom-card-stock { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; color: var(--ink-secondary); }
.showroom-card-stock strong { font-family: var(--font-display); font-size: 18px; color: var(--ink-primary); letter-spacing: 0; display: block; line-height: 1; }

/* ============================================================
   CAR CARDS — high-visual magazine
   ============================================================ */
.cars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.car-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; cursor: pointer; position: relative; transition: border-color var(--t-mid), transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid); }
.car-card:hover { border-color: var(--line-blue); transform: translateY(-7px); box-shadow: 0 28px 64px rgba(0,0,0,0.65), 0 0 0 1px var(--line-blue); }
.car-card-image { position: relative; height: 236px; overflow: hidden; }
.car-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out), filter var(--t-slow); filter: saturate(0.82); }
.car-card:hover .car-card-image img { transform: scale(1.08); filter: saturate(1.06); }
.car-card-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,24,1) 0%, rgba(13,13,24,0.25) 44%, transparent 70%); }
.car-card-top-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 5px; z-index: 2; }
.car-card-wishlist { position: absolute; top: 12px; right: 12px; z-index: 2; width: 32px; height: 32px; background: rgba(4,4,10,0.68); border: 1px solid var(--line-mid); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast); backdrop-filter: blur(6px); }
.car-card-wishlist:hover { border-color: #ff5050; background: rgba(255,80,80,0.15); transform: scale(1.12); }
.car-card-media-badges { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 5px; z-index: 2; }
.car-card-body { padding: 18px 20px 22px; }
.car-card-make { font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; color: var(--electric); text-transform: uppercase; margin-bottom: 4px; }
.car-card-model { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.3px; line-height: 1.02; color: var(--ink-primary); margin-bottom: 8px; }
.car-card-showroom { font-size: 11px; color: var(--ink-faint); margin-bottom: 12px; display: flex; align-items: center; gap: 5px; }
.car-card-specs { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.car-card-spec { display: flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 10px; color: var(--ink-secondary); letter-spacing: 0.3px; }
.car-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.car-card-price { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.3px; color: var(--ink-primary); line-height: 1; }
.car-card-price span { font-family: var(--font-mono); font-size: 8px; color: var(--ink-faint); font-weight: 400; display: block; letter-spacing: 1px; margin-top: 1px; }

/* ============================================================
   3D TOUR SECTION — real product UI feel
   ============================================================ */
.tour-section { position: relative; background: var(--bg-base); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.tour-section::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 900px; height: 450px; background: radial-gradient(ellipse, rgba(0,162,255,0.07) 0%, transparent 70%); pointer-events: none; }
.tour-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tour-card { background: var(--bg-raised); position: relative; overflow: hidden; cursor: pointer; }
.tour-card-image { position: relative; height: 320px; overflow: hidden; }
.tour-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out), filter var(--t-slow); filter: saturate(0.55) brightness(0.48); }
.tour-card:hover .tour-card-image img { transform: scale(1.04); filter: saturate(0.8) brightness(0.52); }
.tour-card-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,24,1) 0%, rgba(13,13,24,0.18) 62%, transparent 100%); }

/* Product UI chrome — sits over the image */
.tour-card-ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* Top chrome bar — simulates a browser/app toolbar */
.tour-chrome-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  background: rgba(4,4,10,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,162,255,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.tour-chrome-controls { display: flex; gap: 5px; align-items: center; }
.tour-chrome-dot { width: 7px; height: 7px; border-radius: 50%; }
.tour-chrome-dot.red   { background: #ff5f57; }
.tour-chrome-dot.amber { background: #febc2e; }
.tour-chrome-dot.green { background: #28c840; }
.tour-chrome-title { font-family: var(--font-mono); font-size: 8px; letter-spacing: 2px; color: var(--electric); text-transform: uppercase; opacity: 0.75; }
.tour-chrome-meta { font-family: var(--font-mono); font-size: 8px; color: var(--ink-faint); letter-spacing: 1px; }

/* Interactive hotspot dots */
.tour-hotspot {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  cursor: pointer;
}
.tour-hotspot::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--electric);
  border-radius: 50%;
  animation: hotpulse 2.2s ease-in-out infinite;
  opacity: 0.7;
}
.tour-hotspot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 6px; height: 6px;
  background: var(--electric);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--electric-glow);
}
@keyframes hotpulse { 0%,100%{ transform: scale(1); opacity: 0.7; } 50%{ transform: scale(1.7); opacity: 0.2; } }
.tour-hotspot-tag {
  position: absolute;
  left: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: 1.5px;
  color: var(--ink-primary);
  background: rgba(4,4,10,0.85);
  border: 1px solid var(--line-blue);
  padding: 3px 8px;
  border-radius: var(--r-xs);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.tour-card:hover .tour-hotspot-tag { opacity: 1; }

/* Rotating compass indicator */
.tour-compass {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 38px; height: 38px;
  border: 1px solid rgba(0,162,255,0.28);
  border-radius: 50%;
  background: rgba(4,4,10,0.72);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  animation: spin 14s linear infinite;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.tour-compass-needle { width: 1px; height: 13px; background: linear-gradient(to bottom, var(--electric) 50%, var(--ink-faint) 50%); border-radius: 1px; }

/* Floor selector */
.tour-floor-ui {
  position: absolute;
  top: 46px; left: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tour-floor-btn {
  width: 24px; height: 20px;
  background: rgba(4,4,10,0.72);
  border: 1px solid var(--line);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 7px; color: var(--ink-secondary);
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}
.tour-floor-btn.active { background: var(--electric-dim); border-color: var(--line-blue); color: var(--electric); }

/* Tour card body */
.tour-card-body { padding: 24px; }
.tour-card-badges { display: flex; gap: 6px; margin-bottom: 14px; }
.tour-card-name { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; margin-bottom: 6px; }
.tour-card-desc { font-size: 13px; color: var(--ink-secondary); line-height: 1.72; margin-bottom: 20px; }
.tour-card-stats { display: flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin-bottom: 20px; }
.tour-stat { flex: 1; padding: 11px 14px; border-right: 1px solid var(--line); text-align: center; }
.tour-stat:last-child { border-right: none; }
.tour-stat-value { font-family: var(--font-display); font-size: 20px; color: var(--ink-primary); line-height: 1; }
.tour-stat-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 1.5px; color: var(--ink-faint); text-transform: uppercase; margin-top: 3px; }

/* ============================================================
   HOW IT WORKS — bordered cell grid
   ============================================================ */
.how-it-works { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-base); }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { padding: 44px 32px; border-right: 1px solid var(--line); position: relative; transition: background var(--t-mid); }
.step:last-child { border-right: none; }
.step:hover { background: rgba(255,255,255,0.012); }
.step::after { content: '→'; position: absolute; top: 44px; right: -9px; font-size: 13px; color: var(--electric); opacity: 0.35; z-index: 1; }
.step:last-child::after { display: none; }
.step-number { font-family: var(--font-display); font-size: 60px; line-height: 1; color: var(--line-mid); margin-bottom: 22px; letter-spacing: -2px; transition: color var(--t-mid); }
.step:hover .step-number { color: rgba(0,162,255,0.18); }
.step-title { font-size: 15px; font-weight: 600; color: var(--ink-primary); margin-bottom: 10px; line-height: 1.3; }
.step-desc { font-size: 13px; color: var(--ink-secondary); line-height: 1.72; opacity: 1; }

/* ============================================================
   PARTNER CTA
   ============================================================ */
.partner-cta { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.partner-cta-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1567808291548-fc3ee04dbcf0?w=1400&q=70&fit=crop') center/cover no-repeat; opacity: 0.07; }
.partner-cta-glow { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 600px; height: 600px; background: radial-gradient(ellipse, rgba(0,162,255,0.06) 0%, transparent 65%); pointer-events: none; }
.partner-cta-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 92px 44px; display: flex; align-items: center; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.partner-cta-title { font-family: var(--font-display); font-size: clamp(30px, 3.5vw, 52px); line-height: 0.95; letter-spacing: 1px; margin-bottom: 14px; }
.partner-cta-desc { font-size: 14px; color: var(--ink-secondary); max-width: 420px; line-height: 1.78; }
.partner-cta-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.partner-feature-tag { padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 8px; letter-spacing: 1px; color: var(--ink-secondary); text-transform: uppercase; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--bg-void); border-top: 1px solid var(--line); padding: 80px 44px 40px; }
.footer-grid { max-width: 1280px; margin: 0 auto 64px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; }
.footer-brand p { font-size: 13px; color: var(--ink-faint); line-height: 1.75; margin-top: 20px; max-width: 250px; }
.footer-socials { display: flex; gap: 8px; margin-top: 28px; }
.footer-social { width: 34px; height: 34px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 13px; cursor: pointer; transition: border-color var(--t-fast), color var(--t-fast); }
.footer-social:hover { border-color: var(--electric); color: var(--electric); }
.footer-col h4 { font-family: var(--font-mono); font-size: 8px; font-weight: 500; letter-spacing: 2.5px; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--ink-secondary); transition: color var(--t-fast); }
.footer-col ul li a:hover { color: var(--ink-primary); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 11px; color: var(--ink-faint); }
.footer-contact { font-size: 13px; color: var(--ink-faint); line-height: 1.8; }
.footer-contact a { color: var(--electric); transition: opacity var(--t-fast); }
.footer-contact a:hover { opacity: 0.7; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding: 152px 44px 64px; max-width: 1280px; margin: 0 auto; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 64px); line-height: 0.95; letter-spacing: 1px; margin-bottom: 18px; }
.page-hero-subtitle { font-size: 14px; color: var(--ink-secondary); max-width: 480px; line-height: 1.78; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar { background: var(--bg-glass); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; align-items: stretch; margin-bottom: 44px; overflow: hidden; }
.filter-group { flex: 1; padding: 16px 20px; border-right: 1px solid var(--line); }
.filter-group:last-child { border-right: none; }
.filter-group label { display: block; font-family: var(--font-mono); font-size: 8px; letter-spacing: 2px; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 5px; }
.filter-group select, .filter-group input { width: 100%; background: transparent; border: none; color: var(--ink-primary); font-family: var(--font-sans); font-size: 13px; font-weight: 500; outline: none; appearance: none; }
.filter-group select option { background: #0d0d18; }

/* ============================================================
   SHOWROOM DETAIL HERO
   ============================================================ */
.showroom-hero { position: relative; height: 80vh; min-height: 560px; overflow: hidden; padding-top: 68px; }
.showroom-hero-bg { position: absolute; inset: 0; }
.showroom-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); }
.showroom-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,4,10,1) 0%, rgba(4,4,10,0.5) 45%, rgba(4,4,10,0.14) 100%); }
.showroom-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 56px 44px; max-width: 1280px; margin: 0 auto; }
.showroom-logo-box { width: 68px; height: 68px; background: var(--bg-float); border: 1px solid var(--line-mid); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; color: var(--electric); margin-bottom: 16px; }
.showroom-hero-name { font-family: var(--font-display); font-size: clamp(36px, 4vw, 60px); letter-spacing: 1px; line-height: 0.95; margin-bottom: 14px; }
.showroom-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.showroom-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   TOUR EMBED PLACEHOLDER
   ============================================================ */
.tour-embed { background: linear-gradient(135deg, #080812 0%, #0b0f1c 100%); border: 1px solid var(--line-blue); border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 16/7; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.tour-embed-grid { position: absolute; inset: 0; background: linear-gradient(rgba(0,162,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(0,162,255,0.025) 1px, transparent 1px); background-size: 48px 48px; }
.tour-embed-glow { position: absolute; width: 400px; height: 200px; background: radial-gradient(ellipse, rgba(0,162,255,0.12) 0%, transparent 70%); border-radius: 50%; }
.tour-embed-icon { width: 68px; height: 68px; background: var(--electric-dim); border: 1px solid var(--line-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--electric); position: relative; z-index: 1; box-shadow: 0 0 32px var(--electric-glow); }
.tour-embed-text { text-align: center; position: relative; z-index: 1; }
.tour-embed-text h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.tour-embed-text p { font-size: 12px; color: var(--ink-secondary); }
.tour-embed-actions { display: flex; gap: 12px; position: relative; z-index: 1; }

/* ============================================================
   VIDEO EMBED
   ============================================================ */
.video-embed { background: #000; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.video-embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: saturate(0.45); transition: opacity var(--t-mid), filter var(--t-mid); }
.video-embed:hover img { opacity: 0.55; filter: saturate(0.65); }
.video-embed-play { position: relative; z-index: 2; width: 68px; height: 68px; background: rgba(0,162,255,0.12); border: 1.5px solid var(--electric); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--electric); transition: background var(--t-mid), transform var(--t-mid), box-shadow var(--t-mid); backdrop-filter: blur(4px); }
.video-embed:hover .video-embed-play { background: var(--electric); color: var(--bg-void); transform: scale(1.1); box-shadow: 0 0 40px var(--electric-glow); }

/* ============================================================
   CAR DETAIL LAYOUT
   ============================================================ */
.car-detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; max-width: 1280px; margin: 0 auto; padding: 136px 40px 72px; align-items: start; box-sizing: border-box; width: 100%; }
.car-gallery { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; position: relative; margin-bottom: 10px; }
.car-gallery img { width: 100%; height: 100%; object-fit: cover; }
.car-gallery-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; }
.car-thumbnails { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; }
.car-thumb { border-radius: var(--r-xs); overflow: hidden; aspect-ratio: 16/10; cursor: pointer; opacity: 0.45; transition: opacity var(--t-fast), box-shadow var(--t-fast); border: 1.5px solid transparent; }
.car-thumb.active { opacity: 1; border-color: var(--electric); box-shadow: 0 0 10px var(--electric-glow); }
.car-thumb:hover { opacity: 0.85; }
.car-thumb img { width: 100%; height: 100%; object-fit: cover; }
.enquiry-panel { position: sticky; top: 84px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-width: 0; width: 100%; }
.enquiry-panel-header { padding: 28px 28px 0; }
.enquiry-price { font-family: var(--font-display); font-size: 44px; letter-spacing: 0.5px; color: var(--ink-primary); line-height: 1; margin-bottom: 4px; }
.enquiry-price-currency { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-right: 4px; letter-spacing: 1px; }
.enquiry-monthly { font-size: 11px; color: var(--ink-faint); margin-bottom: 20px; }
.enquiry-quick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin-bottom: 24px; }
.enquiry-spec { background: var(--bg-raised); padding: 12px 14px; }
.enquiry-spec-label { font-family: var(--font-mono); font-size: 8px; color: var(--ink-faint); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 3px; }
.enquiry-spec-value { font-family: var(--font-display); font-size: 16px; color: var(--ink-primary); letter-spacing: 0.3px; }
.enquiry-ctas { padding: 0 28px 28px; display: flex; flex-direction: column; gap: 8px; }
.enquiry-showroom { padding: 18px 28px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.enquiry-showroom-logo { width: 42px; height: 42px; background: var(--bg-float); border: 1px solid var(--line); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 13px; color: var(--electric); flex-shrink: 0; }
.enquiry-showroom-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.enquiry-showroom-link { font-size: 11px; color: var(--electric); cursor: pointer; }

/* ============================================================
   SPECS TABLE
   ============================================================ */
.specs-table { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.spec-row { display: contents; }
.spec-row > div { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-row:last-child > div { border-bottom: none; }
.spec-label { color: var(--ink-faint); background: var(--bg-raised); font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; border-right: 1px solid var(--line); }
.spec-value { color: var(--ink-primary); font-weight: 500; background: var(--bg-base); }

/* ============================================================
   PACKAGES
   ============================================================ */
.packages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.package-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; position: relative; transition: border-color var(--t-mid), transform var(--t-mid); }
.package-card.featured { border-color: var(--electric); background: linear-gradient(160deg, var(--bg-raised) 0%, rgba(0,18,48,0.6) 100%); box-shadow: 0 0 48px rgba(0,162,255,0.08), 0 0 0 1px var(--line-blue); }
.package-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 14px; background: var(--electric); color: var(--bg-void); font-family: var(--font-mono); font-size: 8px; letter-spacing: 2px; border-radius: var(--r-pill); }
.package-card:hover { border-color: var(--line-blue); transform: translateY(-5px); }
.package-name { font-family: var(--font-mono); font-size: 9px; letter-spacing: 2.5px; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 20px; }
.package-price { font-family: var(--font-display); font-size: 54px; line-height: 1; margin-bottom: 4px; letter-spacing: 0; }
.package-price small { font-family: var(--font-mono); font-size: 9px; color: var(--ink-faint); font-weight: 400; letter-spacing: 1px; }
.package-desc { font-size: 13px; color: var(--ink-secondary); margin-bottom: 28px; line-height: 1.65; }
.package-features { margin-bottom: 32px; }
.package-feature { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-secondary); }
.package-feature:last-child { border-bottom: none; }
.package-feature-check { color: var(--electric); font-size: 11px; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   FORM
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 2px; color: var(--ink-faint); text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { background: var(--bg-base); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-primary); padding: 12px 14px; outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); resize: none; font-size: 13px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(0,162,255,0.08); }
.form-group select option { background: #0d0d18; }

/* ============================================================
   INFO CARD
   ============================================================ */
.info-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.info-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.info-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.info-row:last-child { border-bottom: none; }
.info-row-icon { color: var(--electric); font-size: 14px; width: 20px; text-align: center; }
.info-row-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-faint); width: 84px; flex-shrink: 0; }
.info-row-value { color: var(--ink-primary); font-weight: 500; }

/* ============================================================
   TABS
   ============================================================ */
.tabs { display: flex; margin-bottom: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { padding: 11px 20px; font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--ink-faint); cursor: pointer; border-bottom: 1.5px solid transparent; margin-bottom: -1px; transition: color var(--t-fast), border-color var(--t-fast); white-space: nowrap; background: none; border-top: none; border-left: none; border-right: none; }
.tab.active { color: var(--ink-primary); border-bottom-color: var(--electric); }
.tab:hover { color: var(--ink-secondary); }

/* ============================================================
   MISC
   ============================================================ */
.divider { border: none; border-top: 1px solid var(--line); margin: 52px 0; }
.load-more-wrap { text-align: center; padding: 44px 0 0; }
.results-count { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; color: var(--ink-secondary); text-transform: uppercase; margin-bottom: 22px; }
.results-count strong { color: var(--ink-primary); font-weight: 500; }
.car-description { font-size: 14px; color: var(--ink-secondary); line-height: 1.88; }
.similar-section { background: var(--bg-raised); border-top: 1px solid var(--line); padding: 80px 44px; }

/* LIST WITH US */
.listerpage-hero { position: relative; min-height: 85vh; display: flex; align-items: flex-end; overflow: hidden; }
.listerpage-hero-bg { position: absolute; inset: -8%; background: url('https://images.unsplash.com/photo-1567808291548-fc3ee04dbcf0?w=1800&q=80&auto=format&fit=crop') center/cover no-repeat; }
.listerpage-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,4,10,1) 0%, rgba(4,4,10,0.65) 45%, rgba(4,4,10,0.18) 100%); }
.listerpage-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 100px 44px 80px; width: 100%; }

/* BENEFITS */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(270px,1fr)); gap: 16px; }
.benefit-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; transition: border-color var(--t-mid), transform var(--t-mid); }
.benefit-card:hover { border-color: var(--line-blue); transform: translateY(-3px); }
.benefit-icon { width: 44px; height: 44px; background: var(--electric-dim); border: 1px solid var(--line-blue); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
.benefit-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.benefit-desc { font-size: 13px; color: var(--ink-secondary); line-height: 1.65; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in   { animation: fadeUp 0.7s var(--ease-out) both; }
.animate-in-1 { animation-delay: 0.12s; }
.animate-in-2 { animation-delay: 0.22s; }
.animate-in-3 { animation-delay: 0.32s; }
.animate-in-4 { animation-delay: 0.46s; }
.animate-in-5 { animation-delay: 0.58s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-electric{color:var(--electric)} .text-gold{color:var(--gold)} .text-muted{color:var(--ink-faint)} .text-secondary{color:var(--ink-secondary)}
.font-display{font-family:var(--font-display)} .font-serif{font-family:var(--font-serif)} .font-mono{font-family:var(--font-mono)}
.d-flex{display:flex} .align-center{align-items:center} .gap-8{gap:8px} .gap-12{gap:12px} .gap-16{gap:16px} .gap-24{gap:24px}
.flex-wrap{flex-wrap:wrap} .justify-between{justify-content:space-between}
.mt-8{margin-top:8px} .mt-16{margin-top:16px} .mt-24{margin-top:24px} .mt-32{margin-top:32px}
.mb-8{margin-bottom:8px} .mb-16{margin-bottom:16px} .mb-24{margin-bottom:24px} .mb-32{margin-bottom:32px}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ============================================================
   READABILITY — text colour overrides
   ============================================================ */
.showroom-card-location { color: #a0a0bc; }
.showroom-card-name     { color: #eeeef5; }
.car-card-make          { color: var(--electric); }
.car-card-showroom      { color: #686880; }
.car-card-spec          { color: #a0a0bc; }
.step-title             { color: #eeeef5; }
.tour-card-desc         { color: #a0a0bc; }
.tour-stat-label        { color: #a0a0bc; }
.benefit-desc           { color: #a0a0bc; }
.benefit-title          { color: #eeeef5; }
.package-feature        { color: #a0a0bc; }
.package-desc           { color: #a0a0bc; }
.info-row-value         { color: #eeeef5; }
.footer-col ul li a     { color: #a0a0bc; }
.footer-brand p         { color: #a0a0bc; }

/* Nav spacer */
.nav-spacer { height: 68px; }

/* Listerpage hero title */
.listerpage-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.94;
  letter-spacing: 1px;
  color: var(--ink-primary);
  margin-bottom: 20px;
  max-width: 680px;
}

/* ============================================================
   TABLET — 1100px
   ============================================================ */

/* ============================================================
   READABILITY OVERRIDES (non-responsive)
   ============================================================ */
.showroom-card-location { color: #a0a0bc; }
.showroom-card-name     { color: #eeeef5; }
.car-card-make          { color: var(--electric); }
.car-card-showroom      { color: #686880; }
.car-card-spec          { color: #a0a0bc; }
.step-title             { color: #eeeef5; }
.tour-card-desc         { color: #a0a0bc; }
.tour-stat-label        { color: #a0a0bc; }
.benefit-desc           { color: #a0a0bc; }
.benefit-title          { color: #eeeef5; }
.package-feature        { color: #a0a0bc; }
.package-desc           { color: #a0a0bc; }
.info-row-value         { color: #eeeef5; }
.footer-col ul li a     { color: #a0a0bc; }
.footer-brand p         { color: #a0a0bc; }
.listerpage-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.94;
  letter-spacing: 1px;
  color: var(--ink-primary);
  margin-bottom: 20px;
  max-width: 680px;
}

/* Nav spacer for inner pages */
.nav-spacer { height: 68px; }

/* Enquiry trigger — DESKTOP: always hidden */
.enquiry-trigger { display: none; }

/* ============================================================
   1100px — tablet wide
   ============================================================ */
@media (max-width: 1100px) {
  .showroom-grid { grid-template-columns: repeat(2, 1fr); }
  .showroom-card { aspect-ratio: 4/3; }
}

/* ============================================================
   1024px — tablet
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .tour-cards { grid-template-columns: 1fr; }
  .car-detail-layout { grid-template-columns: 1fr; padding-top: 110px; }
  .enquiry-panel { position: static; }
  .packages-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* ============================================================
   768px — mobile
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav { padding: 0 18px; height: 60px; }
  .nav-spacer { height: 60px; }
  .nav-right { display: none !important; }

  /* Add List With Us to mobile nav via ::after on mobile-nav — handled in HTML */

  /* Global spacing */
  .section       { padding: 52px 18px; }
  .section-inner { padding: 0 18px; }
  .section-full  { padding: 52px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .section-title { font-size: clamp(26px, 7vw, 40px); }

  /* ── HERO ── */
  .hero {
    height: auto;
    min-height: 100svh;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }
  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 80px 18px 32px;
  }
  .hero-title { font-size: clamp(42px, 11vw, 62px); line-height: 0.92; margin-bottom: 16px; max-width: 100%; }
  .hero-title-serif { font-size: 0.68em; }
  .hero-eyebrow { margin-bottom: 18px; flex-wrap: wrap; gap: 6px; }
  .hero-eyebrow-rule { display: none; }
  .hero-eyebrow-text:last-child { display: none; }
  .hero-subtitle { font-size: 14px; line-height: 1.7; margin-bottom: 20px; max-width: 100%; }
  .hero-bottom { grid-template-columns: 1fr; gap: 20px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { flex: 1; justify-content: center; padding: 13px 16px; font-size: 12px; }

  /* Hero search stacked */
  .hero-search { border-radius: var(--r-sm); }
  .hero-search-inner { flex-direction: column; }
  .search-sep { display: none; }
  .search-field { flex: none; width: 100%; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .search-btn { width: 100%; padding: 14px; font-size: 12px; border-radius: 0; min-width: unset; }

  /* Hero stats — flows BELOW hero content, 2x2 grid */
  .hero-stats-bar {
    position: relative;
    bottom: auto; left: auto; right: auto;
    flex-shrink: 0;
  }
  .hero-stats-inner { padding: 0; flex-wrap: wrap; }
  .hero-stat { width: 50%; flex: none; padding: 16px 18px; border-right: none; border-bottom: 1px solid var(--line); }
  .hero-stat:first-child { padding-left: 18px; } /* Reset desktop zero-padding */
  .hero-stat:nth-child(odd)  { border-right: 1px solid var(--line); }
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4)    { border-bottom: none; }
  .hero-stat-value { font-size: 24px; }

  /* Page hero */
  .page-hero { padding: 96px 18px 32px; }
  .page-hero-title { font-size: clamp(30px, 9vw, 48px); }
  .page-hero-subtitle { font-size: 13px; }

  /* ── SHOWROOM CARDS ── */
  /* Simple stacked cards — no absolute positioning tricks */
  .showroom-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: none;
    border: none;
    border-radius: 0;
  }
  .showroom-card {
    position: relative;
    height: 240px;
    aspect-ratio: unset;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--bg-raised);
  }
  .showroom-card-image {
    position: absolute;
    inset: 0;
  }
  .showroom-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75) brightness(0.48);
  }
  .showroom-card-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4,4,10,0.98) 0%, rgba(4,4,10,0.55) 50%, rgba(4,4,10,0.1) 100%);
  }
  .showroom-card-badges {
    position: absolute;
    top: 14px; left: 14px;
    display: flex; gap: 6px; flex-wrap: wrap;
    opacity: 1;
    transform: none;
  }
  .showroom-card-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px;
    transform: none;
  }
  .showroom-card-location { font-size: 9px; margin-bottom: 4px; }
  .showroom-card-name { font-size: 18px; margin-bottom: 10px; }
  .showroom-card-meta { margin-bottom: 12px; padding-top: 10px; }
  .showroom-card .btn-primary { width: 100%; justify-content: center; padding: 11px; font-size: 12px; }
  /* Hide verbose description and specialty tags in showroom cards on mobile */
  .showroom-card-body p,
  .showroom-card-body .specialty-tags,
  .showroom-card-body [style*="font-size:12px"] { display: none; }
  .showroom-card-location { margin-bottom: 6px; }

  /* ── CAR CARDS ── */
  .cars-grid { grid-template-columns: 1fr; gap: 12px; }
  .car-card-image { height: 200px; }
  .car-card-model { font-size: 20px; }
  .car-card-price { font-size: 20px; }
  .car-card-body { padding: 14px 16px 18px; }

  /* ── FILTER BAR ── */
  .filter-toggle-btn { display: block; }
  .filter-bar {
    flex-direction: column;
    border-radius: var(--r-md);
    padding: 0;
    overflow: hidden;
    gap: 0;
  }
  .filter-group { width: 100%; border-right: none; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .filter-group:last-child { border-bottom: none; }
  .filter-group label { font-size: 8px; margin-bottom: 4px; }
  .filter-group select, .filter-group input { font-size: 16px; }

  /* ── TOUR CARDS ── */
  .tour-cards { grid-template-columns: 1fr; gap: 12px; }
  .tour-card-image { height: 200px; }
  .tour-card-body { padding: 18px; }
  .tour-card-name { font-size: 20px; }
  .tour-chrome-meta { display: none; }
  .tour-hotspot-tag { display: none; }

  /* ── HOW IT WORKS ── */
  .steps-grid { grid-template-columns: 1fr; border-radius: 0; border: none; }
  .step { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 18px; display: grid; grid-template-columns: 48px 1fr; gap: 0 14px; }
  .step:last-child { border-bottom: none; }
  .step-number { font-size: 32px; margin-bottom: 0; grid-row: 1/3; padding-top: 2px; }
  .step-title { font-size: 14px; margin-bottom: 6px; }
  .step-desc { font-size: 13px; grid-column: 2; }

  /* ── PARTNER CTA ── */
  .partner-cta-inner { flex-direction: column; padding: 48px 18px; gap: 28px; }
  .partner-cta-title { font-size: clamp(24px, 7vw, 38px); }

  /* ── CAR DETAIL ── */
  .car-detail-layout { grid-template-columns: 1fr; padding: 80px 18px 120px; gap: 24px; }
  .car-gallery { border-radius: var(--r-md); }
  .car-thumbnails { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .specs-table { grid-template-columns: 1fr; }
  .spec-label { border-right: none; border-bottom: 1px solid var(--line); }
  .spec-row > div { padding: 11px 14px; }
  .media-grid { grid-template-columns: 1fr !important; gap: 16px; margin-bottom: 32px; }
  .showroom-feature-card { flex-direction: column !important; align-items: flex-start !important; }
  .similar-section { padding: 52px 18px 120px; }
  .similar-section .cars-grid { grid-template-columns: 1fr !important; }

  /* ── ENQUIRY PANEL — mobile bottom sheet ── */
  .enquiry-panel {
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    top: auto;
    z-index: 800;
    width: 100%;
    border-radius: 16px 16px 0 0;
    border: none;
    border-top: 1px solid rgba(0,162,255,0.3);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.7);
    max-height: none;
    overflow: visible;
    /* Default: collapsed — show only trigger bar */
  }
  .enquiry-panel::before {
    content: '';
    display: block;
    width: 36px; height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin: 10px auto 4px;
  }
  /* Show trigger bar on mobile */
  .enquiry-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 4px 18px 14px;
    gap: 10px;
    cursor: pointer;
  }
  .enquiry-trigger-price {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--ink-primary);
    line-height: 1;
  }
  .enquiry-trigger-price small {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--ink-faint);
    letter-spacing: 1px;
    display: block;
    margin-top: 2px;
  }
  .enquiry-trigger-actions { display: flex; gap: 8px; flex-shrink: 0; }

  /* Collapsed state: hide everything below the trigger */
  .enquiry-panel .enquiry-panel-header { display: none; }
  .enquiry-panel .enquiry-ctas { display: none; }
  .enquiry-panel .enquiry-showroom { display: none; }
  .enquiry-panel .enquiry-quick-specs { display: none; }
  .enquiry-panel .enquiry-monthly { display: none; }

  /* Open state: reveal panel content */
  .enquiry-panel.open .enquiry-panel-header { display: block; padding: 16px 18px 0; }
  .enquiry-panel.open .enquiry-price { font-size: 32px; }
  .enquiry-panel.open .enquiry-monthly { display: block; font-size: 11px; }
  .enquiry-panel.open .enquiry-quick-specs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
  .enquiry-panel.open .enquiry-ctas { display: flex; flex-direction: column; gap: 8px; padding: 0 18px 18px; }
  .enquiry-panel.open .enquiry-showroom { display: flex; padding: 14px 18px; }

  /* ── SHOWROOM DETAIL ── */
  .showroom-hero { height: 60vh; min-height: 380px; }
  .showroom-hero-content { padding: 24px 18px; }
  .showroom-hero-name { font-size: clamp(26px, 8vw, 42px); }
  .showroom-hero-badges { gap: 6px; }
  .showroom-hero-ctas { flex-direction: column; gap: 8px; }
  .showroom-hero-ctas .btn-primary,
  .showroom-hero-ctas .btn-outline,
  .showroom-hero-ctas .btn-ghost { width: 100%; justify-content: center; padding: 13px; }
  .showroom-info-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .tabs { -webkit-overflow-scrolling: touch; }
  .tab { padding: 10px 12px; font-size: 12px; }

  /* ── LIST WITH US ── */
  .listerpage-hero-title { font-size: clamp(30px, 9vw, 48px); }
  .listerpage-hero-content { padding: 96px 18px 52px !important; }
  .listerpage-hero-subtitle { font-size: 14px !important; max-width: 100% !important; }
  .listerpage-hero-stats { gap: 20px !important; padding-top: 24px !important; margin-top: 24px !important; flex-wrap: wrap; }
  .listerpage-stat-value { font-size: 26px !important; }
  .benefits-grid { grid-template-columns: 1fr; gap: 10px; }
  .benefit-card { padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
  .benefit-icon { width: 36px; height: 36px; font-size: 16px; flex-shrink: 0; margin-bottom: 0; }
  .packages-grid { grid-template-columns: 1fr; gap: 16px; }
  .package-card { padding: 24px; }
  .package-price { font-size: 42px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }

  /* ── FOOTER ── */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 18px 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ============================================================
   390px — iPhone SE / small phones
   ============================================================ */
@media (max-width: 390px) {
  .hero-title { font-size: clamp(36px, 11vw, 50px); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { width: 100%; }
  .car-card-image { height: 180px; }
  .showroom-card { height: 250px; }
  .showroom-hero-name { font-size: clamp(24px, 9vw, 36px); }
}

/* ============================================================
   DESKTOP HARD RESET — min-width 769px
   Ensures mobile rules never bleed into desktop layouts
   ============================================================ */
@media (min-width: 769px) {
  /* Enquiry panel — always sticky sidebar on desktop */
  .enquiry-panel {
    position: sticky !important;
    top: 84px !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: auto !important;
    border-radius: var(--r-lg) !important;
    border: 1px solid var(--line) !important;
    border-top: 1px solid var(--line) !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: hidden !important;
  }
  .enquiry-panel::before { display: none !important; }
  .enquiry-trigger { display: none !important; }

  /* All panel sections always visible on desktop */
  .enquiry-panel .enquiry-panel-header { display: block !important; padding: 28px 28px 0 !important; }
  .enquiry-panel .enquiry-price { font-size: 44px !important; }
  .enquiry-panel .enquiry-monthly { display: block !important; }
  .enquiry-panel .enquiry-quick-specs { display: grid !important; grid-template-columns: 1fr 1fr !important; margin-bottom: 24px !important; }
  .enquiry-panel .enquiry-ctas { display: flex !important; flex-direction: column !important; padding: 0 28px 28px !important; gap: 8px !important; }
  .enquiry-panel .enquiry-showroom { display: flex !important; padding: 18px 28px !important; }

  /* Car detail layout */
  .car-detail-layout {
    grid-template-columns: 1fr 360px !important;
    padding: 136px 44px 72px !important;
  }

  /* Showroom cards — revert to desktop grid hover behaviour */
  .showroom-card-body { transform: translateY(52px); }
  .showroom-card:hover .showroom-card-body { transform: translateY(0); }
  .showroom-card-badges { opacity: 0; transform: translateY(-6px); }
  .showroom-card:hover .showroom-card-badges { opacity: 1; transform: translateY(0); }

  /* Filter bar toggle button — hidden on desktop */
  .filter-toggle-btn { display: none !important; }
  .filter-bar { flex-direction: row !important; }
}
