/* =========================================================================
   Swopna Self Drive — identity
   Logo red + white + black · Segoe UI · Claude layout, recolored.
   Load order (main.php): style.css, brand.css.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Logo ramp — signal red, ink black, chrome */
  --au-teal:    #E10600;
  --au-teal-2:  #FF2A1F;
  --au-violet:  #8B0000;
  --au-cyan:    #FF4A50;
  --au-ink:     #0A0A0A;
  --au-ink-2:   #111111;
  --au-glow:    0 0 0 1px rgba(225,6,0,.28), 0 12px 34px -8px rgba(225,6,0,.45);
  --au-edge:    linear-gradient(90deg, #FF2A1F 0%, #E10600 50%, #8B0000 100%);

  /* Light theme — white */
  --bg: #FFFFFF;
  --bg-muted: #F5F5F5;
  --bg-subtle: #FAFAFA;
  --surface: #FFFFFF;
  --surface-2: #F3F3F3;
  --border: #E8E8E8;
  --border-strong: #D0D0D0;
  --text: #0A0A0A;
  --text-muted: #555555;
  --text-dim: #888888;

  --accent: #E10600;
  --accent-hover: #B80500;
  --accent-soft: rgba(225, 6, 0, .10);
  --accent-border: rgba(225, 6, 0, .34);
  --on-accent: #FFFFFF;

  --success: #10905F;  --success-bg: #E4F6EE;
  --warn:    #B57500;  --warn-bg:    #FCF2DE;
  --danger:  #D4453F;  --danger-bg:  #FCEBEA;
  --info:    #2F6FD0;  --info-bg:    #E8F0FC;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11,18,32,.05), 0 2px 6px rgba(11,18,32,.05);
  --shadow:    0 4px 12px rgba(11,18,32,.05), 0 18px 40px -14px rgba(11,18,32,.16);
  --shadow-lg: 0 8px 20px rgba(11,18,32,.07), 0 34px 70px -22px rgba(11,18,32,.24);
  --shadow-brand: 0 10px 30px -8px rgba(225,6,0,.45);

  --ff: 'Segoe UI', 'Segoe UI Variable Text', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --ff-display: var(--ff);
  --ff-mono: 'Segoe UI Mono', ui-monospace, 'SF Mono', Consolas, Menlo, monospace;

  --container: 1220px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-muted: #111111;
  --bg-subtle: #050505;
  --surface: #161616;
  --surface-2: #1E1E1E;
  --border: #2A2A2A;
  --border-strong: #3A3A3A;
  --text: #FFFFFF;
  --text-muted: #B3B3B3;
  --text-dim: #808080;

  --accent: #E10600;
  --accent-hover: #FF2A1F;
  --accent-soft: rgba(225, 6, 0, .12);
  --accent-border: rgba(225, 6, 0, .38);
  --on-accent: #FFFFFF;

  --success: #34D399;  --success-bg: rgba(52,211,153,.12);
  --warn:    #FBBF24;  --warn-bg:    rgba(251,191,36,.12);
  --danger:  #F87171;  --danger-bg:  rgba(248,113,113,.12);
  --info:    #60A5FA;  --info-bg:    rgba(96,165,250,.12);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
  --shadow:    0 4px 14px rgba(0,0,0,.45), 0 22px 48px -18px rgba(0,0,0,.7);
  --shadow-lg: 0 10px 26px rgba(0,0,0,.5), 0 40px 80px -24px rgba(0,0,0,.8);
  --shadow-brand: 0 10px 34px -8px rgba(225,6,0,.5);

  color-scheme: dark;
}

/* -------------------------------------------------------------------------
   2. Base — aurora field, Segoe UI type scale
   ------------------------------------------------------------------------- */
html { background: var(--bg); }

body {
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg);
  background-image:
    radial-gradient(760px 520px at 88% -8%, rgba(225,6,0,.13), transparent 62%),
    radial-gradient(680px 460px at -6% 18%, rgba(225,6,0,.10), transparent 60%),
    radial-gradient(700px 480px at 42% 108%, rgba(255,42,31,.09), transparent 62%);
  background-attachment: fixed;
}
[data-theme="dark"] body {
  background-image:
    radial-gradient(820px 560px at 88% -10%, rgba(225,6,0,.16), transparent 62%),
    radial-gradient(720px 500px at -8% 16%, rgba(225,6,0,.16), transparent 60%),
    radial-gradient(760px 520px at 46% 110%, rgba(255,42,31,.10), transparent 62%);
}

