/* ============================================================
   CAR SPECS SA — SHARED STYLESHEET
   site.css — all shared styles used across every page
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Core darks */
  --carbon:        #0A0A0F;
  --deep-space:    #0D1117;
  --gunmetal:      #151820;
  --panel:         #1A1E28;
  --panel-light:   #222736;

  /* Silver / Chrome spectrum */
  --chrome:        #C0C8D8;
  --silver:        #A0A8B8;
  --titanium:      #6A7288;
  --steel:         #3D4455;

  /* Blues */
  --hud-blue:      #00B4D8;
  --hud-blue-dim:  #0088A8;
  --arc-blue:      #1E90FF;
  --deep-blue:     #0A3D6E;
  --glow-blue:     rgba(0,180,216,0.15);

  /* Accent warm */
  --racing-red:    #E63946;
  --signal-amber:  #F7A325;
  --ember:         #FF6B35;

  /* Surface */
  --pit-lane:      #F0F0F5;
  --garage:        #FFFFFF;

  /* Body-type colours */
  --suv-green:     #2D936C;
  --bakkie-earth:  #C57B3C;
  --sedan-blue:    #1B6CA8;
  --hatch-purple:  #7B5EA7;
  --mpv-teal:      #1B9AAA;

  /* Typography */
  --font-display:  'Saira Condensed', Impact, sans-serif;
  --font-heading:  'Chakra Petch', 'Trebuchet MS', sans-serif;
  --font-hud:      'Orbitron', monospace;
  --font-body:     'Barlow', Helvetica, sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Layout */
  --max-width:  1400px;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  /* Glow */
  --glow-spread: 0 0 30px rgba(0,180,216,0.12), 0 0 60px rgba(0,180,216,0.06);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--carbon);
  color: var(--chrome);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* bottom padding for mobile sticky anchor ad */
  padding-bottom: 60px;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(0,180,216,0.1);
  font-size: 11px;
  padding: 6px 0;
  letter-spacing: 0.5px;
  color: var(--titanium);
  position: relative;
  z-index: 1001;
}
.topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: var(--hud-blue); transition: color 0.2s; }
.topbar a:hover { color: var(--chrome); }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,180,216,0.12);
}
.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: var(--space-md);
}

/* Logo */
.logo { display: flex; align-items: baseline; gap: 4px; flex-shrink: 0; }
.logo__car {
  font-family: var(--font-hud);
  font-weight: 800;
  font-size: 22px;
  color: var(--garage);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
}
.logo__specs {
  font-family: var(--font-hud);
  font-weight: 400;
  font-size: 22px;
  color: var(--hud-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
}
.logo__tag {
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--titanium);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: none;
}

/* Nav */
.nav { display: none; }
.nav__links { display: flex; align-items: center; gap: var(--space-xs); }
.nav__about {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-right: var(--space-lg);
  padding-right: var(--space-lg);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.nav__about a { font-size: 11px; color: var(--titanium); letter-spacing: 0.5px; }
.nav__about a:hover { color: var(--chrome); }
.nav a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--garage); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--hud-blue);
  border-radius: 1px;
}
.nav a.cta-compare {
  background: linear-gradient(135deg, var(--racing-red), #c22d38);
  color: var(--garage);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav a.cta-compare:hover { box-shadow: 0 0 20px rgba(230,57,70,0.3); }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; padding: var(--space-sm); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--chrome); border-radius: 2px; transition: 0.3s; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,15,0.97);
  z-index: 2000;
  flex-direction: column;
  padding: var(--space-xl) var(--space-md);
  gap: var(--space-sm);
}
.mobile-nav.open { display: flex; }
.mobile-nav__close {
  align-self: flex-end;
  font-size: 28px;
  color: var(--chrome);
  padding: var(--space-sm);
  line-height: 1;
}
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a:hover { color: var(--hud-blue); }
.mobile-nav a.cta-compare {
  color: var(--racing-red);
  border-color: rgba(230,57,70,0.2);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--deep-space);
  border-bottom: 1px solid rgba(0,180,216,0.06);
  padding: var(--space-sm) 0;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 12px;
  color: var(--titanium);
  flex-wrap: wrap;
}
.breadcrumb__list a { color: var(--hud-blue); transition: color 0.2s; }
.breadcrumb__list a:hover { color: var(--chrome); }
.breadcrumb__sep { color: var(--steel); font-size: 10px; opacity: 0.6; }

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-label {
  font-family: var(--font-hud);
  font-size: 9px;
  font-weight: 600;
  color: var(--hud-blue);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-sm);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 40px);
  color: var(--garage);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.section-title span { color: var(--hud-blue); }

/* ============================================================
   BODY TYPE BADGES
   ============================================================ */
.badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.4;
}
.badge--bakkie  { background: rgba(197,123,60,0.15);  color: var(--bakkie-earth); }
.badge--suv     { background: rgba(45,147,108,0.15);  color: var(--suv-green); }
.badge--sedan   { background: rgba(27,108,168,0.15);  color: var(--sedan-blue); }
.badge--hatch   { background: rgba(123,94,167,0.15);  color: var(--hatch-purple); }
.badge--mpv     { background: rgba(27,154,170,0.15);  color: var(--mpv-teal); }
.badge--coupe   { background: rgba(230,57,70,0.15);   color: var(--racing-red); }
.badge--ev      { background: rgba(0,180,216,0.15);   color: var(--hud-blue); }

/* ============================================================
   SPEC CARDS (used on homepage + make pages)
   ============================================================ */
.spec-card {
  background: var(--panel);
  border: 1px solid rgba(0,180,216,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,180,216,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), var(--glow-spread);
}
.spec-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--gunmetal);
}
.spec-card__img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--gunmetal), var(--panel-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--steel);
}
.spec-card__body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; gap: var(--space-xs); }
.spec-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--garage);
  line-height: 1.3;
  margin-top: 4px;
}
.spec-card__meta { font-size: 12px; color: var(--titanium); }
.spec-card__specs {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-sm);
}
.spec-card__spec-val {
  font-family: var(--font-hud);
  font-weight: 700;
  font-size: 14px;
  color: var(--garage);
  display: block;
  line-height: 1;
}
.spec-card__spec-label {
  font-size: 9px;
  color: var(--titanium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   MODEL CARDS (used on make pages)
   ============================================================ */
.model-card {
  background: var(--panel);
  border: 1px solid rgba(0,180,216,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,180,216,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), var(--glow-spread);
}
.model-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--gunmetal), var(--panel-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--steel);
  position: relative;
}
.model-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.model-card__badge { position: absolute; top: var(--space-sm); left: var(--space-sm); }
.model-card__body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; gap: 6px; }
.model-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--garage);
  line-height: 1.2;
}
.model-card__from { font-size: 13px; color: var(--signal-amber); font-weight: 500; }
.model-card__specs {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding-top: var(--space-xs);
}
.model-card__spec-val {
  font-family: var(--font-hud);
  font-size: 13px;
  font-weight: 700;
  color: var(--garage);
  display: block;
  line-height: 1;
}
.model-card__spec-label { font-size: 9px; color: var(--titanium); text-transform: uppercase; letter-spacing: 0.5px; }
.model-card__variants {
  font-size: 11px;
  color: var(--titanium);
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ============================================================
   BRAND TILES
   ============================================================ */
.brand-tile {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.brand-tile:hover {
  background: rgba(0,180,216,0.05);
  border-color: rgba(0,180,216,0.2);
  transform: translateY(-2px);
}
.brand-tile--popular {
  background: rgba(247,163,37,0.04);
  border-color: rgba(247,163,37,0.12);
}
.brand-tile__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--chrome);
}
.brand-tile__count { font-size: 11px; color: var(--titanium); margin-top: 2px; }

/* ============================================================
   TOOLS CARDS
   ============================================================ */
.tool-card {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-lg);
  background: var(--panel);
  border: 1px solid rgba(0,180,216,0.06);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}
