/* =========================================================
   Design System & Homepage Styles
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --color-navy:        #1A3A6B;
  --color-navy-deep:   #0F2747;
  --color-navy-bright: #2A5093;
  --color-gold:        #C9A84C;
  --color-gold-warm:   #D9B95E;
  --color-gold-deep:   #A08530;

  /* Neutrals */
  --color-white:       #FFFFFF;
  --color-bone:        #F7F5F1;
  --color-charcoal:    #1C1F26;
  --color-graphite:    #3A3F4A;
  --color-steel:       #6B7180;
  --color-mist:        #E6E8EC;
  --color-fog:         #F2F3F5;

  /* Functional */
  --color-line:        rgba(28, 31, 38, 0.10);
  --color-line-dark:   rgba(255, 255, 255, 0.14);
  --color-shadow:      rgba(15, 39, 71, 0.12);
  --color-shadow-lg:   rgba(15, 39, 71, 0.20);

  /* Typography */
  --font-display: "Oswald", "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Type scale */
  --fs-hero:   clamp(2.5rem, 5.5vw + 1rem, 5rem);
  --fs-h1:     clamp(2rem, 3.5vw + 1rem, 3.75rem);
  --fs-h2:     clamp(1.625rem, 2vw + 1rem, 2.5rem);
  --fs-h3:     clamp(1.25rem, 1vw + 0.875rem, 1.625rem);
  --fs-eyebrow: 0.8125rem;
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.75rem;
  --space-lg:  3rem;
  --space-xl:  5rem;
  --space-2xl: 8rem;

  /* Layout */
  --container:  1360px;
  --container-narrow: 920px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;

  /* Motion */
  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur:      320ms;
  --dur-slow: 560ms;
}

/* ---------- Base / Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-charcoal);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--color-navy); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--color-gold-deep); }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-sm);
  color: var(--color-charcoal);
  text-transform: uppercase;
}

p { margin: 0 0 1em; }

::selection { background: var(--color-gold); color: var(--color-navy-deep); }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.container--narrow { max-width: var(--container-narrow); }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-gold);
}

.section { padding: var(--space-xl) 0; }
.section--lg { padding: var(--space-2xl) 0; }
.section--dark { background: var(--color-navy-deep); color: var(--color-mist); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-white); }
.section--bone { background: var(--color-bone); }
.section--white { background: var(--color-white); }

.section-head { max-width: 760px; margin-bottom: var(--space-lg); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--color-graphite); font-size: 1.125rem; max-width: 80ch; }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.78); }
.section--contact { padding: var(--space-2xl) 0 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-navy-deep);
  border-color: var(--color-gold);
}
.btn--primary:hover {
  background: var(--color-gold-warm);
  border-color: var(--color-gold-warm);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(201, 168, 76, 0.55);
  color: var(--color-navy-deep);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-navy-deep);
  border-color: var(--color-white);
}

.btn--dark {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn--dark:hover {
  background: var(--color-navy-deep);
  border-color: var(--color-navy-deep);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn .arrow {
  width: 18px; height: 18px;
  transition: transform var(--dur) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Top utility strip ---------- */
.utility-bar {
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  gap: var(--space-md);
}
.utility-bar a { color: inherit; }
.utility-bar a:hover { color: var(--color-gold-warm); }
.utility-bar__left, .utility-bar__right {
  display: flex; gap: var(--space-md); align-items: center;
}
.utility-bar__item {
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.utility-bar__item svg { width: 14px; height: 14px; opacity: 0.85; }

@media (max-width: 720px) {
  .utility-bar__left .utility-bar__item:nth-child(n+2) { display: none; }
  .utility-bar__right { display: none; }
}

/* ---------- Header / Nav ---------- */

/* Reserve space for the header partial BEFORE it loads, so the page
   doesn't jump down when /partials/header.html gets injected by
   /js/include.js. Without this, the empty <div data-include="header">
   has zero height at first paint, the hero starts at the top of the
   viewport, then everything shifts down ~80px once the header arrives.

   Heights measured in browser at every breakpoint (see header_probe.py):
   - utility bar 40px + header 81px = 121px on most phones/tablets
   - utility bar 62px (wraps) + header 81px = 143px on <360px phones
   - utility bar 40px + header 82px = 122px on desktop

   We use the navy-deep color so the reserved strip is invisible against
   the hero (which also starts navy) and matches the utility bar.

   `.site-header__placeholder` is used belt-and-suspenders style: by class
   if you add it (recommended), or by attribute selector as a fallback so
   existing pages benefit without any HTML changes. */
[data-include="header"]:empty,
.site-header__placeholder {
  display: block;
  min-height: 143px; /* worst case (320px-wide phones) */
  background: var(--color-navy-deep);
}
@media (min-width: 360px) {
  [data-include="header"]:empty,
  .site-header__placeholder { min-height: 121px; }
}
@media (min-width: 1000px) {
  [data-include="header"]:empty,
  .site-header__placeholder { min-height: 122px; }
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px var(--color-shadow); }

/* Disable sticky on mobile — header scrolls away normally below 1000px,
   which is also where the desktop nav collapses into the hamburger menu.
   `position: static` is the explicit cancel for `position: sticky`. */
@media (max-width: 767px) {
  .site-header { position: static; }
}

.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
  gap: var(--space-md);
}

