/* ==========================================================================
   YMD Lanes Inc. — "Night Highway" theme
   ========================================================================== */

:root {
  --bg: #0a1220;
  --bg-2: #0d1727;
  --surface: #121e32;
  --surface-2: #17253c;
  --line: rgba(159, 176, 200, 0.13);
  --line-strong: rgba(159, 176, 200, 0.26);
  --text: #e9eef5;
  --muted: #a3b2c7;
  --dim: #7385a0;
  --amber: #f2a93b;
  --amber-hi: #ffc261;
  --amber-soft: rgba(242, 169, 59, 0.12);
  --amber-ink: #1b1204;

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--amber); color: var(--amber-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* Lane marking (animated dashed centre line) */
.lane {
  width: 168px; height: 5px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 30px, transparent 30px 46px);
  background-size: 46px 5px;
  border-radius: 2px;
  animation: lane-move 1.4s linear infinite;
}
.lane-sm { width: 96px; height: 3px; background-size: 46px 3px; opacity: 0.7; }
@keyframes lane-move { to { background-position: -46px 0; } }

/* Buttons
   ========================================================================== */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: var(--h); padding: 0 28px;
  border: 1.5px solid transparent; border-radius: 10px;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover {
  background: var(--amber-hi);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(242, 169, 59, 0.6);
}
.btn-ghost { border-color: rgba(233, 238, 245, 0.35); color: var(--text); background: rgba(10, 18, 32, 0.2); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-sm { --h: 44px; padding: 0 20px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 18, 32, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
}
.brand-name span { color: var(--amber); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav ul a {
  position: relative; padding: 6px 0;
  font-weight: 500; font-size: 0.98rem; color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav ul a:hover, .site-nav ul a.is-active { color: var(--text); }
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block; width: 24px; height: 2px; margin-inline: auto;
  background: currentColor; border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px var(--gutter) 28px;
    background: rgba(10, 18, 32, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  }
  .site-header.is-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    display: block; padding: 14px 0; font-size: 1.15rem; color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { --h: 52px; }
}

/* Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: flex;
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 66% 50%;
  animation: hero-zoom 18s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 32, 0.94) 0%, rgba(10, 18, 32, 0.78) 34%, rgba(10, 18, 32, 0.2) 62%, rgba(10, 18, 32, 0.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 18, 32, 0) 28%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.6) 0%, rgba(10, 18, 32, 0) 18%);
}

.hero-inner {
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 40px;
  gap: 72px;
}
.hero-copy { max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }

.hero h1 {
  margin-top: 20px;
  font-size: clamp(3.1rem, 7.4vw, 6rem);
  line-height: 0.92;
  text-wrap: initial;
}
.accent { color: var(--amber); }
.hero .lane { margin-top: 30px; }
.hero-lede { margin-top: 26px; max-width: 540px; font-size: 1.2rem; color: #c6d1e0; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(13, 23, 39, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust-strip > div { padding: 20px 26px; border-left: 1px solid var(--line); }
.trust-strip > div:first-child { border-left: 0; }
.trust-strip dt {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
}
.trust-strip dd {
  margin-top: 4px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Sections
   ========================================================================== */
.section { padding-block: clamp(84px, 11vw, 140px); position: relative; }
.section-alt {
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(242, 169, 59, 0.05), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 640px; }
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.kicker span {
  color: var(--amber);
  display: inline-flex; align-items: center; gap: 14px;
}
.kicker span::after { content: ""; width: 28px; height: 2px; background: var(--amber); opacity: 0.6; }
.section-head h2 { margin-top: 18px; font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 0.95; }
.section-lede { margin-top: 22px; font-size: 1.15rem; color: var(--muted); }

/* Equipment cards */
.cards {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  position: relative;
  padding: 34px 30px 30px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.card::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}
.card:hover::before { opacity: 1; }

.trailer {
  width: 132px; height: auto; margin-bottom: 28px;
  fill: var(--bg-2); stroke: var(--amber); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.trailer .thin { stroke-width: 1.2; opacity: 0.55; }
.card h3 { font-size: 1.9rem; }
.card p { margin-top: 12px; color: var(--muted); }
.tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 5px 11px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 500; color: var(--muted);
  background: rgba(159, 176, 200, 0.07); border: 1px solid var(--line);
}

/* Why us */
.why { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 40px); }
.why-head .btn { margin-top: 34px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature {
  padding: 30px 28px;
  background: rgba(18, 30, 50, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--amber-soft); color: var(--amber);
  border: 1px solid rgba(242, 169, 59, 0.22);
}
.feature-icon .icon { width: 22px; height: 22px; }
.feature h3 { margin-top: 22px; font-size: 1.55rem; }
.feature p { margin-top: 10px; color: var(--muted); }

/* Coverage */
.coverage { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.checklist { margin-top: 28px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist .icon { color: var(--amber); margin-top: 3px; width: 1.1em; height: 1.1em; stroke-width: 2.6; }

.map-panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 63% 35%, rgba(242, 169, 59, 0.1), transparent 45%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
}
.map { width: 100%; height: auto; overflow: visible; }
.map-dots { fill: none; stroke: #2a3b57; stroke-width: 5; stroke-linecap: round; }
.route {
  fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 5 6;
  animation: route-flow 3s linear infinite;
  animation-delay: calc(var(--i) * -0.37s);
  opacity: 0.9;
}
@keyframes route-flow { to { stroke-dashoffset: -66; } }
.pin { fill: var(--amber); }
.hub { fill: var(--text); stroke: var(--amber); stroke-width: 3; }
.hub-pulse {
  fill: var(--amber); opacity: 0.5;
  transform-box: fill-box; transform-origin: center;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: 0.5; } to { transform: scale(4); opacity: 0; } }

.map-panel figcaption {
  margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.88rem; color: var(--dim);
}
.legend-hub { width: 12px; height: 12px; border-radius: 50%; background: var(--text); border: 2.5px solid var(--amber); }
.legend-route {
  width: 26px; height: 2px; margin-left: 14px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 5px, transparent 5px 9px);
}

/* Drivers */
.drivers-section { overflow: hidden; }
.drivers-section::before {
  content: "CDL-A";
  position: absolute; right: -0.04em; bottom: -0.2em;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(8rem, 22vw, 20rem);
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(159, 176, 200, 0.07);
  pointer-events: none; user-select: none;
}
.drivers { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.perks { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.perk { display: flex; gap: 16px; }
.perk > .icon { width: 26px; height: 26px; color: var(--amber); margin-top: 2px; }
.perk h3 { font-size: 1.35rem; }
.perk p { margin-top: 6px; color: var(--muted); font-size: 1rem; }

.req-card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  position: relative; overflow: hidden;
}
.req-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 30px, transparent 30px 46px);
}
.req-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--amber-soft); color: var(--amber);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.req-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(242, 169, 59, 0.6); animation: blink 2s infinite;
}
@keyframes blink { 50% { box-shadow: 0 0 0 6px rgba(242, 169, 59, 0); } }
.req-card h3 { margin-top: 18px; font-size: 2rem; }
.req-card .checklist { margin-bottom: 32px; }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-list { margin-top: 38px; display: grid; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-label {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
}
.contact-list a { text-decoration: none; font-weight: 500; transition: color 0.2s; }
.contact-list a:hover { color: var(--amber); }

.form-card {
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  display: grid; gap: 18px;
}
.form-card fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.mode-fields { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.form-card .seg {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 5px; gap: 4px;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px;
}
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: block; padding: 10px 8px; border-radius: 8px; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}
.seg label:hover span { color: var(--text); }
.seg input:checked + span { background: var(--amber); color: var(--amber-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }

.field { display: grid; gap: 8px; }
.field label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(10, 18, 32, 0.75);
  border: 1px solid var(--line-strong); border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #5b6d88; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(159, 176, 200, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(242, 169, 59, 0.2);
  background: var(--bg);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3b2c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field select option { background: var(--surface); color: var(--text); }
.field.is-invalid input, .field.is-invalid select { border-color: #f07167; }
.field-error { font-size: 0.85rem; color: #f59e95; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.5em; font-size: 0.98rem; text-align: center; color: var(--muted); }
.form-status.is-success { color: #7fd8a4; }
.form-status.is-error { color: #f59e95; }

/* Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: #070d18; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 360px; color: var(--dim); font-size: 0.98rem; }
.footer-title {
  font-size: 1.05rem; letter-spacing: 0.12em; color: var(--muted); font-weight: 600;
}
.footer-links { margin-top: 18px; display: grid; gap: 10px; color: var(--dim); font-size: 0.98rem; }
.footer-links a { text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  margin-top: 64px; padding-block: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--line); color: var(--dim); font-size: 0.9rem;
}

/* Scroll reveal (only when JS is running)
   ========================================================================== */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .features .reveal:nth-child(2), .perks .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3), .features .reveal:nth-child(3), .perks .reveal:nth-child(3) { transition-delay: 0.16s; }
.features .reveal:nth-child(4), .perks .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip > div:nth-child(3) { border-left: 0; }
  .trust-strip > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: span 2; }
  .why, .coverage, .drivers, .contact { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .section-head { max-width: 720px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  /* Photo becomes a band at the top so the truck stays visible above the headline */
  .hero { min-height: 0; }
  .hero-media { bottom: auto; height: 400px; }
  .hero-media img { object-position: 66% 50%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(10, 18, 32, 0.55) 35%, rgba(10, 18, 32, 0.1) 65%, rgba(10, 18, 32, 0.6) 100%);
  }
  .hero-inner { justify-content: flex-start; gap: 40px; padding-top: 300px; padding-bottom: 8px; }
  .hero-lede { font-size: 1.08rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .trust-strip > div { padding: 16px 18px; }
  .trust-strip dd { font-size: 1.2rem; }
  .cards, .features, .perks, .grid-2 { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; }
  .form-card .seg { grid-template-columns: repeat(3, auto); }
  .seg span { font-size: 0.88rem; letter-spacing: 0.03em; padding: 10px 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
