/*
Theme Name: 7DAYS Automobiles
Theme URI: https://7daysautomobiles.net/
Author: 7DAYS Automobiles LLC
Author URI: https://7daysautomobiles.net/
Description: Custom theme for 7DAYS Automobiles LLC: vehicle export from the US and Canada to Africa. Homepage sections, business details and vehicle inventory are managed with Advanced Custom Fields (free).
Version: 1.1.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sevendays
*/

:root {
  --red: #d81f26;
  --red-hover: #b3161c;
  --red-soft: #ff6b70;
  --navy: #0a234d;
  --ink: #111827;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --stone: #f5f5f4;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum";
  overflow-x: clip;
}
a { color: var(--ink); }
a:where(:not(.btn)):hover { color: var(--red); }
::selection { background: var(--red); color: #fff; }
input::placeholder, textarea::placeholder { color: var(--gray-400); }
img { max-width: 100%; }

.container { max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
h2 { font-weight: 700; font-size: 56px; line-height: 1.02; letter-spacing: 0; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: uppercase;
  color: var(--gray-500); display: flex; align-items: center; gap: 16px;
}
.eyebrow-light { color: rgba(255,255,255,.6); }
.eyebrow-rule { width: 40px; height: 1px; background: var(--red); flex: none; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 15px; padding: 18px 28px; border-radius: 4px;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit; line-height: normal;
}
.btn-sm { font-size: 14px; padding: 14px 22px; gap: 10px; white-space: nowrap; }
.btn-red { background: var(--red); color: #fff; transition: background .2s; }
.btn-red:hover { background: var(--red-hover); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; transition: background .2s; }
.btn-ink:hover { background: var(--navy); color: #fff; }
.btn-outline { background: #fff; border: 1px solid var(--line-strong); color: var(--ink); transition: border-color .2s; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.site-header {
  position: sticky; top: 0; z-index: 80; background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 #e5e7eb, 0 12px 32px rgba(17,24,39,.06); }
.header-inner { height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: flex; align-items: center; text-decoration: none; justify-self: start; }
.brand img { height: 64px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.main-nav a:hover { border-bottom-color: var(--red); color: var(--ink); }
.header-inner .btn { justify-self: end; }
.hero { background: #fff; }
.hero-grid { padding-top: 96px; display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.hero-copy { padding-bottom: 96px; }
.hero .eyebrow { margin-bottom: 32px; }
.hero h1 {
  font-weight: 800; font-size: 84px; line-height: .96; letter-spacing: 0;
  margin: 0 0 40px; text-wrap: balance;
}
.hero-lede { font-size: 20px; line-height: 1.5; color: var(--gray-600); max-width: 540px; margin: 0 0 48px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { position: relative; aspect-ratio: 4 / 5; }
.hero-clip { position: absolute; inset: 0; overflow: hidden; background: var(--line); }
.parallax-layer { position: absolute; inset: -12% 0; will-change: transform; }
.parallax-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-caption {
  position: absolute; left: 0; bottom: 0; background: #fff; padding: 16px 20px 16px 0;
  font-size: 13px; font-weight: 600; color: var(--gray-500); letter-spacing: 0;
}
.hero-facts { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 32px 0; }
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact-label { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; color: var(--gray-400); }
.fact-value { font-size: 15px; font-weight: 600; }
.services { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.services-watermark {
  position: absolute; right: -40px; top: 40px; font-family: var(--font-display); font-weight: 800;
  font-size: 420px; line-height: 1; letter-spacing: 0; color: rgba(255,255,255,.04);
  pointer-events: none; will-change: transform; user-select: none;
}
.services-inner { position: relative; padding-top: 128px; padding-bottom: 128px; }
.section-head { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; margin-bottom: 80px; }
.section-head .eyebrow { height: fit-content; }
.section-head h2 { text-wrap: balance; }
.service-list { border-top: 1px solid rgba(255,255,255,.14); }
.service-row {
  display: grid; grid-template-columns: 120px 4fr 6fr; gap: 40px; padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.14); align-items: start; transition: padding-left .3s;
}
.service-row:hover { padding-left: 16px; }
.service-num { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--red-soft); letter-spacing: 0; padding-top: 8px; }
.service-row h3 { font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: 0; }
.service-row p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0; max-width: 520px; }
.inventory { background: var(--stone); }
.inventory > .container { padding-top: 128px; padding-bottom: 128px; }
.inventory-head { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; margin-bottom: 64px; align-items: end; }
.inventory-head .eyebrow { margin-bottom: 24px; }
.filter-chips { display: flex; gap: 32px; border-bottom: 1px solid var(--line-strong); justify-self: end; width: 100%; justify-content: flex-end; }
.chip {
  cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px; padding: 12px 0;
  background: transparent; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px;
  color: var(--gray-500); transition: color .2s, border-color .2s; letter-spacing: 0;
}
.chip.is-active { border-bottom-color: var(--red); color: var(--ink); }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vehicle-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.vehicle-card:hover { box-shadow: 0 20px 40px rgba(17,24,39,.08); transform: translateY(-4px); }
.vehicle-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.vehicle-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.vehicle-card:hover .vehicle-media img { transform: scale(1.05); }
.vehicle-type, .vehicle-status {
  position: absolute; top: 16px; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 2px;
  letter-spacing: 0; text-transform: uppercase;
}
.vehicle-type { left: 16px; background: #fff; color: var(--ink); }
.vehicle-status { right: 16px; color: #fff; background: var(--ink); }
.vehicle-status.is-reserved { background: var(--gray-500); }
.vehicle-body { padding: 24px; }
.vehicle-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.vehicle-title h3 { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.vehicle-price { font-family: var(--font-display); font-weight: 700; font-size: 20px; white-space: nowrap; }
.vehicle-specs {
  display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 12px 0; margin-bottom: 20px;
}
.spec-label { font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; color: var(--gray-400); }
.spec-value { font-size: 14px; font-weight: 600; margin-top: 4px; }
.vehicle-cta { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; transition: color .2s; }
.vehicle-cta:hover { color: var(--red); }
.inventory-foot {
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-strong);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.inventory-foot p { font-size: 17px; color: var(--gray-600); margin: 0; }
.link-underline {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink);
  text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 4px;
}
.process { background: #fff; }
.process-grid { padding-top: 128px; padding-bottom: 128px; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.process-intro { position: sticky; top: 128px; }
.process-intro .eyebrow { margin-bottom: 24px; }
.process-intro h2 { margin-bottom: 24px; }
.process-intro p { font-size: 17px; line-height: 1.6; color: var(--gray-600); margin: 0 0 40px; max-width: 400px; }
.progress-track { height: 2px; background: var(--line); max-width: 400px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--red); transition: width .1s linear; }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: 32px; padding: 48px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: 0; color: var(--red); }
.step h3 { font-size: 26px; font-weight: 700; margin: 8px 0 12px; letter-spacing: 0; }
.step p { font-size: 17px; line-height: 1.6; color: var(--gray-600); margin: 0; max-width: 480px; }
.about { position: relative; height: 88vh; min-height: 640px; overflow: hidden; background: var(--ink); color: #fff; }
.about-media { inset: -20% 0; }
.about-media img { opacity: .55; }
.about-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,24,39,.85) 0%, rgba(17,24,39,.3) 70%); }
.about-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 96px; }
.about .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 24px; }
.about h2 { margin-bottom: 32px; max-width: 760px; text-wrap: balance; }
.about p { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.8); margin: 0; max-width: 600px; text-wrap: pretty; }
.contact { background: #fff; }
.contact-grid { padding-top: 128px; padding-bottom: 128px; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.contact .eyebrow { margin-bottom: 24px; }
.contact h2 { margin-bottom: 24px; }
.contact-lede { font-size: 17px; line-height: 1.6; color: var(--gray-600); margin: 0 0 48px; max-width: 400px; }
.contact-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
a.contact-row { transition: padding-left .2s; }
a.contact-row:hover { padding-left: 8px; color: var(--ink); }
.contact-label { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; color: var(--gray-400); padding-top: 3px; }
.contact-value { font-size: 16px; font-weight: 600; }
.contact-panel { background: var(--stone); padding: 48px; }
.form-success { padding: 48px 0; }
.success-rule { width: 40px; height: 1px; background: var(--red); margin-bottom: 24px; }
.form-success h3 { font-size: 30px; font-weight: 700; margin: 0 0 12px; letter-spacing: 0; }
.form-success p { font-size: 17px; color: var(--gray-600); margin: 0; line-height: 1.6; }
.quote-form { display: flex; flex-direction: column; gap: 28px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.quote-form label { display: flex; flex-direction: column; gap: 10px; }
.quote-form label > span { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; color: var(--gray-500); }
.quote-form input, .quote-form textarea {
  width: 100%; padding: 12px 0; border: none; border-bottom: 1px solid var(--line-strong); background: transparent;
  font-size: 16px; font-family: inherit; color: var(--ink); outline: none; transition: border-color .2s; border-radius: 0;
}
.quote-form textarea { min-height: 96px; resize: vertical; }
.quote-form input:focus, .quote-form textarea:focus { border-bottom-color: var(--ink); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 8px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--gray-400); }
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.site-footer > .container { padding-top: 56px; padding-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { height: 64px; width: auto; display: block; margin-bottom: 20px; }
.footer-blurb { font-size: 15px; color: var(--gray-500); line-height: 1.6; max-width: 360px; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 600; }
.footer-col a { font-size: 15px; font-weight: 600; text-decoration: none; }
.footer-heading { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; color: var(--gray-400); margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--gray-400);
}
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-ready [data-reveal-img] [data-clip] { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.reveal-ready [data-reveal-img] img { transform: scale(1.12); transition: transform 1.4s var(--ease); }
.reveal-ready [data-reveal-img].is-visible [data-clip] { clip-path: inset(0 0 0 0); }
.reveal-ready [data-reveal-img].is-visible img { transform: scale(1); }
@media (max-width: 1024px) {
  .container { padding-left: 28px; padding-right: 28px; }
  h2 { font-size: 44px; }
  .hero-grid, .section-head, .inventory-head, .process-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { padding-bottom: 0; }
  .hero-media { max-width: 520px; }
  .hero-grid { padding-bottom: 64px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .services-watermark { font-size: 280px; }
  .service-row { grid-template-columns: 64px 1fr; }
  .service-row p { grid-column: 2; }
  .filter-chips { justify-content: flex-start; justify-self: start; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .process-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .header-inner { grid-template-columns: 1fr auto; height: 72px; }
  .brand img { height: 48px; }
  .main-nav { display: none; }
  .hero-grid { padding-top: 56px; }
  .hero h1 { font-size: 40px; }
  .hero-lede { font-size: 18px; }
  .hero-facts { grid-template-columns: 1fr; gap: 24px; }
  .services-inner, .inventory > .container, .process-grid, .contact-grid { padding-top: 80px; padding-bottom: 80px; }
  .section-head { margin-bottom: 48px; }
  .service-row h3 { font-size: 24px; }
  .filter-chips { gap: 20px; overflow-x: auto; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; gap: 20px; padding: 32px 0; }
  .step-num { font-size: 40px; }
  .about { height: auto; min-height: 0; }
  .about-inner { padding-top: 96px; padding-bottom: 64px; }
  .contact-panel { padding: 28px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  body { scroll-behavior: auto; }
  .reveal-ready [data-reveal], .reveal-ready [data-reveal-img] [data-clip], .reveal-ready [data-reveal-img] img, .vehicle-media img, .service-row, a.contact-row, .vehicle-card { transition: none !important; }
}

[hidden] { display: none !important; }
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip-path: none;
  background: #fff;
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 8px;
  line-height: normal;
  padding: 16px 24px;
  text-decoration: none;
  top: 8px;
  width: auto;
  z-index: 100000;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #fef2f2;
  border-left: 3px solid var(--red);
  color: #991b1b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.quote-form button[disabled] { opacity: .6; cursor: default; }
.inventory-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 48px 0;
  color: var(--gray-500);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.hero-grid.is-single { grid-template-columns: 1fr; }
.hero-grid.is-single .hero-lede { max-width: 640px; }

/* Interaction states */
.btn {
  transition: background-color .2s, border-color .2s, color .2s;
  filter: none;
}
.btn-red:hover, .btn-red:focus-visible {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: #fff;
}
.btn-ink:focus-visible { background: var(--navy); color: #fff; }
.btn-outline:focus-visible { border-color: var(--ink); color: var(--ink); }
body { font-size: 16px; line-height: 1.5; }
.container { width: 100%; }
.brand { width: auto; height: auto; align-self: center; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.site-header .btn { color: white; }
.main-nav a { color: var(--ink); }
.hero h1 { max-width: 1060px; }
section { scroll-margin-top: 104px; }
.footer-logo { object-fit: contain; }
.contact-value, dd, .footer-col { min-width: 0; overflow-wrap: anywhere; }
.about { height: 760px; min-height: 640px; }
.about-inner { align-items: flex-start; }
.quote-form textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
html { scroll-behavior: smooth; }
@media (max-width: 1024px) {
  .hero h1 { font-size: 64px; }
}
@media (max-width: 720px) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: 12px; }
  .nav-toggle { display: flex; }
  .header-inner .btn { font-size: 12px; padding: 12px; }
  .main-nav.is-open { display: flex; position: absolute; top: 72px; left: 0; right: 0; padding: 20px; background: white; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--line); }
  .hero h1 { font-size: 40px; line-height: 1.04; }
  h2 { font-size: 38px; }
  .hero-grid { padding-top: 40px; padding-bottom: 44px; }
  .hero .eyebrow { font-size: 11px; gap: 10px; margin-bottom: 24px; }
  .hero h1 { margin-bottom: 24px; }
  .hero-lede { margin-bottom: 28px; font-size: 17px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { font-size: 13px; padding: 15px; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 0; }
  .fact-label { font-size: 10px; }
  .fact-value { font-size: 12px; }
  .service-row { gap: 12px 20px; grid-template-columns: 40px 1fr; }
  .about { height: auto; min-height: 0; }
  .about p { font-size: 17px; }
  .contact-row { grid-template-columns: 80px minmax(0, 1fr); }
  .contact-panel { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Hero photo band: freight image behind the headline, facts row stays on white. */
.hero-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.hero-band-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,35,77,.94) 0%, rgba(10,35,77,.82) 42%, rgba(10,35,77,.35) 78%, rgba(10,35,77,.2) 100%);
}
.hero-band .hero-grid { padding-top: 120px; }
.hero-band .hero-copy { padding-bottom: 120px; }
.hero-band .eyebrow { color: rgba(255,255,255,.75); }
.hero-band h1 { color: #fff; }
.hero-band .hero-lede { color: rgba(255,255,255,.85); }
.btn-outline-light { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover, .btn-outline-light:focus-visible { background: #fff; border-color: #fff; color: var(--ink); }
.hero-facts { border-top: 0; }
@media (max-width: 720px) {
  .hero-band::after { background: linear-gradient(180deg, rgba(10,35,77,.88) 0%, rgba(10,35,77,.8) 100%); }
  .hero-band .hero-grid { padding-top: 56px; }
  .hero-band .hero-copy { padding-bottom: 56px; }
}

/* ==========================================================================
   Theme additions: navigation, inner pages, inventory, vehicle detail
   ========================================================================== */

/* Navigation */
.main-nav ul { display: contents; list-style: none; margin: 0; padding: 0; }
.main-nav li { display: contents; }
.main-nav .current-menu-item > a,
.main-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-toggle { background: transparent; border: 0; color: var(--ink); cursor: pointer; padding: 0; }
.nav-toggle svg { width: 24px; height: 24px; }
.custom-logo-link { display: flex; }
.brand img, .custom-logo { height: 64px; width: auto; display: block; }

/* Inner page header */
.page-hero { background: var(--stone); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-top: 96px; padding-bottom: 64px; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { font-weight: 800; font-size: 64px; line-height: 1; margin: 0 0 20px; text-wrap: balance; }
.page-hero p { font-size: 18px; line-height: 1.6; color: var(--gray-600); max-width: 640px; margin: 0; }

/* Generic page content */
.page-body .container { padding-top: 80px; padding-bottom: 96px; }
.entry-content { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--gray-600); }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2, .entry-content h3 { color: var(--ink); margin-top: 2em; line-height: 1.15; }
.entry-content h2 { font-size: 36px; }
.entry-content h3 { font-size: 24px; }
.entry-content a { color: var(--red); }
.entry-content img { height: auto; }

/* Inventory archive */
.inventory-page .container { padding-top: 64px; padding-bottom: 128px; }
.inventory-filters { display: grid; grid-template-columns: minmax(0, 1fr) 200px 200px auto; gap: 12px; margin-bottom: 16px; }
.inventory-filters .field { position: relative; }
.inventory-filters .field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--gray-400); pointer-events: none; }
.inventory-filters input, .inventory-filters select {
  width: 100%; height: 52px; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff;
  font: inherit; font-size: 15px; color: var(--ink); padding: 0 16px;
}
.inventory-filters input { padding-left: 44px; }
.inventory-filters input:focus, .inventory-filters select:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.inventory-filters .btn { height: 52px; padding: 0 24px; }
.inventory-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--gray-500); padding: 8px 0 32px; }
.inventory-meta a { font-weight: 600; }

/* Vehicle card extras */
.vehicle-card { display: flex; flex-direction: column; }
.vehicle-body { display: flex; flex-direction: column; flex: 1; }
.vehicle-kicker { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--gray-400); margin: 0 0 8px; }
.vehicle-title a { text-decoration: none; }
.vehicle-title a::after { content: ""; position: absolute; inset: 0; }
.vehicle-card { position: relative; }
.vehicle-cta { margin-top: auto; position: relative; z-index: 1; }
.vehicle-status.is-sold { background: var(--red); }
.vehicle-price.is-quote { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--gray-500); }
.photo-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--gray-400); font-size: 13px; font-weight: 600; background: var(--line); }
.photo-fallback svg { width: 32px; height: 32px; }

/* Empty state */
.empty-state { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--line-strong); border-radius: 4px; padding: 64px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-state svg { width: 36px; height: 36px; color: var(--gray-400); }
.empty-state h3 { font-size: 22px; }
.empty-state p { margin: 0 0 8px; color: var(--gray-500); max-width: 440px; }

/* Pagination */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

/* Vehicle detail */
.vehicle-detail .container { padding-top: 40px; padding-bottom: 128px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gray-500); text-decoration: none; margin-bottom: 32px; }
.back-link svg { width: 16px; height: 16px; }
.detail-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.detail-main-photo { position: relative; aspect-ratio: 4 / 3; background: var(--line); border-radius: 4px; overflow: hidden; }
.detail-main-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.detail-thumbs button { position: relative; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: var(--line); cursor: pointer; }
.detail-thumbs button.is-active { border-color: var(--red); }
.detail-thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-description { margin-top: 48px; }
.detail-description h2 { font-size: 28px; margin-bottom: 16px; }
.detail-aside { position: sticky; top: 120px; }
.detail-aside .vehicle-kicker { font-size: 13px; }
.detail-aside h1 { font-weight: 800; font-size: 44px; line-height: 1.04; margin: 0 0 20px; text-wrap: balance; }
.detail-price { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.detail-price strong { font-family: var(--font-display); font-size: 32px; font-weight: 700; }
.status-pill { font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 6px 10px; border-radius: 2px; background: var(--ink); color: #fff; }
.status-pill.is-reserved { background: var(--gray-500); }
.status-pill.is-sold { background: var(--red); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 32px; border-top: 1px solid var(--line); }
.spec-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-list > div:nth-child(odd) { padding-right: 16px; }
.spec-list dt { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--gray-400); margin-bottom: 4px; }
.spec-list dd { margin: 0; font-size: 15px; font-weight: 600; }
.detail-actions { display: flex; flex-direction: column; gap: 12px; }
.detail-actions .btn { justify-content: center; }
.detail-note { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin: 20px 0 0; }

/* Enquiry confirmation */
.form-notice { margin: 0 0 28px; padding: 16px 18px; border-left: 3px solid var(--red); background: #fff; font-size: 15px; font-weight: 600; line-height: 1.5; }
.form-notice.is-success { border-left-color: #15803d; }

/* 404 */
.not-found .container { padding-top: 128px; padding-bottom: 128px; }
.not-found h1 { font-weight: 800; font-size: 72px; line-height: 1; margin: 24px 0; }
.not-found p { font-size: 18px; color: var(--gray-600); margin: 0 0 40px; max-width: 520px; }
.not-found .hero-actions .btn-outline { border-color: var(--line-strong); }

@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-aside { position: static; }
  .inventory-filters { grid-template-columns: 1fr 1fr; }
  .inventory-filters .field:first-child { grid-column: 1 / -1; }
  .page-hero h1 { font-size: 52px; }
}
@media (max-width: 720px) {
  .brand img, .custom-logo { height: 48px; }
  .page-hero .container { padding-top: 56px; padding-bottom: 40px; }
  .page-hero h1 { font-size: 38px; }
  .inventory-filters { grid-template-columns: 1fr; }
  .detail-aside h1 { font-size: 32px; }
  .detail-thumbs { grid-template-columns: repeat(4, 1fr); }
  .not-found h1 { font-size: 44px; }
}

/* Footer menu items, success CTA, homepage inventory link */
.footer-col ul, .footer-col li { list-style: none; margin: 0; padding: 0; display: contents; }
.form-success-cta { margin-top: 28px !important; }
.inventory-head-link { justify-self: end; }
@media (max-width: 1024px) { .inventory-head-link { justify-self: start; } }

/* Buyer disclosure: title status, damage and inspection on every listing ---------------- */
:root {
  --green: #15803d;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --green-soft: #dcfce7;
}
.title-pill { font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 6px 10px; border-radius: 2px; background: #fff; color: var(--ink); }
.title-pill.is-clean { background: var(--green); color: #fff; }
.title-pill.is-salvage { background: var(--amber); color: #fff; }
.title-pill.is-rebuilt { background: var(--navy); color: #fff; }
.title-pill.is-non_repairable { background: var(--red); color: #fff; }
.vehicle-condition { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: -8px 0 20px; font-size: 14px; color: var(--gray-600); }
.vehicle-damage { min-width: 0; }
.inspection-tag { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 2px; background: var(--stone); color: var(--gray-600); white-space: nowrap; position: relative; z-index: 1; cursor: help; }
.inspection-tag.is-inspected { background: var(--green-soft); color: var(--green); }
.vehicle-auction { font-size: 13px; color: var(--gray-500); margin: 0 0 16px; }
.vehicle-specs .spec-value { overflow-wrap: anywhere; }
.disclosure { border: 1px solid var(--line); background: var(--stone); padding: 20px; margin: 0 0 28px; font-size: 14px; line-height: 1.6; color: var(--gray-600); }
.disclosure p { margin: 0; }
.disclosure p + p { margin-top: 10px; }
.disclosure-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.disclosure .title-pill:not([class*="is-clean"]):not([class*="is-salvage"]):not([class*="is-rebuilt"]):not([class*="is-non_"]) { border: 1px solid var(--line-strong); }
.disclosure-title { color: var(--ink); }

/* Inventory filters: as many selects as there are facets */
.inventory-filters { grid-template-columns: minmax(220px, 2fr) repeat(auto-fit, minmax(150px, 1fr)); }
.inventory-filters .btn { grid-column: auto; }

/* Contact: labelled numbers, extra form fields, payment safety */
.contact-role { display: block; font-size: 13px; font-weight: 500; color: var(--gray-500); margin-top: 2px; }
.quote-form select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); padding: 8px 0 10px; border-radius: 0; outline: none; }
.quote-form select:focus { border-bottom-color: var(--ink); }
.quote-form select:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.form-privacy { font-size: 13px; color: var(--gray-500); margin: -8px 0 0; }
.form-privacy a, .payment-safety a { color: var(--ink); }
.payment-safety { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line-strong); font-size: 14px; line-height: 1.55; color: var(--gray-600); }
.payment-safety svg { flex: none; color: var(--green); margin-top: 2px; }

/* Footer: company column, addresses, social, legal links */
.footer-grid { grid-template-columns: minmax(0, 2fr) repeat(auto-fit, minmax(160px, 1fr)); }
.footer-addresses { display: grid; gap: 12px; margin-top: 20px; font-size: 14px; color: var(--gray-500); line-height: 1.55; }
.footer-addresses address { font-style: normal; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 20px 0 0; }
.footer-social a { font-size: 14px; font-weight: 600; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: inherit; }

/* Information pages: About, Shipping, FAQ, country */
.page-columns { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.company-card { background: var(--stone); padding: 32px; }
.company-card h2 { font-size: 22px; margin: 0 0 16px; }
.company-card h2:not(:first-child) { margin-top: 24px; }
.company-card p { color: var(--gray-600); line-height: 1.6; margin: 0; }
.company-card address { font-style: normal; }
.company-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px !important; }
.team, .proof { border-top: 1px solid var(--line); }
.team .container, .proof .container { padding-top: 96px; padding-bottom: 96px; }
.team h2, .proof h2 { margin: 24px 0 48px; max-width: 760px; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.team-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; }
.team-card h3 { font-size: 20px; }
.team-role { font-size: 14px; font-weight: 600; color: var(--red); margin: 4px 0 8px; }
.team-card p { color: var(--gray-600); line-height: 1.6; margin: 0; }
.proof-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.proof-gallery figure { margin: 0; }
.proof-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.proof-gallery figcaption { font-size: 13px; color: var(--gray-500); margin-top: 8px; }
.proof-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.proof-quotes blockquote { margin: 0; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--red); }
.proof-quotes blockquote p { font-size: 17px; line-height: 1.6; margin: 0 0 20px; }
.proof-quotes footer { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--gray-500); }
.proof-quotes cite { font-style: normal; font-weight: 700; color: var(--ink); }
.proof-quotes footer a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 6px; }
.proof-more { margin: 40px 0 0; }
.proof-more a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.info-section { margin-top: 72px; }
.info-section h2 { font-size: 36px; margin-bottom: 24px; }
.info-section h3 { font-size: 20px; margin-bottom: 8px; }
.info-section p { color: var(--gray-600); line-height: 1.7; margin: 0; }
.info-note { font-size: 14px; margin-top: 16px !important; }
.table-wrap { overflow-x: auto; }
.info-table { width: 100%; max-width: 900px; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table thead th { font-size: 12px; text-transform: uppercase; color: var(--gray-500); font-weight: 600; }
.info-table tbody th small { display: block; font-weight: 500; color: var(--gray-500); }
.quote-table { max-width: 560px; }
.quote-table td { text-align: right; white-space: nowrap; }
.quote-table tfoot th, .quote-table tfoot td { font-weight: 800; border-bottom: 0; border-top: 2px solid var(--ink); }
.info-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; max-width: 1000px; }
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 500; color: var(--red); }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.faq-item p { margin: 0 0 24px; color: var(--gray-600); line-height: 1.7; max-width: 720px; }
.inventory-note { margin-top: 32px; color: var(--gray-600); }

@media (max-width: 1024px) {
  .page-columns { grid-template-columns: 1fr; gap: 40px; }
  .team-grid, .proof-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .inventory-filters { grid-template-columns: 1fr 1fr; }
  .inventory-filters .field:first-child, .inventory-filters .btn { grid-column: 1 / -1; }
  .team .container, .proof .container { padding-top: 64px; padding-bottom: 64px; }
  .team-grid { grid-template-columns: 1fr; }
  .info-section { margin-top: 48px; }
  .info-section h2 { font-size: 28px; }
  .company-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
.disclosure .inspection-tag { background: #fff; border: 1px solid var(--line-strong); }
.disclosure .inspection-tag.is-inspected { background: var(--green-soft); border-color: transparent; }
.company-card .spec-list { grid-template-columns: 1fr; }
