.quote-main { padding-bottom: 72px; background: #f3f6f7; }
.quote-breadcrumb { display: flex; min-height: 68px; align-items: center; gap: 11px; color: #81919a; font-size: .79rem; }
.quote-breadcrumb a:hover { color: var(--orange); }
.quote-breadcrumb strong { color: #506774; }
.quote-shell { overflow: hidden; border: 1px solid #d9e2e6; background: #fff; box-shadow: 0 10px 34px rgba(4,37,61,.07); }
.quote-intro { padding: 38px 44px 32px; border-bottom: 1px solid #e0e7ea; }
.quote-intro h1 { margin: 0 0 7px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.quote-intro > p:last-child { margin: 0; color: var(--muted); }

.quote-progress { display: grid; margin: 0; padding: 0; border-bottom: 1px solid #dbe4e8; background: #f8fafb; list-style: none; grid-template-columns: repeat(3, 1fr); }
.quote-progress li { position: relative; border-right: 1px solid #dbe4e8; }
.quote-progress li:last-child { border-right: 0; }
.quote-progress button { display: flex; width: 100%; min-height: 78px; align-items: center; gap: 10px; padding: 14px 20px; border: 0; color: #87969e; background: transparent; cursor: pointer; font: inherit; font-size: .79rem; font-weight: 700; text-align: left; }
.quote-progress button:disabled { cursor: default; }
.quote-progress button span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid #c7d4da; border-radius: 50%; font-size: .69rem; }
.quote-progress li.active { box-shadow: inset 0 -4px var(--orange); background: #fff; }
.quote-progress li.active button { color: var(--navy-dark); }
.quote-progress li.active button span { color: #fff; border-color: var(--orange); background: var(--orange); }
.quote-progress li.complete button { color: var(--teal); }
.quote-progress li.complete button span { color: #fff; border-color: var(--teal); background: var(--teal); }

.quote-step { padding: 42px 44px 46px; }
.quote-step[hidden], .quote-success[hidden] { display: none; }
.step-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 27px; }
.step-heading > span { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid #a7ccd1; border-radius: 50%; color: var(--teal); font-size: .72rem; font-weight: 700; }
.step-heading p { margin: 0 0 1px; color: var(--teal); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.step-heading h2 { margin: 0; font-size: 1.55rem; }
.step-explainer { max-width: 800px; margin: -8px 0 27px 59px; color: var(--muted); font-size: .88rem; }

.route-review { display: grid; align-items: end; margin-bottom: 31px; padding: 23px 25px; border: 1px solid #cfe2e4; background: #f1f8f8; grid-template-columns: 1fr 34px 1fr; gap: 10px; }
.route-review label > span, .quote-step label:not(.check-field) { color: #607580; font-size: .74rem; font-weight: 700; }
.route-review label > span { display: block; margin-bottom: 6px; text-transform: uppercase; }
.route-review-arrow { align-self: center; margin-top: 19px; color: var(--orange); font-size: 1.3rem; text-align: center; }

.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote-step fieldset { min-width: 0; margin: 0; padding: 27px 26px; border: 1px solid #d9e2e6; }
.quote-step legend { padding: 0 8px; color: var(--navy-dark); font-size: 1.05rem; font-weight: 700; }
.quote-step fieldset > label, .shipment-grid > label { display: grid; margin-bottom: 16px; gap: 6px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field-pair label { display: grid; margin-bottom: 16px; gap: 6px; color: #607580; font-size: .74rem; font-weight: 700; }
textarea { width: 100%; min-height: 90px; resize: vertical; padding: 11px 13px; border: 1px solid #cfdbe0; border-radius: 3px; color: var(--ink); background: #fff; font: inherit; }
textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(32,174,229,.1); outline: 0; }

.shipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.shipment-grid select { font: inherit; }
.check-field { display: flex; align-items: flex-start; gap: 11px; margin-top: 9px; padding: 16px 18px; color: #5f737e; border: 1px solid #d9e3e7; background: #f8fafb; font-size: .81rem; }
.check-field input { width: 18px; height: 18px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--teal); }
.check-field.field-error { color: #963636; border-color: #c94b4b; }

.pricing-notice { margin-bottom: 22px; padding: 19px 22px; border-left: 4px solid var(--orange); background: #fff4eb; }
.pricing-notice strong { display: block; margin-bottom: 3px; color: var(--navy-dark); }
.pricing-notice p { margin: 0; color: #677b86; font-size: .84rem; }
.pricing-notice.is-error { border-left-color: #b83c3c; background: #fff0ef; }
.pricing-notice.is-preview { border-left-color: #c98a1b; background: #fff8e8; }
.service-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-option { position: relative; display: block; cursor: pointer; }
.service-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.service-option-card { height: 100%; padding: 25px 23px; border: 2px solid #dce5e8; background: #fff; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.service-option:hover .service-option-card { transform: translateY(-2px); border-color: #9fcdd0; }
.service-option input:focus-visible + .service-option-card { outline: 3px solid rgba(32,174,229,.2); }
.service-option input:checked + .service-option-card { border-color: var(--teal); box-shadow: 0 8px 22px rgba(8,146,139,.12); }
.service-badge { display: inline-block; margin-bottom: 15px; padding: 5px 8px; color: var(--teal); background: #e8f7f5; font-size: .61rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service-option h3 { margin: 0 0 8px; font-size: 1.25rem; }
.service-option p { min-height: 70px; color: var(--muted); font-size: .82rem; }
.service-price { display: block; padding-top: 16px; border-top: 1px solid #e2e8eb; color: var(--orange); font-size: .78rem; font-weight: 700; }

.review-sections { display: grid; margin-bottom: 28px; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.review-card { padding: 23px; border: 1px solid #dbe4e7; background: #f8fafb; }
.review-card h3 { margin: 0 0 14px; font-size: 1.03rem; }
.review-card dl { display: grid; margin: 0; grid-template-columns: 120px 1fr; gap: 8px 12px; }
.review-card dt { color: #87959d; font-size: .72rem; }
.review-card dd { margin: 0; color: #3f5664; font-size: .78rem; font-weight: 700; overflow-wrap: anywhere; }
.contact-fieldset { margin-top: 0 !important; }
.contact-fieldset .shipment-grid > label { margin-bottom: 0; }
.consent { margin-top: 20px; }
.quote-api-error { margin-top: 16px; padding: 13px 15px; color: #963636; border: 1px solid #e5b8b5; background: #fff0ef; font-size: .82rem; }

.step-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin-top: 31px; padding-top: 24px; border-top: 1px solid #e1e8eb; }
.step-actions > a, .text-button { padding: 8px 0; border: 0; color: #71838d; background: transparent; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; }
.step-actions > a:hover, .text-button:hover { color: var(--orange); }

.quote-success { padding: 70px 44px 76px; text-align: center; }
.success-mark { display: grid; width: 68px; height: 68px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-size: 1.8rem; }
.quote-success h2 { margin: 0 0 13px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.quote-success h2 strong { color: var(--orange); white-space: nowrap; }
.quote-success > p:not(.eyebrow) { max-width: 680px; margin: 0 auto; color: var(--muted); }
.success-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }

@media (max-width: 900px) {
  .quote-progress button { flex-direction: column; justify-content: center; gap: 5px; padding: 12px 7px; text-align: center; }
  .address-grid, .review-sections { grid-template-columns: 1fr; }
  .shipment-grid, .service-options { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .quote-main { padding-bottom: 0; }
  .quote-breadcrumb { min-height: 55px; padding-inline: 16px; }
  .quote-shell { width: 100%; border-right: 0; border-left: 0; }
  .quote-intro { padding: 30px 21px 25px; }
  .quote-progress button { min-height: 67px; font-size: .63rem; }
  .quote-progress button span { width: 24px; height: 24px; }
  .quote-step { padding: 30px 20px 35px; }
  .route-review { grid-template-columns: 1fr; padding: 20px; }
  .route-review-arrow { margin: 0; transform: rotate(90deg); }
  .quote-step fieldset { padding: 23px 18px; }
  .field-pair, .shipment-grid, .service-options, .review-sections { grid-template-columns: 1fr; }
  .step-explainer { margin-left: 0; }
  .service-option p { min-height: 0; }
  .review-card dl { grid-template-columns: 95px 1fr; }
  .step-actions { align-items: stretch; flex-direction: column-reverse; gap: 8px; }
  .step-actions .button { width: 100%; }
  .success-actions { align-items: stretch; flex-direction: column; }
  .quote-success { padding: 55px 21px 62px; }
}
