/* ============================================================
   Billson Trucks — styles.css
   Light theme. Graphite-grey accent (#33373D). Partner brand
   colours: UD/Eicher red, Volvo blue. Hero keeps light text on its photo.
   ONE radius scale: --radius 8px / --radius-sm 4px.
   Self-hosted fonts: Frutiger LT Std, with Archivo and Plus Jakarta Sans fallbacks.
   ============================================================ */

/* ----------------------------------------------------------
   1. FONTS
   ---------------------------------------------------------- */
@font-face {
  font-family: 'Frutiger LT Std';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/FrutigerLTStd-Light.otf') format('opentype');
}

@font-face {
  font-family: 'Frutiger LT Std';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/FrutigerLTStd-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url('../fonts/archivo-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----------------------------------------------------------
   2. CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
  /* Palette — light theme (white base, cool light-blue surfaces) */
  --bg:           #FFFFFF;
  --bg-elev:      #EEF3FA;
  --bg-elev-2:    #E4EBF3;
  --border:       #D7DEE7;
  --text:         #1A1D21;
  --text-muted:   #585E65;
  --text-dim:     #6B7177;
  --accent:       #33373D;
  --accent-strong:#22262B;
  --accent-ink:   #FFFFFF;

  /* Partner brand colours (legible on light surfaces) */
  --ud:           #C8102E;
  --eicher:       #D2161D;
  --volvo:        #14457E;

  /* Subtle hover tint (dark ink on light) */
  --hover-tint:   rgba(0, 0, 0, 0.05);

  /* Radius */
  --radius:    8px;
  --radius-sm: 4px;

  /* Typography */
  --font-display: 'Frutiger LT Std', 'Archivo', system-ui, sans-serif;
  --font-body:    'Frutiger LT Std', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --section-gap: clamp(4rem, 8vw, 7rem);
  --container:   1280px;
  --gutter:      clamp(1rem, 4vw, 2rem);

  /* Shadow — soft, tinted for light surfaces */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:  0 6px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg:  0 16px 40px rgba(0, 0, 0, 0.14);
  --shadow-amber: 0 0 0 2px rgba(51, 55, 61, 0.22);
}

/* ----------------------------------------------------------
   3. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

ul, ol {
  list-style: none;
}

/* ----------------------------------------------------------
   4. SKIP LINK
   ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ----------------------------------------------------------
   5. FOCUS RINGS (WCAG AA)
   ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------
   6. TYPOGRAPHY SCALE
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: break-word;
  color: var(--text);
}

h1 {
  font-size: clamp(1.875rem, 4vw + 0.75rem, 4.5rem);
  font-weight: 800;
  font-variation-settings: 'wdth' 120;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw + 0.75rem, 3rem);
  font-weight: 700;
  font-variation-settings: 'wdth' 110;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.875rem);
  font-weight: 600;
  font-variation-settings: 'wdth' 105;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
  color: var(--text-muted);
  max-width: 100%;
}

/* Constrain prose paragraphs — use ch only at wider viewports */
@media (min-width: 600px) {
  .prose p,
  .pillar-body p,
  .about-story-content p,
  .facility-content p,
  .franchise-body p,
  .ps-content p,
  .mvv-card p,
  .footer-brand p {
    max-width: 65ch;
  }
}

.text-large {
  font-size: clamp(1.0625rem, 1.5vw + 0.25rem, 1.25rem);
  line-height: 1.6;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

/* ----------------------------------------------------------
   7. LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
  min-width: 0;
}

.section {
  padding-block: var(--section-gap);
}

.section-sm {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* ----------------------------------------------------------
   8. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  min-height: 44px;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Primary: amber fill */
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Secondary: ghost amber */
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Ghost: no border, text link feel */
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding-inline: 0.25rem;
}

.btn-ghost:hover {
  color: var(--accent-strong);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   9. NAVIGATION
   ---------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Wordmark */
.nav-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-wordmark .wordmark-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'wdth' 120;
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1;
  text-transform: uppercase;
}

.nav-wordmark .wordmark-sub {
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

/* Desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a:not(.btn) {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
  background: var(--hover-tint);
}

.nav-links a:not(.btn).active {
  color: var(--accent);
}

.nav-links .nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: var(--hover-tint);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 1rem var(--gutter);
  gap: 0.25rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a:not(.btn) {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-mobile a:not(.btn):hover,
.nav-mobile a:not(.btn):focus-visible {
  color: var(--text);
  background: var(--hover-tint);
}

.nav-mobile a:not(.btn).active {
  color: var(--accent);
}

.nav-mobile .mobile-cta {
  margin-top: 0.75rem;
  padding-inline: 1rem;
}

.nav-mobile .mobile-cta .btn {
  width: 100%;
  justify-content: center;
}

/* Desktop show */
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* ----------------------------------------------------------
   10. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-wordmark-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'wdth' 120;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
}

.footer-brand .footer-wordmark-sub {
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  max-width: 30ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 36px;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 0.875rem;
}

.footer-contact-item .label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-hours {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* Footer socials use the shared .social-link component (icon + label). */

.footer-partners {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid var(--border);
}

.footer-partners .partners-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.footer-partners .partner-name {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variation-settings: 'wdth' 110;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-partners .partner-name:hover {
  background: var(--hover-tint);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-dim);
  max-width: none;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }
}

/* ----------------------------------------------------------
   11. HERO (HOME)
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px; /* nav height */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-elev);
  /* CSS placeholder styling when image is absent */
  background: linear-gradient(
    135deg,
    var(--bg-elev) 0%,
    #EEF3FA 50%,
    var(--bg) 100%
  );
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  opacity: 0.3;
  pointer-events: none;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Scrim: bottom-weighted for text legibility */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(20, 22, 26, 0.42) 0%,
      rgba(20, 22, 26, 0.28) 36%,
      rgba(20, 22, 26, 0.08) 62%,
      transparent 82%
    ),
    linear-gradient(
      to top,
      rgba(20, 22, 26, 0.95) 0%,
      rgba(20, 22, 26, 0.72) 45%,
      rgba(20, 22, 26, 0.42) 70%,
      rgba(20, 22, 26, 0.28) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.hero-content .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: var(--container);
}

