/* Layout: white header carrying the logo, navy bands for emphasis, a red/blue lane stripe as the one recurring motif. */
:root {
  --red: #dd2c2c;        /* from logo "M" */
  --red-dark: #b81f1f;
  --blue: #004aad;       /* from logo "I" */
  --navy: #0b1f3f;
  --ink: #16202e;
  --muted: #5a6577;
  --line: #dde3ec;
  --paper: #ffffff;
  --mist: #f3f6fa;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --radius: 6px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--red);
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.stack { display: grid; gap: 18px; }

/* Placeholder text the owner needs to replace */
.ph {
  background: #fff4c2;
  color: #5a4500;
  border-radius: 3px;
  padding: 0 4px;
  font-style: normal;
}

/* Lane stripe motif */
.stripe {
  height: 8px;
  background: linear-gradient(90deg, var(--red) 0 33.3%, var(--blue) 33.3% 66.6%, var(--line) 66.6%);
}

/* Header */
.topbar { background: var(--navy); color: #c9d4e6; font-size: 0.9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 8px; }
.brand img { height: 76px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
}
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font: 600 1rem var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  color: var(--ink);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: currentColor; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.nav .btn-red { color: #fff; padding: 9px 16px; font-size: 1.05rem; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 72px 80px; }
.hero .lede { color: #c9d4e6; }
.hero h1 span { color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.road {
  position: absolute;
  inset: auto 0 0 0;
  height: 22px;
  background: repeating-linear-gradient(90deg, #f5f7fb 0 60px, transparent 60px 110px) center / 100% 4px no-repeat, #0e2852;
}
@media (prefers-reduced-motion: no-preference) {
  .road { animation: drive 2.4s linear infinite; }
  @keyframes drive { from { background-position: 0 center, 0 0; } to { background-position: -110px center, 0 0; } }
}
.load-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border-top: 6px solid var(--red);
}
.load-card h3 { font-size: 1.3rem; text-transform: uppercase; }
.load-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 14px 0 20px; font-size: 0.98rem; }
.load-card dt { color: var(--muted); }
.load-card dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Page header (inner pages) */
.page-head { background: var(--navy); color: #fff; }
.page-head .wrap { padding-block: 56px 52px; display: grid; gap: 14px; }
.page-head .lede { color: #c9d4e6; }

/* Sections */
section.band { padding-block: 76px; }
section.band.alt { background: var(--mist); }
.section-head { display: grid; gap: 10px; margin-bottom: 36px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.card .tag {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.specs { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 0.96rem; }
.specs li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.specs li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

/* Stat row */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.stat { padding: 24px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: grid; gap: 8px; align-content: start; }
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
}

/* CTA band */
.cta { background: var(--blue); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 52px; }
.cta p { color: #dbe6fb; }

/* Split layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split > * { min-width: 0; }

/* Forms */
.form { display: grid; gap: 22px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; display: grid; gap: 16px; background: var(--paper); }
legend { font-family: var(--display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 0 8px; color: var(--navy); }
.row { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 0.95rem; }
.field small { color: var(--muted); font-size: 0.85rem; }
.req { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 11px 12px;
  border: 1.5px solid #c3ccd9;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(0, 74, 173, 0.2); outline-offset: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field .err { color: var(--red); font-size: 0.85rem; font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choices label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-status { border-radius: var(--radius); padding: 16px 18px; font-weight: 600; }
.form-status.ok { background: #e7f4ea; color: #1d5c2e; border: 1px solid #b6dcc0; }
.form-status.warn { background: #fff4c2; color: #5a4500; border: 1px solid #ecd889; }
.form-status.bad { background: #fde8e8; color: #8a1616; border: 1px solid #f3b9b9; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list b { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #c9d4e6; font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 28px; }
.site-footer h4 { font-family: var(--display); color: #fff; text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.05rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ff8c8c; }
.footer-logo { background: #fff; border-radius: var(--radius); padding: 8px 14px; width: max-content; max-width: 100%; margin-bottom: 14px; }
.footer-logo img { height: 52px; width: auto; }
.authority { font-variant-numeric: tabular-nums; display: grid; gap: 2px; margin-top: 12px; }
.legal { border-top: 1px solid #22385e; }
.legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 18px; grid-template-columns: none; font-size: 0.88rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px));
    box-shadow: 0 12px 24px rgba(11, 31, 63, 0.12);
  }
  .nav.open { display: flex; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
  .nav .btn { margin: 8px 0 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .row, .row-3, .steps { grid-template-columns: minmax(0, 1fr); }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .brand img { height: 50px; }
  section.band { padding-block: 56px; }
  .hero .wrap { padding-block: 48px 64px; }
  .topbar .hide-sm { display: none; }
}

/* Photo hero: drop a truck photo at assets/hero.jpg and it shows behind the navy overlay */
.hero-photo {
  background:
    linear-gradient(100deg, rgba(11, 31, 63, 0.96) 0%, rgba(11, 31, 63, 0.82) 48%, rgba(0, 74, 173, 0.55) 100%),
    url("hero.jpg") center / cover no-repeat,
    var(--navy);
}
.hero-photo .wrap { padding-block: 96px 104px; }
.photo-note { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 34px; font-size: 0.8rem; }

/* Certification strip */
.badges { border-bottom: 1px solid var(--line); background: var(--paper); }
.badges .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 18px; }
.badge-label { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-size: 0.9rem; }
.badges ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; font-size: 1.05rem; color: var(--navy); border: 2px solid var(--navy); border-radius: var(--radius); padding: 4px 12px; }
.badges li .ph { padding: 0 2px; }

/* Service. Dedication. Reliability. */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.pillar { display: grid; gap: 12px; align-content: start; border-top: 4px solid var(--navy); padding-top: 18px; }
.pillar:nth-child(1) { border-color: var(--red); }
.pillar:nth-child(2) { border-color: var(--blue); }
.pillar h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
.pillar h2 i { color: var(--red); font-style: normal; }

/* Driver quote */
.driver-quote { background: var(--navy); color: #fff; }
.driver-quote .split { align-items: center; }
.driver-quote blockquote { margin: 0; display: grid; gap: 18px; border-left: 6px solid var(--red); padding-left: 28px; }
.driver-quote blockquote p { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.driver-quote blockquote footer { color: #c9d4e6; }
.driver-quote p { color: #c9d4e6; }

/* Industries */
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.industries li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); }

/* Testimonials */
.testimonial { margin: 0; background: var(--mist); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.testimonial blockquote { margin: 0; font-size: 1.08rem; }
.testimonial blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 3.4rem; line-height: 0.6; color: var(--red); margin-bottom: 8px; }
.testimonial figcaption { font-weight: 600; font-size: 0.95rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding-block: 16px; list-style-position: outside; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

@media (max-width: 960px) {
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .industries { grid-template-columns: minmax(0, 1fr); }
  .photo-note { position: static; display: inline-block; margin: 0 0 40px max(20px, env(safe-area-inset-left, 0px)); }
  .hero-photo .wrap { padding-block: 56px 32px; }
}
.hero-photo {
  background:
    linear-gradient(100deg, rgba(11, 31, 63, 0.94) 0%, rgba(11, 31, 63, 0.78) 45%, rgba(11, 31, 63, 0.35) 100%),
    url("hero.jpg") 30% 40% / cover no-repeat,
    var(--navy);
}
.photo { border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; max-width: 100%; }

/* Keep the menu's Get a Quote button white text on red in every state */
.nav a.btn-red,
.nav a.btn-red:hover,
.nav a.btn-red[aria-current="page"] { color: #fff; box-shadow: none; border-radius: var(--radius); }
.nav a.btn-red:hover { background: var(--red-dark); }
.nav a.btn-red[aria-current="page"] { background: var(--red-dark); }

/* Form fields in a row line up: labels at the top, controls the same height */
.row { align-items: start; }
.field { align-content: start; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select { height: 46px; line-height: 1.2; }