h1, h2, h3, h4, h5 {
  font-family: var(--ff);
  color: var(--text);
  text-transform: none;
}
h1 { font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-weight: 700; letter-spacing: -.032em; line-height: 1.12; }
h3 { font-weight: 650; letter-spacing: -.02em; }
.section-head h2,
.journey-head h2,
.cta-inner h2 { font-family: var(--ff); letter-spacing: -.034em; }

.lede { font-weight: 300; font-size: 1.12rem; line-height: 1.62; }

/* Gradient rule under a section heading — the identity's quiet signature */
.section-head.centered h2::after,
.section-head > div > h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: var(--au-edge);
}
.section-head.centered h2::after { margin-inline: auto; }

.eyebrow,
.section-kicker,
.dock-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}
.section-kicker,
.dock-kicker { display: inline-block; padding: 6px 13px; }
.eb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 12px var(--accent);
}

/* -------------------------------------------------------------------------
   3. Page loader
   ------------------------------------------------------------------------- */
.page-loader {
  background: var(--bg);
  background-image:
    radial-gradient(600px 420px at 50% 40%, rgba(225,6,0,.14), transparent 65%),
    radial-gradient(520px 380px at 50% 70%, rgba(225,6,0,.12), transparent 65%);
}
.page-loader-mark {
  width: auto; height: auto;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.page-loader-mark img { width: 160px; height: auto; object-fit: contain; }
.page-loader-spin {
  inset: -9px;
  border: 2px solid transparent;
  border-top-color: var(--au-teal);
  border-right-color: var(--au-violet);
  border-radius: var(--radius-lg);
}

/* -------------------------------------------------------------------------
   4. Buttons — pill, glow on primary
   ------------------------------------------------------------------------- */
.btn {
  border-radius: var(--radius-pill);
  font-weight: 650;
  letter-spacing: -.005em;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-sm { padding: 8px 16px; border-radius: var(--radius-pill); }
.btn-lg { padding: 15px 28px; border-radius: var(--radius-pill); font-size: 1rem; }

.btn.btn-gold, .btn.btn-brand, a.btn-gold, a.btn-brand {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}
.btn.btn-gold:hover, .btn.btn-brand:hover, a.btn-gold:hover, a.btn-brand:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(225,6,0,.55);
}
[data-theme="dark"] .btn.btn-brand:hover,
[data-theme="dark"] a.btn-brand:hover { box-shadow: 0 16px 44px -10px rgba(225,6,0,.6); }

.btn-ghost, .btn-outline {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover, .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.btn-hero-ghost {
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.07);
  color: #fff;
  backdrop-filter: blur(14px);
}
.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.14);
  color: #fff;
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
   5. Navbar — translucent bar with an aurora hairline
   ------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
}
.site-nav::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-border) 22%, rgba(225,6,0,.4) 50%, var(--accent-border) 78%, transparent 100%);
}
.nav-inner {
  height: 64px;
  gap: 22px;
  padding-inline: 22px;
}
.brand {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}
.brand:hover { box-shadow: none; }
.brand img {
  width: 168px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  filter: none !important;
}

.nav-links { gap: 6px; }
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 550;
  transition: color .16s ease, background .16s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.btn { padding: 9px 20px; }
.nav-links .pill {
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 650;
}
.nav-links .pill:hover { background: var(--accent-soft); border-color: var(--accent); }

.btn-list-car {
  position: relative;
  margin-left: 6px;
  padding: 9px 17px;
  border: 1px solid var(--accent-border) !important;
  border-radius: var(--radius-pill) !important;
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
  font-size: .84rem;
  font-weight: 650;
  box-shadow: none !important;
}
.btn-list-car:hover {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: var(--on-accent) !important;
  transform: translateY(-2px);
}
.btn-list-car-pulse {
  position: absolute;
  top: 6px; right: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-border);
  animation: auPulse 2.2s ease-out infinite;
}
@keyframes auPulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-border); }
  70%  { box-shadow: 0 0 0 8px rgba(225,6,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,6,0,0); }
}

.theme-toggle {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-muted);
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-toggle span { background: var(--text); border-radius: 2px; }

/* -------------------------------------------------------------------------
   6. Hero — full-bleed cinematic slider on the ink canvas
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 420px;
  padding: 0;
  border-radius: 0;
  background: var(--au-ink);
  isolation: isolate;
  overflow: hidden;
}

/* Slides: JS toggles .is-active; slide 1 is pre-marked so no-JS still shows art */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: var(--hero-position, center center);
  background-size: cover;
  opacity: 0;
  animation: none;
  transform: scale(1.06);
  transition: opacity 1.25s ease, transform 9s linear;
  filter: saturate(.9) contrast(1.06);
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.14);
}

