:root {
  --ink: #172326;
  --muted: #5d686b;
  --line: #d8e0df;
  --paper: #f7f8f5;
  --white: #ffffff;
  --teal: #0f6d68;
  --teal-dark: #0a4645;
  --amber: #c87b1f;
  --charcoal: #101719;
  --shadow: 0 20px 50px rgba(16, 23, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 28px;
  background: rgba(247, 248, 245, 0.94);
  border-bottom: 1px solid rgba(216, 224, 223, 0.82);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 6px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #344144;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/transportation-operations-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 17, 18, 0.92) 0%, rgba(9, 17, 18, 0.76) 44%, rgba(9, 17, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(9, 17, 18, 0.48), rgba(9, 17, 18, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 92px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #90d8d1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 5.1rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-actions {
  display: grid;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible,
.form-submit:hover,
.form-submit:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.proof-list li {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.pain-band {
  padding: 58px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.pain-grid,
.split-grid,
.assessment-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
}

.pain-grid h2 {
  margin-bottom: 0;
  font-size: 2.24rem;
}

.pain-points {
  display: grid;
  gap: 12px;
}

.pain-points p {
  margin: 0;
  padding: 16px 18px;
  background: #edf3f1;
  border-left: 4px solid var(--amber);
  border-radius: 6px;
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 270px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 23, 25, 0.05);
}

.service-card p,
.about-copy p,
.assessment-copy p,
.contact-actions p {
  color: var(--muted);
}

.card-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
}

.split-section {
  background: #e9efed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-copy {
  font-size: 1.06rem;
}

.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cred-row span {
  padding: 9px 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
}

.assessment-section {
  padding: 86px 0;
  color: var(--white);
  background: var(--charcoal);
}

.assessment-copy {
  position: sticky;
  top: 104px;
}

.assessment-copy p,
.assessment-copy li {
  color: rgba(255, 255, 255, 0.76);
}

.assessment-copy ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 28px 0 0;
}

.assessment-form {
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 16px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #2d383b;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid #c8d2d0;
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 109, 104, 0.18);
  border-color: var(--teal);
}

.form-submit {
  width: 100%;
  color: var(--white);
  background: var(--teal);
  cursor: pointer;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-section {
  background: var(--white);
}

.contact-details {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: #edf3f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-details[hidden] {
  display: none;
}

.contact-details p {
  margin: 0;
}

.contact-details a {
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-toggle {
  width: fit-content;
  cursor: pointer;
}

.dark-button {
  margin-top: 6px;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--charcoal);
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 920px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .pain-grid h2 {
    font-size: 2rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .pain-grid,
  .split-grid,
  .assessment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .assessment-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .pain-grid h2 {
    font-size: 1.65rem;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 0 14px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 17, 18, 0.94) 0%, rgba(9, 17, 18, 0.78) 100%),
      linear-gradient(0deg, rgba(9, 17, 18, 0.48), rgba(9, 17, 18, 0.08));
  }

  .hero-content,
  .section,
  .assessment-section {
    padding: 64px 0;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact-toggle {
    width: 100%;
  }

  .service-grid,
  .two-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 24px;
  }

  .assessment-form {
    padding: 20px;
  }
}
