/* ============================================================
   Frontline Freight Inc — thefrontlinefreightinc.com
   Global stylesheet
   ============================================================ */

:root {
  --navy-900: #0b1b34;
  --navy-800: #0f2442;
  --navy-700: #16325c;
  --navy-600: #1f4574;
  --blue-500: #2f6fb0;
  --steel-100: #eef3f8;
  --steel-200: #dbe4ee;
  --steel-300: #c2d0e0;

  --accent: #f5731f;      /* frontline orange (from logo swoosh) */
  --accent-dark: #d95f10;
  --accent-soft: #fff2e8;

  --red: #c0271e;         /* frontline red (from logo wordmark) */
  --red-dark: #9c1c15;
  --logo-blue: #1f4b8e;   /* frontline blue (from logo swoosh) */

  --ink-900: #0d1626;
  --ink-700: #33404f;
  --ink-500: #5b6774;
  --white: #ffffff;

  --ok: #1f9d55;

  --shadow-sm: 0 1px 3px rgba(11, 27, 52, .08), 0 1px 2px rgba(11, 27, 52, .06);
  --shadow-md: 0 8px 24px rgba(11, 27, 52, .12);
  --shadow-lg: 0 24px 60px rgba(11, 27, 52, .18);

  --radius: 12px;
  --radius-lg: 20px;
  --maxw: 1180px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-900); color: #c6d5e8; font-size: .86rem; font-weight: 600;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--accent) 0%, var(--red) 50%, var(--logo-blue) 100%) 1;
}
.topbar a { color: #c6d5e8; display: inline-flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: #fff; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 42px; gap: 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar-right .tb-hours { display: inline-flex; align-items: center; gap: .35rem; }
.topbar-right .tb-auth { color: #8ea3bf; letter-spacing: .02em; }
@media (max-width: 900px) {
  .topbar .tb-auth { display: none; }
}
@media (max-width: 620px) {
  .topbar-inner { height: auto; padding: 9px 0; justify-content: center; gap: 20px; }
  .topbar .tb-email { display: none; }
  .topbar-left, .topbar-right { gap: 18px; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--steel-200);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 900; color: var(--ink-900); letter-spacing: -.02em; }
.brand:hover { color: var(--ink-900); }
.brand .mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  display: grid; place-items: center; color: #fff; font-weight: 900;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.brand .mark::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px;
  background: var(--accent);
}
.brand .brand-name { font-size: 1.15rem; line-height: 1; }
.brand .brand-sub { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: var(--accent-dark); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-700); font-weight: 600; padding: .5rem .68rem; border-radius: 8px;
  font-size: .97rem;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--steel-100); color: var(--ink-900); }
