.quote-hero .container-wide {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.quote-hero .page-hero-grid {
    grid-template-columns: minmax(430px, 1fr) minmax(670px, 880px);
    min-height: clamp(540px, 46vw, 660px);
}

.quote-hero .page-hero-copy,
.quote-hero .page-hero-media {
    min-width: 0;
}

.quote-hero .page-hero-copy {
    padding-left: max(32px, calc((100vw - min(100vw, 1536px)) / 2));
}

.quote-hero .page-hero-copy > p {
    max-width: 590px;
}

.button-with-icon {
    gap: 9px;
}

.button-with-icon img {
    width: 20px;
    height: 20px;
}

.quote-pulse {
    width: 230px;
    height: 38px;
    margin: -42px -175px 0 auto;
    background: url("../decorations/heartbeat-line.svg") center / contain no-repeat;
}

.quote-hero .page-hero-tags {
    margin-top: 28px;
}

.quote-hero .page-hero-tags li {
    gap: 6px;
}

.quote-hero .page-hero-tags span {
    color: var(--blue);
    font-weight: 900;
}

.quote-hero .page-hero-media img {
    object-fit: contain;
}

.page-benefit h2 {
    margin: 0 0 4px;
    font-size: 0.88rem;
}

.quote-wizard-section {
    background: #fbfbfc;
    border-bottom: 1px solid var(--line);
}

.quote-section-heading {
    margin-bottom: 24px;
}

.quote-section-heading h2 {
    margin-bottom: 7px;
}

.quote-section-heading p {
    margin: 0;
    color: var(--muted);
}

.quote-wizard {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    min-height: 570px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.wizard-sidebar {
    min-width: 0;
    padding: 42px 30px;
    background: linear-gradient(180deg, #fafbfd 0%, #f5f7fa 100%);
    border-right: 1px solid var(--line);
}

.wizard-sidebar ol {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0;
    list-style: none;
}

.wizard-sidebar li {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 86px;
    align-items: start;
    gap: 15px;
    color: #697483;
}

.wizard-sidebar li:not(:last-child)::after {
    position: absolute;
    top: 44px;
    bottom: 0;
    left: 21px;
    border-left: 1px dashed #aeb8c5;
    content: "";
}

.wizard-sidebar li span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #aeb8c5;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 760;
}

.wizard-sidebar li strong {
    padding-top: 11px;
    font-size: 0.84rem;
}

.wizard-sidebar li[aria-current="step"],
.wizard-sidebar li.is-complete {
    color: var(--blue-dark);
}

.wizard-sidebar li[aria-current="step"] span,
.wizard-sidebar li.is-complete span {
    color: #fff;
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.wizard-main {
    min-width: 0;
    padding: 34px 42px 30px;
}

.wizard-progress {
    display: none;
    margin: 0 0 10px;
    color: var(--blue-dark);
    font-size: 0.72rem;
    font-weight: 780;
    text-align: right;
}

.js .wizard-progress {
    display: block;
}

.quote-wizard [data-wizard-next],
.quote-wizard [data-wizard-back] {
    display: none;
}

.js .quote-wizard [data-wizard-next],
.js .quote-wizard [data-wizard-back] {
    display: inline-flex;
}

.wizard-panel {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.js .wizard-panel[hidden] {
    display: none;
}

.wizard-panel + .wizard-panel {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.js .wizard-panel + .wizard-panel {
    margin: 0;
    padding: 0;
    border: 0;
}

.wizard-panel legend {
    margin-bottom: 5px;
    padding: 0;
    color: var(--ink);
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 790;
    letter-spacing: -0.03em;
}

.wizard-panel-description {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 0.83rem;
}

.solution-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.solution-choice {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.solution-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.solution-choice > span {
    display: flex;
    min-width: 0;
    min-height: 145px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 18px 12px;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    text-align: center;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.solution-choice img {
    width: 52px;
    height: 52px;
}

.solution-choice strong {
    font-size: 0.79rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.solution-choice input:checked + span {
    background: #f6f9ff;
    border-color: var(--blue);
    box-shadow: inset 0 0 0 1px var(--blue), 0 8px 24px rgb(7 91 255 / 12%);
}

.solution-choice input:focus-visible + span {
    outline: 3px solid var(--blue-dark);
    outline-offset: 2px;
}

.wizard-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wizard-field {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.wizard-field-full {
    margin-top: 20px;
}

.wizard-field strong {
    font-size: 0.78rem;
}

.wizard-field input,
.wizard-field textarea,
.wizard-field select {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    color: var(--navy);
    background: #fff;
    border: 1px solid #cfd6df;
    border-radius: 5px;
    font: inherit;
    font-size: 0.82rem;
}

.wizard-field textarea {
    min-height: 80px;
    resize: vertical;
}

.wizard-field input:focus,
.wizard-field textarea:focus,
.wizard-field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgb(7 91 255 / 13%);
    outline: 0;
}

.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 22px;
    gap: 10px;
}

.wizard-consent {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
    gap: 10px;
    color: var(--muted);
    font-size: 0.75rem;
}

.wizard-consent input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex: 0 0 auto;
}

.wizard-privacy-note {
    margin: 7px 0 0 28px;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.wizard-status {
    margin: 16px 0 0;
    padding: 0;
    font-size: 0.8rem;
}

.wizard-status.is-success,
.wizard-status.is-error {
    padding: 10px 12px;
    border-radius: 5px;
}

.wizard-status.is-success {
    color: #07552a;
    background: #d7f6e4;
}

.wizard-status.is-error {
    color: #761313;
    background: #ffe0e0;
}

.quote-information {
    border-bottom: 1px solid var(--line);
}

.quote-information h2 {
    margin-bottom: 24px;
}

.quote-information-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.quote-information-grid article {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 108px;
    align-items: center;
    padding: 20px;
    gap: 15px;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.quote-information-grid article:last-child {
    grid-column: 2;
}

.quote-information-grid img {
    width: 38px;
    height: 38px;
}

.quote-information-grid h3 {
    margin-bottom: 3px;
    font-size: 0.86rem;
}

.quote-information-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
}

.quote-scope {
    padding-block: 42px;
}

.quote-scope-grid {
    display: grid;
    grid-template-columns: minmax(270px, 0.64fr) minmax(650px, 1.65fr);
    align-items: center;
    gap: clamp(38px, 5vw, 78px);
}

.quote-scope h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 2.7vw, 3rem);
}

.quote-scope p {
    margin: 0;
    color: #c6d5e8;
    font-size: 0.82rem;
}

.scope-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    gap: 44px;
    list-style: none;
}

.scope-flow li {
    position: relative;
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    background: rgb(0 26 56 / 65%);
    border: 1px solid #0b70ff;
    border-radius: 8px;
    box-shadow: inset 0 0 18px rgb(7 91 255 / 20%);
    text-align: center;
}

.scope-flow li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    left: calc(100% + 6px);
    width: 32px;
    height: 2px;
    background: #2f94ff;
    content: "";
}

.scope-flow li:not(:last-child)::before {
    position: absolute;
    top: calc(50% - 5px);
    left: calc(100% + 32px);
    border-width: 6px 0 6px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #2f94ff;
    content: "";
}

.scope-flow img {
    width: 56px;
    height: 56px;
    filter: brightness(0) invert(1);
}

.scope-flow strong {
    font-size: 0.85rem;
}

.scope-flow span {
    color: #c8d8eb;
    font-size: 0.68rem;
}

.quote-after {
    border-bottom: 1px solid var(--line);
}

.quote-after-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 28px;
}

.quote-after-heading h2 {
    margin: 0;
}

.quote-after-heading p {
    max-width: 330px;
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
}

.quote-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 34px;
    padding: 0;
}

.quote-process .process-step:not(:last-child)::after {
    position: absolute;
    top: 21px;
    left: calc(50% + 35px);
    width: calc(100% - 48px);
    border-top: 1px dashed #6e95dc;
    content: "";
}

.quote-outcome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 8px;
}

