:root {
  --burgundy: #bd0d45;
  --burgundy-dark: #940a35;
  --navy: #243443;
  --text: #33383d;
  --muted: #68717a;
  --light: #f5f6f7;
  --line: #dfe3e6;
  --white: #fff;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.top-bar { color: #e5e8ea; background: #26343f; font-size: 12px; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 37px; }
.top-bar-inner div { display: flex; gap: 26px; }
.top-bar a:hover { color: var(--white); text-decoration: underline; }

.site-header { position: relative; z-index: 5; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 91px; }
.logo img { width: 198px; }
.site-nav { display: flex; align-items: center; gap: 31px; }
.site-nav a {
  position: relative;
  padding: 35px 0 32px;
  color: #3f464c;
  font-size: 13px;
  font-weight: 700;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--burgundy);
  transform: scaleX(0);
  transition: transform .2s;
}
.site-nav a:hover { color: var(--burgundy); }
.site-nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 570px; overflow: hidden; background: #d8dde0; }
.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21,31,39,.72) 0%, rgba(21,31,39,.56) 38%, rgba(21,31,39,.03) 75%),
    url("assets/freight-hero.jpg") center / cover no-repeat;
  transform: scale(1.01);
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: 570px; }
.hero-card { max-width: 620px; padding: 54px 54px 51px 0; color: var(--white); }
.section-kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.hero .section-kicker { color: #ff93b5; }
h1, h2, h3 { margin-top: 0; font-family: "Roboto Slab", Georgia, serif; }
h1 { margin-bottom: 22px; font-size: clamp(39px, 4.3vw, 59px); line-height: 1.16; font-weight: 600; }
.hero-card p { max-width: 570px; margin-bottom: 31px; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: .2s;
}
.button { color: var(--white); background: var(--burgundy); }
.button:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); }
.secondary-button { color: var(--white); border-color: rgba(255,255,255,.85); }
.secondary-button:hover { color: var(--navy); background: var(--white); }

.intro { padding: 86px 0; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 95px; }
h2 { margin-bottom: 22px; color: var(--navy); font-size: clamp(30px, 3.4vw, 43px); line-height: 1.25; font-weight: 600; }
.intro-copy p { margin-top: 0; color: var(--muted); }
.text-link { display: inline-block; margin-top: 7px; color: var(--burgundy); border-bottom: 1px solid #e1b0c1; font-size: 13px; font-weight: 700; }
.text-link span { margin-left: 6px; font-size: 18px; }

.services-section { padding: 83px 0 92px; background: var(--light); border-top: 1px solid #e9ebed; }
.center-heading { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.center-heading h2 { margin-bottom: 15px; }
.center-heading p { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card { padding: 36px 32px 31px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--burgundy); box-shadow: 0 3px 10px rgba(25,38,48,.04); }
.service-icon { width: 51px; height: 51px; margin-bottom: 23px; }
.service-icon svg { width: 100%; fill: none; stroke: var(--burgundy); stroke-width: 1.7; }
.service-card h3 { margin-bottom: 13px; color: var(--navy); font-size: 21px; }
.service-card p { min-height: 98px; margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.service-card a { color: var(--burgundy); font-size: 12px; font-weight: 700; text-transform: uppercase; }

.why-section { padding: 92px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; }
.why-photo { position: relative; padding: 0 26px 26px 0; }
.why-photo::after { position: absolute; right: 0; bottom: 0; z-index: -1; width: 62%; height: 60%; content: ""; background: #e7e9eb; }
.why-photo img { width: 100%; min-height: 410px; object-fit: cover; object-position: center; }
.why-copy p { color: var(--muted); }
.why-copy ul { display: grid; gap: 10px; margin: 25px 0 30px; padding: 0; list-style: none; }
.why-copy li { font-size: 14px; }
.why-copy li span { display: inline-block; width: 21px; height: 21px; margin-right: 8px; color: var(--white); background: var(--burgundy); border-radius: 50%; text-align: center; line-height: 21px; font-size: 10px; }

.numbers-section { color: var(--white); background: var(--navy); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers-grid div { padding: 41px 20px; border-right: 1px solid rgba(255,255,255,.16); text-align: center; }
.numbers-grid div:first-child { border-left: 1px solid rgba(255,255,255,.16); }
.numbers-grid strong { display: block; margin-bottom: 7px; font: 600 34px/1 "Roboto Slab", Georgia, serif; }
.numbers-grid span { color: rgba(255,255,255,.66); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }

.technology-section { padding: 92px 0; background: #f6f7f7; }
.technology-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; }
.technology-copy p { color: var(--muted); }
.technology-image img { width: 100%; border: 8px solid var(--white); box-shadow: 0 8px 25px rgba(30,43,53,.13); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 27px; }
.feature-list span { padding: 12px 14px; color: var(--navy); background: var(--white); border-left: 3px solid var(--burgundy); font-size: 13px; font-weight: 600; }

.industries-section { padding: 72px 0; color: var(--white); background: var(--burgundy); }
.industries-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.industries-section h2 { margin: 0; color: var(--white); }
.section-kicker.light { color: #ffd4e1; }
.industries-section p { margin-top: 0; color: rgba(255,255,255,.85); }
.light-link { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.55); font-weight: 700; }

.contact-section { padding: 88px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.contact-grid > div:first-child p { color: var(--muted); }
.contact-card { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card > div { padding: 20px 24px; background: var(--light); }
.contact-card small { display: block; margin-bottom: 4px; color: var(--burgundy); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.contact-card a, .contact-card address { color: var(--navy); font-size: 15px; font-style: normal; font-weight: 600; }

footer { padding: 58px 0 22px; color: #c2c8cc; background: #202c35; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 55px; }
.footer-grid img { width: 180px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid strong { margin-bottom: 4px; color: var(--white); font-size: 13px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); color: #88949c; font-size: 10px; }

@media (max-width: 900px) {
  .top-bar-inner > span { display: none; }
  .top-bar-inner { justify-content: center; }
  .header-inner { min-height: 78px; }
  .logo img { width: 175px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; }
  .menu-toggle span:not(.sr-only) { width: 25px; height: 2px; background: var(--navy); }
  .site-nav { display: none; }
  .site-nav.open {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px;
    background: var(--white);
    box-shadow: 0 8px 15px rgba(0,0,0,.1);
  }
  .site-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .intro-grid, .why-grid, .technology-grid, .contact-grid { gap: 45px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .top-bar-inner div { gap: 16px; }
  .top-bar-inner div a:nth-child(2) { display: none; }
  .hero, .hero-inner { min-height: 535px; }
  .hero-image { background-position: 57% center; }
  .hero-card { padding: 50px 0; }
  h1 { font-size: 38px; }
  .hero-card p { font-size: 15px; }
  .intro, .why-section, .technology-section, .contact-section { padding: 65px 0; }
  .services-section { padding: 65px 0 70px; }
  .intro-grid, .why-grid, .technology-grid, .industries-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid, .why-grid, .technology-grid, .industries-grid, .contact-grid { gap: 35px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card p { min-height: 0; }
  .why-photo img { min-height: 290px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid div, .numbers-grid div:first-child { border: 1px solid rgba(255,255,255,.1); }
  .numbers-grid strong { font-size: 28px; }
  .industries-section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(3) { display: none; }
}

@media (max-width: 430px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .top-bar-inner div { width: 100%; justify-content: space-between; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { display: none; }
}
