/* ============================================
   Fleet Assets — Design System
   Forest green + warm neutrals
   Inter (body) + Fraunces (display)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fraunces:opsz,wght,SOFT@9..144,400;9..144,500;9..144,600;9..144,700&display=swap');

:root {
  /* Ink (text) */
  --ink: #1A1F1B;
  --ink-soft: #3F4842;
  --ink-mute: #6E7770;

  /* Paper (backgrounds) */
  --paper: #FAF8F2;
  --paper-warm: #F4EFE2;
  --paper-sand: #ECE5D2;
  --paper-card: #FFFFFF;

  /* Lines */
  --line: #D9D2BE;
  --line-soft: #E8E2D0;
  --line-strong: #B8AE93;

  /* Forest (primary) */
  --forest: #1F4D3F;
  --forest-deep: #143228;
  --forest-bright: #2A6952;
  --moss: #4F6E54;

  /* Accent */
  --amber: #B8732A;
  --amber-soft: #D89556;

  /* Type scale */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Spacing — fluid: container and gutters track the window width on desktop */
  --max: min(1440px, 92vw);
  --gutter: clamp(16px, 2.5vw, 40px);
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Fluid root size: rem-based type scales smoothly as the window is resized */
  font-size: clamp(14.5px, 12.5px + 0.25vw, 19px);
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-bright); }

/* ============================================
   Type
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 500;
}

p { margin: 0 0 1em 0; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--forest);
  display: inline-block;
}

.serif-numeral {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
}

/* ============================================
   Layout
   ============================================ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 88px 0; }

@media (max-width: 720px) {
  section { padding: 56px 0; }
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 242, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 30, "opsz" 144;
  line-height: 1;
}

/* Footer variant: slightly larger */
.footer-brand .brand-mark { height: 48px; }
.footer-brand .brand-word { font-size: 1.7rem; }

/* FleetAssets road logo */
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.footer-brand .brand-logo { height: 48px; }

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

.nav-links a:not(.btn) {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 120ms ease;
}

.nav-links a:not(.btn):hover { color: var(--ink); }

/* Ensure primary button inside nav keeps its white text */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: var(--paper);
}

.nav-links .btn { margin-left: 12px; }

@media (max-width: 800px) {
  .nav-links { gap: 18px; }
  .nav-links .nav-link-text { display: none; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 140ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
.btn-primary:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--forest);
  font-weight: 600;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-link:hover { color: var(--forest-bright); }
.btn-link .arrow {
  transition: transform 140ms ease;
}
.btn-link:hover .arrow { transform: translateX(3px); }

.btn-large {
  padding: 16px 28px;
  font-size: 1rem;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 64px 0 96px 0;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-eyebrow { margin-bottom: 22px; }

.hero h1 {
  margin-bottom: 22px;
}

.hero h1 .accent {
  font-style: italic;
  color: var(--forest);
  font-weight: 400;
}

.hero-lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 32px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  /* Even 2 x 2 layout */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 36px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta-item .num {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-meta-item .label {
  font-size: 0.82rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Hero media: vehicle photo stacked above the fleet-programs strip */
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.hero-brand-strip {
  width: 100%;
  max-width: 520px;
  height: auto;
  align-self: center;
}

/* Search card in hero */
.search-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 1px 0 var(--line-soft), 0 24px 48px -32px rgba(20, 50, 40, 0.18);
}

.search-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 18px;
}

.search-card-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field select,
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.98rem;
  transition: border-color 120ms ease, background 120ms ease;
}

.field select:focus,
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--paper-card);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231F4D3F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.search-card-submit {
  width: 100%;
  margin-top: 6px;
}

/* ============================================
   Section header
   ============================================ */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}

.section-head-text { max-width: 600px; }

.section-head .eyebrow { margin-bottom: 16px; }

.section-head h2 { margin-bottom: 12px; }

.section-head p { color: var(--ink-soft); font-size: 1.05rem; max-width: 56ch; }

/* ============================================
   Value props
   ============================================ */
.section-value {
  background: var(--forest);
  border-top: 1px solid var(--forest-deep);
  border-bottom: 1px solid var(--forest-deep);
}

/* Light text on the green background */
.section-value .eyebrow { color: var(--paper-sand); }
.section-value .eyebrow::before { background: var(--paper-sand); }
.section-value h2 { color: var(--paper); }
.section-value .section-head p { color: rgba(250, 248, 242, 0.85); }

