/* ============================================================
   HERMANN SERVICES · TOTAL DISTRIBUTION SERVICE
   Redesign concept by SevenTrain Ventures
   Theme: committed dark. Hunter green (fleet livery) + bone +
   Hermann amber #ffc72c. Type: Archivo (display: Archivo Black,
   production may swap licensed Neue Haas Grotesk), IBM Plex Mono
   for data. Radius rule: panels/cards/inputs 12px, buttons pill.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Black";
  src: url("../assets/fonts/archivo-black.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0b120e;
  --ink-2: #0e1611;
  --panel: #141f18;
  --panel-2: #192720;
  --line: rgba(242, 239, 230, 0.14);
  --line-soft: rgba(242, 239, 230, 0.08);
  --bone: #f2efe6;
  --dim: #b8b3a4;
  --green: #2c5a3e;
  --green-hi: #47875f;
  --amber: #ffc72c;
  --amber-deep: #eab616;
  --btn-ink: #191405;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo Black", "Archivo", "Arial Black", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --radius: 12px;
  --container: 1240px;
  --nav-h: 72px;
  color-scheme: dark;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 410;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--amber); color: var(--btn-ink); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  background: var(--amber); color: var(--btn-ink);
  padding: 0.6rem 1.1rem; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Primitives ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.94;
  text-wrap: balance;
}
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.lead { color: var(--dim); max-width: 56ch; }
.accent { color: var(--amber); }

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Buttons: pill (documented exception to 12px rule) */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-amber { background: var(--amber); color: var(--btn-ink); }
.btn-amber:hover { background: var(--amber-deep); }
.btn-ghost {
  background: rgba(11, 18, 14, 0.35);
  color: var(--bone);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--bone); }
.btn svg { flex: none; }

/* Reveal on scroll (JS adds .in) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(11, 18, 14, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  width: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex; gap: 1.9rem;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  font-weight: 560;
  font-size: 0.97rem;
  color: var(--bone);
  opacity: 0.85;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { opacity: 1; color: var(--amber); }
.nav-cta { display: flex; align-items: center; gap: 1.1rem; }
.nav-phone {
  font-family: var(--font-mono); font-size: 0.9rem;
  text-decoration: none; color: var(--dim);
}
.nav-phone:hover { color: var(--bone); }
.nav .btn { padding: 0.62rem 1.35rem; font-size: 0.95rem; }

.nav-burger {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--line);
  border-radius: 999px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--bone);
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 18, 14, 0.97);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column; justify-content: center;
  padding: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 0;
  color: var(--bone);
}
.mobile-menu a:hover { color: var(--amber); }
.mobile-menu .mobile-contact { margin-top: 2rem; font-family: var(--font-mono); font-size: 1rem; color: var(--dim); }
.mobile-menu .mobile-contact a { font-family: var(--font-mono); font-size: 1.05rem; text-transform: none; color: var(--amber); padding: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; background: var(--ink); }
.hero-media img,
.hero-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11, 18, 14, 0.96) 0%, rgba(11, 18, 14, 0.55) 38%, rgba(11, 18, 14, 0.25) 70%, rgba(11, 18, 14, 0.45) 100%);
}
.hero-content {
  position: relative;
  width: 100%;
  padding-bottom: clamp(3rem, 7vh, 5.5rem);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.1rem;
}
.hero-h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  max-width: 20ch;
}
.hero-sub {
  margin-top: 1.3rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(242, 239, 230, 0.88);
  max-width: 44ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* Load-in (CSS only, honors reduced motion below) */
.hero-content > * { opacity: 0; transform: translateY(24px); animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ============================================================
   PROOF BAND
   ============================================================ */
.proof {
  border-block: 1px solid var(--line-soft);
  background: var(--ink-2);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
}
.proof-item {
  background: var(--ink-2);
  padding: 2.2rem 1.8rem;
}
.proof-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--amber);
  line-height: 1.1;
}
.proof-num sub { font-size: 55%; vertical-align: baseline; }
.proof-label { margin-top: 0.45rem; color: var(--dim); font-size: 0.95rem; line-height: 1.45; }

/* ============================================================
   SERVICES (hover/click swap showcase)
   ============================================================ */
.services-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 62ch; }
.services-head p { margin-top: 1.1rem; }

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.service-list { border-top: 1px solid var(--line); }
.service-item { border-bottom: 1px solid var(--line); }
.service-btn {
  width: 100%;
  display: flex; align-items: center; gap: 1.2rem;
  background: none; border: 0; color: var(--bone);
  text-align: left;
  padding: 1.6rem 0.2rem;
}
.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color 0.2s ease;
}
.service-arrow {
  margin-left: auto; flex: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--dim);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.service-item.active .service-title { color: var(--amber); }
