/* ===== Base ===== */
:root {
  --navy: #0b1f3a;
  --navy-2: #13294b;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --text: #1f2937;
  --muted: #64748b;
  --bg-alt: #f4f6fa;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; letter-spacing: .3px; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container--narrow { width: min(800px, 92%); }
.accent { color: var(--orange); }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: .6em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .9em 1.6em; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease; font-family: inherit;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249,115,22,.35); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: .55em 1.2em; font-size: .9rem; }
.btn--block { width: 100%; }

/* ===== Icons ===== */
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
  color: #fff;
}
.header.is-scrolled { background: rgba(11,31,58,.97); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: .6em; font-size: 1.25rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.logo__text strong { color: var(--orange); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 1.8rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--orange); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .3s; }

/* ===== Hero ===== */
.hero {
  background: radial-gradient(circle at 80% 20%, #1d3a66 0%, var(--navy) 60%);
  color: #e2e8f0; padding: 140px 0 90px; overflow: hidden;
}
.hero h1 { color: #fff; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero__lead { font-size: 1.15rem; color: #cbd5e1; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.5rem; }
.hero__actions .btn--ghost { color: #fff; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; color: #94a3b8; }
.hero__trust li::before { content: "¹3"; color: var(--orange); font-weight: 700; margin-right: .45em; }

.hero__art { position: relative; }
.truck { animation: bob 1.2s ease-in-out infinite; position: relative; z-index: 1; }
.wheel { transform-box: fill-box; transform-origin: center; }
@keyframes bob { 50% { transform: translateY(-3px); } }
.road { height: 14px; background: #1e293b; border-radius: 4px; margin-top: -18px; overflow: hidden; position: relative; }
.road span {
  position: absolute; top: 6px; left: 0; width: 200%; height: 3px;
  background: repeating-linear-gradient(90deg, #fbbf24 0 40px, transparent 40px 80px);
  animation: road 0.8s linear infinite;
}
@keyframes road { to { transform: translateX(-80px); } }

/* ===== Stats ===== */
.stats { background: var(--orange); color: #fff; padding: 2.5rem 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat__num { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
.stat__label { font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #cbd5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section__head p:last-child { color: var(--muted); }
.section--dark .section__head p:last-child { color: #94a3b8; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 12px; background: #fff3e8;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  color: var(--orange); transition: .25s ease;
}
.card__icon .icon { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--orange); color: #fff; }
.card p { color: var(--muted); margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.split > div > p { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.checklist li {
  background: #fff; border-radius: var(--radius); padding: 1.3rem 1.3rem 1.3rem 3.2rem;
  position: relative; box-shadow: 0 2px 8px rgba(11,31,58,.04);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 1.1rem; top: 1.2rem;
  width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.checklist strong { display: block; color: var(--navy); margin-bottom: .2em; }
.checklist span { font-size: .92rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { text-align: center; padding: 1rem 1.5rem; position: relative; }
.step__num {
  width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.8rem; border: 5px solid #fff3e8;
  box-shadow: 0 0 0 2px var(--orange);
}
.step p { color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; left: calc(50% + 50px); width: calc(100% - 100px);
  border-top: 2px dashed #cbd5e1;
}

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 2.2rem; display: flex; flex-direction: column; position: relative; color: #fff;
}
.plan--featured { background: #fff; color: var(--text); transform: scale(1.04); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.plan--featured h3 { color: var(--navy); }
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: .75rem; font-weight: 700;
  padding: .35em 1em; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px;
}
.plan__price { font-family: var(--font-head); font-size: 3.6rem; font-weight: 700; line-height: 1; margin: .5rem 0 0; color: var(--orange); }
.plan__price span { font-size: 1.8rem; }
.plan__note { font-size: .9rem; opacity: .7; }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 2rem; flex: 1; }
.plan li { padding: .5em 0 .5em 1.6em; position: relative; border-bottom: 1px solid rgba(148,163,184,.15); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.plan .btn--ghost { color: #fff; }
.pricing__fleet { text-align: center; margin-top: 2.5rem; }
.pricing__fleet a { color: var(--orange); font-weight: 600; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote {
  margin: 0; background: var(--bg-alt); border-radius: var(--radius); padding: 2rem;
  border-top: 4px solid var(--orange); display: flex; flex-direction: column; justify-content: space-between;
}
.quote blockquote { margin: 0 0 1.5rem; font-size: 1.02rem; }
.quote blockquote::before { content: "★★★★★"; display: block; color: #fbbf24; letter-spacing: 2px; margin-bottom: .8rem; }
.quote figcaption { font-size: .9rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--navy); }

/* FAQ */
.faq details {
  background: #fff; border-radius: 12px; margin-bottom: 1rem; border: 1px solid var(--border);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  padding: 1.2rem 1.5rem; cursor: pointer; font-weight: 600; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.2rem; margin: 0; color: var(--muted); }

/* Contact */
.split--contact { align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; font-weight: 500; }
.contact-list span {
  width: 44px; height: 44px; border-radius: 10px; background: #fff3e8;
  display: grid; place-items: center; flex-shrink: 0; color: var(--orange);
}
.contact-list .icon { width: 20px; height: 20px; }
.contact-list a:hover { color: var(--orange); }

.form { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: .4rem; padding: .8em 1em;
  border: 1.5px solid var(--border); border-radius: 10px; font: inherit; font-weight: 400;
  color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.form .is-invalid { border-color: #dc2626; }
.form textarea { resize: vertical; }
.form__status { margin: 1rem 0 0; font-size: .95rem; text-align: center; min-height: 1.5em; }
.form__status.ok { color: #16a34a; }
.form__status.err { color: #dc2626; }

/* Footer */
.footer { background: #071528; color: #94a3b8; padding: 3.5rem 0 1.5rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.logo--light { color: #fff; }
.footer__tag { margin-top: 1rem; max-width: 320px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .88rem; }
.footer__bottom p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner, .split { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; }
  .cards, .testimonials, .pricing { grid-template-columns: 1fr 1fr; }
  .plan--featured { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy); padding: 1rem 4%; transform: translateY(-120%);
    transition: transform .3s ease; box-shadow: 0 10px 20px rgba(0,0,0,.2); z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: .9rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 1rem; border: 0; }
  .header.menu-open { background: var(--navy); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .section { padding: 70px 0; }
  .cards, .testimonials, .pricing, .checklist, .form__row { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
}

@media (max-width: 400px) {
  .header .logo { font-size: 1.05rem; }
  .header .logo__mark { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