/* Scrim: readable at the bottom-left, art still breathes top-right */
.hero-overlay,
[data-theme="dark"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.28) 34%, rgba(10,10,10,.78) 78%, var(--au-ink) 100%),
    linear-gradient(96deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.42) 42%, rgba(10,10,10,.10) 74%, rgba(10,10,10,.25) 100%) !important;
}

/* Aurora light-leaks over the photography */
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -10% -10% auto -10%;
  height: 40%;
  background: radial-gradient(50% 60% at 80% 20%, rgba(225,6,0,.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero::after { display: none; }

.hero .hero-inner {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-end;
  min-height: 420px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 48px 22px 32px;
}
.hero-copy { width: min(640px, 100%); }

.hero-copy .eyebrow {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #FFFFFF;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-copy .eyebrow .eb-dot {
  background: #E10600;
  box-shadow: 0 0 0 4px rgba(225,6,0,.2), 0 0 14px #E10600;
}

.hero-copy h1 {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-shadow: 0 4px 28px rgba(0,0,0,.5);
}
.hero-copy h1 em {
  display: inline;
  font-style: normal;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #E10600;
  -webkit-text-fill-color: #E10600;
}
.hero-copy .lede {
  max-width: 46ch;
  margin: 12px 0 18px;
  color: rgba(255,255,255,.78);
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  font-weight: 400;
}
.hero-cta { gap: 14px; }

/* Stats become glass chips on a single rail */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 0;
  border: 0;
}
.hero-stats div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-stats strong {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.hero-stats span {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: none;
}

/* Slider UI — dots + 01/03 counter, bottom-right of the hero */
.hero-slider-ui {
  position: absolute;
  right: max(22px, calc((100% - var(--container)) / 2 + 22px));
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-dots { display: flex; align-items: center; gap: 9px; }
.hero-dot {
  position: relative;
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.28);
  cursor: pointer;
  overflow: hidden;
  transition: width .3s cubic-bezier(.2,.8,.3,1), background .3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,.5); }
.hero-dot.is-active { width: 54px; background: rgba(255,255,255,.22); }
.hero-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--au-teal), var(--au-cyan));
  animation: auDotFill var(--slide-duration, 6.5s) linear forwards;
}
@keyframes auDotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-count {
  color: rgba(255,255,255,.55);
  font-family: var(--ff);
  font-size: .78rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}
.hero-count b { color: #fff; font-weight: 700; }

/* -------------------------------------------------------------------------
   7. Search deck — frosted glass, overlapping the hero
   ------------------------------------------------------------------------- */
.hero-search-wrap {
  position: relative;
  z-index: 6;
  margin-top: 28px;
  padding-bottom: 8px;
}
.hero-search-wrap::before { display: none; }

.hero .search-card,
.search-dock,
.hero-search-wrap .search-card,
[data-theme="dark"] .search-dock,
[data-theme="dark"] .hero-search-wrap .search-card {
  display: grid !important;
  grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) auto;
  align-items: end;
  gap: 14px 16px;
  padding: 22px 24px 20px !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  background: var(--surface) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 16px 40px rgba(10,10,10,.10), 0 2px 0 rgba(225,6,0,.0) !important;
}
.search-dock { position: relative; overflow: visible; }
.search-dock::before { display: none; }

.search-dock .dock-copy,
.hero-search-wrap .dock-copy {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}
.dock-copy .dock-kicker { margin-bottom: 10px; }
.search-dock h3,
.dock-copy h3 {
  max-width: 30ch;
  margin: 0;
  font-family: var(--ff);
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -.028em;
}
.search-hint {
  flex-basis: 100%;
  margin: 0;
  color: var(--text-dim);
  font-size: .82rem;
}
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .76rem;
  font-weight: 650;
  white-space: nowrap;
}
.live-status i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 10px currentColor;
}

.search-dock label {
  padding: 8px 12px 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
}
.search-dock label > span {
  margin-bottom: 2px;
  color: var(--text-dim);
}
.search-dock input {
  min-height: 40px;
  padding: 6px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.search-dock input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.hero-search-wrap .search-card .btn {
  min-height: 58px;
  padding-inline: 26px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 24px rgba(225,6,0,.28);
}
.hero-search-wrap .search-card .btn:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
  transform: translateY(-2px);
}