.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.brand__mark {
  height: 70px; width: auto;
}
.brand__text {
  display: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-navy-deep);
  font-size: 0.95rem;
  line-height: 1.1;
}
.brand__text span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  color: var(--color-gold-deep);
  margin-top: 2px;
}
@media (min-width: 900px) { .brand__text { display: block; } }
@media (max-width: 440px) {.brand__mark {height: 50px;width: auto;} }

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; gap: 0.25rem; align-items: center; }
}

.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast) var(--ease);
}
.nav__link:hover { color: var(--color-navy); background: var(--color-fog); }
.nav__item--has-menu > .nav__link::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur) var(--ease);
}
.nav__item--has-menu:hover > .nav__link::after { transform: rotate(225deg) translate(-2px, -2px); }

/* Dropdown */
.nav__menu {
  position: absolute; top: 100%; left: 0;
  min-width: 260px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 24px 48px -16px var(--color-shadow-lg);
  padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--dur) var(--ease);
  list-style: none; margin: 0;
}
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__menu a {
  display: block;
  padding: 0.65rem 0.875rem;
  font-size: var(--fs-small);
  color: var(--color-charcoal);
  border-radius: var(--radius-sm);
}
.nav__menu a:hover { background: var(--color-fog); color: var(--color-navy); }

/* Nested submenus inside the primary dropdown */
.nav__menu-item { position: relative; list-style: none; }
.nav__menu-item--has-sub > a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem;
}
.nav__menu-caret {
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--dur) var(--ease);
  flex: 0 0 auto;
}
.nav__menu-item--has-sub:hover > a .nav__menu-caret,
.nav__menu-item--has-sub:focus-within > a .nav__menu-caret {
  transform: rotate(45deg);
}
.nav__submenu {
  position: absolute; top: -0.5rem; left: 100%;
  min-width: 240px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 24px 48px -16px var(--color-shadow-lg);
  padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateX(-8px);
  transition: all var(--dur) var(--ease);
  list-style: none; margin: 0;
  z-index: 1;
}
.nav__menu-item--has-sub:hover > .nav__submenu,
.nav__menu-item--has-sub:focus-within > .nav__submenu {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.nav__submenu li { list-style: none; }
.nav__submenu a {
  display: block;
  padding: 0.6rem 0.875rem;
  font-size: var(--fs-small);
  color: var(--color-charcoal);
  border-radius: var(--radius-sm);
}
.nav__submenu a:hover { background: var(--color-fog); color: var(--color-navy); }

.header__cta { display: none; }
@media (min-width: 768px) { .header__cta { display: inline-flex; } }

/* Mobile toggle */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  color: var(--color-navy-deep);
}
@media (min-width: 1000px) { .nav-toggle { display: none; } }

.nav-toggle__bars {
  position: relative; width: 20px; height: 14px;
}
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0;
  height: 2px; background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  background: var(--color-navy-deep);
  color: var(--color-white);
  padding: 5rem 1.75rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out),
              visibility 0s linear var(--dur-slow);
  z-index: 60;
  box-shadow: -24px 0 48px -16px var(--color-shadow-lg);
}
.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform var(--dur-slow) var(--ease-out),
              visibility 0s linear 0s;
}
.mobile-nav__overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15, 39, 71, 0.55);
  backdrop-filter: blur(2px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.mobile-nav__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 999px) {
  .mobile-nav, .mobile-nav__overlay { display: block; }
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav__group { border-bottom: 1px solid var(--color-line-dark); padding: 0.5rem 0; }
.mobile-nav__group > a, .mobile-nav__group > summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.875rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  cursor: pointer;
  list-style: none;
}
.mobile-nav__group > summary::-webkit-details-marker { display: none; }
.mobile-nav__group > summary::after {
  content: "+";
  font-size: 1.4rem; color: var(--color-gold);
  font-family: var(--font-body);
  transition: transform var(--dur) var(--ease);
}
.mobile-nav__group[open] > summary::after { transform: rotate(45deg); }
.mobile-nav__sub { padding: 0 0 0.5rem; }
.mobile-nav__sub a {
  display: block; padding: 0.55rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}
.mobile-nav__sub a:hover { color: var(--color-gold-warm); }

/* Nested second-level submenu inside mobile drawer */
.mobile-nav__sub-group { list-style: none; }
.mobile-nav__nested {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.25rem;
  padding-top: 0.25rem;
}
.mobile-nav__sub-group:first-child .mobile-nav__nested {
  border-top: none; margin-top: 0; padding-top: 0;
}
.mobile-nav__nested > summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  list-style: none;
}
.mobile-nav__nested > summary::-webkit-details-marker { display: none; }
.mobile-nav__nested > summary::after {
  content: "+";
  font-size: 1.15rem;
  color: var(--color-gold);
  font-family: var(--font-body);
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.mobile-nav__nested[open] > summary::after { transform: rotate(45deg); }
.mobile-nav__nested-list {
  list-style: none; margin: 0;
  padding: 0.25rem 0 0.5rem 0.875rem;
  border-left: 1px solid rgba(201, 168, 76, 0.25);
}
.mobile-nav__nested-list li { list-style: none; }
.mobile-nav__nested-list a {
  display: block; padding: 0.45rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}
.mobile-nav__nested-list a:hover { color: var(--color-gold-warm); }
.mobile-nav__cta { margin-top: 2rem; }

body.no-scroll { overflow: hidden; }

/* =========================================================
   HERO
   ---------------------------------------------------------
   IMAGE CONTROLS — TWO MODES (see also HTML comment):

   ┌──────────────────────────────────────────────────────────┐
   │ A) FULL-BLEED BACKGROUND PHOTO                           │
   │    Uncomment the [HERO PHOTO] line in .hero__bg below    │
   │    and set the path (relative to THIS css file).         │
   │    Example: url("../images/shop-floor.jpg")              │
   │    Tune the gradient alpha values above the line to      │
   │    darken/lighten the overlay over your photo.           │
   │                                                          │
   │ B) IMAGE TO THE RIGHT OF TEXT (split layout)             │
   │    In index.html: change <section class="hero"> to       │
   │    <section class="hero hero--split"> and set the        │
   │    <img src="…"> inside .hero__media.                    │
   └──────────────────────────────────────────────────────────┘

   Both modes are responsive: mobile (<720px) suppresses the
   background photo, mobile (<900px) hides the split image.
   ========================================================= */
.hero {
  position: relative;
  color: var(--color-white);
  background: var(--color-navy-deep);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute; inset: 0;
  background:
    /* Overlay gradients keep text legible over the photo.
       Tune the alpha values (0.92 / 0.78 / 0.55) to darken/lighten. */
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),

    /* [HERO PHOTO] Uncomment the next line and set your image path.
       Path is RELATIVE TO THIS CSS FILE — e.g. ../images/shop.jpg */
    url("/images/atel-service-center-fleet-rv-truck-bus.webp"),

    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  z-index: -2;
}


