:root {
  --navy: #0f2744;
  --blue: #1e3a8a;
  --accent: #b42318;
  --ink: #1c2430;
  --muted: #5c6778;
  --line: #e6eaf0;
  --bg: #f4f6f8;
  --card: #ffffff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 108px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; }
main a, .hero a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand img { height: 64px; width: auto; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover,
.nav a.active { color: var(--blue); }
.menu { position: relative; }
.menu > button {
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
}
.menu-list {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 39, 68, 0.12);
  padding: 8px;
}
.menu:hover .menu-list,
.menu:focus-within .menu-list { display: block; }
.menu-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
}
.menu-list a:hover,
.menu-list a.active { background: #eef3fb; color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  border: 0;
}
.btn:hover { background: var(--accent); }

.hero {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: end start;
  color: #fff;
  background: var(--navy) center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.25), rgba(15, 39, 68, 0.78));
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 72px 20px 48px;
}
.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: #f3c7c3;
  margin: 0 0 8px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  max-width: 14ch;
}
.hero p { max-width: 46ch; color: #e7edf5; margin: 12px 0 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 56px 20px; }
.lead {
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 28px;
  max-width: 40ch;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.04);
}
.card.wide { grid-column: 1 / -1; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.section-title { margin: 36px 0 14px; font-size: 28px; }
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 14px 42px;
  position: relative;
}
.checks li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 16px;
  top: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}
.detail { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.detail strong { display: block; }
.detail span, .detail a { color: var(--muted); }
.mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8eef8;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
input, textarea {
  width: 100%;
  border: 1px solid #d5dce6;
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  margin-bottom: 14px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid #c9d7f2; border-color: var(--blue); }

.site-footer {
  background: var(--navy);
  color: #d5deea;
  margin-top: 20px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 28px;
}
.site-footer h2 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer a { display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer img { height: 72px; width: auto; background: #fff; border-radius: 8px; padding: 6px; }
.copy { border-top: 1px solid rgba(255,255,255,0.12); text-align: center; padding: 16px; font-size: 14px; }

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.story-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(15, 39, 68, 0.12);
  background: #0f2744;
  min-height: 320px;
}
.story-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.story-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--navy);
  line-height: 1.15;
}
.story-copy p { margin: 0 0 14px; color: var(--muted); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 8px 0 36px;
}
.stat {
  background: linear-gradient(180deg, #fff, #f7f9fc);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef3fb;
  color: var(--navy);
  border: 1px solid #d7e2f3;
  font-weight: 600;
  font-size: 14px;
}
.about-cta {
  margin-top: 36px;
  border-radius: 18px;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(15, 39, 68, 0.92), rgba(30, 58, 138, 0.88)),
    url("truckf.jpeg") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.about-cta h2 { margin: 0 0 8px; font-size: 28px; }
.about-cta p { margin: 0; color: #dbe5f2; max-width: 48ch; }
.about-cta .btn { background: #fff; color: var(--navy); }
.about-cta .btn:hover { background: #f3c7c3; color: var(--navy); }
.fact-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.fact-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  overflow: hidden;
}
.fact-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.fact-card h3 { margin: 0 0 6px; }
.fact-card p { margin: 0; color: var(--muted); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    gap: 12px;
  }
  .nav.open { display: flex; }
  .menu-list { position: static; box-shadow: none; border: 0; padding: 0 0 0 8px; display: block; }
  .cta { display: none; }
  .cards, .checks, .contact-grid, .story, .stats, .fact-row { grid-template-columns: 1fr; }
  .fact-card { grid-template-columns: 96px 1fr; }
  .fact-card img { width: 96px; height: 96px; }
  .about-cta { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 320px; }
}