/* Cards stay white and get their own rounding against the green */
.section-value .value-grid {
  background: transparent;
  border: none;
  gap: 12px;
}

.section-value .value-cell {
  border-radius: 12px;
}

/* Small illustration pinned to the bottom of each value card */
.value-icon {
  margin-top: auto;
  padding-top: 16px;
}

.value-icon svg {
  height: 68px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.value-grid {
  display: grid;
  /* Flows 5 cards evenly, wrapping as the window narrows */
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .value-grid { grid-template-columns: 1fr; }
}

.value-cell {
  background: var(--paper-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-cell .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--forest);
  font-weight: 400;
}

.value-cell h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.value-cell p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.55;
  margin: 0;
}

/* ============================================
   Browse by type / brand
   ============================================ */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 880px) {
  .type-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .type-grid { grid-template-columns: 1fr; }
}

.type-card {
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 160ms ease;
  cursor: default;
  text-decoration: none;
  color: inherit;
  min-height: 200px;
}

/* Browse-by-type section head: one-line title + subtitle */
.section-head-wide {
  max-width: none;
}

.h2-oneline {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .h2-oneline { white-space: normal; }
}

.section-subtitle {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 72ch;
  margin: 14px 0 0;
}

/* 8-card illustrated grid (What We Source cards) */
.type-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .type-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .type-grid-4 { grid-template-columns: 1fr; }
}

a.type-card {
  cursor: pointer;
}

