/* ============================================================================
   Motown Transport Solutions — marketing site design system
   Palette matched to the Ben's Best Price / shopwithben.com brand system used
   by the operator dashboard: brand orange #FB6514 (+#FFF6ED wash, #FFC882
   light), ink #181D27, grays #717680/#414651, hairlines #D5D7DA/#E9EAEB,
   canvas #F9F9F9/white. Type: Lexend.
   ========================================================================== */

:root {
  --brand: #fb6514;
  --brand-dark: #d64f08;
  --brand-wash: #fff6ed;
  --brand-light: #ffc882;
  --brand-ink: #b93c02;
  --ink: #181d27;
  --mid: #414651;
  --muted: #717680;
  --hairline: #d5d7da;
  --hairline-soft: #e9eaeb;
  --canvas: #f9f9f9;
  --surface: #ffffff;
  --green: #12b76a;
  --green-wash: #ecfdf3;
  --green-ink: #027a48;

  --shell: 1160px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(24, 29, 39, 0.04);
  --shadow-md: 0 4px 16px rgba(24, 29, 39, 0.06);
  --shadow-lg: 0 12px 40px rgba(24, 29, 39, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

/* ---- typography ----------------------------------------------------------- */
h1, h2, h3, h4 { letter-spacing: -0.025em; line-height: 1.18; margin: 0; }
h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }
p  { margin: 0 0 16px; }

.eyebrow {
  font-size: 12px; font-weight: 650; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--brand-ink);
  background: var(--brand-wash); border: 1px solid var(--brand-light);
  border-radius: 999px; padding: 5px 13px; display: inline-block;
  margin-bottom: 20px;
}
.lede { font-size: 18px; color: var(--mid); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; transition: all .15s ease; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(214,79,8,.28); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 4px 12px rgba(214,79,8,.30); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--hairline); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---- nav ------------------------------------------------------------------ */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 249, 249, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav { display: flex; align-items: center; gap: 8px; padding: 15px 0; }
.brand-mark {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--ink);
  margin-right: 28px;
}
.brand-mark:hover { text-decoration: none; }
.brand-mark .dot {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.brand-mark em { font-style: normal; color: var(--brand); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; color: var(--muted);
  font-weight: 500; font-size: 15px;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); text-decoration: none; }
.nav .spacer { flex: 1; }

/* ---- hero ----------------------------------------------------------------- */
.hero { padding: 84px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 380px at 78% -8%, rgba(251,101,20,.10), transparent 65%),
    radial-gradient(700px 320px at 8% 8%, rgba(251,101,20,.05), transparent 60%);
  pointer-events: none;
}
.hero .shell { position: relative; }
.hero h1 { max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { margin-top: 22px; font-size: 19px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.trust-strip {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 26px;
  border-top: 1px solid var(--hairline-soft);
}
.trust-strip div { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--mid); }
.trust-strip .tick {
  width: 19px; height: 19px; border-radius: 50%; flex: none;
  background: var(--green-wash); color: var(--green-ink);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}

/* ---- sections ------------------------------------------------------------- */
section { padding: 76px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--hairline-soft); }
.section-head { max-width: 66ch; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--hairline); }
.card h3 { margin-bottom: 9px; }
.card p { margin: 0; color: var(--mid); font-size: 15px; }
section.alt .card { background: var(--canvas); }

.icon-badge {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 17px;
  background: var(--brand-wash); border: 1px solid var(--brand-light);
  display: grid; place-items: center; font-size: 19px;
}

/* ---- steps ---------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--mid); font-size: 15px; margin: 0; }

/* ---- split ---------------------------------------------------------------- */
.split { display: grid; gap: 52px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--mid); }
.checklist .tick {
  width: 21px; height: 21px; border-radius: 50%; flex: none; margin-top: 2px;
  background: var(--brand-wash); color: var(--brand-ink);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.checklist strong { color: var(--ink); font-weight: 600; }

.panel {
  background: var(--surface); border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md);
}
.panel-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--hairline-soft); font-size: 15px;
}
.panel-row:last-child { border-bottom: 0; padding-bottom: 0; }
.panel-row:first-child { padding-top: 0; }
.panel-row span:first-child { color: var(--muted); }
.panel-row span:last-child { font-weight: 600; text-align: right; }

/* ---- CTA band ------------------------------------------------------------- */
.cta-band {
  background: var(--ink); color: #fff;
  border-radius: 20px; padding: 56px 44px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 260px at 50% 0%, rgba(251,101,20,.24), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.76); max-width: 56ch; margin: 0 auto 30px; }

/* ---- FAQ ------------------------------------------------------------------ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
details.qa {
  background: var(--surface); border: 1px solid var(--hairline-soft);
  border-radius: var(--radius); padding: 18px 22px;
}
details.qa summary {
  cursor: pointer; font-weight: 600; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--brand); font-size: 21px; font-weight: 400; flex: none; }
details.qa[open] summary::after { content: "\2212"; }
details.qa p { margin: 14px 0 0; color: var(--mid); font-size: 15px; }

/* ---- footer --------------------------------------------------------------- */
footer {
  background: var(--surface);
  border-top: 1px solid var(--hairline-soft);
  padding: 52px 0 34px; font-size: 14px;
}
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1.6fr 1fr 1fr; margin-bottom: 34px; }
.foot-grid h4 {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted); margin-bottom: 15px; font-weight: 650;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--mid); }
.foot-grid a:hover { color: var(--brand); }
.foot-bottom {
  border-top: 1px solid var(--hairline-soft); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.authority {
  margin-top: 14px; font-size: 13px; color: var(--muted);
  background: var(--canvas); border: 1px solid var(--hairline-soft);
  border-radius: 9px; padding: 12px 14px; line-height: 1.55;
}

/* ---- legal pages ---------------------------------------------------------- */
.legal { max-width: 790px; margin: 0 auto; padding: 60px 24px 84px; }
.legal h1 { font-size: 38px; margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 44px; }
.legal h2 { font-size: 22px; margin: 44px 0 14px; }
.legal h3 { font-size: 17px; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--mid); font-size: 15.5px; }
.legal ul { padding-left: 22px; display: grid; gap: 9px; margin: 0 0 16px; }
.legal strong { color: var(--ink); }
.legal .toc {
  background: var(--surface); border: 1px solid var(--hairline-soft);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px;
}
.legal .toc h4 {
  margin: 0 0 12px; font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted); font-weight: 650;
}
.legal .toc ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14.5px; }
.callout {
  background: var(--brand-wash); border: 1px solid var(--brand-light);
  border-radius: var(--radius); padding: 17px 20px; margin: 22px 0;
  font-size: 14.5px; color: var(--mid);
}
.callout strong { color: var(--brand-ink); }

/* ---- quote form ----------------------------------------------------------- */
.form-card {
  background: var(--surface); border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--mid); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--hairline);
  border-radius: 9px; background: var(--surface); width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint, rgba(251,101,20,.15));
}
.field input::placeholder, .field textarea::placeholder { color: #a3a7ae; }
.form-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }

/* ---- placeholder marker (REMOVE ONCE FILLED IN) --------------------------- */
.tbd {
  background: #fff3cd; border-bottom: 2px dotted #b54708;
  color: #7a4a06; font-weight: 600; padding: 0 4px; border-radius: 3px;
}

/* ---- responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 60px 0 52px; }
  .cta-band { padding: 42px 24px; }
  .split { gap: 36px; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .trust-strip { gap: 14px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
