/* Prime Auto Service: site styles
   Palette taken from the owner's Auto Sales sign: charcoal gray #3c4047, royal blue #2447b5, on white.
   Display type is Saira expanded, the same family the logo lettering is drawn from. */

:root {
  --charcoal: #3c4047;
  --ink: #1f2227;
  --dark: #26292e;
  --dark-2: #30343a;
  --blue: #2447b5;
  --blue-hover: #1c3a99;
  --blue-bright: #3a62e0;
  --blue-tint: #e9eefb;
  --bg: #ffffff;
  --bg-alt: #f3f4f7;
  --surface: #ffffff;
  --line: #e1e4ea;
  --line-strong: #cdd2da;
  --text: var(--ink);
  --muted: #565c66;
  --faint: #6f7580;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(31, 34, 39, 0.06), 0 2px 8px rgba(31, 34, 39, 0.05);
  --shadow: 0 18px 40px -20px rgba(31, 34, 39, 0.35);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 116%;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { flex-shrink: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: var(--wide); line-height: 1.06; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.blue-text { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--bg-alt);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 10px;
  background: var(--btn-bg); color: var(--ink);
  font: 700 0.95rem/1 var(--font-display); font-stretch: var(--wide); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-blue { --btn-bg: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(36, 71, 181, 0.75); }
.btn-blue:hover { --btn-bg: var(--blue-hover); }
.btn-outline { --btn-bg: #fff; border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--charcoal); }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font: 700 0.92rem/1 var(--font-display); font-stretch: var(--wide); letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--dark); color: #c9ccd3; font-size: 0.875rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-items { display: flex; gap: 22px; align-items: center; }
.topbar-items span, .topbar-items a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: #8fa8f5; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: var(--charcoal); }
.brand-mark { width: 86px; height: auto; }
.brand-name { display: grid; gap: 4px; line-height: 1; }
.brand-name strong { font: 900 1.32rem/1 var(--font-display); font-stretch: 125%; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-name span { font: 700 0.66rem/1 var(--font-display); font-stretch: 125%; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue); }

.nav-main { display: flex; align-items: center; gap: 2px; }
.nav-main a {
  position: relative; padding: 10px 13px; text-decoration: none;
  font: 700 0.9rem/1 var(--font-display); font-stretch: var(--wide); letter-spacing: 0.07em; text-transform: uppercase; color: var(--charcoal);
}
.nav-main a:hover { color: var(--blue); }
.nav-main a[aria-current="page"] { color: var(--blue); }
.nav-main a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 1px; height: 3px; background: var(--blue);
}
.header-call { min-height: 44px; padding: 0 18px; }

.nav-toggle, .header-call-icon {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; cursor: pointer; text-decoration: none; color: var(--charcoal);
}
.nav-toggle svg, .header-call-icon svg { width: 22px; height: 22px; }
.header-call-icon { background: var(--blue); border-color: var(--blue); color: #fff; }

.mobile-nav { display: none; }

@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .nav-main, .header-call { display: none; }
  .nav-toggle, .header-call-icon { display: inline-flex; }
  .site-header .wrap { gap: 10px; }
  .brand { gap: 10px; }
  .brand-mark { width: 70px; }
  .brand-name strong { font-size: 1.12rem; }
  .brand-name span { font-size: 0.58rem; letter-spacing: 0.24em; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: #fff; padding: 8px var(--gutter) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .mobile-nav a.mobile-link {
    display: flex; justify-content: space-between; align-items: center; padding: 18px 2px;
    border-bottom: 1px solid var(--line); text-decoration: none; color: var(--charcoal);
    font: 800 1.4rem/1 var(--font-display); font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.02em;
  }
  .mobile-nav a.mobile-link svg { width: 22px; height: 22px; color: var(--blue); }
  .mobile-nav .mobile-actions { display: grid; gap: 12px; margin-top: 26px; }
  .mobile-nav .mobile-meta { margin-top: 24px; color: var(--muted); font-size: 0.95rem; display: grid; gap: 6px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 400px) {
  .brand-mark { width: 58px; }
  .brand-name strong { font-size: 0.98rem; }
  .brand-name span { font-size: 0.52rem; letter-spacing: 0.2em; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }

/* Eyebrow = the sign's "— AUTO SALES —" treatment: blue bar, wide tracked caps. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
  color: var(--blue); font: 700 0.84rem/1 var(--font-display); font-stretch: 125%; letter-spacing: 0.24em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 5px; background: var(--blue); }
@media (max-width: 520px) { .eyebrow { font-size: 0.74rem; letter-spacing: 0.16em; gap: 10px; } .eyebrow::before { width: 24px; } }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); flex-wrap: wrap; }
.section-head h2, .h2 {
  font-weight: 800; text-transform: uppercase; color: var(--charcoal);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
}
.section-head p { color: var(--muted); max-width: 52ch; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, #eef0f4 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  /* the logo's rising blue stroke, as a soft band behind the logo */
  content: ""; position: absolute; z-index: -1; right: -12%; bottom: -18%; width: 78%; height: 62%;
  background: linear-gradient(90deg, rgba(36, 71, 181, 0) 0%, rgba(36, 71, 181, 0.08) 45%, rgba(36, 71, 181, 0.14) 100%);
  transform: skewY(-27deg); transform-origin: right bottom;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--charcoal) 0 50%, var(--blue) 50% 100%);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(52px, 7vw, 96px);
}
.hero h1 {
  font-weight: 900; text-transform: uppercase; color: var(--charcoal);
  font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 0.98;
}
.hero h1 .line { display: block; }
.hero-lede { margin-top: 22px; max-width: 48ch; color: var(--muted); font-size: clamp(1.06rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 0.95rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--blue); }
.hero-facts a { text-decoration: none; }
.hero-facts a:hover { color: var(--ink); }

.hero-logo { justify-self: center; width: min(100%, 540px); }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(31, 34, 39, 0.12)); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-logo { order: -1; width: min(86%, 400px); justify-self: start; }
  .hero::before { display: none; }
}

