:root {
  --ink: #20232a;
  --ink-2: #323743;
  --muted: #626b78;
  --line: #dfe4ea;
  --soft: #f3f6f9;
  --white: #ffffff;
  --red: #f01414;
  --red-dark: #c90000;
  --navy: #182b54;
  --steel: #53657a;
  --silver: #d7dde6;
  --max: 1180px;
  --radius: 6px;
  --shadow: 0 18px 40px rgba(25, 36, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--red);
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 6px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 3px 18px rgba(20, 26, 35, 0.08);
}

.top-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 0;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.top-strip a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 700;
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-width: 280px;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(250px, 24vw, 370px);
  height: auto;
  max-height: 104px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--red);
}

.nav-cta,
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--red);
  border-radius: 3px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.nav-cta:hover,
.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--red);
  border-color: var(--red);
}

.button.dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.35rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
}

p {
  margin-top: 0;
}

.hero {
  min-height: 650px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.16), rgba(24, 43, 84, 0.82) 48%, rgba(17, 24, 39, 0.96)),
    url("assets/truck-oakland-yard-wide.png") left center / cover no-repeat;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  padding: 92px 0 104px;
  display: grid;
  justify-items: end;
}

.hero-content {
  max-width: 760px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.15rem, 3vw, 2rem);
}

.hero h1 {
  margin-bottom: 20px;
}

.red-rule {
  width: 190px;
  height: 8px;
  margin: 0 auto 24px;
  background: var(--red);
}

.hero-copy {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--soft);
}

.section.red {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(240, 20, 20, 0.96), rgba(208, 0, 0, 0.98)),
    url("assets/freight-pattern.svg") center / cover no-repeat;
}

.section-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}

.section-header p,
.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.section.red .section-header p,
.section.red .lead {
  color: rgba(255, 255, 255, 0.9);
}

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

.service-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: start;
}

.icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 3px solid #7d8794;
  border-radius: 14px;
  color: var(--red);
  font-weight: 900;
  font-size: 1.45rem;
  background: var(--white);
  position: relative;
}

.icon::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: -9px;
  width: 22px;
  height: 22px;
  border-right: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
}

.service-card p,
.feature-text p,
.content p,
.content li,
.card p {
  color: var(--muted);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.split-feature.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.feature-image {
  min-height: 340px;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(24, 43, 84, 0.12), rgba(240, 20, 20, 0.08)),
    url("assets/truck-oakland-yard-close.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.feature-image.driver {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(240, 20, 20, 0.08)),
    url("assets/truck-panther-yard.png") center / cover no-repeat;
}

.feature-text .mini-rule {
  width: 72px;
  height: 2px;
  background: var(--red);
  margin: 0 0 26px;
}

.arrow-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}

.arrow-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
}

.arrow-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 16px;
  height: 16px;
  border-right: 6px solid var(--red);
  border-bottom: 6px solid var(--red);
  transform: rotate(-45deg);
}

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

.fact {
  padding: 20px;
}

.fact strong {
  display: block;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.fact span {
  display: block;
  margin-top: 10px;
  font-weight: 900;
}

.truck-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.truck-gallery figure,
.person-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(20, 26, 35, 0.08);
}

.truck-gallery img,
.person-photo {
  display: block;
  width: 100%;
  object-fit: cover;
}

.truck-gallery img {
  aspect-ratio: 4 / 3;
}

.truck-gallery figcaption {
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.person-photo {
  height: 210px;
}

.person-card h3 {
  margin: 18px 18px 8px;
  font-size: 1.08rem;
}

.person-card p {
  margin: 0 18px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 8px 26px rgba(20, 26, 35, 0.06);
}

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 70px 0;
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.12rem;
}

.page-visual {
  min-height: 260px;
  background:
    linear-gradient(120deg, rgba(240, 20, 20, 0.28), rgba(17, 24, 39, 0.58)),
    url("assets/truck-road-collage.png") center / cover;
  box-shadow: var(--shadow);
}

.services-visual {
  background:
    linear-gradient(120deg, rgba(240, 20, 20, 0.12), rgba(17, 24, 39, 0.26)),
    url("assets/services-truck-collage.png") center / cover;
}

.policy-contact-visual {
  background:
    linear-gradient(120deg, rgba(240, 20, 20, 0.1), rgba(17, 24, 39, 0.3)),
    url("assets/policy-contact-truck.png") center / cover;
}

.driver-recruiting-visual {
  background:
    linear-gradient(120deg, rgba(240, 20, 20, 0.1), rgba(17, 24, 39, 0.28)),
    url("assets/home-truck-driver.png") center / cover;
}

.content {
  max-width: 900px;
}

.content h2 {
  margin-top: 32px;
}

.content ul {
  padding-left: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.contact-panel {
  background: var(--soft);
  border-left: 6px solid var(--red);
  padding: 28px;
}

.contact-panel p {
  color: var(--muted);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-title {
  padding: 22px 30px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.form-title h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.form-body {
  padding: 30px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-weight: 900;
}

.required {
  color: var(--red);
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b9c2cf;
  border-radius: 3px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.field {
  margin-bottom: 18px;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 18px 0;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 5px;
}

.checkbox-field label {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.notice {
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  padding: 18px;
  background: var(--soft);
  color: var(--muted);
}

.form-message {
  color: var(--red);
  font-weight: 700;
  min-height: 24px;
}

.site-footer {
  color: var(--white);
  background: #111827;
}

.footer-inner {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
}

.site-footer h2,
.site-footer h3,
.site-footer strong {
  color: var(--white);
}

.site-footer p {
  color: #d7dce4;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-contact a {
  color: #f3f6f9;
}

.footer-logo {
  width: 250px;
  height: auto;
  margin-bottom: 18px;
  background: transparent;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: #c5ccd7;
  font-size: 0.9rem;
}

.copyright .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 940px) {
  .top-strip {
    justify-content: flex-start;
  }

  .nav-wrap {
    min-height: 82px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
    justify-content: flex-start;
    padding: 0 0 18px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .service-grid,
  .cards,
  .grid,
  .truck-gallery,
  .people-grid,
  .fact-grid,
  .footer-inner,
  .contact-layout,
  .page-hero .section-inner,
  .split-feature,
  .split-feature.reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(24, 43, 84, 0.8), rgba(17, 24, 39, 0.96)),
      url("assets/truck-oakland-yard-wide.png") center / cover no-repeat;
  }

  .hero-inner {
    justify-items: center;
    padding: 62px 0;
  }

  .page-visual {
    min-height: 180px;
  }
}

@media (max-width: 620px) {
  .top-strip,
  .nav-wrap,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .top-strip {
    flex-direction: column;
    gap: 4px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 210px;
    max-height: 82px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    text-align: left;
  }

  .red-rule {
    margin-left: 0;
  }

  .cta-row {
    justify-content: flex-start;
  }

  .section {
    padding: 54px 0;
  }

  .service-card {
    grid-template-columns: 64px 1fr;
    gap: 14px;
  }

  .icon {
    width: 58px;
    height: 58px;
    font-size: 1rem;
  }

  .feature-image {
    min-height: 240px;
  }

  .person-photo {
    height: 240px;
  }

  .form-body,
  .form-title {
    padding: 22px;
  }
}