.quote-outcome-grid > * {
    display: flex;
    flex-direction: column;
    min-height: 315px;
    padding: 28px;
}

.quote-outcome-grid > * + * {
    border-left: 1px solid var(--line);
}

.quote-outcome-grid h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.quote-check-list {
    display: grid;
    gap: 14px;
    list-style: none;
}

.quote-check-list li {
    position: relative;
    padding-left: 27px;
    color: #3f4957;
    font-size: 0.82rem;
}

.quote-check-list li::before {
    position: absolute;
    top: 0.08em;
    left: 0;
    display: inline-flex;
    width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--blue-dark);
    border-radius: 50%;
    content: "✓";
    font-size: 0.62rem;
}

.quote-outcome-grid aside p {
    color: var(--muted);
    font-size: 0.82rem;
}

.quote-help-contact {
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.quote-help-contact a {
    display: grid;
    padding: 10px 13px;
}

.quote-help-contact a + a {
    border-top: 1px solid var(--line);
}

.quote-help-contact strong {
    color: var(--blue-dark);
    font-size: 0.72rem;
}

.quote-help-contact span {
    color: #404b59;
    font-size: 0.7rem;
    overflow-wrap: anywhere;
}

.quote-outcome-grid aside .button {
    width: 100%;
    margin-top: auto;
}

@media (max-width: 1279px) {
    .quote-hero .page-hero-grid {
        grid-template-columns: minmax(390px, 0.84fr) minmax(0, 1.16fr);
    }

    .quote-pulse {
        display: none;
    }

    .solution-choice-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .quote-scope-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .quote-hero .page-hero-grid,
    .quote-scope-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .quote-hero .page-hero-grid {
        min-height: 0;
    }

    .quote-hero .page-hero-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .quote-hero .page-hero-copy {
        padding-inline: 24px;
    }

    .quote-pulse {
        display: none;
    }

    .quote-wizard {
        grid-template-columns: minmax(0, 1fr);
    }

    .wizard-sidebar {
        padding: 18px 22px;
        overflow-x: auto;
        scrollbar-width: thin;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .wizard-sidebar ol {
        grid-template-columns: repeat(4, minmax(125px, 1fr));
    }

    .wizard-sidebar li {
        min-height: auto;
    }

    .wizard-sidebar li::after {
        display: none;
    }

    .quote-information-grid,
    .quote-outcome-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote-information-grid article:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 7px);
        justify-self: center;
    }

    .quote-outcome-grid > *:last-child {
        grid-column: 1 / -1;
        min-height: auto;
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .quote-hero .page-hero-copy {
        padding-inline: 16px;
    }

    .wizard-sidebar {
        padding: 14px 10px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }

    .wizard-sidebar ol {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .wizard-sidebar li {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .wizard-sidebar li span {
        width: 36px;
        height: 36px;
    }

    .wizard-sidebar li strong {
        padding-top: 0;
        font-size: 0.68rem;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .wizard-main {
        padding: 24px 18px;
    }

    .wizard-fields-grid,
    .quote-information-grid,
    .quote-outcome-grid {
        grid-template-columns: 1fr;
    }

    .solution-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-choice > span {
        min-height: 120px;
    }

    .quote-information-grid article:last-child,
    .quote-outcome-grid > *:last-child {
        grid-column: auto;
    }

    .quote-information-grid article:last-child {
        width: 100%;
        justify-self: stretch;
    }

    .scope-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .scope-flow li::before,
    .scope-flow li::after,
    .quote-process .process-step::after {
        display: none;
    }

    .quote-process {
        grid-template-columns: 1fr;
    }

    .quote-process .process-step {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 0 14px;
        text-align: left;
    }

    .quote-process .process-step-number {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .quote-process .process-step p {
        margin-inline: 0;
    }

    .quote-after-heading {
        display: block;
    }

    .quote-after-heading p {
        margin-top: 12px;
    }

    .quote-outcome-grid > * {
        min-height: auto;
    }

    .quote-outcome-grid > * + * {
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

@media (max-width: 479px) {
    .wizard-sidebar ol {
        grid-template-columns: repeat(4, minmax(88px, 1fr));
        min-width: 352px;
    }

    .scope-flow {
        grid-template-columns: 1fr;
    }

    .solution-choice > span {
        min-height: 112px;
        padding: 12px 8px;
        gap: 10px;
    }

    .solution-choice img {
        width: 44px;
        height: 44px;
    }

    .wizard-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .wizard-actions .button {
        width: 100%;
    }
}