/* Suppress background photo on small screens for performance + legibility */
@media (max-width: 720px) {
  .hero__bg {
    background:
      linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%),
      radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%);
  }
}


/* Subtle diagonal grid pattern overlay for industrial texture */
.hero__bg::after, .hero2__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 38px,
      rgba(255, 255, 255, 0.025) 38px,
      rgba(255, 255, 255, 0.025) 39px
    );
  z-index: 1;
}

.hero__grain {
  position: absolute; inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: overlay;
  will-change: transform;
  contain: strict;
}

/* =========================================================
   Per-page hero photos.
   Each modifier class swaps the photo URL only — the overlay
   gradients, radial glow and fallback solid stay the same so
   text legibility is consistent across every page.

   To add a new page hero:
     1. Drop the image into /images/
     2. Add a block below following the same pattern
     3. Add the matching class to <section class="hero ...">
   ========================================================= */
.hero--collision .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-bus-collision-repaired.jpg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--trucks-hd .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/heavy-duty-truck-repair.jpeg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--fleet-commercial .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-commercial-fleets.jpg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--about .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/hero-about.jpg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--contact .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-sevice-center-contact.jpg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--mechanical .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-diesel-mechanic-bus.jpg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--dpf .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/Diesel_Emissions_Repair.jpeg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--engine .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/Engine_drivetrain_repair_truck.jpeg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--fabrication .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/welding-fabrication-mechanic.webp"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--frame .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-frame-repair-bus.jpg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--paint .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-paint-services-hero.png"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--roof .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-roof-repair-before-hero.png"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--suspension .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/bus_suspension_alignment_repair.jpeg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--trucks-md .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-medium-duty-truck-repair.jpg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--gov-fleet .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/government-vehicle-at-atel.jpeg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--rv .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-class-a-rv-repair.jpg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--buses .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-bus-repair.jpg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--gov-account .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/government-vehicle-at-atel.jpeg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--fleet-services .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/fleet-services.jpeg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.hero--about .hero__bg {
  background:
    linear-gradient(115deg, rgba(15, 39, 71, 0.92) 0%, rgba(15, 39, 71, 0.92) 45%, rgba(15, 39, 71, 0.92) 100%),
    url("/images/atel-about-modern-facility.jpg"),
    radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

/* Mobile: suppress the per-page hero photo for performance + legibility.
   The base .hero__bg already has a mobile override above (around line 572),
   but the per-page rules `.hero--frame .hero__bg`, `.hero--about .hero__bg`,
   etc. have higher specificity (0,2,0 vs 0,1,0) and would otherwise win.
   This rule uses [class*="hero--"] to match all per-page variants with the
   same specificity, so the photo is stripped on mobile across every page.
   Any new .hero--foo variant added later is covered automatically. */
@media (max-width: 720px) {
  [class*="hero--"] .hero__bg {
    background:
      linear-gradient(160deg, #0F2747 0%, #1A3A6B 60%, #0F2747 100%),
      radial-gradient(ellipse at 70% 40%, rgba(201, 168, 76, 0.22) 0%, transparent 55%);
  }
}


/* The layout wrapper: default = single column (text only).
   Add `hero--split` on .hero to enable side-by-side text + image. */
.hero__layout {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

/* Right-side image: hidden by default, revealed by .hero--split */
.hero__media { display: none; }

.hero--split .hero__media {
  display: block;
  position: relative;
}
.hero--split .hero__media-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-md, 8px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  /* Subtle gold accent edge to match the brand */
  outline: 1px solid rgba(201, 168, 76, 0.2);
  outline-offset: -1px;
}

/* Two-column split layout activates at desktop widths only.
   Note: the per-element overrides for split mode are placed
   AFTER the base .hero h1 / .hero__lede rules below, so they
   correctly win on source-order priority. */
@media (min-width: 900px) {
  .hero--split .hero__layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  .hero--split .hero__inner { min-width: 0; }
}

/* On mobile, hide the split image entirely (legibility + perf) */
@media (max-width: 899px) {
  .hero--split .hero__media { display: none; }
}

.hero__inner {
  position: relative;
  padding: clamp(5rem, 10vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  display: grid;
  gap: var(--space-lg);
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.08);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  width: fit-content;
}
.hero__badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.2);
}