.booking-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 4px 0;
  color: var(--text-muted);
  font-size: .84rem;
  font-weight: 500;
}
.booking-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
}
.booking-assurance b {
  display: grid;
  width: 18px; height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .66rem;
}

/* -------------------------------------------------------------------------
   8. Journey picker — glass cards with an aurora edge and ghost numeral
   ------------------------------------------------------------------------- */
.journey-picker { padding: 96px 0; background: transparent; }
.journey-head { margin-bottom: 40px; }
.journey-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.journey-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 320px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease, border-color .25s ease;
}
/* Aurora edge appears on hover along the card top */
.journey-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--au-edge);
  opacity: 0;
  transition: opacity .25s ease;
  display: block;
}
.journey-card::after {
  position: absolute;
  z-index: 0;
  inset: 14px 20px auto auto;
  width: auto; height: auto;
  background: transparent;
  color: var(--text);
  font-family: var(--ff);
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.06em;
  opacity: .06;
  transition: opacity .25s ease, color .25s ease;
}
.journey-card:hover::after { opacity: .12; color: var(--accent); }
.journey-card-city::after    { content: "01"; }
.journey-card-weekend::after { content: "02"; }
.journey-card-family::after  { content: "03"; }

.journey-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
}
.journey-card:hover::before { opacity: 1; }

.journey-card .journey-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px; height: 54px;
  margin-bottom: 26px;
  place-items: center;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  transition: background .25s ease, color .25s ease;
}
.journey-card:hover .journey-icon { background: var(--accent); color: var(--on-accent); }
.journey-card .journey-icon svg { width: 27px; height: 27px; stroke-linecap: round; stroke-linejoin: round; }

.journey-card .journey-label,
.journey-card h3,
.journey-card p,
.journey-card .journey-link { position: relative; z-index: 1; }
.journey-card .journey-label {
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.journey-card h3 {
  margin: 10px 0 0;
  font-family: var(--ff);
  font-size: 1.42rem;
  font-weight: 650;
  letter-spacing: -.028em;
  color: var(--text);
}
.journey-card p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: .94rem;
}
.journey-card .journey-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--accent);
  font-size: .87rem;
  font-weight: 650;
}
.journey-card .journey-link b { transition: transform .2s ease; }
.journey-card:hover .journey-link b { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   9. Fleet preview + car cards
   ------------------------------------------------------------------------- */
.fleet-preview {
  padding: 96px 0;
  border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-muted) 60%, transparent);
}
.fleet-preview .section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

/* Fleet card — v2: photo tile, fuel tag, divided spec strip, price + CTA foot.
   Scoped to `.car-card X` (0,2,0) so it wins over style.css `.fleet-results X`. */
.car-card, .car-card-rich {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.car-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
}
.car-card .btn { border-radius: var(--radius-pill); }

/* Media */
.car-card .car-card-media { aspect-ratio: 16 / 11; }
.car-card .car-card-media::after {
  background: linear-gradient(to top, rgba(0,0,0,.30) 0%, rgba(0,0,0,0) 46%);
}
.car-card .car-body-tag {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(10,10,10,.5); color: #fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
}
.car-card .availability-chip {
  top: 12px; right: 12px;
  font-size: .64rem; font-weight: 700; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 12px rgba(0,0,0,.14);
}

/* Body */
.car-card .car-card-body {
  flex: 1;
  display: flex; flex-direction: column; gap: 14px;
  padding: 16px;
}
.car-card .car-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.car-card .car-card-head h3 {
  font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
}
.car-card .car-card-head h3 span { color: var(--text-muted); font-weight: 500; }
.car-card .fuel-tag {
  flex-shrink: 0;
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid var(--accent-border);
}

