/* MemphisTransload.com - demand-test site
   Palette: navy #042045, orange #EF6E1B. Mobile-first, dependency-free. */

:root {
  --navy: #042045;
  --navy-700: #0a2e5c;
  --navy-50: #eef2f8;
  --orange: #EF6E1B;
  --orange-600: #d65f10;
  --ink: #1a2433;
  --muted: #5a6675;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --ok: #1c8c4a;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(4, 32, 69, 0.08);
  --shadow-lg: 0 12px 32px rgba(4, 32, 69, 0.16);
  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.85rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.mt0 { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: 1.05rem; line-height: 1;
  padding: 16px 28px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-align: center; transition: transform .05s ease, background .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: 18px 34px; font-size: 1.15rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: #fff;
  box-shadow: var(--shadow);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; font-size: 1.15rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--orange); }
.nav { display: none; gap: 18px; align-items: center; }
.nav a { color: #dce4f0; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav a:hover { color: #fff; text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { color: #fff; font-weight: 700; white-space: nowrap; display: none; }
.header-phone:hover { color: var(--orange); text-decoration: none; }
.header-phone span { display: block; font-size: .68rem; font-weight: 600; color: #9fb1cc; letter-spacing: .04em; text-transform: uppercase; }
.header-cta .btn { padding: 11px 18px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 65%, #103a72 100%);
  color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(239,110,27,.22), transparent 70%); pointer-events: none;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #cfd9e8; margin-bottom: 28px; }
.hero .eyebrow { color: var(--orange); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-trust div { font-size: .9rem; color: #cfd9e8; }
.hero-trust b { color: #fff; display: block; font-size: 1.05rem; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card .ico { width: 40px; height: 40px; color: var(--orange); margin-bottom: 14px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0 0 1rem; font-size: .98rem; }
.card a.more { font-weight: 700; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px;
  background: var(--orange); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.25rem;
}
.step h3 { margin: 4px 0 .3em; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Feature list ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  background: var(--ok); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfd9e8; max-width: 56ch; margin: 0 auto 26px; }

/* ---------- Split (service intro) ---------- */
.split { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: start; }

/* ---------- Quote form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 28px 24px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.col-2 { grid-column: auto; }
.field label { font-weight: 700; font-size: .92rem; color: var(--navy); }
.field .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,110,27,.15);
}
.field textarea { min-height: 92px; resize: vertical; }
.checkgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checkgrid label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .96rem; color: var(--ink); }
.checkgrid input { width: auto; }
.form-hint { font-size: .85rem; color: var(--muted); }
.form-error { color: #c0392b; font-size: .9rem; font-weight: 600; display: none; }
.form-status { display: none; padding: 12px 14px; border-radius: 8px; font-weight: 600; margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6da; padding: 48px 0 28px; font-size: .92rem; }
.site-footer a { color: #dce4f0; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 12px; letter-spacing: .03em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-creds { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .82rem; color: #93a3bd; }
.footer-creds b { color: #cdd8e8; }
.footer-bottom { margin-top: 16px; font-size: .8rem; color: #7e8ea8; }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--navy); box-shadow: 0 -2px 12px rgba(0,0,0,.2);
}
.callbar a { padding: 14px 8px; text-align: center; font-weight: 800; color: #fff; font-size: 1rem; }
.callbar a:hover { text-decoration: none; }
.callbar .call { background: var(--navy-700); }
.callbar .quote { background: var(--orange); }
body { padding-bottom: 56px; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: .85rem; color: var(--muted); padding: 14px 0 0; }
.crumb a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .field.col-2 { grid-column: span 1; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-phone { display: block; }
  .callbar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Wordmark (icon-free lockup) ---------- */
.wm { font-weight: 800; letter-spacing: -.01em; color: #fff; }
.wm b { color: var(--orange); font-weight: 800; }

/* ---------- Hero grid (copy + freight-flow column) ---------- */
.hero-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
.hero-copy h1 { max-width: 18ch; }
.hero-flow { width: 100%; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.trust-strip ul {
  list-style: none; margin: 0 auto; padding: 13px 20px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0;
}
.trust-strip li {
  color: var(--muted); font-size: .84rem; font-weight: 600; letter-spacing: .01em;
  display: inline-flex; align-items: center; white-space: nowrap;
}
.trust-strip li b { color: var(--navy); font-weight: 700; }
.trust-strip li:not(:last-child)::after {
  content: "\00B7"; color: var(--orange); font-weight: 800; margin: 0 14px; font-size: 1.1rem;
}

/* ---------- Freight-flow column ---------- */
.flow {
  background: #0b2f57; border: 1px solid #1c4b7e; border-radius: 16px;
  padding: 26px 26px 22px; box-shadow: var(--shadow-lg);
}
.flow-eyebrow {
  color: var(--orange); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  font-size: .72rem; margin: 0 0 5px;
}
.flow-sub { color: #9fb6d1; font-size: .92rem; margin: 0 0 22px; }
.flow-steps { list-style: none; margin: 0; padding: 0; }
.flow-step { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding-bottom: 24px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step:not(:last-child)::before {
  content: ""; position: absolute; left: 18px; top: 38px; bottom: -2px; width: 2px; background: #1c4b7e;
}
.flow-node {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--orange);
  background: var(--navy); color: var(--orange); font-weight: 700; font-size: .98rem;
  display: grid; place-items: center; position: relative; z-index: 1;
}
.flow-step:not(:last-child) .flow-node::after {
  content: ""; position: absolute; left: 50%; top: calc(100% + 5px); transform: translateX(-50%);
  width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 7px solid var(--orange);
}
.flow-step--last .flow-node { background: var(--orange); color: var(--navy); border-color: var(--orange); }
.flow-text { padding-top: 6px; }
.flow-text b { color: #fff; font-weight: 700; font-size: 1.06rem; display: block; line-height: 1.2; }
.flow-text span { color: #9fb6d1; font-size: .9rem; display: block; margin-top: 2px; }
.flow-foot {
  color: #fff; font-weight: 700; font-size: .95rem; margin: 22px 0 0;
  padding-top: 18px; border-top: 1px solid #1c4b7e;
}

@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.04fr 0.82fr; gap: 50px; align-items: center; }
  .hero-flow { max-width: 420px; margin-left: auto; }
}