.hero h1 {
  font-size: var(--fs-hero);
  color: var(--color-white);
  line-height: 0.98;
  letter-spacing: 0.005em;
  max-width: 25ch;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.hero h1 .accent {
  color: var(--color-gold);
  /*font-style: italic;*/
  font-weight: 500;
  display: inline-block;
}

.hero__lede {
  font-size: clamp(1.05rem, 1vw + 0.85rem, 1.22rem);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.82);
  max-width: 65ch;
  margin: 0;
}

.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: 0.875rem;
  margin-top: var(--space-sm);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 760px;
}
.hero__meta-item {
  display: flex; flex-direction: column; gap: 0.25rem;
}
.hero__meta-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
}
.hero__meta-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Hero entrance animation */
/*.hero h1, .hero__lede, .hero__cta-row, .hero__badge, .hero__meta {
  opacity: 0; transform: translateY(20px);
  animation: heroIn var(--dur-slow) var(--ease-out) forwards;
}
.hero__badge { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero__lede { animation-delay: 0.3s; }
.hero__cta-row { animation-delay: 0.45s; }
.hero__meta { animation-delay: 0.6s; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero__lede, .hero__cta-row, .hero__badge, .hero__meta {
    animation: none; opacity: 1; transform: none;
  }
}
@media (max-width: 720px) {
  .hero h1, .hero__lede, .hero__cta-row, .hero__badge, .hero__meta {
    animation: none; opacity: 1; transform: none;
  }
}*/

/* Split-mode per-element tweaks — placed AFTER the base .hero h1
   etc. rules so they win on source-order priority. The text column
   is narrower in split mode, so type scales down and meta uses a
   more flexible grid. */
@media (min-width: 900px) {
  .hero--split .hero h1 {
    font-size: clamp(2.5rem, 4vw + 0.5rem, 4.25rem);
    max-width: 100%;
    line-height: 1.02;
    overflow-wrap: break-word;
  }
  .hero--split .hero__lede {
    max-width: 100%;
    font-size: clamp(1rem, 0.5vw + 0.85rem, 1.15rem);
  }
  .hero--split .hero__meta {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    max-width: 100%;
    gap: var(--space-md);
  }
  .hero--split .hero__meta-num { font-size: 1.5rem; }
  .hero--split .hero__inner {
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  }
}

/* Mobile hero — tighter padding, scaled type, simpler meta grid */
@media (max-width: 720px) {
  .hero__inner {
    padding: 2.5rem 0 2.75rem;
    gap: 1rem;
  }
  .hero__badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    letter-spacing: 0.18em;
  }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.05;
    max-width: 100%;
    margin-bottom: 0.25rem;
  }
  .hero__lede {
    font-size: 1rem;
    line-height: 1.5;
  }
  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 0.5rem;
  }
  .hero__cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
  .hero__meta-num { font-size: 1.5rem; }
  .hero__meta-label { font-size: 0.7rem; letter-spacing: 0.1em; }
}

@media (max-width: 380px) {
  .hero__meta {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.75rem;
  }
  .hero__meta-num { font-size: 1.35rem; }
}



/* =========================================================
   3-ICON CAPABILITY BAR (Collision / Diesel / Fleet)
   ========================================================= */
.cap-bar {
  background: var(--color-fog);
  border-bottom: 1px solid var(--color-line);
  margin-top: -1px; /* avoid hairline gap with hero */
}
.cap-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.cap-bar__item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  color: var(--color-charcoal);
  border-right: 1px solid var(--color-line);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  position: relative;
}
.cap-bar__item:last-child { border-right: none; }
.cap-bar__item::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--color-gold); transform: scaleX(0);
  transform-origin: left; transition: transform var(--dur) var(--ease);
}
.cap-bar__item:hover { background: var(--color-bone); color: var(--color-navy); }
.cap-bar__item:hover::before { transform: scaleX(1); }

.cap-bar__icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  background: var(--color-navy-deep);
  color: var(--color-gold);
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease);
}
.cap-bar__icon svg { width: 26px; height: 26px; }
.cap-bar__item:hover .cap-bar__icon { background: var(--color-navy); }

.cap-bar__text { display: flex; flex-direction: column; min-width: 0; }
.cap-bar__eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: 0.15rem;
}
.cap-bar__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

@media (max-width: 800px) {
  .cap-bar .container { grid-template-columns: 1fr; }
  .cap-bar__item {
    border-right: none;
    border-bottom: 1px solid var(--color-line);
    padding: 1.1rem 1.25rem;
  }
  .cap-bar__item:last-child { border-bottom: none; }
}

/* =========================================================
   FACILITY PROOF STRIP
   Drop into V3 styles.css (anywhere after the design tokens).
   Uses existing V3 tokens: --color-surface, --color-steel,
   --color-gold, --font-mono, --font-display, --color-text-dim.
   ========================================================= */

.proof-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-steel);
  border-bottom: 1px solid var(--color-steel);
  position: relative;
}
.proof-strip::before, .proof-strip::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-deep) 20%, var(--color-gold) 50%, var(--color-gold-deep) 80%, transparent);
  pointer-events: none;
}
.proof-strip::before { top: -1px; }
.proof-strip::after  { bottom: -1px; }

.proof-strip__header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--color-steel);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.proof-strip__header-label { color: var(--color-gold); }
.proof-strip__header-label::before {
  content: "■";
  color: var(--color-gold);
  margin-right: 0.5rem;
  font-size: 0.65em;
}
.proof-strip__header-ref { color: var(--color-text-faint); }
@media (max-width: 560px) {
  .proof-strip__header-ref { display: none; }
}

