/* ═══════════════════════════════════════════════
   VELOX STEER — Stylesheet
   Light, premium, European performance
   ═══════════════════════════════════════════════ */

:root {
  --bg:       #f4f4f2;
  --panel:    #ffffff;
  --panel-2:  #eeece8;
  --text:     #0f0f0f;
  --muted:    #6b6b6b;
  --dim:      #9b9b9b;
  --line:     rgba(0,0,0,0.09);
  --line-2:   rgba(0,0,0,0.05);
  --brand:    #111111;
  --brand-txt:#ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img   { display: block; width: 100%; }
a     { color: inherit; text-decoration: none; }
a[href], button:not(:disabled) { cursor: pointer; }

/* ─── Layout ─────────────────────────────────── */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute; left: 12px; top: -40px;
  background: #111; color: #fff; padding: 8px 14px;
  z-index: 999; font-size: 12px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ─── Header / Nav ───────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(244,244,242,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 62px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

.logo {
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex; gap: 28px; align-items: center;
}

.nav-links a {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  font-weight: 700;
  transition: color 0.15s;
}
.nav-links a.active, .nav-links a:hover { color: var(--text); }

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--text); background: transparent;
  padding: 10px 20px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.15s;
}
.btn:hover { border-color: rgba(0,0,0,0.3); background: rgba(0,0,0,0.04); transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: var(--brand-txt); border-color: var(--brand); }
.btn.primary:hover { background: #333; border-color: #333; }

.btn-row { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── Mobile nav toggle ───────────────────────── */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 44px; height: 44px; padding: 0; margin: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: inherit; flex-shrink: 0;
}
.nav-toggle-bar {
  display: block; width: 18px; height: 2px; margin: 0 auto;
  background: var(--text); border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Focus rings ─────────────────────────────── */
.btn:focus-visible, .pill:focus-visible, .make-chip:focus-visible,
.nav-toggle:focus-visible, .nav-links a:focus-visible, .logo:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.skip-link:focus-visible, .brand-az-item:focus-visible {
  outline: 2px solid #111; outline-offset: 2px;
}
a.product:focus-visible { outline-offset: 4px; }

/* ─── Hero ───────────────────────────────────── */
.hero {
  position: relative; line-height: 0;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  width: 100%; height: auto; display: block;
  min-height: 56vw; object-fit: cover; opacity: 0.88;
}

.hero-content-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background: linear-gradient(100deg,
    rgba(0,0,0,0.91) 0%,
    rgba(0,0,0,0.66) 40%,
    rgba(0,0,0,0.10) 100%);
  line-height: 1.55;
}

.hero-content {
  padding: 80px 0; max-width: 860px;
}

.hero::before { display: none; }

/* Inside the hero overlay, everything sits on dark — force light text */
.hero-content .eyebrow { color: rgba(255,255,255,0.55); }
.hero-content h1       { color: #ffffff; }
.hero-content p        { color: rgba(255,255,255,0.75); }
.hero-content .btn     { border-color: rgba(255,255,255,0.35); color: #fff; background: transparent; }
.hero-content .btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }
.hero-content .btn.primary { background: #fff; color: #000; border-color: #fff; }
.hero-content .btn.primary:hover { background: #e8e8e8; }

/* ─── Type ────────────────────────────────────── */
.eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--dim);
}

h1, h2 {
  margin: 0;
  font-family: 'Barlow Condensed', Inter, sans-serif;
  font-weight: 800; line-height: 1.0;
  letter-spacing: 0.01em; text-transform: uppercase;
}
h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }

h1 { margin-top: 14px; font-size: clamp(64px, 12vw, 148px); }
h2 { font-size: clamp(32px, 5vw, 56px); }

.hero p { color: #ccc; max-width: 540px; margin: 14px 0 0; font-size: 16px; }

/* ─── Stat bar ────────────────────────────────── */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.stat-bar-item {
  padding: 30px 32px;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}
.stat-bar-item:last-child { border-right: none; }
.stat-bar-item:hover { background: var(--bg); }

.stat-bar-num {
  font-family: 'Barlow Condensed', Inter, sans-serif;
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 800; letter-spacing: -0.01em; line-height: 1;
  color: var(--text);
}

.stat-bar-label {
  margin-top: 6px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

/* ─── Sections ────────────────────────────────── */
section { padding: 64px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

.section-head { margin-bottom: 32px; }
.section-head h2 { margin-top: 10px; }
.section-head p  { margin: 10px 0 0; color: var(--muted); }

/* ─── Grid layouts ────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ─── Cards ───────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.card img {
  aspect-ratio: 16/10; object-fit: cover; object-position: center;
  width: 100%; display: block; transition: transform 0.45s ease;
}

.card-body { padding: 18px; }
.card h3   { font-size: 20px; margin-bottom: 8px; }
.card p    { color: var(--muted); margin: 0; font-size: 14px; }

a.card {
  display: block; text-decoration: none; color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.13);
  border-color: rgba(0,0,0,0.18);
}
a.card:hover img { transform: scale(1.05); }

/* ─── Brand A–Z grid (homepage) ──────────────── */
.brand-az-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 7px;
  margin-top: 32px;
}

.brand-az-item {
  display: block; padding: 14px 10px;
  border: 1px solid var(--line); background: var(--panel);
  border-radius: 10px; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-align: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.brand-az-item:hover {
  background: var(--brand); border-color: var(--brand);
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ─── Trust strip ─────────────────────────────── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.trust-cell {
  background: var(--panel);
  padding: 28px 24px;
  transition: background 0.2s;
}
.trust-cell:hover { background: var(--bg); }
.trust-cell strong {
  display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px;
}
.trust-cell span { color: var(--muted); font-size: 13px; }

/* ─── Shop: pills ─────────────────────────────── */
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }

.pill {
  border: 1px solid var(--line); background: var(--panel);
  color: var(--muted); padding: 8px 15px; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; cursor: pointer; border-radius: 999px;
  font-family: inherit;
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.15s;
}
.pill:hover  { border-color: rgba(0,0,0,0.25); color: var(--text); transform: translateY(-1px); }
.pill.on     { background: var(--brand); color: var(--brand-txt); border-color: var(--brand); }

/* ─── Shop: make chips ────────────────────────── */
.make-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 7px;
}

.make-chip {
  border: 1px solid var(--line); background: var(--panel);
  padding: 11px 8px; text-align: center;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em;
  font-weight: 700; color: var(--muted); cursor: pointer; border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.18s, color 0.18s, background 0.18s, transform 0.15s;
}
.make-chip:hover {
  border-color: rgba(0,0,0,0.25); color: var(--text); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}
.make-chip.is-active {
  background: var(--brand); color: var(--brand-txt); border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(0,0,0,0.20);
}

/* ─── Product grid ────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

a.product {
  display: block; border: 1px solid var(--line); background: var(--panel);
  border-radius: 14px; overflow: hidden; position: relative;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  color: inherit; text-decoration: none; cursor: pointer;
}
.product.hidden { display: none; }
.product.page-hidden { display: none; }
.load-more-wrap { text-align: center; padding: 36px 0 8px; }
.load-more-wrap .btn { min-width: 200px; font-size: 15px; padding: 12px 36px; }

.product img {
  aspect-ratio: 3/2; object-fit: cover; width: 100%;
  transition: transform 0.50s ease;
}

.product::after {
  content: "Inquire →";
  position: absolute; bottom: 14px; right: 14px;
  padding: 7px 13px; border-radius: 999px;
  border: none;
  background: var(--brand);
  color: var(--brand-txt);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; opacity: 0; transform: translateY(8px);
  transition: all 0.25s ease;
}

.product:hover {
  transform: translateY(-6px);
  border-color: rgba(0,0,0,0.16);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}
.product:hover img   { transform: scale(1.04); }
.product:hover::after { opacity: 1; transform: translateY(0); }

.product-body { padding: 15px; }

.brand-label {
  color: var(--dim); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 9px; font-weight: 700;
}
.product-name { margin: 8px 0 5px; font-size: 16px; font-weight: 700; }

.price-row {
  margin-top: 14px; display: flex;
  justify-content: space-between; align-items: center;
}
.price  { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.muted  { color: var(--muted); font-size: 13px; }

/* No results */
.no-results {
  display: none; text-align: center; padding: 64px 24px;
  border: 1px dashed var(--line); border-radius: 14px;
  color: var(--muted); margin-top: 12px;
}
.no-results a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Feature card (about/contact) ───────────── */
.feature {
  border: 1px solid var(--line); background: var(--panel);
  border-radius: 14px; overflow: hidden;
}
.feature img {
  aspect-ratio: 16/10; object-fit: cover; display: block; width: 100%;
}
.feature .card-body { min-height: 160px; }

/* ─── Contact form ────────────────────────────── */
form        { display: grid; gap: 13px; }
.form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

label {
  display: block; font-size: 10px; margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted);
}

input, select, textarea {
  width: 100%; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); padding: 12px 14px; font: inherit; border-radius: 10px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: rgba(0,0,0,0.35);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
textarea { min-height: 120px; resize: vertical; }

.small { font-size: 12px; color: var(--muted); }

/* ─── Footer ──────────────────────────────────── */
.site-footer {
  padding: 36px 0;
  background: #111;
  color: #f0f0f0;
  border-top: none;
}

.footer-wrap {
  display: flex; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; align-items: center;
}

.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 12px; color: #777; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 700;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.site-footer .small { color: #555; }

/* ─── Mobile CTA bar ──────────────────────────── */
.mobile-cta {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120;
}
.mobile-cta .btn {
  width: 100%; padding-block: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* ─── Nav: Make/Model mega-menu ───────────────── */
.nav-makes-wrap  { display: flex; align-items: center; }

.nav-makes-trigger {
  background: none; border: none; padding: 0; font-family: inherit;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); cursor: pointer; line-height: 1;
  transition: color 0.15s;
}
.nav-makes-trigger:hover,
.nav-makes-trigger[aria-expanded="true"] { color: var(--text); }

.nav-mega {
  display: none; position: fixed; left: 0; right: 0; top: 63px; z-index: 95;
  background: var(--panel); border-bottom: 1px solid var(--line);
  box-shadow: 0 32px 64px rgba(0,0,0,0.12);
  max-height: min(62vh, 520px); overflow: hidden;
}
.nav-mega.is-open { display: flex; }

.mega-brand-col {
  width: 200px; flex-shrink: 0;
  border-right: 1px solid var(--line);
  overflow-y: auto; padding: 10px 0;
  background: var(--bg);
}

.mega-brand-btn {
  display: block; width: 100%; text-align: left;
  padding: 9px 16px; background: none; border: none; font: inherit;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.mega-brand-btn:hover, .mega-brand-btn.is-active {
  background: var(--panel); color: var(--text);
}

.mega-model-col {
  flex: 1; overflow-y: auto; padding: 22px 28px;
}

.mega-model-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 16px;
}

/* Service cards — stocked brands */
.mega-service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}

.mega-service-card {
  display: block; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; color: inherit; background: var(--panel);
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.mega-service-card:hover {
  background: var(--bg);
  border-color: rgba(0,0,0,0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.mega-svc-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 6px;
}
.mega-svc-name  { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; line-height: 1.3; }
.mega-svc-sub   { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.mega-svc-price { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }

/* Model list — non-stocked brands */
.mega-model-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px; margin-bottom: 16px;
}

.mega-model-link {
  display: block; padding: 10px 14px; font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mega-model-link:hover {
  background: var(--brand); color: var(--brand-txt);
  border-color: var(--brand);
}

.mega-contact-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mega-contact-cta:hover { background: var(--brand); color: var(--brand-txt); border-color: var(--brand); }

/* ─── Animations ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.grid-3 .card  { animation: fadeUp 0.45s ease both; }
.grid-3 .card:nth-child(1) { animation-delay: 0.05s; }
.grid-3 .card:nth-child(2) { animation-delay: 0.12s; }
.grid-3 .card:nth-child(3) { animation-delay: 0.20s; }

.brand-az-item { animation: fadeIn 0.3s ease both; }

/* ─── About / Feature ─────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ─── Responsive: 960px ───────────────────────── */
@media (max-width: 960px) {
  .grid-3, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-bar              { grid-template-columns: repeat(2, 1fr); }
  .stat-bar-item:nth-child(2) { border-right: none; }
  .trust-strip           { grid-template-columns: 1fr; }
  .make-grid             { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

/* ─── Responsive: 720px ───────────────────────── */
@media (max-width: 720px) {
  body.nav-open { overflow: hidden; }

  .nav-wrap { flex-wrap: wrap; row-gap: 0; }
  .logo      { order: 1; }

  .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }

  .nav-wrap > .btn { order: 3; }

  #primary-nav.nav-links {
    order: 4; flex-basis: 100%; width: 100%;
    flex-direction: column; align-items: stretch;
    max-height: 0; overflow: hidden;
    visibility: hidden; opacity: 0;
    padding: 0; margin: 0; gap: 0; border: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
    background: var(--panel);
  }
  #primary-nav.nav-links.is-open {
    max-height: min(72vh, 480px); overflow-y: auto;
    visibility: visible; opacity: 1;
    padding: 6px 0 16px; margin-top: 6px;
    border-top: 1px solid var(--line);
  }
  #primary-nav.nav-links a {
    padding: 14px 6px; border-bottom: 1px solid var(--line);
  }
  #primary-nav.nav-links a:last-child { border-bottom: 0; }

  .grid-3, .product-grid, .two-col, .form-grid, .make-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .brand-az-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }

  .nav-makes-wrap, .nav-mega { display: none !important; }

  .mobile-cta { display: block; }
  body { padding-bottom: 86px; }

  .product::after {
    opacity: 1; transform: translateY(0);
    bottom: 10px; right: 10px; font-size: 9px; padding: 6px 10px;
  }
}