/* Featured inventory: dark beige section, 3 photo cards */
.section-featured {
  background: var(--paper-sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-featured .eyebrow { color: var(--forest); }
.section-featured .eyebrow::before { background: var(--forest); }
.section-featured h2 { color: var(--ink); }

.section-featured .btn-link { color: var(--forest); }
.section-featured .btn-link:hover { color: var(--forest-bright); }

.section-featured .section-subtitle { color: var(--ink-soft); }

.embed-inquiry-link {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.embed-inquiry-link:hover { color: var(--forest-bright); }

/* White cards on the beige keep a crisp edge */
.section-featured .type-card {
  border-color: var(--line);
}

.feat-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Embedded live inventory frame */
.embed-frame {
  margin-top: 56px;
  background: var(--paper-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(20, 50, 40, 0.4);
}

.embed-frame iframe {
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 560px;
  border: 0;
}

@media (max-width: 880px) {
  .feat-grid { grid-template-columns: 1fr; }
}

.feat-img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.type-card-art {
  padding: 0;
  gap: 0;
  overflow: hidden;
  min-height: 0;
}

.type-card-art .tc-art {
  background: var(--paper-warm);
  padding: 18px 16px 6px;
  border-bottom: 1px solid var(--line-soft);
}

.type-card-art .tc-art svg {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.type-card-art:hover .tc-art svg {
  transform: translateX(6px);
}

.type-card-art .type-name {
  padding: 16px 20px 0;
}

.type-card-art .type-meta {
  padding: 6px 20px 20px;
  flex: 1;
}

.type-card:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(20, 50, 40, 0.22);
  color: inherit;
}

.type-card .icon-wrap {
  width: 56px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--forest);
}

.type-card .icon-wrap svg {
  height: 100%;
  width: auto;
}

.type-card .type-name {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: auto 0 4px 0;
}

.type-card .type-meta {
  color: var(--ink-mute);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.type-card .arrow {
  color: var(--forest);
  transition: transform 160ms ease;
}

.type-card:hover .arrow {
  transform: translateX(4px);
}

/* Brand strip — forest green section, light text */
.section-brand {
  background: var(--forest);
  color: var(--paper);
}

.section-brand h2 { color: var(--paper); }
.section-brand .eyebrow { color: var(--paper-sand); }
.section-brand .eyebrow::before { background: var(--paper-sand); }
.section-brand .section-head-text p { color: rgba(250, 248, 242, 0.78); }

.brand-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-card);
}

@media (max-width: 760px) {
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
}

.brand-tile {
  padding: 36px 18px;
  text-align: center;
  border-right: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--ink);
  transition: background 140ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Brand section header — top-align the logo card with the title block */
.section-head-brand {
  align-items: center;
}

/* Section header media slot — composite logo image */
.section-head-media {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-head-media p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 56ch;
}

.brand-programs-logos {
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-programs-logos img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 70px;
  display: block;
}

.brand-tile:last-child { border-right: none; }

@media (max-width: 760px) {
  .brand-tile { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .brand-tile:nth-child(even) { border-left: 1px solid var(--line-soft); }
}

.brand-tile:hover {
  background: var(--paper-warm);
  color: var(--ink);
}

.brand-tile .brand-name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-tile .brand-count {
  font-size: 0.82rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ============================================
   How it works
   ============================================ */
.section-how {
  background: var(--forest);
  color: var(--paper);
}

.section-how h2 { color: var(--paper); }
.section-how .eyebrow { color: var(--paper-sand); }
.section-how .eyebrow::before { background: var(--paper-sand); }
.section-how .section-head p { color: rgba(250, 248, 242, 0.78); }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

@media (max-width: 800px) {
  .how-grid { grid-template-columns: 1fr; }
}

.how-step {
  padding: 32px 0 0 0;
  border-top: 1px solid rgba(250, 248, 242, 0.22);
}

.how-step .step-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--paper-sand);
  margin-bottom: 16px;
  display: block;
  letter-spacing: 0.05em;
}

.how-step h3 {
  color: var(--paper);
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.how-step p {
  color: rgba(250, 248, 242, 0.78);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   CTA strip
   ============================================ */
.section-cta {
  padding: 96px 0;
  background: var(--paper-warm);
}

.cta-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 800px) {
  .cta-card { grid-template-columns: 1fr; padding: 36px; gap: 28px; }
}

.cta-card h2 { margin-bottom: 12px; }
.cta-card p { color: var(--ink-soft); margin: 0; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 28px 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  /* Brand left, Vehicles centered, Company at the right edge */
  grid-template-columns: 1.4fr 1fr auto;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-grid > .footer-col:nth-of-type(2) { justify-self: center; }
.footer-grid > .footer-col:last-of-type { justify-self: end; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > .footer-col:nth-of-type(2),
  .footer-grid > .footer-col:last-of-type { justify-self: start; }
}

.footer-brand p {
  color: var(--ink-mute);
  max-width: 36ch;
  margin: 14px 0 0 0;
  font-size: 0.92rem;
}

.footer-col h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-col a:hover { color: var(--ink); }

.footer-base {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink-mute);
}

/* Keep the disclaimer in a contained box instead of spanning the page */
.footer-base span:last-child {
  max-width: 62ch;
  line-height: 1.5;
}

/* ============================================
   Browse page
   ============================================ */
.browse-header {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line-soft);
  padding: 48px 0 36px 0;
}

.browse-header .eyebrow { margin-bottom: 14px; }
.browse-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}
.browse-header p {
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
  font-size: 1.05rem;
}

.browse-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 48px 0 96px 0;
}

@media (max-width: 880px) {
  .browse-layout { grid-template-columns: 1fr; gap: 28px; }
}

/* Filter sidebar */
.filters {
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 24px;
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

@media (max-width: 880px) {
  .filters { position: static; max-height: none; }
}

.filters h3 {
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 18px;
}

.filter-group {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.filter-group .group-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  display: block;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.filter-check input {
  accent-color: var(--forest);
  width: 16px;
  height: 16px;
}

.filter-check:hover { color: var(--ink); }

.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.filter-actions .btn { flex: 1; padding: 10px 14px; font-size: 0.88rem; }

/* Results */
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
  gap: 12px;
}

.results-count {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.results-count strong { color: var(--ink); font-weight: 600; }

.results-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-mute);
}

.results-sort select {
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-card);
  font-size: 0.9rem;
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231F4D3F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .results-grid { grid-template-columns: 1fr; }
}

.result-card {
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 160ms ease;
}

.result-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 20px -16px rgba(20, 50, 40, 0.22);
}

.result-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.result-card .vehicle-illus {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-warm);
  border-radius: 8px;
  color: var(--forest);
  padding: 10px;
}

.result-card .vehicle-illus svg {
  height: 100%;
  width: auto;
}

.result-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--paper-warm);
  color: var(--forest);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-light { background: var(--paper-sand); color: var(--ink-soft); }