.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
@media (max-width: 1100px) { .proof-strip__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .proof-strip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .proof-strip__grid { grid-template-columns: 1fr; } }

.proof-cell {
  padding: 1.4rem 1.25rem;
  border-right: 1px solid var(--color-steel);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}
.proof-cell:nth-child(5n) { border-right: none; }
@media (max-width: 1100px) {
  .proof-cell:nth-child(5n) { border-right: 1px solid var(--color-steel); }
  .proof-cell:nth-child(3n) { border-right: none; }
  .proof-cell:nth-child(-n+3) { border-bottom: 1px solid var(--color-steel); }
}
@media (max-width: 720px) {
  .proof-cell:nth-child(3n) { border-right: 1px solid var(--color-steel); }
  .proof-cell:nth-child(2n) { border-right: none; }
  .proof-cell { border-bottom: 1px solid var(--color-steel); }
  .proof-cell:last-child { border-bottom: none; }
}
@media (max-width: 440px) {
  .proof-cell { border-right: none; border-bottom: 1px solid var(--color-steel); }
  .proof-cell:last-child { border-bottom: none; border-right:none;}
  .proof-cell:nth-child(3n) { border-right: none; }
}

.proof-cell__top {
  display: flex; align-items: center; gap: 0.5rem;
}
.proof-cell__icon {
  width: 18px; height: 18px;
  color: var(--color-gold);
  flex: 0 0 auto;
}
.proof-cell__id {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--color-text-faint);
  text-transform: uppercase;
}

.proof-cell__value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1vw + 0.9rem, 1.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.proof-cell__value em {
  font-style: normal;
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: 0.7em;
  font-weight: 500;
  margin-left: 0.15em;
  letter-spacing: 0.04em;
}
.proof-cell__value .sep {
  color: var(--color-gold-deep);
  font-weight: 400;
  margin: 0 0.2em;
}

.proof-cell__caption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  line-height: 1.4;
  margin-top: auto;
}

/* ---------- COMPACT VARIANT ---------- */
.proof-strip--compact { background: #06080B; }
.proof-strip--compact .proof-strip__header { display: none; }
.proof-strip--compact .proof-cell {
  padding: 1rem 1.1rem;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}
.proof-strip--compact .proof-cell__top { display: none; }
.proof-strip--compact .proof-cell__inline-icon {
  width: 20px; height: 20px;
  color: var(--color-gold);
  flex: 0 0 auto;
}
.proof-strip--compact .proof-cell__body {
  display: flex; flex-direction: column; gap: 0.15rem;
  min-width: 0;
}
.proof-strip--compact .proof-cell__value {
  font-size: clamp(0.92rem, 0.5vw + 0.85rem, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.proof-strip--compact .proof-cell__value em { font-size: 0.72em; }
.proof-strip--compact .proof-cell__caption {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

/* =========================================================
   CAPABILITY OVERVIEW
   ========================================================= */
.cap-overview { background: var(--color-white); }
.cap-overview__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .cap-overview__grid { grid-template-columns: 1fr; }
}

.cap-overview__intro h2 { font-size: var(--fs-h1); }
.cap-overview__intro h2 .accent {
  color: var(--color-gold);
  /*font-style: italic;*/
  font-weight: 500;
  display: inline-block;
  }
  
.cap-overview__intro p { color: var(--color-graphite); font-size: 1.125rem; line-height: 1.7; }

.cap-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1rem;
}
.cap-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  background: var(--color-bone);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.cap-list__link {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.cap-list__link:hover {
   box-shadow: 0 24px 40px -20px var(--color-shadow-lg);
    border-color: 1px solid var(--color-gold);
    color: inherit;
}
.cap-list__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gold-deep);
  line-height: 1;
}
.cap-list__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy-deep);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.cap-list__desc { font-size: 0.95rem; color: var(--color-graphite); margin: 0; line-height: 1.55; }

/* =========================================================
   SERVICE TILES
   ========================================================= */
.services { background: var(--color-bone); }
.services-fleet-home { background: var(--color-bone); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gold-bg {   
    background: var(--color-gold-warm);
    padding: 10px;
    border-left: 10px solid var(--color-navy);
    margin: 30px 0;
 }
 .gold-bg strong {
    color: var(--color-navy);
 }

.tile {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  isolation: isolate;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -20px var(--color-shadow-lg);
  border-color: var(--color-gold);
  color: inherit;
}

.tile__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(15, 39, 71, 0.65) 0%, rgba(15, 39, 71, 0.05) 60%, rgba(15, 39, 71, 0.4) 100%),
    linear-gradient(135deg, #2A5093 0%, #1A3A6B 50%, #0F2747 100%);
  overflow: hidden;
}
/* SVG illustration sits inside for now — replace with real shop photography for production */
/*.tile__illustration {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.85);
}*/
.tile__illustration {
  position: relative;
  overflow: hidden;
}

.tile__illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

/* Brand color tint */
.tile__illustration::before {
  content: "";
  position: absolute;
  inset: 0;

  background: #163e74;
  opacity: 0.3;

  z-index: 1;
  pointer-events: none;

  transition: opacity 0.4s ease;
}

/* Subtle dark overlay */
.tile__illustration::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
  linear-gradient(
    to top,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.05)
  );

  opacity: 0;
  transition: opacity 0.4s ease;

  pointer-events: none;
}