/* Divided spec strip */
.car-card .car-specs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  gap: 0; margin: 0; padding: 0; list-style: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--text) 3%, var(--surface));
  overflow: hidden;
}
.car-card .car-specs li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  min-width: 0; padding: 12px 6px;
  font-size: .78rem; color: var(--text);
  border-right: 1px solid var(--border);
}
.car-card .car-specs li:last-child { border-right: 0; }
.car-card .car-specs li svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.car-card .car-specs li b { font-weight: 700; }
.car-card .car-specs li span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Foot: price + actions */
.car-card .car-card-foot {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.car-card .price-stack { display: flex; flex-direction: column; gap: 1px; }
.car-card .price-main {
  color: var(--text); font-weight: 800; letter-spacing: -.03em;
  font-size: 1.42rem; line-height: 1.05;
}
.car-card .price-sub { font-size: .74rem; color: var(--text-dim); }
.car-card .card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.car-card .btn-card {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 700; white-space: nowrap;
}
.car-card .btn-card-icon { width: 46px; padding: 12px; }
.car-card .btn-card-icon svg { margin: 0; }

/* Fleet listing — a touch more air, and 3-col cards never get so narrow that
   the spec strip cramps. Full responsive set (overrides style.css). */
.fleet-results .car-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1200px) { .fleet-results .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .fleet-results .car-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   10. Why strip — the aurora panel
   ------------------------------------------------------------------------- */
.why-strip {
  position: relative;
  padding: 100px 0;
  background: var(--au-ink);
  isolation: isolate;
  overflow: hidden;
}
.why-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 70% at 12% 0%, rgba(225,6,0,.22), transparent 62%),
    radial-gradient(56% 66% at 88% 100%, rgba(225,6,0,.24), transparent 62%),
    radial-gradient(50% 60% at 54% 40%, rgba(255,42,31,.10), transparent 66%);
}
.why-strip .section-head h2,
.why-strip .why-card h3 { color: #fff; }
.why-strip .eyebrow {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #FFFFFF;
}
.why-strip .eyebrow .eb-dot { background: var(--au-teal); box-shadow: 0 0 0 4px rgba(225,6,0,.2); }
.why-strip .section-head.centered h2::after { background: var(--au-edge); }

.why-grid { gap: 20px; }
.why-strip .why-card,
[data-theme="dark"] .why-strip .why-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: none;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), background .25s ease, border-color .25s ease;
}
.why-strip .why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225,6,0,.42);
  background: rgba(255,255,255,.08);
}
.why-strip .why-card p { color: rgba(255,255,255,.66); }
.why-strip .why-ico {
  width: 50px; height: 50px;
  border: 1px solid rgba(225,6,0,.4);
  border-radius: var(--radius);
  background: rgba(225,6,0,.12);
  color: var(--au-teal);
}

/* -------------------------------------------------------------------------
   11. Drives — image cards with gradient scrim
   ------------------------------------------------------------------------- */
.drives { padding: 96px 0; background: transparent; }
.drive-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) !important;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.drive-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
}
.drive-media { position: relative; overflow: hidden; }
.drive-media img { transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.drive-card:hover .drive-media img { transform: scale(1.06); }
.drive-tag {
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 650;
}
.drive-tips li::marker { color: var(--accent); }

/* -------------------------------------------------------------------------
   12. How it works — glowing step numerals
   ------------------------------------------------------------------------- */
.how { padding: 96px 22px; }
.step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) !important;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.step:hover {
  transform: translateY(-5px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}
.step-num {
  display: grid;
  top: -21px;
  width: 42px; height: 42px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  box-shadow: 0 8px 22px -6px rgba(225,6,0,.5);
}
[data-theme="dark"] .step-num { box-shadow: 0 8px 24px -6px rgba(225,6,0,.55); }

/* -------------------------------------------------------------------------
   13. Locations · testimonials · FAQ · CTA
   ------------------------------------------------------------------------- */
.locations { padding: 20px 22px 96px; }
.locations > h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: var(--au-edge);
}
.loc-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) !important;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.8,.3,1), border-color .25s ease, box-shadow .25s ease;
}
.loc-card:hover { transform: translateY(-4px); border-color: var(--accent-border); box-shadow: var(--shadow); }
.loc-card-accent {
  border-color: transparent;
  background: var(--au-ink);
  background-image:
    radial-gradient(70% 100% at 0% 0%, rgba(225,6,0,.3), transparent 64%),
    radial-gradient(70% 100% at 100% 100%, rgba(225,6,0,.32), transparent 64%);
}
.loc-card-accent h3, .loc-card-accent p { color: #fff; }
.tag, .tag-brand {
  border-radius: var(--radius-pill);
  font-weight: 650;
}
.tag-brand { background: var(--accent); color: var(--on-accent); }

.testimonials { padding: 96px 0; }
.testi-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) !important;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.testi-card:hover { transform: translateY(-5px); border-color: var(--accent-border); box-shadow: var(--shadow); }
.testi-stars { color: var(--accent); letter-spacing: 3px; }
.testi-card blockquote { font-weight: 300; font-size: 1.02rem; line-height: 1.62; }
.testi-card .avatar { border-radius: var(--radius-pill); font-weight: 700; }