.hero-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.9);
}

.hero-stamp::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(242, 240, 234, 0.55);
}

.hero h1 {
  max-width: 15ch;
  color: #F2F0EA;
  font-size: clamp(2.75rem, 5.5vw + 1rem, 6rem);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw + 0.25rem, 1.1875rem);
  color: rgba(242, 240, 234, 0.8);
  max-width: min(52ch, 100%);
  line-height: 1.6;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

/* Hero entrance animation — CSS only, no JS dependency */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stamp {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero h1 {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-sub {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-actions {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stamp,
  .hero h1,
  .hero-sub,
  .hero-actions {
    animation: none;
  }
}

/* ----------------------------------------------------------
   12. PAGE HERO (INNER PAGES)
   ---------------------------------------------------------- */
.page-hero {
  padding-top: calc(64px + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: clamp(1rem, 1.5vw + 0.25rem, 1.125rem);
  width: 100%;
  max-width: 58ch;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: var(--border);
  font-size: 0.75rem;
}

.breadcrumb .current {
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   13. WHAT WE DO — NUMBERED EDITORIAL ROWS
   ---------------------------------------------------------- */
.pillars-section {
  background: var(--bg);
}

.pillar-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.pillar-row:first-child {
  border-top: 1px solid var(--border);
}

.pillar-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.pillar-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(51, 55, 61, 0.06);
  pointer-events: none;
}

.pillar-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-row:hover .pillar-image-wrap img {
  transform: scale(1.03);
}

.pillar-body {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  font-variation-settings: 'wdth' 110;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pillar-body h3 {
  margin-bottom: 1rem;
}

.pillar-body p {
  margin-bottom: 1.5rem;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.pillar-link:hover {
  color: var(--accent-strong);
  gap: 0.625rem;
}

@media (min-width: 768px) {
  .pillar-row {
    grid-template-columns: 1fr 1fr;
  }

  .pillar-image-wrap {
    aspect-ratio: auto;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }

  .pillar-row.reverse .pillar-image-wrap {
    order: 2;
    border-right: none;
    border-left: 1px solid var(--border);
  }
}

/* ----------------------------------------------------------
   14. CREDIBILITY / STATS BAND
   ---------------------------------------------------------- */
.stats-band {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.stat-item {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.stat-item:nth-child(2n) {
  border-right: none;
}

.stat-item:last-child,
.stat-item:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
  font-weight: 800;
  font-variation-settings: 'wdth' 120;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.stats-footnote {
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-dim);
  font-style: italic;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-item {
    border-bottom: none;
  }

  .stat-item:nth-child(2n) {
    border-right: 1px solid var(--border);
  }

  .stat-item:last-child {
    border-right: none;
  }
}

/* ----------------------------------------------------------
   15. PARTNERS STRIP
   ---------------------------------------------------------- */
.partners-strip {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
}

.partners-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.partners-label-text {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.partner-logo-slot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.partner-logo-slot img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.7) grayscale(1);
  transition: filter 0.2s ease;
}

.partner-logo-slot img:hover {
  filter: brightness(1) grayscale(0);
}

.partner-text-lockup {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  font-variation-settings: 'wdth' 115;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.partner-text-lockup:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (min-width: 768px) {
  .partners-inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

/* ----------------------------------------------------------
   16. FACILITY SECTION (SIGNATURE MOMENT)
   ---------------------------------------------------------- */
.facility-section {
  background: var(--bg);
  overflow: hidden;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.facility-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
  overflow: hidden;
}

.facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 60%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.facility-content {
  background: var(--bg);
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.facility-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.facility-stat {
  border-left: 1px solid var(--border);
  padding-left: 0.875rem;
}

.facility-stat .num {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.facility-stat .desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.125rem;
  line-height: 1.3;
}

@media (min-width: 900px) {
  .facility-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
  }

  .facility-image {
    aspect-ratio: auto;
  }

  .facility-image::after {
    background: linear-gradient(
      to right,
      transparent 74%,
      var(--bg) 100%
    );
  }
}

/* ----------------------------------------------------------
   17. CTA BAND
   ---------------------------------------------------------- */
.cta-band {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.75rem;
}

.cta-band p {
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-band .btn {
  min-width: 200px;
}

/* ----------------------------------------------------------
   18. TRUCKS PAGE — FRANCHISE BLOCKS
   ---------------------------------------------------------- */
.franchise-section {
  border-bottom: 1px solid var(--border);
}

.franchise-section:last-child {
  border-bottom: none;
}

/* Layout A: Full bleed image top, content below */
.franchise-layout-a .franchise-image {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--bg-elev);
}

.franchise-layout-a .franchise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.franchise-layout-a .franchise-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.9) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.franchise-layout-a .franchise-body {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

/* Layout B: Side by side */
.franchise-layout-b {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.franchise-layout-b .franchise-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elev);
  position: relative;
}

.franchise-layout-b .franchise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.franchise-layout-b:hover .franchise-image img {
  transform: scale(1.04);
}

.franchise-layout-b .franchise-body {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-elev);
}

@media (min-width: 900px) {
  .franchise-layout-b {
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
  }

  .franchise-layout-b .franchise-image {
    aspect-ratio: auto;
  }

  .franchise-layout-b.image-right .franchise-image {
    order: 2;
  }
}

/* Layout C: Dark card with accent border */
.franchise-layout-c {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.franchise-layout-c .franchise-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elev);
  position: relative;
}

.franchise-layout-c .franchise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.franchise-layout-c .franchise-body {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
  background: var(--bg-elev);
}

@media (min-width: 768px) {
  .franchise-layout-c {
    grid-template-columns: 5fr 4fr;
    align-items: stretch;
  }

  .franchise-layout-c .franchise-image {
    aspect-ratio: auto;
  }
}

/* Model chips */
.models-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.model-chip {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.375rem 0.75rem;
  white-space: nowrap;
}

.model-chip .duty {
  font-size: 0.6875rem;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 0.25rem;
}

.franchise-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.franchise-badge::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   19. PARTS & SERVICES
   ---------------------------------------------------------- */
.ps-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.ps-split.bg-elev {
  background: var(--bg-elev);
}

.ps-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elev-2);
  position: relative;
}

.ps-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ps-split:hover .ps-image img {
  transform: scale(1.03);
}

.ps-content {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.ps-facilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  margin-top: 1rem;
}

.ps-facility-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.ps-facility-item .marker {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.5em;
}

.ps-facility-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .ps-split {
    grid-template-columns: 1fr 1fr;
  }

  .ps-image {
    aspect-ratio: auto;
    min-height: 480px;
  }

  .ps-split.image-right .ps-image {
    order: 2;
  }
}

/* ----------------------------------------------------------
   20. FORMS & REQUEST A QUOTE
   ---------------------------------------------------------- */
.quote-header {
  padding-top: calc(64px + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.quote-header h1 {
  margin-bottom: 0.75rem;
}

/* Tab switcher */
.form-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: var(--bg-elev);
}

.tab-btn {
  flex: 1;
  padding: 0.875rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 0;
  min-height: 52px;
  position: relative;
}

.tab-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--radius-sm);
}

.tab-btn.active {
  background: var(--bg-elev-2);
  color: var(--text);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* No-JS: show both panels */
html:not(.js) .tab-panel {
  display: block;
}

html:not(.js) .form-tabs {
  display: none;
}

html:not(.js) .tab-panel + .tab-panel {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

/* Form layout */
.form-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .full-width {
    grid-column: 1 / -1;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-field label .req {
  color: var(--accent);
  margin-left: 0.125rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A8AEB8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

.form-field select option {
  background: var(--bg-elev-2);
  color: var(--text);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-amber);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #e06060;
}

.form-error {
  font-size: 0.8125rem;
  color: #e06060;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Contact preference radio group */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  padding-inline: 0.25rem;
}

.radio-group .radio-option input[type="radio"],
.radio-group .radio-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--text-dim);
  border-radius: 5px;
  background-color: #fff;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Selected state shows a clear white check on the accent fill (no :has needed) */
.radio-group .radio-option input[type="radio"]:checked,
.radio-group .radio-option input[type="checkbox"]:checked {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.radio-option label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
}

/* Make the chosen radio option stand out, not just the small native dot */
.radio-option:has(input:checked) {
  color: var(--accent);
  font-weight: 700;
}

/* Multi-select brand checkboxes */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkbox-chip {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-height: 44px;
}

.checkbox-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.checkbox-chip:has(input:checked) {
  border-color: var(--accent);
  background: rgba(51, 55, 61, 0.12);
}

/* Visible native checkbox — renders a clear tick when selected (no reliance on :has) */
.checkbox-chip input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-chip span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  pointer-events: none;
}

.checkbox-chip:has(input:checked) span {
  color: var(--accent);
  font-weight: 700;
}

/* No :has() fallback — visually show label */
.checkbox-chip-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Form success/error states */
.form-status {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 1rem;
}

.form-status.success {
  background: rgba(60, 180, 100, 0.12);
  border: 1px solid rgba(60, 180, 100, 0.3);
  color: #6fcf97;
  display: block;
}

.form-status.error {
  background: rgba(224, 96, 96, 0.12);
  border: 1px solid rgba(224, 96, 96, 0.3);
  color: #e06060;
  display: block;
}

.btn-submit {
  margin-top: 0.75rem;
  min-width: 180px;
}

.btn-submit.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ----------------------------------------------------------
   21. ABOUT PAGE
   ---------------------------------------------------------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.about-story-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elev);
  position: relative;
}