.nav-links a.active { color: var(--navy-700); background: var(--steel-100); }
.nav-cta { margin-left: .5rem; }
.nav-phone { font-weight: 800; color: var(--ink-900); display: inline-flex; align-items: center; gap: .4rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.5px; background: var(--ink-900); border-radius: 2px;
  position: relative; transition: transform .2s ease, opacity .2s ease;
  margin: 0 auto;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-tint { background: var(--steel-100); }
.section-navy { background: var(--navy-800); color: var(--steel-200); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: .8rem;
}
.section-navy .eyebrow { color: var(--accent); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.1rem; }
.section-navy .section-head p { color: var(--steel-300); }
.lead { font-size: 1.2rem; color: var(--ink-500); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(100deg, rgba(8,18,36,.95) 0%, rgba(9,21,42,.86) 30%, rgba(11,27,52,.55) 58%, rgba(11,27,52,.28) 100%),
    linear-gradient(to bottom, rgba(8,18,36,.30) 0%, rgba(8,18,36,.10) 40%, rgba(8,18,36,.60) 100%),
    url("../assets/hero.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center right;
  background-repeat: no-repeat;
}
.hero-inner { position: relative; z-index: 1; padding: 100px 0 110px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero p { font-size: 1.25rem; color: #d7e2f0; max-width: 620px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-badges { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.6rem; color: #c6d5e8; font-weight: 600; font-size: .95rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-badges .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--steel-200); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); margin-top: -60px; position: relative; z-index: 5;
}
.stat { background: #fff; padding: 32px 24px; text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 900; color: var(--navy-700); letter-spacing: -.03em; }
.stat .num .accent { color: var(--accent); }
.stat .label { font-size: .92rem; color: var(--ink-500); font-weight: 600; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--steel-300); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-500); margin-bottom: .5rem; }
.card .card-link { font-weight: 700; color: var(--accent-dark); display: inline-flex; align-items: center; gap: .35rem; }
.card .card-link:hover { gap: .6rem; }

/* feature list w/ checkmarks */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .7rem; color: var(--ink-700); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ok);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.media-panel {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  min-height: 360px; position: relative;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  display: grid; place-items: center; color: #fff;
}
.media-panel .glyph { opacity: .9; }
.media-panel .glyph svg { width: 120px; height: 120px; }
.media-panel.photo { display: block; padding: 0; background: var(--navy-800); }
.media-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Fleet gallery ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fleet-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--navy-800); box-shadow: var(--shadow-sm);
}
.fleet-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.fleet-item:hover img { transform: scale(1.07); }
.fleet-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .01em;
  background: linear-gradient(to top, rgba(8,18,36,.88), rgba(8,18,36,.35) 60%, transparent);
}
.fleet-item .cap span { display: block; font-size: .76rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
@media (max-width: 940px) { .fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .fleet-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .n {
  counter-increment: step; flex: 0 0 auto;
  width: 48px; height: 48px; border-radius: 12px; background: var(--navy-700); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.2rem;
}
.step .n::before { content: counter(step); }
.step h3 { margin-bottom: .2rem; }
.step p { color: var(--ink-500); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 48px; text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff; opacity: .95; max-width: 560px; margin: 0 auto 1.6rem; }
.cta-band .btn-primary { background: #fff; color: var(--accent-dark); }
.cta-band .btn-primary:hover { background: var(--navy-900); color: #fff; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--steel-200); box-shadow: var(--shadow-sm); }
.quote-card p { font-size: 1.05rem; color: var(--ink-700); font-style: italic; }
.quote-card .who { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-700); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote-card .who strong { color: var(--ink-900); display: block; }
.quote-card .who span { font-size: .88rem; color: var(--ink-500); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink-900); margin-bottom: .4rem; font-size: .95rem; }
.field .req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--steel-300); border-radius: 10px;
  font: inherit; color: var(--ink-900); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47,111,176,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--ink-500); }
.form-success {
  display: none; background: #e9f8ef; border: 1px solid #b7e6c9; color: #16663b;
  padding: 16px 18px; border-radius: 10px; font-weight: 600; margin-bottom: 18px;
}
.form-success.show { display: block; }
.hp-field { display: none !important; }