/* Hover Effects */
.tile:hover .tile__illustration img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.tile:hover .tile__illustration::after {
  opacity: 1;
}

.tile__illustration svg { width: 60%; height: 60%; max-width: 200px; }

.tile__photo-tag {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(15, 39, 71, 0.78);
  color: var(--color-gold-warm);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 168, 76, 0.35);
  z-index:99;
}

.tile__priority {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
}

.tile__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex; flex-direction: column; flex: 1;
}
.tile__eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: 0.5rem;
}
.tile__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: var(--color-navy-deep);
}
.tile__desc { font-size: 0.95rem; color: var(--color-graphite); margin-bottom: 1rem; }
.tile__more {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-navy);
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500;
}
.tile__more::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}
.tile:hover .tile__more::after { transform: translateX(4px); }


/* =========================================================
   PATHS 
   ========================================================= */
.path { background: var(--color-bone); }
.path-fleet-home { background: var(--color-bone); }

.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* =========================================================
   SPRAY BOOTH DIFFERENTIATOR — FEATURE STRIP
   ========================================================= */
.feature-strip {
  background:
    linear-gradient(90deg, rgba(15, 39, 71, 0.95) 0%, rgba(15, 39, 71, 0.78) 55%, rgba(15, 39, 71, 0.5) 100%),
    linear-gradient(135deg, #1A3A6B 0%, #0F2747 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.feature-strip::before {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 45%;
  /* PLACEHOLDER: real spray-booth photography goes here for production */
  background:
    radial-gradient(circle at 30% 50%, rgba(201, 168, 76, 0.25), transparent 60%),
    linear-gradient(135deg, #2A5093, #0F2747);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.7;
}
.feature-strip__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (max-width: 900px) {
  .feature-strip__grid { grid-template-columns: 1fr; }
  .feature-strip::before { display: none; }
}

.feature-strip h2 {
  font-size: var(--fs-h1);
  color: var(--color-white);
  max-width: 18ch;
}
.feature-strip h2 em {
  color: var(--color-gold);
  font-style: normal;
  font-weight: 500;
}
.feature-strip p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 50ch;
}

.spec-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.spec-block__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  margin-bottom: 1.25rem;
}
.spec-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  gap: 1rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row__label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}
.spec-row__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.02em;
}
.spec-row__value .unit {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-left: 0.25rem;
}

/* =========================================================
   FLEET — B2B BLOCK
   ========================================================= */
.fleet {
  background: var(--color-bone);
  position: relative;
}
.fleet__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: var(--space-lg);
}
@media (max-width: 900px) {
  .fleet__top { grid-template-columns: 1fr; align-items: start; }
}
.fleet__top h2 { font-size: var(--fs-h1); margin: 0; }
.fleet__top p { color: var(--color-graphite); font-size: 1.075rem; max-width: 52ch; margin: 0; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bone);
}
.trust-stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-white);
  text-align: left;
}
.trust-stat:last-child { border-right: none; }
@media (max-width: 700px) { .trust-stat { border-right: none; } }

.trust-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3vw + 1rem, 3.5rem);
  font-weight: 600;
  color: var(--color-navy-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.trust-stat__num .suffix {
  color: var(--color-gold);
  font-size: 0.7em;
  margin-left: 0.1em;
}
.trust-stat__label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-graphite);
  line-height: 1.3;
}

.fleet__inquiry {
  margin-top: var(--space);
  background: var(--color-navy-deep);
  color: var(--color-white);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.fleet__inquiry::before {
  content: ""; position: absolute;
  top: -50%; right: -10%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18), transparent 65%);
  pointer-events: none;
}
@media (max-width: 800px) { .fleet__inquiry { grid-template-columns: 1fr; } }

.fleet__inquiry h3 {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.fleet__inquiry h3 em {
  color: var(--color-gold);
  font-style: normal;
  font-weight: 500;
}
.fleet__inquiry p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 1.05rem;
}
.fleet__inquiry-cta {
  display: flex; flex-direction: column; gap: 0.875rem;
  position: relative; z-index: 1;
}
.fleet__inquiry-cta .btn { width: 100%; justify-content: center; }
.fleet__inquiry-cta-phone {
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
.fleet__inquiry-cta-phone a {
  color: var(--color-gold-warm);
  display: block;
  font-size: 1.5rem;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* =========================================================
   RV — PREMIUM POSITIONING
   ========================================================= */
.rv {
  background: var(--color-navy-deep);
  color: var(--color-mist);
  position: relative;
  overflow: hidden;
}
.rv::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 80px,
      rgba(201, 168, 76, 0.04) 80px,
      rgba(201, 168, 76, 0.04) 81px
    );
  pointer-events: none;
}
.rv__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .rv__grid { grid-template-columns: 1fr; }
}

.rv__media {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.6), rgba(15, 39, 71, 0.2)),
    linear-gradient(160deg, #3A5990, #1A3A6B 60%, #0F2747);
  border: 1px solid rgba(201, 168, 76, 0.3);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.rv__media-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(15, 39, 71, 0.78);
  color: var(--color-gold-warm);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 168, 76, 0.35);
}
.rv__media svg { width: 70%; max-width: 360px; color: rgba(255, 255, 255, 0.9); }