.result-card h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.result-card .result-sub {
  color: var(--ink-mute);
  font-size: 0.9rem;
  margin: 0;
}

.result-card .result-specs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
}

.result-card .spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-card .spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  font-weight: 600;
}

.result-card .spec-val {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

.result-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.result-price {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}

.result-price small {
  font-family: var(--body);
  color: var(--ink-mute);
  font-size: 0.78rem;
  font-weight: 500;
  display: block;
}

/* ============================================
   Inquiry section (browse page)
   ============================================ */
.section-inquiry {
  background: var(--forest);
  color: var(--paper);
}

.section-inquiry h2 { color: var(--paper); }
.section-inquiry .eyebrow { color: var(--paper-sand); }
.section-inquiry .eyebrow::before { background: var(--paper-sand); }
.section-inquiry p { color: rgba(250, 248, 242, 0.82); }

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 800px) {
  .inquiry-grid { grid-template-columns: 1fr; gap: 36px; }
}

.inquiry-form {
  background: var(--paper-card);
  border-radius: 12px;
  padding: 32px;
  color: var(--ink);
}

.inquiry-form h3 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row.single { grid-template-columns: 1fr; }

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

.inquiry-form .field { margin-bottom: 0; }

.inquiry-form textarea {
  min-height: 100px;
  resize: vertical;
  font-family: var(--body);
}

.inquiry-form .btn { width: 100%; margin-top: 8px; }

.form-fineprint {
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin-top: 12px;
  text-align: center;
}

/* Reassurance points next to form */
.inquiry-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

.inquiry-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.inquiry-point .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(250, 248, 242, 0.12);
  border: 1px solid rgba(250, 248, 242, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-sand);
}

.inquiry-point h4 {
  color: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.inquiry-point p {
  color: rgba(250, 248, 242, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* ============================================
   Manufacturer pages
   ============================================ */
.mfg-header {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line-soft);
  padding: 80px 0;
}

.mfg-header-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 880px) {
  .mfg-header-grid { grid-template-columns: 1fr; gap: 32px; }
}

.mfg-header .eyebrow { margin-bottom: 16px; }

.mfg-header h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  margin: 0 0 22px 0;
  line-height: 1.05;
}

.mfg-header .lede {
  margin-bottom: 28px;
  font-size: 1.12rem;
  max-width: 60ch;
}

.mfg-program-tag {
  display: inline-block;
  padding: 9px 18px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.04em;
}

.mfg-header-logo {
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mfg-header-logo img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  display: block;
}

/* Primary brand detail cards */
.brand-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.brand-detail-grid.single {
  grid-template-columns: 1fr;
  max-width: 760px;
}

@media (max-width: 720px) {
  .brand-detail-grid { grid-template-columns: 1fr; }
}

.brand-detail-card {
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand-detail-head h3 {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 500;
}

.brand-detail-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--forest);
  background: var(--paper-warm);
  padding: 5px 11px;
  border-radius: 100px;
  white-space: nowrap;
}

.brand-detail-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.brand-detail-card .btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* Case-by-case brands (secondary) */
.section-case {
  background: var(--paper-warm);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.brand-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 720px) {
  .brand-secondary-grid { grid-template-columns: 1fr; }
}

.brand-secondary-card {
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-secondary-card h4 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-secondary-card .note-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--amber);
  background: rgba(184, 115, 42, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  margin-top: -2px;
}

.brand-secondary-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.brand-secondary-card .btn-link {
  margin-top: 4px;
  align-self: flex-start;
}

/* ============================================
   Legal pages (Privacy, Terms)
   ============================================ */
.legal-header {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}

.legal-header .eyebrow { margin-bottom: 14px; }

.legal-header h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 14px;
}

.legal-header .meta {
  color: var(--ink-mute);
  font-size: 0.95rem;
}

.legal-body {
  padding: 64px 0 96px;
  background: var(--paper);
}

.legal-body .wrap-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}

.legal-section:last-child { border-bottom: none; }

.legal-section .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--forest);
  font-weight: 400;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 10px;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  font-weight: 500;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-section p { margin: 0 0 14px; }
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-section ul li {
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:hover { color: var(--forest-bright); }

.legal-contact-block {
  margin-top: 12px;
  padding: 20px 24px;
  background: var(--paper-warm);
  border-radius: 8px;
  border: 1px solid var(--line-soft);
}

.legal-contact-block p { margin: 0; }

/* ============================================
   FAQ page
   ============================================ */
.faq-category {
  margin-bottom: 56px;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.faq-category-head .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--forest);
  font-weight: 400;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.faq-category-head h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
}