.faq { padding: 96px 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
}
.faq-item summary { font-weight: 600; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after { color: var(--accent); }

.cta-strip { padding: 20px 0 100px; }
.cta-inner {
  position: relative;
  padding: 52px;
  border: 0;
  border-radius: var(--radius-xl) !important;
  background: var(--au-ink);
  background-image:
    radial-gradient(60% 120% at 8% 0%, rgba(225,6,0,.3), transparent 62%),
    radial-gradient(60% 120% at 92% 100%, rgba(225,6,0,.34), transparent 62%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cta-inner::after {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 2px;
  background: var(--au-edge);
}
.cta-inner h2 { color: #fff; letter-spacing: -.035em; }
.cta-inner h2::after { display: none; }
.cta-inner p { color: rgba(255,255,255,.72); font-weight: 300; }
.cta-inner .btn.btn-brand,
.cta-inner a.btn-brand {
  border-radius: var(--radius-pill);
  background: #fff !important;
  color: var(--au-ink) !important;
  border-color: transparent;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.5);
}
.cta-inner .btn.btn-brand:hover,
.cta-inner a.btn-brand:hover {
  background: var(--au-teal) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------------- */
.site-foot {
  position: relative;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-muted) 70%, transparent);
}
.site-foot::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border) 25%, rgba(225,6,0,.38) 50%, var(--accent-border) 75%, transparent);
}
.foot-brand {
  display: inline-flex;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}
.foot-brand img { width: 180px; height: auto; object-fit: contain; filter: none !important; }
.foot-grid h4 {
  color: var(--text);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.foot-grid a { border-radius: 6px; transition: color .16s ease, padding-left .16s ease; }
.foot-grid a:hover { color: var(--accent); padding-left: 4px; }
.foot-social a,
.foot-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
}
.foot-tag {
  max-width: 34ch;
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 300;
}
.foot-bottom { border-top: 1px solid var(--border); }

/* -------------------------------------------------------------------------
   15. Floating actions
   ------------------------------------------------------------------------- */
.wa-float, .call-float {
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.4);
  transition: transform .2s cubic-bezier(.2,.8,.3,1), box-shadow .2s ease;
}
.wa-float:hover, .call-float:hover { transform: translateY(-3px) scale(1.04); }
.call-float { background: var(--accent); color: var(--on-accent); }
.wa-tooltip { border-radius: var(--radius-sm); }

/* -------------------------------------------------------------------------
   16. Inner pages — inherit the identity
   ------------------------------------------------------------------------- */
.page-head {
  position: relative;
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-muted) 55%, transparent);
}
.page-head h1 { letter-spacing: -.038em; }
.crumb { color: var(--text-dim); font-size: .84rem; }
.crumb a:hover { color: var(--accent); }