.tool-card:hover {
  border-color: rgba(0,180,216,0.2);
  background: var(--panel-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.tool-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  font-family: var(--font-hud);
  font-weight: 700;
}
.tool-card__icon--fuel     { background: rgba(45,147,108,0.12);  color: var(--suv-green); }
.tool-card__icon--finance  { background: rgba(247,163,37,0.12);  color: var(--signal-amber); }
.tool-card__icon--insurance{ background: rgba(0,180,216,0.12);   color: var(--hud-blue); }
.tool-card__icon--deprec   { background: rgba(230,57,70,0.12);   color: var(--racing-red); }
.tool-card__text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--garage);
  margin-bottom: 2px;
}
.tool-card__text p { font-size: 13px; color: var(--titanium); line-height: 1.4; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  background: var(--panel);
  border-bottom: 1px solid rgba(0,180,216,0.06);
  padding: var(--space-sm) 0;
  position: sticky;
  top: 60px;
  z-index: 90;
}
.filter-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-bar__inner::-webkit-scrollbar { display: none; }
.filter-bar__label {
  font-family: var(--font-hud);
  font-size: 9px;
  font-weight: 600;
  color: var(--titanium);
  text-transform: uppercase;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.filter-chips { display: flex; gap: var(--space-sm); flex-wrap: nowrap; }
.filter-chip {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  color: var(--silver);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.filter-chip:hover, .filter-chip.active {
  background: rgba(0,180,216,0.1);
  border-color: rgba(0,180,216,0.3);
  color: var(--hud-blue);
}

/* ============================================================
   AD SLOTS — stable dimensions prevent CLS
   ============================================================ */
.ad-slot {
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  position: relative;
}
.ad-slot__label {
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.ad-slot__size { font-size: 10px; color: var(--steel); }

/* Leaderboard — desktop 728×90 */
.ad-slot--leaderboard {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: var(--space-md) auto;
  display: none; /* shown at ≥768px */
}
/* Mobile banner — 320×100 */
.ad-slot--mobile-banner {
  width: 320px;
  height: 100px;
  margin: var(--space-md) auto;
}
/* In-grid native (same size as a card) */
.ad-slot--in-grid {
  border-radius: var(--radius-md);
  min-height: 200px;
}
/* In-feed native (full width, below section) */
.ad-slot--in-feed {
  width: 100%;
  height: 100px;
  border-radius: var(--radius-sm);
  margin: var(--space-lg) 0;
}
/* Mid-page responsive */
.ad-slot--mid-page {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: var(--space-lg) auto;
}
/* Post-hero (below page hero on inner pages) */
.ad-post-hero-wrap {
  background: var(--deep-space);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(0,180,216,0.04);
}
.ad-slot--post-hero {
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
}
/* Sticky mobile anchor */
.ad-slot--anchor {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--carbon);
  border-top: 1px solid rgba(0,180,216,0.1);
  z-index: 999;
  flex-direction: row;
  justify-content: center;
  gap: var(--space-md);
  display: flex;
  align-items: center;
}
.ad-anchor__close {
  position: absolute;
  right: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--titanium);
  padding: 4px 8px;
  line-height: 1;
}
.ad-anchor__close:hover { color: var(--chrome); }

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, #0a1628, #0d1117);
  border-top: 1px solid rgba(0,180,216,0.1);
  border-bottom: 1px solid rgba(0,180,216,0.1);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,180,216,0.04), transparent 70%);
  pointer-events: none;
}
.newsletter-section * { position: relative; z-index: 1; }
.newsletter__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--garage);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-sm);
}
.newsletter__sub {
  font-size: 15px;
  color: var(--titanium);
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}
.newsletter__form {
  display: flex;
  gap: var(--space-sm);
  max-width: 440px;
  margin: 0 auto;
  flex-direction: column;
}
.newsletter__input {
  flex: 1;
  padding: 14px var(--space-md);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--panel);
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: var(--radius-sm);
  color: var(--chrome);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter__input:focus { border-color: var(--hud-blue); }
.newsletter__input::placeholder { color: var(--steel); }
.newsletter__btn {
  padding: 14px var(--space-lg);
  background: linear-gradient(135deg, var(--hud-blue), var(--hud-blue-dim));
  color: var(--carbon);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius-sm);
  transition: 0.2s;
}
.newsletter__btn:hover {
  box-shadow: 0 0 20px rgba(0,180,216,0.3);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--deep-space);
  border-top: 1px solid rgba(0,180,216,0.06);
  padding: var(--space-2xl) 0 var(--space-lg);
  color: var(--titanium);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer__col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  color: var(--chrome);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}
.footer__col a {
  display: block;
  font-size: 13px;
  color: var(--titanium);
  padding: 3px 0;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--hud-blue); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}
.footer__copy { font-size: 13px; color: var(--titanium); }
.footer__links { display: flex; gap: var(--space-md); flex-wrap: wrap; justify-content: center; }
.footer__links a { font-size: 12px; color: var(--titanium); }
.footer__links a:hover { color: var(--hud-blue); }
.footer__credit {
  font-size: 11px;
  color: var(--steel);
  max-width: 560px;
  line-height: 1.6;
}

/* ============================================================
   BUTTONS (shared)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(135deg, var(--racing-red), #c22d38);
  color: var(--garage);
}
.btn--primary:hover { box-shadow: 0 0 20px rgba(230,57,70,0.35); transform: translateY(-1px); }
.btn--blue {
  background: linear-gradient(135deg, var(--hud-blue), var(--hud-blue-dim));
  color: var(--carbon);
}
.btn--blue:hover { box-shadow: 0 0 20px rgba(0,180,216,0.3); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--silver);
}
.btn--ghost:hover { border-color: var(--hud-blue); color: var(--hud-blue); }
.btn--lg { padding: 14px 28px; font-size: 14px; }

/* ============================================================
   PAGE HERO (inner pages — make, model, feature, compare)
   ============================================================ */
