:root {
  --navy: #03275a;
  --blue: #0643a4;
  --indigo: #3e3c94;
  --aubergine: #7d4484;
  --coral: #be4c62;
  --orange: #f86835;
  --mist: #f5f7fb;
  --ink: #10203c;
  --muted: #5a6780;
  --line: #dbe2ee;
  --white: #fff;
  --shadow: 0 24px 70px rgba(3, 39, 90, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 20; padding: 10px 16px; background: var(--navy); color: white; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(24px, 6vw, 88px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(219,226,238,.85);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.brand img { object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
nav a { color: #41506c; font-size: .92rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--blue); }
.nav-action { padding: 10px 17px; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 999px; font-weight: 750; }

.hero {
  position: relative;
  scroll-margin-top: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: clamp(46px, 7vw, 112px);
  min-height: 680px;
  padding: 76px clamp(24px, 7vw, 104px) 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 93% 12%, rgba(248,104,53,.14), transparent 24%),
    radial-gradient(circle at 72% 76%, rgba(62,60,148,.09), transparent 26%),
    linear-gradient(135deg, #fff 0%, #fbfcff 48%, #f3f6fb 100%);
}
.hero::after { content: ""; position: absolute; right: -90px; top: 80px; width: 360px; height: 360px; border: 1px solid rgba(6,67,164,.08); border-radius: 50%; }
.hero-copy, .request-shell { position: relative; z-index: 1; }
.eyebrow, .overline { margin: 0 0 14px; color: var(--blue); font-size: .74rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 740px; color: var(--navy); font-size: clamp(3.5rem, 6.8vw, 6.8rem); line-height: .93; letter-spacing: -.065em; }
.hero h1 span { color: transparent; background: linear-gradient(105deg, var(--blue), var(--aubergine) 52%, var(--orange)); background-clip: text; -webkit-background-clip: text; }
.hero-intro { max-width: 660px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.23rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.primary-button, .secondary-button { min-height: 50px; padding: 13px 20px; border: 0; border-radius: 12px; font-weight: 800; }
.primary-button { color: white; background: var(--orange); box-shadow: 0 10px 30px rgba(248,104,53,.25); }
.primary-button:hover { background: #e95526; transform: translateY(-1px); }
.text-link { color: var(--navy); font-weight: 780; text-decoration: none; }
.text-link:hover { color: var(--blue); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 38px 0 0; padding: 0; color: #4d5b73; font-size: .86rem; list-style: none; }
.trust-strip span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 4px; color: var(--blue); background: #e9f0ff; border-radius: 50%; font-weight: 900; }

.request-shell { padding: 30px; background: rgba(255,255,255,.97); border: 1px solid rgba(219,226,238,.9); border-radius: 24px; box-shadow: var(--shadow); }
.request-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.request-heading h2 { margin: 0; color: var(--navy); font-size: 1.55rem; letter-spacing: -.035em; }
.overline { margin-bottom: 4px; color: var(--muted); font-size: .66rem; }
.demo-pill { padding: 6px 10px; color: var(--aubergine); background: #f3edf6; border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
label { display: grid; gap: 7px; color: #3f4b62; font-size: .78rem; font-weight: 750; }
input, select { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: var(--white); border: 1px solid #cfd8e7; border-radius: 10px; outline: none; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6,67,164,.12); }
.route-fields { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; }
.route-arrow { display: grid; place-items: center; width: 32px; height: 48px; color: var(--blue); font-weight: 900; }
.detail-fields { display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: 12px; margin-top: 15px; }
.form-submit { width: 100%; margin-top: 20px; }
.form-note { margin: 11px 0 0; color: #778298; font-size: .72rem; text-align: center; }

.proof-bar { display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px clamp(24px, 8vw, 130px); color: white; background: var(--navy); }
.proof-bar div { display: grid; justify-items: center; padding: 8px 30px; text-align: center; border-right: 1px solid rgba(255,255,255,.16); }
.proof-bar div:last-child { border: 0; }
.proof-bar strong { font-size: .95rem; }
.proof-bar span { color: rgba(255,255,255,.68); font-size: .78rem; }

.section { scroll-margin-top: 78px; padding: 104px clamp(24px, 8vw, 130px); }
.section-heading { max-width: 720px; margin-bottom: 52px; }
.section-heading h2, .trust-panel h2, .transporter-cta h2, .results-heading h2 { margin: 0; color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p:last-child { max-width: 640px; margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps article { min-height: 248px; padding: 30px; background: var(--mist); border: 1px solid #e4e9f2; border-radius: 18px; }
.step-number { color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.steps h3 { margin: 48px 0 12px; color: var(--navy); font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); }

.results { scroll-margin-top: 78px; padding: 90px clamp(24px, 8vw, 130px); background: var(--mist); }
.results.hidden { display: none; }
.results-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 34px; }
.results-heading h2 { font-size: clamp(2rem, 3vw, 3rem); }
.results-heading p { color: var(--muted); }
.results-heading > span { padding: 7px 11px; color: #69758c; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; white-space: nowrap; }
.quote-results { display: grid; gap: 14px; }
.result-card { display: grid; grid-template-columns: 1.45fr 1.25fr .55fr auto; align-items: center; gap: 24px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 8px 24px rgba(3,39,90,.05); }
.result-name { display: flex; align-items: center; gap: 14px; }
.result-avatar { display: grid; place-items: center; flex: 0 0 46px; height: 46px; color: white; background: linear-gradient(145deg, var(--blue), var(--aubergine)); border-radius: 13px; font-size: 1.25rem; }
.result-card h3, .result-card p { margin: 0; }
.result-card h3 { color: var(--navy); font-size: 1rem; }
.result-card p, .result-card small { color: var(--muted); font-size: .78rem; }
.rating { color: #9c5900; font-weight: 850; }
.tag { display: inline-block; margin-bottom: 5px; padding: 4px 8px; color: var(--blue); background: #edf3ff; border-radius: 999px; font-size: .67rem; font-weight: 800; }
.result-price { display: grid; }
.result-price strong { color: var(--navy); font-size: 1.35rem; }
.select-button { min-height: 42px; padding: 9px 15px; color: var(--navy); background: white; border: 1px solid #bdc9da; border-radius: 10px; font-weight: 800; }
.select-button:hover { color: white; background: var(--navy); border-color: var(--navy); }

.trust-section { padding-top: 120px; }
.trust-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding: clamp(38px, 6vw, 76px); color: white; background: linear-gradient(130deg, var(--navy), #0b3470 56%, var(--indigo)); border-radius: 28px; overflow: hidden; }
.trust-panel h2 { color: white; }
.trust-panel p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.72); }
.eyebrow.light { color: #ffad8e; }
.trust-panel ul { display: grid; margin: 0; padding: 0; list-style: none; }
.trust-panel li { display: flex; align-items: center; gap: 18px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-weight: 700; }
.trust-panel li:last-child { border: 0; }
.trust-panel li span { color: #ffad8e; font-size: .7rem; font-weight: 900; }

.transporter-cta { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; padding-top: 70px; }
.transporter-cta p { color: var(--muted); }
.secondary-button { color: white; background: var(--navy); }
.secondary-button:hover { background: var(--blue); }
footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 36px clamp(24px, 8vw, 130px); color: #526079; background: var(--mist); border-top: 1px solid var(--line); font-size: .8rem; }

dialog { width: min(580px, calc(100% - 32px)); padding: 34px; border: 0; border-radius: 20px; box-shadow: 0 32px 100px rgba(3,39,90,.3); }
dialog::backdrop { background: rgba(3,18,43,.62); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; color: var(--muted); background: var(--mist); border: 0; border-radius: 50%; font-size: 1.35rem; }
dialog h2 { margin: 0 0 18px; color: var(--navy); font-size: 1.8rem; }
.dialog-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.dialog-summary div { display: grid; gap: 3px; padding: 14px; background: var(--mist); border-radius: 10px; }
.dialog-summary span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.dialog-summary strong { color: var(--navy); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 30; padding: 12px 18px; color: white; background: var(--navy); border-radius: 999px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  nav a { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { max-width: 780px; }
  .request-shell { max-width: 720px; }
  .result-card { grid-template-columns: 1.2fr 1fr auto; }
  .result-price { grid-column: 3; grid-row: 1; }
  .select-button { grid-column: 3; grid-row: 2; }
  .trust-panel { gap: 50px; }
}

@media (max-width: 720px) {
  .site-header { min-height: 68px; }
  .brand img { width: 34px; height: 40px; }
  .nav-action { padding: 8px 12px; font-size: .78rem; }
  .hero { min-height: 0; padding-top: 48px; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .request-shell { padding: 22px; border-radius: 18px; }
  .route-fields, .detail-fields { grid-template-columns: 1fr; }
  .route-arrow { display: none; }
  .proof-bar { grid-template-columns: 1fr; }
  .proof-bar div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .steps, .trust-panel, .transporter-cta { grid-template-columns: 1fr; }
  .steps article { min-height: 210px; }
  .results-heading { align-items: flex-start; flex-direction: column; }
  .result-card { grid-template-columns: 1fr auto; }
  .result-card > :nth-child(2) { grid-column: 1 / -1; }
  .result-price { grid-column: 2; grid-row: 1; }
  .select-button { grid-column: 1 / -1; grid-row: auto; }
  .trust-panel { gap: 30px; border-radius: 20px; }
  footer { align-items: flex-start; flex-direction: column; }
}

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