.panel, .about-card, .co-section, .auth-card, .empty-state, .notice, .blog-card, .booking-row {
  border-radius: var(--radius-lg) !important;
}
.panel, .about-card, .co-section, .auth-card, .blog-card, .booking-row {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.blog-card, .booking-row {
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover, .booking-row:hover {
  transform: translateY(-5px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}
.auth-wrap { padding-block: 72px; }
.auth-card { padding: 34px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="date"], input[type="datetime-local"],
input[type="file"], textarea, select {
  border-radius: var(--radius-sm);
  border-width: 1px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
form label > span { letter-spacing: .1em; font-weight: 650; }

.chip, .radio-pill, .mp-pill, .availability-chip, .badge, .filter-chips label {
  border-radius: var(--radius-pill) !important;
}
.chip:has(input:checked) { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.filter-group { border-radius: var(--radius) !important; }

.enq-dialog, .enq-modal .enq-dialog { border-radius: var(--radius-xl) !important; }
.enq-backdrop { backdrop-filter: blur(6px); }
.enq-close { border-radius: var(--radius-pill); }

.flash { border-radius: var(--radius) !important; }
.advance-band { border-radius: var(--radius-lg) !important; }
.summary-car, .kv-grid, .sum-row { border-radius: var(--radius-sm); }

/* -------------------------------------------------------------------------
   17. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 9px 11px; font-size: .86rem; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-card-city { grid-column: 1 / -1; min-height: 260px; }
}

@media (max-width: 900px) {
  .nav-inner { height: 58px; padding-inline: 16px; }
  .nav-links {
    top: 100%;
    padding: 16px;
    gap: 4px;
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow-lg);
  }
  .nav-links a { padding: 11px 14px; font-size: .95rem; }
  .nav-links .btn-list-car { width: 100%; margin-left: 0; }
  .nav-links .btn-list-car span:not(.btn-list-car-pulse) { display: inline; }

  .hero { min-height: 380px; }
  .hero .hero-inner { min-height: 380px; padding: 36px 22px 28px; }
  .hero-slide { background-position: 64% center; }
  .hero-overlay,
  [data-theme="dark"] .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,.28) 26%, rgba(10,10,10,.82) 70%, var(--au-ink) 100%) !important;
  }
  .hero-copy { width: 100%; }
  .hero-copy h1 { max-width: 13ch; }
  .hero-slider-ui { top: 26px; right: 22px; bottom: auto; }

  .hero .search-card,
  .search-dock,
  .hero-search-wrap .search-card,
  [data-theme="dark"] .search-dock,
  [data-theme="dark"] .hero-search-wrap .search-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  .hero-search-wrap .search-card .btn { grid-column: 1 / -1; }
  .journey-picker, .fleet-preview, .drives, .testimonials, .faq { padding: 72px 0; }
  .how { padding: 72px 22px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand { padding: 0; }
  .brand img { width: 132px; height: 40px; }

  .hero { min-height: 340px; }
  .hero .hero-inner { min-height: 340px; padding: 28px 16px 24px; }
  .hero-slide { background-position: 62% center; }
  .hero-copy h1 { max-width: 14ch; font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .hero-copy .lede { font-size: .92rem; margin: 8px 0 14px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
  }
  .hero-stats div { min-width: 0; padding: 9px 14px; }
  .hero-stats strong { font-size: .95rem; }
  .hero-stats span { font-size: .68rem; }
  .hero-slider-ui { top: 20px; right: 16px; bottom: auto; gap: 12px; }
  .hero-dot { width: 22px; }
  .hero-dot.is-active { width: 40px; }

  .hero-search-wrap { margin-top: 20px; }
  .hero .search-card,
  .search-dock,
  .hero-search-wrap .search-card,
  [data-theme="dark"] .search-dock,
  [data-theme="dark"] .hero-search-wrap .search-card {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 20px !important;
    border-radius: var(--radius) !important;
  }
  .dock-copy h3 { font-size: 1.14rem; }
  .booking-assurance { padding-inline: 0; font-size: .8rem; }

  .journey-grid { grid-template-columns: 1fr; }
  .journey-card, .journey-card-city { min-height: 250px; padding: 26px; }
  .journey-picker, .fleet-preview, .drives, .testimonials, .faq, .why-strip { padding: 60px 0; }
  .how { padding: 60px 16px; }
  .locations { padding: 12px 16px 60px; }
  .cta-inner { padding: 34px 26px; border-radius: var(--radius-lg) !important; }
  .auth-card { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .3s ease; transform: none; }
  .hero-slide.is-active { transform: none; }
  .hero-dot.is-active::after { animation: none; transform: scaleX(1); }
  .btn-list-car-pulse { animation: none; }
  .journey-card, .car-card, .why-card, .drive-card, .step, .loc-card, .testi-card, .blog-card, .booking-row { transition: none; }
  .journey-card:hover, .car-card:hover, .why-card:hover, .drive-card:hover,
  .step:hover, .loc-card:hover, .testi-card:hover, .blog-card:hover, .booking-row:hover { transform: none; }
}

/* -------------------------------------------------------------------------
   18. Legacy colour scrub
   style.css still ships Carsphere's crimson: the --brand-* ramp feeds
   .filters-panel and the price slider, and a number of rules hardcode
   rgba(230,57,70,…) glows that no token can reach. Re-point them here.
   ------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
  --brand-50:  var(--accent-soft);
  --brand-100: var(--accent-soft);
  --brand-200: var(--accent-border);
  --brand-300: var(--au-cyan);
  --brand-400: var(--au-teal-2);
  --brand-500: var(--accent);
  --brand-600: var(--accent-hover);
  --brand-700: var(--accent-hover);
  --brand-gradient: var(--au-edge);
}

/* -------------------------------------------------------------------------
   Filter rail — light card, consistent with the fleet cards.
   Driven off the page's own --surface / --border / --text tokens so the rail
   matches the car cards and adapts to either theme. Red stays the active accent.
   ------------------------------------------------------------------------- */
.fleet-layout { grid-template-columns: 296px 1fr; gap: 28px; }
.filters-side {
  top: 84px;
  align-self: start;
  min-width: 0;
}
.filters-panel,
[data-theme="dark"] .filters-panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 104px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 10px 0;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
}
.filters-panel::before,
.filters-panel.open::before { display: none !important; }

/* slim, unobtrusive scrollbar for the rail */
.filters-panel::-webkit-scrollbar { width: 9px; }
.filters-panel::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
  border: 3px solid var(--surface);
}

.filters-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px 12px;
  margin-bottom: 6px;
  background: transparent;
  border-bottom: 1px solid var(--border);
}
.filters-head h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.filters-head h3::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--accent);
}
.clear-link { color: var(--accent); font-weight: 600; }
.clear-link:hover { text-decoration: underline; }

