:root {
  font:
    16px/1.5 Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: #163448;
  background: #eef3f6;
  --navy: #102f45;
  --blue: #0d86bd;
  --gold: #c99728;
  --line: #d7e2e9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
.quote-header {
  height: 86px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand img {
  width: 210px;
  max-height: 52px;
  object-fit: contain;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 14px;
}
.header-actions > a:not(.back) {
  color: #0a6f9f;
  font-weight: 800;
  text-decoration: none;
}
.back {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: 25px;
}
.quote-layout {
  display: grid;
  grid-template-columns: minmax(320px, 41%) minmax(0, 59%);
  max-width: 1600px;
  margin: auto;
  min-height: calc(100vh - 86px);
}
.quote-story {
  position: relative;
  background:
    linear-gradient(145deg, #0e2f45ed, #0e526fd9),
    url("/freight-3d-v1.jpg") center/cover;
  color: #fff;
  padding: 8vw 6vw;
}
.story-content {
  position: sticky;
  top: 150px;
  max-width: 550px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 900;
  color: #49c5f1;
}
.quote-story h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  margin: 18px 0;
}
.quote-story p {
  font-size: 19px;
  color: #d8e9f2;
}
.quote-story ul {
  padding-left: 22px;
  font-size: 18px;
  line-height: 2;
}
.support {
  display: grid;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #ffffff44;
  gap: 7px;
}
.support span {
  font-size: 10px;
  letter-spacing: 2px;
}
.support a {
  text-decoration: none;
  font-weight: 800;
}
.quote-workspace {
  padding: 58px clamp(28px, 5vw, 80px);
  background: #fff;
}
.workspace-head {
  max-width: 820px;
}
.workspace-head h2 {
  font-size: 40px;
  line-height: 1.1;
  margin: 9px 0;
}
.workspace-head > p:last-child {
  color: #627887;
}
.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 40px 0 50px;
  counter-reset: x;
}
.progress li {
  position: relative;
  border-top: 4px solid #dbe3e8;
  padding-top: 15px;
  color: #82939e;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.progress li span {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #dbe3e8;
  border: 4px solid #fff;
  border-radius: 50%;
}
.progress li.active {
  border-color: var(--blue);
  color: var(--navy);
}
.progress li.active span {
  background: var(--blue);
  color: #fff;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-size: 28px;
  font-weight: 850;
  padding: 0;
}
.step-copy {
  color: #6f818d;
  margin-bottom: 27px;
}
.route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}
.location-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdfe;
}
.location-card h3 {
  font-size: 20px;
  margin: 0 0 22px;
}
.location-card h3 span {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  margin-right: 8px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #38546a;
  margin-bottom: 16px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #bfcfd9;
  border-radius: 8px;
  background: #fff;
  color: #17384d;
  font: inherit;
  min-height: 48px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #49bde755;
  border-color: var(--blue);
}
.mini-title {
  font-size: 12px;
  font-weight: 850;
  color: #38546a;
}
.choice-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.choice-cards label {
  margin: 0;
}
.choice-cards input {
  position: absolute;
  opacity: 0;
  width: 1px;
}
.choice-cards span {
  display: grid;
  place-items: center;
  min-height: 115px;
  padding: 10px;
  border: 1px solid #cedae2;
  border-radius: 10px;
  text-align: center;
  font-size: 23px;
  background: #fff;
}
.choice-cards b {
  font-size: 12px;
  margin-top: 5px;
}
.choice-cards small {
  font-size: 9px;
  font-weight: 500;
  color: #718694;
}
.choice-cards input:checked + span {
  border: 2px solid var(--blue);
  background: #eff9fd;
  color: #0c78a8;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}
.checks label,
.option-row label,
.consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.checks input,
.option-row input,
.consent input {
  display: inline-block;
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--blue);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  background: #f0f6f9;
  padding: 17px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.option-row label {
  margin: 0;
}
.review-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: #f4f8fb;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 25px;
}
.review-card article {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
}
.review-card h3 {
  font-size: 13px;
  color: #0b779f;
  margin: 0 0 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.review-card p {
  margin: 4px 0;
}
.secure-note {
  border-left: 5px solid var(--gold);
  padding: 16px 20px;
  background: #fff9e9;
  margin: 22px 0;
}
.secure-note p {
  margin: 4px 0;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}
.form-actions button {
  min-width: 150px;
  min-height: 50px;
  padding: 13px 23px;
  border-radius: 9px;
  border: 1px solid var(--navy);
  font-weight: 850;
  font-size: 14px;
  cursor: pointer;
}
.primary {
  background: var(--navy);
  color: #fff;
  margin-left: auto;
}
.secondary {
  background: #fff;
  color: var(--navy);
}
.message {
  min-height: 24px;
  color: #b42318;
  font-weight: 700;
}
footer {
  text-align: center;
  padding: 24px;
  background: #0c293c;
  color: #abc3d2;
  font-size: 12px;
}
@media (max-width: 980px) {
  .quote-layout {
    grid-template-columns: 1fr;
  }
  .quote-story {
    padding: 55px 28px;
  }
  .story-content {
    position: static;
    max-width: 750px;
  }
  .route-grid {
    grid-template-columns: 1fr;
  }
  .quote-workspace {
    padding: 40px 22px;
  }
}
@media (max-width: 600px) {
  .header-actions > span {
    display: none;
  }
  .brand img {
    width: 165px;
  }
  .workspace-head h2 {
    font-size: 32px;
  }
  .progress li {
    font-size: 10px;
  }
  .field-grid,
  .review-card {
    grid-template-columns: 1fr;
  }
  .choice-cards {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .choice-cards small {
    display: none;
  }
  .checks {
    grid-template-columns: 1fr;
  }
  .quote-story h1 {
    font-size: 40px;
  }
}