.rv h2 {
  font-size: var(--fs-h1);
  color: var(--color-white);
}
.rv h2 em {
  color: var(--color-gold);
  font-style: normal;
  font-weight: 500;
}
.rv__lede {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.rv__points, .gov__points, .rv__points_dark, .gov__points_dark {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; gap: 0.875rem;
}
.rv__points li {
  display: flex; gap: 0.875rem; align-items: flex-start;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.gov__points li, .rv__points_dark li, .gov__points_dark li {
  display: flex; gap: 0.875rem; align-items: flex-start;
  font-size: 1rem;
  color: var(--color-graphite);
}

.rv__points li::before, .gov__points li::before, .rv__points_dark li::before, .gov__points_dark li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  margin-top: 0.55rem;
}

/* =========================================================
   VEHICLE TYPES — quick navigation grid
   ========================================================= */
.vehicle-types { background: var(--color-bone); }
.vehicle-types__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.vehicle-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: var(--color-navy-deep);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.vehicle-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -16px var(--color-shadow);
  color: var(--color-navy-deep);
}
.vehicle-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--color-bone);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  color: var(--color-navy);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.vehicle-card:hover .vehicle-card__icon {
  background: var(--color-navy-deep);
  color: var(--color-gold);
}
.vehicle-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 2.5;
}
.vehicle-card__sub {
  font-size: 0.85rem;
  color: var(--color-graphite);
  margin-top: -0.25rem;
  line-height: 1.2;
}
.vehicle-card__arrow {
  margin-top: auto;
  align-self: flex-end;
  color: var(--color-gold-deep);
  transition: transform var(--dur) var(--ease);
}
.vehicle-card:hover .vehicle-card__arrow { transform: translate(4px, -4px); }


/*=========================================================
   CONTACT US
   ========================================================= */
#quote-form {}



/* =========================================================
  AREAS SERVICED
   ========================================================= */
.areas-strip {
  background:
    linear-gradient(90deg, rgba(15, 39, 71, 0.95) 0%, rgba(15, 39, 71, 0.78) 55%, rgba(15, 39, 71, 0.5) 100%),
    linear-gradient(135deg, #1A3A6B 0%, #0F2747 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.areas-strip__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (max-width: 900px) {
  .areas-strip__grid { grid-template-columns: 1fr; }
  .areas-strip::before { display: none; }
}

.areas-strip h2 {
  font-size: var(--fs-h1);
  color: var(--color-white);
  max-width: 18ch;
}
.areas-strip h2 em {
  color: var(--color-gold);
  font-style: normal;
  font-weight: 500;
}
.areas-strip p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 50ch;
}

.spec-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.spec-block__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  margin-bottom: 1.25rem;
}
.spec-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  gap: 1rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row__label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}
.spec-row__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.02em;
}
.spec-row__value .unit {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-left: 0.25rem;
}


/* =========================================================
   WHO WE SERVE - ABOUT PAGE
   ========================================================= */
.who-types { background: var(--color-bone); }
.who-types__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.who-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: var(--color-navy-deep);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.who-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -16px var(--color-shadow);
  color: var(--color-navy-deep);
}
.who-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--color-bone);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  color: var(--color-navy);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.wbo-card:hover .vehicle-card__icon {
  background: var(--color-navy-deep);
  color: var(--color-gold);
}
.who-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.who-card__sub {
  font-size: 0.85rem;
  color: var(--color-graphite);
  margin-top: -0.25rem;
  line-height: 1.2;
}
.who-card__arrow {
  margin-top: auto;
  align-self: flex-end;
  color: var(--color-gold-deep);
  transition: transform var(--dur) var(--ease);
}
.who-card:hover .who-card__arrow { transform: translate(4px, -4px); }



/* =========================================================
   FAQS ACCORDION STYLE
   ========================================================= */

  .faq__list {
    display: grid;
    gap: 0.75rem;
  }
  .faq__item {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  }
  .faq__item[open] {
    border-color: var(--color-gold);
    box-shadow: 0 10px 28px -18px var(--color-shadow);
  }
  .faq__q {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--color-navy-deep);
    line-height: 1.35;
    transition: background var(--dur-fast) var(--ease);
  }
  .faq__q::-webkit-details-marker { display: none; }
  .faq__q:hover { background: var(--color-fog); }
  .faq__item[open] .faq__q { background: var(--color-fog); }
 
  /* +/- icon, pure CSS, rotates on open */
  .faq__icon {
    position: relative;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--color-gold);
    transition: transform var(--dur) var(--ease), background var(--dur-fast) var(--ease);
  }
  .faq__icon::before,
  .faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--color-gold-deep);
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .faq__icon::before {
    width: 10px;
    height: 1.5px;
    transform: translate(-50%, -50%);
  }
  .faq__icon::after {
    width: 1.5px;
    height: 10px;
    transform: translate(-50%, -50%);
  }
  .faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--color-gold); }
  .faq__item[open] .faq__icon::after { opacity: 0; }
  .faq__item[open] .faq__icon::before { background: var(--color-navy-deep); }
 
  .faq__a {
    padding: 0 1.35rem 1.35rem;
    color: var(--color-graphite);
    font-size: 1rem;
    line-height: 1.65;
    border-top: 1px solid var(--color-line);
  }
  .faq__a p { margin: 1rem 0 0; }
  .faq__a p:last-child { margin-bottom: 0; }
 
  @media (max-width: 600px) {
    .faq__q { font-size: 0.98rem; padding: 1rem 1.1rem; }
    .faq__a { padding: 0 1.1rem 1.1rem; }
  }