.page-hero {
  background: var(--deep-space);
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid rgba(0,180,216,0.06);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0,180,216,0.04) 0%, transparent 60%),
    repeating-linear-gradient(90deg, transparent, transparent 99px, rgba(0,180,216,0.02) 99px, rgba(0,180,216,0.02) 100px),
    repeating-linear-gradient(0deg,  transparent, transparent 99px, rgba(0,180,216,0.02) 99px, rgba(0,180,216,0.02) 100px);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__label {
  font-family: var(--font-hud);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.page-hero__label .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 56px);
  color: var(--garage);
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: var(--space-xs);
}
.page-hero__sub {
  font-size: 15px;
  color: var(--titanium);
  font-weight: 300;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: var(--space-lg);
}
.page-hero__stats {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: var(--space-lg);
}
.page-hero__stat-num {
  font-family: var(--font-hud);
  font-weight: 700;
  font-size: 24px;
  color: var(--garage);
  line-height: 1;
}
.page-hero__stat-label {
  font-size: 10px;
  color: var(--titanium);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* Key specs strip (model hero) */
.key-specs { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-top: var(--space-lg); }
.key-spec {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  min-width: 110px;
}
.key-spec__val {
  font-family: var(--font-hud);
  font-weight: 700;
  font-size: 18px;
  color: var(--garage);
  line-height: 1;
  margin-bottom: 4px;
}
.key-spec__label { font-size: 9px; color: var(--titanium); text-transform: uppercase; letter-spacing: 1.5px; }

/* ============================================================
   ANIMATIONS (only if no preference for reduced motion)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .spec-card, .model-card, .brand-tile, .tool-card {
    animation: fadeUp 0.4s ease both;
  }
}

/* ============================================================
   RESPONSIVE: Tablet 600px+
   ============================================================ */
@media (min-width: 600px) {
  .newsletter__form { flex-direction: row; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .ad-slot--mobile-banner { display: none; }
}

/* ============================================================
   RESPONSIVE: Desktop 960px+
   ============================================================ */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .logo__tag { display: block; }
  .hamburger { display: none; }
  .nav { display: flex; align-items: center; gap: 0; }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .ad-slot--leaderboard { display: flex; }
  .ad-slot--anchor { display: none; }
}

/* ============================================================
   FUEL COST WIDGET — sidebar card (car.aspx)
   ============================================================ */
.fcw{
  background:var(--gunmetal);
  border:1px solid rgba(45,147,108,0.25);
  border-radius:var(--radius-md);
  overflow:hidden;
  margin-bottom:var(--space-md);
}
.fcw__head{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px var(--space-md);
  background:rgba(45,147,108,0.12);
  border-bottom:1px solid rgba(45,147,108,0.2);
}
.fcw__icon{
  font-size:16px;
  flex-shrink:0;
}
.fcw__title{
  font-family:var(--font-heading);
  font-weight:700;
  font-size:12px;
  color:var(--garage);
  text-transform:uppercase;
  letter-spacing:0.5px;
  flex:1;
}
.fcw__source{
  font-size:9px;
  color:var(--titanium);
  text-transform:uppercase;
  letter-spacing:0.5px;
  border-bottom:1px solid transparent;
  transition:0.2s;
}
.fcw__source:hover{color:#2d936c;border-color:#2d936c}
/* Hero — big cost per 100km number */
.fcw__hero{
  padding:var(--space-lg) var(--space-md) var(--space-md);
  text-align:center;
  border-bottom:1px solid rgba(255,255,255,0.05);
}
.fcw__hero-val{
  font-family:var(--font-hud);
  font-weight:700;
  font-size:36px;
  color:#2d936c;
  line-height:1;
}
.fcw__hero-lbl{
  font-size:10px;
  color:var(--titanium);
  text-transform:uppercase;
  letter-spacing:1.5px;
  margin-top:4px;
}
/* 2x2 stat grid */
.fcw__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:rgba(255,255,255,0.05);
  border-top:1px solid rgba(255,255,255,0.05);
}
.fcw__item{
  background:var(--panel);
  padding:var(--space-md) var(--space-sm);
  text-align:center;
}
.fcw__val{
  font-family:var(--font-hud);
  font-weight:700;
  font-size:14px;
  color:var(--chrome);
  line-height:1;
}
.fcw__lbl{
  font-size:9px;
  color:var(--titanium);
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-top:3px;
}
/* CTA button */
.fcw__cta{
  display:block;
  margin:var(--space-md);
  padding:10px var(--space-md);
  background:linear-gradient(135deg,#2d936c,#24a87e);
  color:#fff;
  font-family:var(--font-display);
  font-weight:700;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1.5px;
  border-radius:var(--radius-sm);
  text-align:center;
  transition:0.2s;
}
.fcw__cta:hover{
  background:linear-gradient(135deg,#24a87e,#1d8f6a);
  box-shadow:0 4px 16px rgba(45,147,108,0.35);
  transform:translateY(-1px);
}
/* Basis line */
.fcw__basis{
  font-size:9px;
  color:var(--silver);
  text-align:center;
  padding:0 var(--space-md) var(--space-md);
  line-height:1.5;
}