.faq-item {
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 26px 28px;
  margin-bottom: 14px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1.35;
}

.faq-answer {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-answer p {
  margin: 0 0 12px;
}

.faq-answer p:last-child {
  margin: 0;
}

.faq-answer a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.faq-answer li {
  margin-bottom: 4px;
}

/* ============================================
   Utility
   ============================================ */
.divider-line {
  height: 1px;
  background: var(--line-soft);
  border: none;
  margin: 0;
}

/* ============================================
   About / Why we exist (how-it-works page)
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   Nav scroll road (homepage)
   Van drives logo -> Submit Inquiry on scroll;
   dots are stops for each section.
   ============================================ */
.nav-road {
  position: relative;
  flex: 1;
  height: 42px;
  margin: 0 36px;
  min-width: 220px;
}

.nav-road-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.nav-road-line path {
  stroke: var(--line);
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-road-stop {
  position: absolute;
  bottom: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line-strong);
  transform: translate(-50%, 50%);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, bottom 200ms ease;
}

.nav-road-stop.is-passed {
  background: var(--forest);
  border-color: var(--forest);
  transform: translate(-50%, 50%) scale(1.3);
}

.nav-road-van {
  position: absolute;
  bottom: 9px;
  left: 0;
  height: 24px;
  width: auto;
  /* Outline van faces right; JS adds tilt with the road slope. */
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  transition: left 140ms linear, bottom 140ms linear, transform 140ms linear;
  will-change: left, bottom, transform;
}

@media (max-width: 900px) {
  .nav-road { display: none; }
}

/* ============================================
   Start here / inquiry — beige variant (homepage)
   ============================================ */
.section-inquiry--beige {
  background: var(--paper-warm);
}

.section-inquiry--beige h2 { color: var(--ink); }
.section-inquiry--beige .eyebrow { color: var(--forest); }
.section-inquiry--beige .eyebrow::before { background: var(--forest); }
.section-inquiry--beige p { color: var(--ink-soft); }

.section-inquiry--beige .inquiry-form {
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -32px rgba(20, 50, 40, 0.18);
}

/* ============================================
   Inquiry form — interactive pieces
   ============================================ */

/* Text break between contact info and vehicle needs */
.form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 18px;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.form-divider span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forest);
  white-space: nowrap;
}

/* Small helper text under a field label */
.form-subheader {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin: 0 0 10px;
  line-height: 1.45;
}

/* The green section tints all its <p> tags light; text inside the white
   form card must stay dark regardless of section background. */
.section-inquiry .inquiry-form p { color: var(--ink-mute); }
.section-inquiry .inquiry-form .form-status--error { color: #A33B2E; }

/* Selectable chip boxes */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip span {
  display: inline-block;
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  transition: all 140ms ease;
  user-select: none;
}

.chip:hover span {
  border-color: var(--forest);
  color: var(--forest);
}

.chip input:checked + span {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--forest-bright);
  outline-offset: 2px;
}

/* Image beside a section heading */
.section-head-image {
  /* Matches a card in the 2-column brand grid below (50% minus half the 24px gap) */
  width: calc(50% - 12px);
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  align-self: center;
}

/* Variant: show the whole image inside the same box, no cropping */
.section-head-image--contain {
  object-fit: contain;
  background: var(--paper-warm);
  padding: 12px;
}

@media (max-width: 880px) {
  .section-head { flex-wrap: wrap; }
  .section-head-image { width: 100%; margin-top: 20px; }
}

/* Image filling a cell of the brand grid */
.brand-grid-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 12px;
  align-self: stretch;
}

/* Image under the Start Here intro copy */
.inquiry-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 28px;
}

/* Honeypot: moved off-screen, invisible to humans */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submission status + success state */
.form-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.form-status--error {
  color: #A33B2E;
  font-weight: 500;
}

.inquiry-success {
  text-align: center;
  padding: 56px 36px;
}

.inquiry-success h3 {
  color: var(--forest);
  margin-bottom: 10px;
}

.inquiry-success p {
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 auto;
}