.about-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.about-story-content {
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .about-story {
    grid-template-columns: 1fr 1fr;
  }

  .about-story-image {
    aspect-ratio: auto;
    min-height: 520px;
  }
}

/* Mission / Vision / Values — three horizontal cards */
.mvv-section {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.mvv-card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--border);
  position: relative;
  text-align: center;
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mvv-card:hover::before {
  transform: scaleX(1);
}

.mvv-card:last-child {
  border-bottom: none;
}

.mvv-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  margin-inline: auto;
  color: var(--accent);
  font-size: 1.125rem;
}

.mvv-card h3 {
  margin-bottom: 0.875rem;
  font-size: clamp(1.333rem, 2vw + 0.583rem, 1.958rem); /* +1pt on the base h3 scale */
}

.mvv-card p {
  font-size: 1.0833rem; /* 16px +1pt */
}

/* Client asked for this band to fill more of the screen */
.mvv-section .container {
  max-width: 1500px;
}

@media (min-width: 768px) {
  .mvv-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mvv-card {
    border-bottom: none;
    border-right: 1px solid var(--border);
  }

  .mvv-card:last-child {
    border-right: none;
  }
}

/* Awards line */
.awards-band {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.awards-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(51, 55, 61, 0.04);
  flex: 1;
  min-width: 260px;
}