.filter-group {
  margin: 0 0 8px;
  padding: 14px 14px 16px;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--text) 3%, var(--surface));
}
.filter-group:last-of-type { margin-bottom: 6px; }
.filter-group h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.filter-group h4 svg { color: var(--accent); flex-shrink: 0; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border-radius: 999px !important;
  background: var(--surface);
  border: 1px solid var(--border) !important;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  box-shadow: none;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.chip:hover {
  border-color: var(--accent) !important;
  color: var(--accent);
  background: var(--accent-soft);
  transform: none;
}
.chip:has(input:checked),
[data-theme="dark"] .chip:has(input:checked) {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
  box-shadow: 0 6px 16px -4px rgba(225,6,0,.4);
}
.chip:has(input:checked) span::before { content: none; }

/* Transmission — single-select pills that size to their own label and wrap,
   so "Automatic" can never clip. Matches the other filter chip groups. */
.radio-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.radio-pill {
  flex: 0 0 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  white-space: nowrap;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
/* Override `form label > span` (brand.css) which forces .1em tracking + 12px
   on every filter label — keep the pill text compact and un-clipped. */
.radio-pill span {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
}
.radio-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.radio-pill:has(input:checked),
[data-theme="dark"] .radio-pill:has(input:checked) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(225,6,0,.4);
}
.radio-pill:has(input:checked) span { color: #fff; }

.price-range { padding-top: 2px; }
.price-range-label { color: var(--text); font-size: .95rem; }
.price-range-label strong { color: var(--text); font-size: 1rem; font-weight: 700; }
.price-range-bounds { color: var(--text-dim); }
.price-range-fill { background: var(--accent); }
.price-range-track::before {
  background: var(--border);
  border-color: var(--border);
}
.price-range input[type="range"]::-webkit-slider-thumb {
  background: var(--surface);
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(225,6,0,.3);
}
.price-range input[type="range"]::-moz-range-thumb {
  background: var(--surface);
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(225,6,0,.3);
}

.filters-panel > button[type="submit"].btn.btn-brand {
  position: sticky;
  bottom: 0;
  z-index: 3;
  flex-shrink: 0;
  display: block;
  width: 100%;
  margin: 6px 0 14px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 10px 24px -6px rgba(225,6,0,.42), 0 -14px 16px 6px var(--surface);
}
.filters-panel > button[type="submit"].btn.btn-brand:hover {
  background: var(--accent-hover);
}

.filters-toggle {
  border-radius: 14px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px -6px rgba(225,6,0,.35);
}
.filters-toggle:hover { box-shadow: 0 14px 30px -8px rgba(225,6,0,.5); }
.filters-toggle svg { color: currentColor; }
.filters-toggle .filter-count { background: #fff; color: var(--accent); }

@media (max-width: 1024px) {
  .fleet-layout { grid-template-columns: 1fr; }
  .filters-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    border-color: transparent;
    box-shadow: none;
  }
  .filters-panel.open {
    max-height: min(80vh, 900px);
    overflow: auto;
    opacity: 1;
    padding: 10px 10px 0;
    margin-top: 14px;
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
  }
}

/* Floating call button inherited a hardcoded crimson fallback + glow */
.call-float {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 12px 28px -6px rgba(225,6,0,.45), 0 4px 8px rgba(0,0,0,.12);
}
.call-float:hover {
  color: var(--on-accent);
  box-shadow: 0 16px 36px -8px rgba(225,6,0,.6), 0 6px 12px rgba(0,0,0,.16);
}
[data-theme="dark"] .call-float {
  box-shadow: 0 12px 30px -6px rgba(225,6,0,.5), 0 4px 8px rgba(0,0,0,.4);
}

/* Avatar / gradient helpers that hardcode the old coral ramp */
.grad-coral { background: linear-gradient(135deg, var(--au-teal) 0%, var(--au-cyan) 55%, var(--au-violet) 100%) !important; }

/* The nav "List your car" button animates a red→green gradient in style.css.
   The pill treatment above replaces the paint; stop the animation too. */
.btn-list-car,
.btn-list-car:hover { animation: none !important; background-size: auto !important; }
.btn-list-car::before { display: none !important; }