/* ---------- Contact info ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-list .ic {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 10px; background: var(--steel-100);
  color: var(--navy-700); display: grid; place-items: center;
}
.info-list .ic svg { width: 22px; height: 22px; }
.info-list strong { color: var(--ink-900); display: block; }
.info-list span, .info-list a { color: var(--ink-500); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy-800); color: #fff; padding: 66px 0 58px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 60px);
}
.page-hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: 50%; right: -70px; transform: translateY(-50%);
  width: 340px; height: 340px;
  background: url("../assets/emblem-white.png") no-repeat center / contain;
  opacity: .07;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .3rem; }
.page-hero p { color: #cdd9e8; font-size: 1.15rem; max-width: 640px; margin: 0; }
.breadcrumb { font-size: .9rem; color: #9fb2ca; margin-bottom: 1rem; }
.breadcrumb a { color: #cdd9e8; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9bad0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #a9bad0; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #90a3bd; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .88rem; color: #7e91ac;
}
.footer-bottom a { color: #7e91ac; }
.footer-links a, .footer-brand p, .site-footer .footer-links li { overflow-wrap: anywhere; word-break: break-word; }

/* ---------- Logo lockup ---------- */
/* The real logo image. Plays a single reveal on load, then settles. */
.logo-img {
  height: 54px; width: auto; display: none; flex: 0 0 auto; transform-origin: left center;
}
/* Fires the moment JS confirms the logo loaded and reveals it. Plays once, settles. */
.brand.has-logo .logo-img {
  display: block;
  animation: logo-reveal 1s cubic-bezier(.22,1,.36,1) both;
}
@keyframes logo-reveal {
  0%   { opacity: 0; transform: translateX(-26px) scale(.86); }
  55%  { opacity: 1; }
  72%  { transform: translateX(0) scale(1.05); }   /* subtle overshoot */
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
/* gentle lift on hover (finite, only while hovering) */
.brand { transition: transform .2s ease; }
.brand:hover .logo-img { transform: scale(1.05); transition: transform .25s ease; }
.footer-brand .logo-img { height: 62px; background: none; padding: 0; }
@media (prefers-reduced-motion: reduce) {
  .brand.has-logo .logo-img { animation: none; }
  .brand:hover .logo-img { transform: none; }
}

/* SVG + wordmark fallback — only shown if the logo image is missing */
.logo-fallback { display: none; align-items: center; gap: .7rem; }
.brand:not(.has-logo) .logo-fallback { display: inline-flex; }
.logo-mark { display: inline-flex; flex: 0 0 auto; }
.logo-mark svg { height: 40px; width: auto; display: block; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word .lw-top {
  font-family: Georgia, "Times New Roman", "Playfair Display", serif;
  font-style: italic; font-weight: 700; font-size: 1.5rem; color: var(--red);
  letter-spacing: -.01em;
}
.logo-word .lw-sub {
  font-weight: 800; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--red); margin-top: 3px;
}
.footer-brand .logo-word .lw-top { color: #ff5a4d; }
.footer-brand .logo-word .lw-sub { color: #d7e2f0; }
.page-hero .logo-word .lw-top,
.hero .logo-word .lw-top { color: #ff5a4d; }

/* ---------- Driver roster ---------- */
.roster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.driver-card {
  background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start;
  transition: transform .18s ease, box-shadow .2s ease;
}
.driver-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.driver-avatar {
  width: 56px; height: 56px; flex: 0 0 auto; border-radius: 14px; color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.15rem; letter-spacing: .02em;
}
.driver-avatar.c1 { background: var(--navy-700); }
.driver-avatar.c2 { background: var(--accent); }
.driver-avatar.c3 { background: var(--red); }
.driver-avatar.c4 { background: var(--logo-blue); }
.driver-info h3 { font-size: 1.08rem; margin-bottom: .15rem; }
.driver-info .role { font-size: .85rem; color: var(--accent-dark); font-weight: 700; margin-bottom: .5rem; }
.driver-meta { list-style: none; padding: 0; margin: 0; font-size: .86rem; color: var(--ink-500); }
.driver-meta li { margin-bottom: .2rem; }
.driver-meta strong { color: var(--ink-700); font-weight: 700; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--steel-100); color: var(--navy-700); }

/* audience two-up cards */
.audience-card { border-top: 4px solid var(--accent); }
.audience-card.blue { border-top-color: var(--logo-blue); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.pill { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; letter-spacing: .04em; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .roster-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--steel-200);
    padding: 12px 16px 20px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .6rem; border-radius: 8px; }
  .nav-links .nav-cta, .nav-links .nav-phone { margin: .4rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 780px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .roster-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -40px; }
  .brand .brand-sub { display: none; }
}
/* safety net against any stray horizontal overflow (clip doesn't hijack scrolling) */
body { overflow-x: clip; }