.award-text .award-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.3;
}

.award-text .award-body {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 0.125rem;
  max-width: none;
}

/* Team grid */
.team-section {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}

.team-intro {
  margin-bottom: 2.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.team-card {
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}

.team-card:hover {
  background: var(--bg-elev-2);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--bg-elev-2);
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-photo img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.team-info {
  padding: 1rem 1.125rem;
}

.team-info .name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.2;
}

.team-info .role {
  font-size: 0.8125rem;
  color: var(--accent);
  margin-top: 0.125rem;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.6rem;
  font-size: 0.8125rem;
}

.team-contact a {
  color: var(--text-muted);
  text-decoration: none;
  word-break: break-word;
}

.team-contact a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.team-caption {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
  font-style: italic;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    /* Keep the 4+4 layout but size each card ~1/5 of the row by narrowing
       the grid and centring it. */
    max-width: 80%;
    margin-inline: auto;
  }
}

/* ----------------------------------------------------------
   22. CONTACT PAGE
   ---------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-dept {
  margin-bottom: 2rem;
}

.contact-dept h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dim);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  margin-bottom: 0.875rem;
  font-variation-settings: normal;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.875rem;
}

.contact-item-text .label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.125rem;
}

.contact-item-text a,
.contact-item-text span,
.contact-item-text p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  max-width: none;
  display: block;
}

.contact-item-text a:hover {
  color: var(--accent);
}

.contact-hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.375rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-hours-grid .day {
  font-weight: 600;
  color: var(--text);
}

/* Map block */
.map-block {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--border);
}