.service-item.active .service-arrow {
  background: var(--amber); color: var(--btn-ink);
  border-color: var(--amber);
  transform: rotate(90deg);
}
.service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-item.active .service-body { grid-template-rows: 1fr; }
.service-body-inner { overflow: hidden; }
.service-desc { color: var(--dim); max-width: 52ch; padding-bottom: 0.4rem; }
.service-caps { display: flex; flex-wrap: wrap; gap: 0.55rem; padding: 0.9rem 0 1.7rem; }
.service-caps li {
  font-family: var(--font-mono); font-size: 0.82rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--bone);
  background: var(--panel);
}
.service-media-mobile { display: none; }

.services-visual {
  position: sticky; top: calc(var(--nav-h) + 1.5rem);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.services-visual img,
.services-visual video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.services-visual img.show,
.services-visual video.show { opacity: 1; }

/* ============================================================
   HERITAGE (horizontal scrolltelling; vertical fallback)
   ============================================================ */
.heritage { background: var(--ink-2); border-block: 1px solid var(--line-soft); overflow: hidden; }
.heritage-head { padding-top: clamp(4.5rem, 9vw, 7rem); }
.heritage-head p { margin-top: 1.1rem; }

.heritage-track-wrap { position: relative; }
@media (min-width: 768px) {
  .heritage-track-wrap {
    min-height: calc(100dvh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.heritage-track {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  align-items: stretch;
}
.chapter {
  flex: none;
  width: min(480px, 82vw);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.chapter figure { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.chapter figure img,
.chapter figure video { width: 100%; height: 100%; object-fit: cover; display: block; }
.chapter-year {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 1rem;
  color: var(--amber);
}
.chapter-body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
.chapter h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.05;
}
.chapter p { color: var(--dim); font-size: 0.98rem; line-height: 1.6; }

/* ============================================================
   NETWORK
   ============================================================ */
.network-head { max-width: 62ch; margin-bottom: 2.6rem; }
.network-head p { margin-top: 1.1rem; }

.tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tab {
  border: 1px solid var(--line);
  background: none; color: var(--dim);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 650; font-size: 0.97rem;
  transition: all 0.2s ease;
}
.tab[aria-selected="true"] {
  background: var(--amber); color: var(--btn-ink); border-color: var(--amber);
}
.tab:not([aria-selected="true"]):hover { color: var(--bone); border-color: var(--bone); }

.fac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.4rem;
}
.fac-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.fac-card:hover { transform: translateY(-4px); border-color: var(--green-hi); }
.fac-card figure { aspect-ratio: 16 / 9; overflow: hidden; }
.fac-card figure img { width: 100%; height: 100%; object-fit: cover; }
.fac-body { padding: 1.2rem 1.3rem 1.4rem; }
.fac-body h3 { font-size: 1.06rem; font-weight: 750; letter-spacing: 0.01em; }
.fac-body address {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.83rem; line-height: 1.6;
  color: var(--dim);
  margin-top: 0.4rem;
}
.fac-body a { color: var(--amber); text-decoration: none; }
.fac-body a:hover { text-decoration: underline; }

/* ============================================================
   FLEET & STANDARDS
   ============================================================ */
.fleet { background: var(--ink-2); border-block: 1px solid var(--line-soft); }
.fleet-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.fleet-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.fleet-photo img { width: 100%; height: 100%; object-fit: cover; }
.fleet-copy p { margin-top: 1.1rem; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}
.spec {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.spec-num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  color: var(--amber);
  line-height: 1.15;
}
.spec-label { color: var(--dim); font-size: 0.93rem; margin-top: 0.3rem; line-height: 1.5; }
.fleet-notes { margin-top: 1.6rem; color: var(--dim); font-size: 0.98rem; max-width: 58ch; }

/* ============================================================
   QUOTE BAND
   ============================================================ */
.quoteband { padding-block: clamp(4rem, 8vw, 6.5rem); }
.quoteband blockquote {
  margin: 0 auto;
  max-width: 46ch;
  text-align: center;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  font-weight: 520;
  text-wrap: balance;
}
.quoteband blockquote p::before { content: "\201C"; color: var(--amber); }
.quoteband blockquote p::after { content: "\201D"; color: var(--amber); }
.quoteband cite {
  display: block;
  margin-top: 1.3rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--dim);
}

/* ============================================================
   CTA BAND (conversion moment: single accent crescendo)
   ============================================================ */
.ctaband { background: var(--amber); color: var(--btn-ink); }
.ctaband-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(2.8rem, 5vw, 4rem);
}
.ctaband-title { font-size: clamp(1.55rem, 3vw, 2.3rem); max-width: 24ch; }
.ctaband p { margin-top: 0.6rem; font-weight: 520; }
.ctaband p a { color: inherit; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.ctaband :focus-visible { outline-color: var(--btn-ink); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: #1c2b22; }

/* ============================================================
   CAREERS BAND
   ============================================================ */
.careers {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.careers-bg { position: absolute; inset: 0; }
.careers-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.careers-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 18, 14, 0.95) 8%, rgba(11, 18, 14, 0.35) 60%, rgba(11, 18, 14, 0.3) 100%);
}
.careers-content { position: relative; width: 100%; padding-block: clamp(3rem, 6vw, 5rem) clamp(3.5rem, 7vw, 5.5rem); }
.careers-content .h2 { max-width: 14ch; }
.careers-content p { margin-top: 1.2rem; color: rgba(242, 239, 230, 0.9); max-width: 46ch; }
.careers-content .btn { margin-top: 1.8rem; }

/* ============================================================
   HERMANN CARES
   ============================================================ */
.cares-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.cares-photos { position: relative; }
.cares-photos figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 2 / 1;
}
.cares-photos figure:last-child {
  aspect-ratio: 5 / 3;
  width: 58%;
  margin-left: auto;
  margin-top: -3.2rem;
  border: 6px solid var(--ink);
}
.cares-photos img { width: 100%; height: 100%; object-fit: cover; }
.cares-copy p { margin-top: 1.1rem; }
.cares-motto {
  font-family: var(--font-mono);
  color: var(--amber);
  margin-top: 1.4rem !important;
  font-size: 0.95rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--ink-2); border-top: 1px solid var(--line-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-left p { margin-top: 1.2rem; }
.contact-lines { margin-top: 2rem; display: grid; gap: 0.9rem; }
.contact-line {
  display: flex; flex-direction: column; gap: 0.15rem;
}
.contact-line span { color: var(--dim); font-size: 0.9rem; }
.contact-line a {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--bone);
  text-decoration: none;
}
.contact-line a:hover { color: var(--amber); }

.form {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 650; font-size: 0.94rem; }
.field input, .field select, .field textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--bone);
  padding: 0.8rem 1rem;
  font: inherit;
  width: 100%;
}
.field ::placeholder { color: rgba(184, 179, 164, 0.65); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 0;
  border-color: var(--amber);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { color: var(--dim); font-size: 0.85rem; line-height: 1.5; }
.form .btn { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-soft); padding-block: 3.5rem 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 3fr 5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { color: var(--dim); font-size: 0.95rem; margin-top: 1.1rem; max-width: 34ch; }
.footer h4 {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}
.footer-links { display: grid; gap: 0.55rem; }
.footer-links a { color: var(--bone); text-decoration: none; font-size: 0.98rem; opacity: 0.88; }
.footer-links a:hover { color: var(--amber); opacity: 1; }
.footer-locs { display: grid; gap: 0.75rem; }
.footer-locs li { font-family: var(--font-mono); font-size: 0.82rem; color: var(--dim); line-height: 1.55; }
.footer-locs strong { color: var(--bone); font-weight: 500; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  color: var(--dim); font-size: 0.88rem;
}
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { color: var(--dim); text-decoration: none; }
.footer-legal a:hover { color: var(--bone); }
.footer-social { display: flex; gap: 0.9rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--dim);
  transition: all 0.2s ease;
}
.footer-social a:hover { color: var(--btn-ink); background: var(--amber); border-color: var(--amber); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }

  .services-grid { grid-template-columns: 1fr; }
  .services-visual { display: none; }
  .service-media-mobile {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.2rem;
  }
  .service-media-mobile img { width: 100%; height: 100%; object-fit: cover; }

  .fleet-grid, .cares-grid, .contact-grid { grid-template-columns: 1fr; }
  .fleet-photo { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .cares-photos figure:last-child { margin-top: 1.4rem; }
  .heritage-track { flex-direction: column; }
  .chapter { width: 100%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content > * { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fac-card, .btn, .service-arrow { transition: none; }
  .heritage-track { flex-direction: column; }
  .chapter { width: 100%; }
}