/* =========================================================
   FLEET COLLISION SECTION
   ========================================================= */

  .fleet-collision {
    background: var(--color-navy-deep);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  /* Subtle gold radial accent in the corner */
  .fleet-collision::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.10), transparent 65%);
    pointer-events: none;
    z-index: -1;
  }
 
  /* ---- Head: copy + image side by side ---- */
  .fleet-collision__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    margin-bottom: 3rem;
  }
  @media (max-width: 800px) {
    .fleet-collision__head {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }
 
  .fleet-collision__head-copy h2 {
    color: var(--color-white);
    margin-bottom: 0.75rem;
    font-size: var(--fs-h1);
  }
  .fleet-collision__head-copy h2 em {
    color: var(--color-gold-warm);
    font-style: normal;
  }
  .fleet-collision__head-copy p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 55ch;
    margin: 0 0 1.75rem;
  }
 
  /* Image: gold accent border on one corner, gentle hover lift */
  .fleet-collision__media {
    position: relative;
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .fleet-collision__media::after {
    /* Decorative gold corner accent — bottom-left */
    content: "";
    position: absolute;
    bottom: -1px;
    left: -1px;
    width: 60px;
    height: 60px;
    border-left: 3px solid var(--color-gold);
    border-bottom: 3px solid var(--color-gold);
    border-bottom-left-radius: var(--radius-md);
    pointer-events: none;
  }
  .fleet-collision__media img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
  }
 
  .fleet-collision__caption {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(15, 39, 71, 0.85);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.55rem 0.9rem;
    border-top-left-radius: var(--radius-sm);
  }
 
  /* ---- Differentiator cards (unchanged from prior version) ---- */
  .fleet-collision__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  @media (max-width: 800px) {
    .fleet-collision__grid { grid-template-columns: 1fr; }
  }
 
  .fc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    position: relative;
    transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
  }
  .fc-card:hover {
    border-color: rgba(201, 168, 76, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
  }
 
  .fc-card__index {
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    color: var(--color-gold-warm);
    margin-bottom: 1rem;
    font-weight: 500;
  }
  .fc-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.5vw + 0.5rem, 1.4rem);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    line-height: 1.25;
  }
  .fc-card__desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  .fc-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
  }
  .fc-card__list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    line-height: 1.4;
  }
  .fc-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 4px;
    border-left: 1.5px solid var(--color-gold);
    border-bottom: 1.5px solid var(--color-gold);
    transform: rotate(-45deg);
  }
 
  /* Footer note */
  .fleet-collision__foot {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
  }
  .fleet-collision__foot p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    max-width: 70ch;
    margin: 0 auto;
  }
  .fleet-collision__foot a {
    color: var(--color-gold-warm);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color var(--dur-fast) var(--ease);
  }
  .fleet-collision__foot a:hover { color: var(--color-gold); }
 
  /* btn--gold — reuses btn base, gold-on-navy contrast */
  .btn--gold {
    background: var(--color-gold);
    color: var(--color-navy-deep);
    border: 1px solid var(--color-gold);
  }
  .btn--gold:hover {
    background: var(--color-gold-warm);
    border-color: var(--color-gold-warm);
    color: var(--color-navy-deep);
  }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  background: var(--color-charcoal);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.18), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(26, 58, 107, 0.4), transparent 60%);
}
.final-cta .container { position: relative; }
.final-cta h2 {
  font-size: clamp(2rem, 4vw + 1rem, 4rem);
  color: var(--color-white);
  max-width: 18ch;
  margin: 0 auto 1rem;
}
.final-cta h2 em { color: var(--color-gold); font-style: normal; font-weight: 500; }
.final-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 50ch;
  margin: 0 auto 2rem;
}
.final-cta h3 {
    font-size: clamp(2rem, 2vw + 1rem, 2rem);
    color: var(--color-white);
    max-width: 32ch;
    margin: 1rem auto 1rem;
}
.final-cta-sub {
    text-align: center;
    padding: 3rem;
    background: var(--color-gold-warm);
}
.final-cta__row {
  display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-xl) 0 var(--space-sm);
  border-top: 4px solid var(--color-gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .brand__mark { height: 64px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 32ch; }

.footer-social {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-social li { list-style: none; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--color-gold);
  color: var(--color-navy-deep);
  border-color: var(--color-gold);
  transform: translateY(-1px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.footer-col a:hover { color: var(--color-gold-warm); }

.footer-contact-row {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.footer-contact-row svg { width: 16px; height: 16px; color: var(--color-gold); flex: 0 0 auto; }
.footer-contact-row a { color: rgba(255, 255, 255, 0.88); }

.footer-bottom {
  border-top: 1px solid var(--color-line-dark);
  padding-top: 1.25rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   Mobile floating call/quote bar
   ========================================================= */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: var(--color-navy-deep);
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  padding: 0.5rem;
  gap: 0.5rem;
}
.mobile-cta-bar a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: 44px; /* thumb-accessible per scope */
}
.mobile-cta-bar a.call { background: var(--color-gold); color: var(--color-navy-deep); }
.mobile-cta-bar a.quote { background: transparent; color: var(--color-white); border: 1px solid rgba(255, 255, 255, 0.35); }

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 64px; }
}

/* ---------- Reveal-on-scroll utility ----------
   Sections animate up & in once they enter the viewport.
   JS toggles `.is-visible` via IntersectionObserver. */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 768px) {
.reveal { opacity: 1; transform: none; transition: none; }
}    

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -45px; left: 0;
  background: var(--color-gold); color: var(--color-navy-deep);
  padding: 0.5rem 1rem; font-family: var(--font-display);
  letter-spacing: 0.12em; text-transform: uppercase;
  z-index: 100;
}
.skip-link:focus { top: 0; }