/* ============================================================
   Obermeier Truck Service LLC — midwestfreightops.com
   Warm, real American trucking. Charcoal + safety orange.
   ============================================================ */

:root {
  --ink: #0e1318;
  --ink-2: #161d24;
  --ink-3: #1f2933;
  --paper: #faf7f2;
  --paper-2: #f1ece3;
  --text: #222a31;
  --muted: #5c6a75;
  --line: rgba(14, 19, 24, 0.1);
  --orange: #ff6b1c;
  --orange-deep: #e35200;
  --amber: #ffb454;
  --white: #ffffff;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(14, 19, 24, 0.25);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ---------- eyebrow / section headers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex: none;
}
.eyebrow--light { color: var(--amber); }
.eyebrow--light::before { background: var(--amber); }

.section { padding: 96px 0; }
.section--alt { background: var(--paper-2); }

.section--dark {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 107, 28, 0.12), transparent 60%),
    var(--ink);
  color: #e9eef2;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #b9c4cd; }

.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(34px, 4.4vw, 52px); }
.section__lead { margin-top: 16px; font-size: 17px; color: var(--muted); }
.section--dark .section__lead { color: #b9c4cd; }

.section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.section__grid--rev .section__copy { order: 2; }
.section__grid--rev .section__media { order: 1; }

.section__copy h2 {
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 22px;
}
.section__copy p { margin-bottom: 16px; font-size: 16.5px; color: #3a444d; }
.section--alt .section__copy p { color: #3a444d; }

/* ---------- media with badge ---------- */
.section__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.section__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s ease;
}
.section__media:hover img { transform: scale(1.05); }

.section__media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: var(--orange);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 10px;
  font-family: var(--font-display);
  line-height: 1.1;
  box-shadow: 0 12px 24px -10px rgba(227, 82, 0, 0.6);
}
.section__media-badge span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}
.section__media-badge strong { font-size: 22px; text-transform: uppercase; }

/* ---------- tick list ---------- */
.ticklist { margin-top: 24px; display: grid; gap: 12px; }
.ticklist li {
  position: relative;
  padding-left: 34px;
  font-weight: 500;
  font-size: 15.5px;
}
.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 107, 28, 0.14);
}
.ticklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--ink);
  color: #cfd8de;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar__badge {
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.04em;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  position: relative;
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(61, 220, 132, 0.7);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.topbar__right { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar__link { color: #fff; font-weight: 600; }
.topbar__link:hover { color: var(--amber); }
.topbar__sep { opacity: 0.3; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(14, 19, 24, 0.35); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { flex: none; }
.brand__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand__accent { color: var(--orange-deep); }
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }

.nav__cta {
  background: var(--orange);
  color: #fff !important;
  padding: 11px 20px !important;
  border-radius: 9px;
  font-weight: 700 !important;
  transition: background 0.25s ease, transform 0.25s ease;
}
.nav__cta:hover { background: var(--orange-deep); transform: translateY(-1px); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav__burger span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 13, 17, 0.94) 0%, rgba(10, 13, 17, 0.75) 42%, rgba(10, 13, 17, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 13, 17, 0.75) 0%, transparent 30%);
}
.hero__content {
  position: relative;
  padding: 128px 24px 96px;
  max-width: var(--container);
}
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: var(--amber); }
.hero__title {
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 800;
  color: #fff;
  max-width: 12ch;
}
.hero__title .accent { color: var(--orange); }
.hero__sub {
  margin-top: 24px;
  max-width: 560px;
  font-size: 17.5px;
  color: #cfd8de;
}
.hero__actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(255, 107, 28, 0.65);
}
.btn--primary:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn--full { width: 100%; }

.hero__strip {
  margin-top: 64px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 20px;
  backdrop-filter: blur(6px);
  min-width: 170px;
}
.chip__k {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb0bd;
  margin-bottom: 4px;
}
.chip__v {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.chip__v::first-letter { color: var(--orange); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--ink-2);
  color: #fff;
  padding: 44px 0;
  border-top: 3px solid var(--orange);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat__label {
  margin-top: 8px;
  font-size: 13px;
  color: #9fb0bd;
  letter-spacing: 0.04em;
}

/* ============================================================
   CARDS (cargo)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 28, 0.4);
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 107, 28, 0.12);
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   COVERAGE
   ============================================================ */
.section__coverage {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.section__coverage h2 { font-size: clamp(34px, 4vw, 50px); }
.chips-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #dbe4ea;
  background: rgba(255, 255, 255, 0.04);
}

.coverage__panel {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 34px;
}
.coverage__panel h3 {
  font-size: 24px;
  margin-bottom: 24px;
  color: #fff;
}
.steps { display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps span {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong { color: #fff; display: block; font-size: 15.5px; margin-bottom: 2px; }
.steps div { color: #b9c4cd; font-size: 14.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact__info {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 110px;
}
.info-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.info-block h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: 0.04em; }
.info-link {
  font-size: 19px;
  font-weight: 700;
  color: var(--orange-deep);
  display: inline-block;
  margin-bottom: 6px;
}
.info-link:hover { text-decoration: underline; }
.info-block p { font-size: 14px; color: var(--muted); }
.info-text { font-size: 17px; font-weight: 600; color: var(--text); }
.info-block--license {
  background: var(--ink);
  border-color: var(--ink);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.info-block--license span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 180, 84, 0.35);
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.quote-form h3 { font-size: 26px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 13px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.form__note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}
.form__note a { color: var(--orange-deep); font-weight: 700; }
.form__note a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: #b9c4cd;
  padding-top: 72px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 10px; font-size: 14.5px; }
.footer__col a:hover { color: var(--amber); }
.footer__col--brand p { margin-top: 16px; font-size: 14px; max-width: 300px; }

.brand--footer .brand__text { color: #fff; font-size: 21px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7f8f9b;
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .section__grid,
  .section__coverage { grid-template-columns: 1fr; gap: 48px; }
  .section__grid--rev .section__copy { order: 1; }
  .section__grid--rev .section__media { order: 2; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar__right { display: none; }
  .topbar__inner { justify-content: center; }
  .nav__inner { height: 68px; }
  .brand__sub { display: none; }
  .brand__text { font-size: 20px; }

  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(14, 19, 24, 0.3);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta { margin-top: 14px; text-align: center; }

  .section { padding: 64px 0; }
  .hero__content { padding: 88px 24px 64px; }
  .hero__actions .btn { width: 100%; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 26px 22px; }
  .section__media img { min-height: 300px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
