:root {
  --charcoal: #1c2430;
  --ink: #243041;
  --muted: #5d6b7c;
  --line: #e1e7ef;
  --paper: #f4f7fb;
  --card: #ffffff;
  --accent: #1f6feb;
  --accent-deep: #154ea8;
  --gold: #1f6feb;
  --shadow: 0 2px 8px rgb(28 36 48 / 6%), 0 16px 40px rgb(28 36 48 / 8%);
  --radius: 16px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Avenir Next", system-ui, sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0.2em 0; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: 1.6rem; }
p { margin: 0 0 0.8rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: white;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgb(244 247 251 / 88%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand img { width: 4.25rem; height: 4.25rem; border-radius: 999px; object-fit: cover; box-shadow: var(--shadow); }
.brand strong { display: block; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.brand small { display: block; margin-top: 0.15rem; color: var(--accent); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.68rem; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a { text-decoration: none; color: var(--muted); padding: 0.55rem 0.85rem; border-radius: 10px; font-weight: 600; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--ink); }
.nav-call { background: var(--accent); color: white !important; }
.nav-call:hover { background: var(--accent-deep); }
.nav-toggle { display: none; background: white; border: 1px solid var(--line); border-radius: 10px; padding: 0.45rem 0.75rem; }

.hero {
  position: relative;
  min-height: 34rem;
  display: flex;
  align-items: flex-end;
  color: white;
  background: var(--charcoal) var(--hero-image) center 42% / cover no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(18 24 32 / 88%), rgb(18 24 32 / 35%)),
    radial-gradient(ellipse at center, transparent, rgb(18 24 32 / 45%));
}
.hero-copy { position: relative; padding: 4.5rem 0 3.5rem; max-width: 46rem; }
.hero h1 span { color: #d6e6ff; }
.eyebrow {
  display: inline-flex;
  margin: 0 0 0.8rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgb(214 230 255 / 55%);
  border-radius: 999px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: #d6e6ff;
}
.hero .eyebrow { background: rgb(18 24 32 / 35%); }
.page-intro .eyebrow, .prose-page .eyebrow, .contact-layout .eyebrow { color: var(--accent); border-color: #c9dbf8; background: white; }
.hero-search { display: flex; gap: 0.6rem; margin-top: 1.4rem; background: white; padding: 0.4rem; border-radius: 14px; }
.hero-search input, .filters input, .filters select, .contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
}
.hero-search input { border: 0; }
.hero-search button, .btn {
  border: 0;
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero-search button, .btn-accent { background: var(--accent); color: white; }
.btn-accent:hover, .hero-search button:hover { background: var(--accent-deep); }
.btn-outline { background: white; color: var(--ink); border: 1px solid var(--line); }
.hero-meta { margin-top: 0.8rem; color: rgb(255 255 255 / 80%); }

.section { padding: 3.5rem 0; }
.section-head, .callout { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.section-head a, .text-link { color: var(--accent); font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.2rem; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #e7edf5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-badges { position: absolute; left: 0.7rem; top: 0.7rem; display: flex; gap: 0.35rem; }
.badge { background: var(--accent); color: white; border-radius: 999px; padding: 0.2rem 0.55rem; font-size: 0.72rem; font-weight: 700; }
.badge-reserved { background: var(--charcoal); }
.card-body { padding: 1rem 1rem 1.1rem; }
.card-price { color: var(--accent); font-size: 1.25rem; font-weight: 700; margin: 0 0 0.25rem; }
.card h3 { margin: 0; font-size: 1.05rem; }
.card h3 a { text-decoration: none; }
.trim, .location, .offered, .fine { color: var(--muted); font-size: 0.92rem; }
.offered { color: var(--accent-deep); font-weight: 700; }
.specs { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; padding: 0; margin: 0.7rem 0; list-style: none; color: var(--muted); font-size: 0.88rem; }
.photo-fallback { display: grid; place-items: center; height: 100%; color: var(--muted); }
.photo-fallback.large { min-height: 18rem; background: #e7edf5; border-radius: var(--radius); }

.band { background: white; border-block: 1px solid var(--line); padding: 2.5rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chips a { text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.8rem; font-weight: 600; }
.chips span { color: var(--muted); font-weight: 600; }
.band-sub { margin-top: 1.6rem; }
.callout { align-items: center; background: white; border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.page-intro { padding-top: 2.2rem; }
.inventory { display: grid; grid-template-columns: 250px 1fr; gap: 1.5rem; padding-bottom: 3rem; }
.filters { background: white; border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); display: grid; gap: 0.75rem; align-content: start; height: fit-content; position: sticky; top: 6rem; }
.filters h2 { margin: 0; font-size: 1.1rem; }
.filters label, .contact-form label { display: grid; gap: 0.3rem; font-size: 0.85rem; font-weight: 700; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.check { grid-template-columns: auto 1fr; align-items: center; }
.pager { display: flex; gap: 1rem; align-items: center; margin-top: 1.2rem; }
.pager a { font-weight: 700; color: var(--accent); }
.empty { background: white; border-radius: var(--radius); padding: 1.5rem; }

.vehicle { padding-bottom: 3rem; }
.crumbs { color: var(--muted); font-size: 0.9rem; }
.crumbs a { color: var(--accent); }
.vehicle-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
.gallery-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #e7edf5; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 0.4rem; margin-top: 0.5rem; max-height: 16rem; overflow: auto; }
.thumbs a { border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.thumbs a.is-active { border-color: var(--accent); }
.thumbs img { width: 100%; height: 64px; object-fit: cover; }
.lede { font-size: 1.15rem; color: var(--muted); }
.reserved-note, .offered-block { background: white; border-radius: 12px; padding: 0.8rem 1rem; }
.offered-block { border-left: 4px solid var(--accent); }
.prose { white-space: normal; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; margin: 0 0 1.4rem; }
.facts div { background: white; border-radius: 12px; padding: 0.7rem 0.85rem; }
.facts dt { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.facts dd { margin: 0.15rem 0 0; font-weight: 600; }
.feature-list { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; list-style: none; }
.feature-list li { background: white; border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.7rem; font-size: 0.9rem; }
.contact-card { position: sticky; top: 6rem; background: white; border-radius: 20px; box-shadow: var(--shadow); padding: 1.1rem; }
.contact-card .cta-row a { flex: 1; }
.mobile-cta { display: none; }

.prose-page, .contact-layout { padding: 2.2rem 0 4rem; max-width: 760px; }
.contact-layout { width: min(var(--max), calc(100% - 2rem)); max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-lines { font-size: 1.15rem; }
.contact-lines a { color: var(--accent); font-weight: 700; }
.contact-form { background: white; border-radius: 20px; padding: 1rem; box-shadow: var(--shadow); display: grid; gap: 0.75rem; }
.test-banner { background: #fff7e6; border: 1px solid #f0d48a; border-radius: 12px; padding: 0.75rem 0.9rem; }
.test-banner a { font-weight: 700; }
.import-panel { max-width: 640px; }
.form-ok { background: #e8f7ee; padding: 0.7rem 0.8rem; border-radius: 10px; }
.form-error { background: #fdecec; padding: 0.7rem 0.8rem; border-radius: 10px; }
.hp { position: absolute; left: -9999px; }

.site-footer { background: var(--charcoal); color: #d5deea; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem 0 1rem; }
.site-footer a { color: #d5deea; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #93a4ba; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.brand-footer img { width: 6rem; height: 6rem; }
.footer-note { border-top: 1px solid rgb(255 255 255 / 12%); padding: 1rem 0 1.4rem; color: #93a4ba; font-size: 0.9rem; }
.setup-notice { padding: 4rem 0; }
.setup-notice pre { background: var(--charcoal); color: white; padding: 0.8rem 1rem; border-radius: 12px; display: inline-block; }

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .inventory, .vehicle-layout, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .filters, .contact-card { position: static; }
  .brand span { display: none; }
}
@media (max-width: 720px) {
  .cards, .facts { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: white; border-bottom: 1px solid var(--line); padding: 0.6rem; flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .hero { min-height: 28rem; }
  .hero-search { flex-direction: column; }
  .section-head, .callout { flex-direction: column; align-items: start; }
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: rgb(255 255 255 / 96%);
    border-top: 1px solid var(--line);
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  }
  body:has(.mobile-cta) { padding-bottom: 4.6rem; }
}