.map-block img,
.map-block iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.92) 0%, transparent 100%);
  /* let the map underneath stay interactive; only the button catches clicks */
  pointer-events: none;
}

.map-overlay .btn {
  pointer-events: auto;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  min-height: 44px;
}

.social-link svg {
  color: var(--brand, var(--text-muted));
  transition: color 0.2s ease;
}

.social-link:hover {
  border-color: var(--brand, var(--accent));
  color: var(--text);
  background: var(--hover-tint);
}

/* Per-network brand colours: icon is always brand-tinted, border lifts to
   brand on hover; the label stays high-contrast for readability. */
.social-link.social-fb { --brand: #1877F2; }
.social-link.social-ig { --brand: #E1306C; }
.social-link.social-li { --brand: #0A66C2; }
.social-link.social-yt { --brand: #FF0000; }

/* ----------------------------------------------------------
   23. SCROLL REVEAL ANIMATIONS
   ---------------------------------------------------------- */
/* Gate behind .js class so no-JS renders everything immediately */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal="blur"] {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(12px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal="wipe"] {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal].revealed,
.js [data-reveal="blur"].revealed,
.js [data-reveal="wipe"].revealed {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0% 0 0);
}

.js [data-reveal="stagger"].revealed > * {
  opacity: 1;
  transform: none;
}

.js [data-reveal="stagger"].revealed > *:nth-child(1) { transition-delay: 0.05s; }
.js [data-reveal="stagger"].revealed > *:nth-child(2) { transition-delay: 0.12s; }
.js [data-reveal="stagger"].revealed > *:nth-child(3) { transition-delay: 0.19s; }
.js [data-reveal="stagger"].revealed > *:nth-child(4) { transition-delay: 0.26s; }
.js [data-reveal="stagger"].revealed > *:nth-child(5) { transition-delay: 0.33s; }
.js [data-reveal="stagger"].revealed > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal="blur"],
  .js [data-reveal="wipe"],
  .js [data-reveal="stagger"] > * {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
  }
}

/* ----------------------------------------------------------
   24. UTILITY CLASSES
   ---------------------------------------------------------- */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-dim    { color: var(--text-dim); }
.text-center { text-align: center; }
.mt-sm       { margin-top: 0.875rem; }
.mt-md       { margin-top: 1.5rem; }
.mt-lg       { margin-top: 2.5rem; }
.mb-sm       { margin-bottom: 0.875rem; }
.mb-md       { margin-bottom: 1.5rem; }
.gap-sm      { gap: 0.875rem; }
.flex        { display: flex; }
.flex-wrap   { flex-wrap: wrap; }
.items-center{ align-items: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------------------------
   25. IMAGE PLACEHOLDER CONTAINERS
   All img parents get this so there is never a blank slot
   ---------------------------------------------------------- */
.img-placeholder {
  background: var(--bg-elev);
  position: relative;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ----------------------------------------------------------
   26. FORM FIELDSET / LEGEND HELPERS
   ---------------------------------------------------------- */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Legend reads one clear step above form labels (0.875rem) */
.form-fieldset legend {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
  padding: 0;
  width: 100%;
}

.form-fieldset .field-hint {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 0.375rem;
}

/* Direct-contact nudge block */
.contact-nudge {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-nudge a {
  font-weight: 600;
}

/* ----------------------------------------------------------
   24. MOTION TOP-UP — magnetic/shine CTAs + hero parallax
   All additive, transform/opacity only, .js-gated, no CLS,
   and fully disabled under prefers-reduced-motion.
   ---------------------------------------------------------- */

/* --- Shine sweep on primary CTAs (all pages) --- */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: translateX(-180%) skewX(-18deg);
  pointer-events: none;
  z-index: 1;
}

/* Animate the glint only when JS is present, only on hover; on leave the
   rule drops and the pseudo snaps back off-canvas (invisible, no reverse glint). */
.js .btn-primary:hover::after {
  transform: translateX(320%) skewX(-18deg);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Magnetic CTAs (opt-in via data-magnetic; wired on the homepage hero) --- */
.js [data-magnetic] {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              box-shadow 0.2s ease;
  will-change: transform;
}

/* --- Hero parallax (signature scroll moment; opt-in via data-parallax) --- */
/* Baseline scale gives overscan headroom so the scroll translate never
   reveals an edge gap inside the hero's overflow:hidden box. */
.js [data-parallax] {
  transform: translate3d(0, var(--parallax, 0px), 0) scale(1.12);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after { display: none; }
  .js [data-magnetic] { transition: none; }
  .js [data-parallax] { transform: none; }
}

/* ----------------------------------------------------------
   END
   ---------------------------------------------------------- */

/* ============================================================
   LIGHT-THEME ADDITIONS: partner brand colours + hero on-dark
   ============================================================ */

/* "Our Partners" banner logos — full colour, no chips */
.partners-logos img.partner-logo {
  max-width: min(60vw, 225px);
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 600px) {
  .partners-logos img.partner-logo { max-height: 57px; }
}

/* Franchise badges + model chips take each partner's brand colour */
#ud-trucks .franchise-badge { color: var(--ud); }
#ud-trucks .franchise-badge::before { background: var(--ud); }
#eicher .franchise-badge { color: var(--eicher); }
#eicher .franchise-badge::before { background: var(--eicher); }
#volvo .franchise-badge { color: var(--volvo); }
#volvo .franchise-badge::before { background: var(--volvo); }

#ud-trucks .model-chip { border-color: var(--ud); color: var(--ud); }
#eicher .model-chip  { border-color: var(--eicher); color: var(--eicher); }

/* Footer partner chips */
.footer-partners .partner-name.partner-ud     { color: var(--ud);     border-color: var(--ud); }
.footer-partners .partner-name.partner-volvo  { color: var(--volvo);  border-color: var(--volvo); }
.footer-partners .partner-name.partner-eicher { color: var(--eicher); border-color: var(--eicher); }

/* Hero sits on a dark photo + scrim regardless of theme — keep its CTAs light */
.hero .btn-secondary {
  color: #F2F0EA;
  border-color: rgba(242, 240, 234, 0.45);
}
.hero .btn-secondary:hover {
  color: #F2F0EA;
  border-color: #F2F0EA;
  background: rgba(255, 255, 255, 0.08);
}

/* Footer partner logos — smaller than the hero/section banners */
.footer-partners .partner-logo {
  max-width: 84px;
  max-height: 24px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ============================================================
   CLIENT REVISION (2026-06-22): 3-col pillars, full-width
   partners band, dark footer, white + light-blue palette
   ============================================================ */

/* WHAT WE DO — 3 columns, image above text */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.pillar-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.pillar-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pillar-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  flex: 1;
}
.pillar-card-body .pillar-link { margin-top: auto; }
@media (max-width: 820px) {
  .pillars-grid { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }
}

/* OUR PARTNERS — full-width band below What We Do */
.partners-band {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
  text-align: center;
}
.partners-band-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.375rem);
  font-weight: 700;
  font-variation-settings: 'wdth' 110;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.partners-band-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 5rem);
  width: 100%;
  padding-inline: clamp(1rem, 5vw, 4rem);
}
/* Equal bounding box so each logo gets the same footprint regardless of
   its aspect ratio; centred in its column (so the middle logo is screen-centre). */
.partners-band-logos .partner-logo {
  justify-self: center;
  max-width: min(100%, 285px);
  max-height: clamp(60px, 9vw, 96px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.partners-band-logos > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* DARK FOOTER — redefine tokens in footer scope so descendants invert */
.site-footer {
  background: #1C2024;
  --text:       #F2F3F5;
  --text-muted: #AEB4BC;
  --text-dim:   #8A9099;
  --border:     rgba(255, 255, 255, 0.12);
  --hover-tint: rgba(255, 255, 255, 0.06);
  --accent:     #E6E8EB;
  color: var(--text-muted);
}
/* Footer logos sit on white chips so full-colour marks show on the dark bg */
.site-footer .partner-logo {
  background: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  box-sizing: content-box;
}

/* ============================================================
   CLIENT REVISION (2026-06-22 b): section backgrounds + hero CTA legibility
   ============================================================ */
/* Section background swaps (override earlier rules) */
.stats-band {
  background: #1C2024;
  --text: #F2F3F5;
  --text-muted: #AEB4BC;
  --text-dim: #AEB4BC;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #F2F3F5;
  color: var(--text-muted);
}
.mvv-section {
  background: #1C2024;
  --text: #F2F3F5;
  --text-muted: #AEB4BC;
  --text-dim: #AEB4BC;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #E6E8EB;
  color: var(--text-muted);
}
.cta-band        { background: var(--bg); }       /* white  (home + trucks + parts) */
.facility-section{ background: var(--bg-elev); }  /* baby blue (home) */

/* Hero CTAs: lift off the dark photo, and give the outline button a
   translucent fill so its light text stays legible over busy imagery. */
.hero .btn {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
.hero .btn-secondary {
  background: rgba(20, 22, 26, 0.40);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero .btn-secondary:hover {
  background: rgba(20, 22, 26, 0.55);
}

/* ============================================================
   NEW/USED TRUCK PAGES: image page-hero, card buttons, 4-tab forms
   ============================================================ */
/* Image page-hero (shorter than the home hero, light text on photo) */
.page-hero--image {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 64px;
  background: var(--bg-elev);
}
.page-hero--image .page-hero-bg { position: absolute; inset: 0; }
.page-hero--image .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero--image .page-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,22,26,0.90) 0%, rgba(20,22,26,0.55) 45%, rgba(20,22,26,0.30) 100%);
}
.page-hero--image .container { position: relative; z-index: 1; padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-hero--image h1 { color: #F2F0EA; }
.page-hero--image p { color: rgba(242, 240, 234, 0.85); }
.page-hero--image .breadcrumb a { color: rgba(242, 240, 234, 0.72); }
.page-hero--image .breadcrumb a:hover { color: #F2F0EA; }
.page-hero--image .breadcrumb .current { color: rgba(242, 240, 234, 0.95); }
.page-hero--image .breadcrumb .sep { color: rgba(242, 240, 234, 0.4); }
@media (max-width: 640px) { .page-hero--image { min-height: 46vh; } }

/* Pillar-card CTA button sits at the bottom of the card */
.pillar-card-body .btn { margin-top: auto; align-self: flex-start; }

/* Enquiry tabs: wrap to 2x2 on small screens (now 4 tabs) */
@media (max-width: 560px) {
  .form-tabs { flex-wrap: wrap; }
  .tab-btn { flex: 1 1 50%; }
}