/* ---------- Strip ---------- */
.strip { background: var(--blue); color: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; min-height: 62px; padding-top: 14px; padding-bottom: 14px; }
.strip-item { display: inline-flex; align-items: center; gap: 10px; font: 700 0.92rem/1.2 var(--font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.12em; }
.strip-item svg { width: 18px; height: 18px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  position: relative; padding: 26px 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { border-color: rgba(36, 71, 181, 0.45); transform: translateY(-2px); box-shadow: var(--shadow); }
.service-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 12px;
  background: var(--blue-tint); color: var(--blue);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; font-weight: 800; text-transform: uppercase; color: var(--charcoal); margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 0.98rem; }
.services-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; color: var(--muted); }
.services-foot a { color: var(--blue); font-weight: 600; }

@media (max-width: 1040px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; padding: 20px 18px; }
  .service-icon { margin: 0; grid-row: span 2; }
}

/* ---------- Vehicle cards ---------- */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 20px; }
.car-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.car-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.car-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.car-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car-card:hover .car-card-media img { transform: scale(1.04); }
.car-badge {
  position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 6px;
  background: rgba(38, 41, 46, 0.86); color: #fff;
  font: 700 0.72rem/1 var(--font-display); font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase;
}
.car-badge.is-inline { position: static; display: inline-block; margin-bottom: 12px; }
.car-card-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 20px; flex: 1; }
.car-card-title { font-size: 1.12rem; font-weight: 800; line-height: 1.15; color: var(--charcoal); }
.car-card-title small { display: block; margin-top: 5px; font: 500 0.95rem/1.3 var(--font-body); color: var(--muted); }
.car-card-title a { text-decoration: none; }
.car-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car-specs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.car-specs li {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px;
  background: var(--bg-alt); color: var(--charcoal); font-size: 0.84rem; font-weight: 500;
}
.car-specs svg { width: 14px; height: 14px; color: var(--faint); }
.car-card-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.car-price { font: 900 1.5rem/1 var(--font-display); font-stretch: var(--wide); color: var(--ink); }
.car-price-label { display: block; font: 600 0.72rem/1 var(--font-body); color: var(--faint); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.car-card .text-link { position: relative; z-index: 2; }

.cars-empty { padding: 48px 24px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); background: #fff; }
.cars-empty strong { display: block; color: var(--charcoal); font: 800 1.3rem/1.2 var(--font-display); font-stretch: var(--wide); text-transform: uppercase; margin-bottom: 8px; }
.cars-empty a { color: var(--blue); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-copy p { color: var(--muted); margin-top: 18px; max-width: 56ch; }
.about-points { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.about-points li {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.about-points .num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--charcoal); color: #fff;
  font: 900 1rem/1 var(--font-display); font-stretch: 125%;
}
.about-points li:nth-child(2) .num { background: var(--blue); }
.about-points h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; color: var(--charcoal); margin-bottom: 4px; }
.about-points p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Visit / contact ---------- */
.visit-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; align-items: stretch; }
.contact-list { display: grid; gap: 12px; align-content: start; }
.contact-card {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease;
}
a.contact-card:hover { border-color: rgba(36, 71, 181, 0.5); box-shadow: var(--shadow); }
.contact-card .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: #fff; }
.contact-card .ic svg { width: 22px; height: 22px; }
.label { display: block; color: var(--faint); font: 600 0.74rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.contact-card .value { display: block; font: 700 1.08rem/1.3 var(--font-display); font-stretch: 108%; color: var(--charcoal); overflow-wrap: break-word; }
.contact-note { padding: 18px 20px; border-radius: var(--radius); border: 1.5px dashed var(--line-strong); color: var(--muted); font-size: 0.98rem; background: #fff; }
.contact-note strong { color: var(--ink); }

.map-frame { position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); box-shadow: var(--shadow-sm); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame-tall { min-height: 520px; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .map-frame { min-height: 300px; } .map-frame-tall { min-height: 340px; } }

/* ---------- Hours ---------- */
.hours-card { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hours-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.hours-head .label { margin-bottom: 0; }
.hours { display: grid; gap: 2px; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; text-align: right; color: var(--charcoal); }
.hours .is-today dt, .hours .is-today dd { color: var(--ink); font-weight: 700; }
.hours .is-today dt::after { content: " · today"; color: var(--blue); font-weight: 600; font-size: 0.85em; }
.open-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px;
  font: 700 0.72rem/1 var(--font-display); font-stretch: 125%; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--bg-alt); color: var(--muted);
}
.open-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-pill.is-open { background: #e3f6ea; color: #13703a; }
.open-pill.is-closed { background: #fdecec; color: #b42318; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 20px; padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(100deg, var(--blue) 0%, #1b3793 100%);
  color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -40%; width: 360px; height: 180%;
  background: rgba(60, 64, 71, 0.35); transform: skewX(-27deg);
}
.cta-band h2 { position: relative; z-index: 1; font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cta-band p { position: relative; z-index: 1; margin-top: 8px; color: rgba(255, 255, 255, 0.88); }
.cta-band .actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-dark { --btn-bg: var(--dark); color: #fff; }
.cta-band .btn-dark:hover { --btn-bg: #000; }
.cta-band .btn-light { --btn-bg: #fff; color: var(--ink); }
.cta-band .btn-light:hover { --btn-bg: #eef1f8; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, #ffffff, var(--bg-alt)); border-bottom: 1px solid var(--line); padding: clamp(36px, 6vw, 68px) 0 clamp(32px, 5vw, 52px); }
.page-hero h1 { font-weight: 900; text-transform: uppercase; color: var(--charcoal); font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero p { margin-top: 14px; color: var(--muted); max-width: 60ch; }
.page-hero-slim { padding: 20px 0 4px; background: #fff; border-bottom: 0; }
.page-hero-slim .crumbs { margin-bottom: 0; }
.page-hero-sales .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.sales-logo { width: clamp(220px, 28vw, 360px); height: auto; flex-shrink: 0; }
@media (max-width: 760px) {
  .page-hero-sales .wrap { flex-direction: column-reverse; align-items: flex-start; gap: 22px; }
  .sales-logo { width: min(64vw, 250px); }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--faint); font-size: 0.9rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* ---------- Inventory toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line-strong); color: var(--charcoal);
  font: 700 0.84rem/1 var(--font-display); font-stretch: var(--wide); letter-spacing: 0.07em; text-transform: uppercase;
}
.chip:hover { border-color: var(--charcoal); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip .count { opacity: 0.7; margin-left: 4px; }
.sort { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.92rem; }
.sort select {
  min-height: 40px; padding: 0 36px 0 14px; border-radius: 10px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23565c66' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1.5px solid var(--line-strong); color: var(--ink); font: 500 0.95rem/1 var(--font-body);
  appearance: none; -webkit-appearance: none;
}
.result-count { color: var(--faint); font-size: 0.92rem; margin-bottom: 14px; }
.inventory-note { margin-top: 28px; color: var(--faint); font-size: 0.92rem; }
.inventory-note a { color: var(--blue); }

/* ---------- Vehicle detail ---------- */
.vdp { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.vdp-gallery { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); box-shadow: var(--shadow-sm); }
.vdp-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vdp-panel { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vdp-title { font-weight: 900; text-transform: uppercase; color: var(--charcoal); font-size: clamp(1.5rem, 2.8vw, 2.05rem); line-height: 1.02; }
.vdp-trim { color: var(--muted); margin-top: 6px; }
.vdp-price { font: 900 2.4rem/1 var(--font-display); font-stretch: var(--wide); color: var(--ink); }
.vdp-actions { display: grid; gap: 10px; }
.vdp-confirm { font-size: 0.9rem; color: var(--faint); border-top: 1px solid var(--line); padding-top: 14px; }
.vdp-body { display: grid; gap: 36px; margin-top: 36px; }
.vdp-body h2 { font-weight: 800; text-transform: uppercase; color: var(--charcoal); font-size: 1.35rem; margin-bottom: 14px; }
/* 1px gap over a line-coloured background draws the cell rules, whatever the row count */
.spec-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; background: #fff; }
.spec-table div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 600; text-align: right; color: var(--ink); }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; padding: 0; margin: 0; list-style: none; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.highlights svg { width: 18px; height: 18px; color: var(--blue); margin-top: 4px; }
.vdp-desc { color: var(--muted); max-width: 70ch; }
.vdp-missing { text-align: center; padding: 60px 20px; }
.vdp-missing h1 { font-weight: 900; text-transform: uppercase; color: var(--charcoal); font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
.vdp-missing p { color: var(--muted); margin: 14px auto 26px; max-width: 46ch; }
.vdp-missing-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 960px) { .vdp { grid-template-columns: 1fr; } .vdp-panel { position: static; } }
@media (max-width: 560px) { .spec-table { grid-template-columns: 1fr; } .highlights { grid-template-columns: 1fr; } .vdp-panel { padding: 20px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b9bdc6; padding: 56px 0 28px; font-size: 0.96rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.8fr; gap: 36px; }
.footer-brand img { width: 190px; height: auto; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.site-footer h2 { font: 700 0.8rem/1 var(--font-display); font-stretch: 125%; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg, .footer-social svg { width: 16px; height: 16px; margin-top: 5px; color: #8fa8f5; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; }
.footer-social svg { margin-top: 0; width: 18px; height: 18px; }
.site-footer .hours { gap: 0; font-size: 0.92rem; }
.site-footer .hours div { padding: 3px 0; }
.site-footer .hours dt { color: #b9bdc6; }
.site-footer .hours dd { color: #e6e8ec; }
.site-footer .hours .is-today dt, .site-footer .hours .is-today dd { color: #fff; }
.site-footer .hours .is-today dt::after { color: #8fa8f5; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.86rem; color: #8d929c; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font: 900 clamp(5rem, 16vw, 9rem)/0.9 var(--font-display); font-stretch: 125%; color: var(--charcoal); }
.notfound .code .blue-text { color: var(--blue); }
.notfound p { color: var(--muted); margin: 14px auto 28px; max-width: 42ch; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Phones & small tablets: centred layout ---------- */
@media (max-width: 860px) {
  /* eyebrow gets a bar on both sides, like the sign's "— AUTO SALES —" */
  .eyebrow::after { content: ""; width: 34px; height: 5px; background: var(--blue); }

  .hero .wrap { text-align: center; justify-items: center; }
  .hero-logo { justify-self: center; width: min(88%, 380px); }
  .hero-lede { margin-inline: auto; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 340px; }
  .hero-facts { flex-direction: column; align-items: center; }

  .strip .wrap { justify-content: center; text-align: center; }

  .section-head { flex-direction: column; align-items: center; text-align: center; }
  .section-head p { margin-inline: auto; }
  .services-foot { justify-content: center; text-align: center; }

  .about-copy { text-align: center; }
  .about-copy p { margin-inline: auto; }
  .about-copy .hero-actions .btn { width: auto; }

  .cta-band { flex-direction: column; text-align: center; }
  .cta-band .actions { justify-content: center; }

  .page-hero .wrap, .page-hero-sales .wrap { text-align: center; align-items: center; }
  .page-hero p { margin-inline: auto; }
  .crumbs { justify-content: center; }

  .toolbar { flex-direction: column; }
  .chips { justify-content: center; }
  .result-count, .inventory-note { text-align: center; }

  .car-card-title, .car-card-title small { text-align: center; }
  .car-specs { justify-content: center; }

  .vdp-panel { text-align: center; }
  .vdp-body h2 { text-align: center; }
  .vdp-desc { margin-inline: auto; text-align: center; }
  .contact-note { text-align: center; }
  .vdp-missing-actions .btn, .notfound .actions .btn { min-width: 220px; }
}

@media (max-width: 520px) {
  .eyebrow::after { width: 24px; }
  .service-card { display: block; text-align: center; padding: 24px 20px; }
  .service-icon { margin: 0 auto 14px; }
  .about-points li { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-brand img { margin-inline: auto; }
  .footer-brand p { margin-inline: auto; }
  .footer-contact li { justify-content: center; text-align: left; }
  .site-footer .hours { max-width: 300px; margin-inline: auto; text-align: left; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
