/* =========================================================
   QUOTE REQUEST PAGE
========================================================= */

.quote-request-page {
    background: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.quote-request-hero {
    padding: 55px 0 80px;

    background:
        linear-gradient(
            135deg,
            #f0fdf4 0%,
            #ffffff 50%,
            #eef6ff 100%
        );
}

.quote-request-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 70px;
    align-items: center;
}

.quote-request-hero-content {
    max-width: 760px;
}

.quote-request-hero h1 {
    margin: 14px 0 22px;

    color: #173b63;

    font-size: 54px;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.quote-request-hero-content > p {
    max-width: 680px;
    margin: 0 0 28px;

    color: #475569;

    font-size: 18px;
    line-height: 1.75;
}


/* TRUST ITEMS */

.quote-request-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;

    margin-top: 24px;

    color: #334155;

    font-size: 14px;
    font-weight: 600;
}

.quote-request-trust div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quote-request-trust div::first-letter {
    color: #16a34a;
}


/* =========================================================
   HERO CARD
========================================================= */

.quote-request-hero-card {
    padding: 36px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 24px;

    box-shadow: 0 20px 55px rgba(15, 23, 42, .09);
}

.quote-card-label {
    display: inline-flex;

    margin-bottom: 20px;
    padding: 6px 11px;

    background: #ecfdf3;
    color: #15803d;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.quote-hero-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;

    padding: 18px 0;

    border-top: 1px solid #e2e8f0;
}

.quote-hero-step > span {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ecfdf3;
    color: #15803d;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 800;
}

.quote-hero-step strong {
    display: block;

    margin-bottom: 4px;

    color: #173b63;
}

.quote-hero-step p {
    margin: 0;

    color: #475569;

    font-size: 14px;
    line-height: 1.55;
}


/* =========================================================
   FORM SECTION
========================================================= */

.quote-form-section {
    padding: 90px 0 105px;

    background: #f8fafc;
}

.quote-form-shell {
    max-width: 1050px;

    margin: 0 auto;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 24px;

    box-shadow: 0 20px 50px rgba(15, 23, 42, .07);

    overflow: hidden;
}


/* =========================================================
   PROGRESS BAR
========================================================= */

.quote-progress {
    display: flex;
    align-items: center;

    padding: 28px 34px;

    background: #fbfdff;

    border-bottom: 1px solid #e2e8f0;
}

.quote-progress-item {
    display: flex;
    align-items: center;
    gap: 10px;

    opacity: .48;

    transition: opacity .25s ease;
}

.quote-progress-item.active,
.quote-progress-item.completed {
    opacity: 1;
}

.quote-progress-item > span {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e2e8f0;
    color: #64748b;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 800;

    transition:
        background .25s ease,
        color .25s ease;
}

.quote-progress-item.active > span {
    background: #16a34a;
    color: #ffffff;
}

.quote-progress-item.completed > span {
    background: #dcfce7;
    color: #15803d;
}

.quote-progress-item strong {
    display: block;

    color: #173b63;

    font-size: 13px;
}

.quote-progress-item small {
    display: block;

    margin-top: 2px;

    color: #64748b;

    font-size: 11px;
}

.quote-progress-line {
    flex: 1;

    height: 2px;

    min-width: 20px;
    margin: 0 15px;

    background: #e2e8f0;
}


/* =========================================================
   FORM STEPS
========================================================= */

.chp-quote-form {
    margin: 0;
}

.quote-step {
    display: none;

    padding: 50px;
}

.quote-step.active {
    display: block;
}

.quote-step-heading {
    max-width: 700px;

    margin-bottom: 36px;
}

.quote-step-heading > span {
    display: inline-block;

    margin-bottom: 8px;

    color: #15803d;

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.quote-step-heading h2 {
    margin: 0 0 10px;

    color: #173b63;

    font-size: 34px;
    line-height: 1.2;
}

.quote-step-heading p {
    margin: 0;

    color: #475569;

    line-height: 1.7;
}


/* =========================================================
   SERVICE OPTIONS
========================================================= */

.quote-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.quote-service-option {
    display: block;

    cursor: pointer;
}

.quote-service-option input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.quote-service-box {
    height: 100%;

    display: flex;
    flex-direction: column;

    padding: 25px;

    background: #ffffff;

    border: 2px solid #e2e8f0;
    border-radius: 16px;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.quote-service-option:hover .quote-service-box {
    transform: translateY(-2px);

    border-color: #bbf7d0;

    box-shadow: 0 10px 25px rgba(15, 23, 42, .05);
}

.quote-service-option input:checked + .quote-service-box {
    border-color: #16a34a;

    background: #f0fdf4;

    box-shadow: 0 0 0 3px rgba(22, 163, 74, .08);
}

.quote-service-icon {
    display: block;

    margin-bottom: 14px;

    font-size: 30px;
}

.quote-service-box strong {
    display: block;

    margin-bottom: 7px;

    color: #173b63;

    font-size: 18px;
}

.quote-service-box small {
    color: #475569;

    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   FORM FIELDS
========================================================= */

.quote-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.quote-field {
    margin-bottom: 24px;
}

.quote-field label {
    display: block;

    margin-bottom: 9px;

    color: #1e293b;

    font-size: 14px;
    font-weight: 700;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
    width: 100%;

    padding: 14px 15px;

    background: #ffffff;
    color: #1e293b;

    border: 1px solid #cbd5e1;
    border-radius: 10px;

    font-family: inherit;
    font-size: 16px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
    border-color: #16a34a;

    box-shadow: 0 0 0 3px rgba(22, 163, 74, .10);
}

.quote-field textarea {
    resize: vertical;
    min-height: 145px;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
    color: #94a3b8;
}

.quote-field-help {
    display: block;

    margin-top: 7px;

    color: #64748b;

    font-size: 12px;
    line-height: 1.5;
}


/* ERROR */

.quote-field-error,
.quote-step-error {
    margin-top: 8px;

    color: #b91c1c;

    font-size: 13px;
    font-weight: 600;
}

.quote-input-error {
    border-color: #dc2626 !important;

    box-shadow: 0 0 0 3px rgba(220, 38, 38, .07) !important;
}


/* =========================================================
   PROJECT TYPE CHOICES
========================================================= */

.quote-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}

.quote-choice {
    cursor: pointer;
}

.quote-choice input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.quote-choice > span {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;

    text-align: center;

    background: #ffffff;
    color: #334155;

    border: 2px solid #e2e8f0;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 700;

    transition: .2s ease;
}

.quote-choice:hover > span {
    border-color: #bbf7d0;
}

.quote-choice input:checked + span {
    background: #f0fdf4;
    color: #15803d;

    border-color: #16a34a;

    box-shadow: 0 0 0 3px rgba(22, 163, 74, .08);
}


/* =========================================================
   CONSENT
========================================================= */

.quote-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 11px;

    align-items: flex-start;

    padding: 18px;

    margin-top: 5px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    cursor: pointer;
}

.quote-consent input {
    width: 17px;
    height: 17px;

    margin-top: 3px;

    accent-color: #16a34a;
}

.quote-consent span {
    color: #475569;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   NAVIGATION BUTTONS
========================================================= */

.quote-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-top: 38px;
    padding-top: 28px;

    border-top: 1px solid #e2e8f0;
}

.quote-navigation-end {
    justify-content: flex-end;
}

.quote-next-btn,
.quote-submit-btn {
    appearance: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 13px 24px;

    background: #16a34a;
    color: #ffffff;

    border: 0;
    border-radius: 10px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 8px 18px rgba(22, 163, 74, .16);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.quote-next-btn:hover,
.quote-submit-btn:hover {
    background: #15803d;

    transform: translateY(-1px);

    box-shadow: 0 11px 22px rgba(22, 163, 74, .22);
}

.quote-back-btn {
    appearance: none;

    min-height: 50px;

    padding: 13px 18px;

    background: transparent;
    color: #475569;

    border: 1px solid #cbd5e1;
    border-radius: 10px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.quote-back-btn:hover {
    background: #f8fafc;

    border-color: #94a3b8;

    color: #173b63;
}


/* =========================================================
   REVIEW
========================================================= */

.quote-review-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.quote-review-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;

    padding: 17px 22px;

    border-bottom: 1px solid #e2e8f0;
}

.quote-review-row:last-child {
    border-bottom: 0;
}

.quote-review-row > span {
    color: #64748b;

    font-size: 13px;
    font-weight: 700;
}

.quote-review-row strong {
    color: #1e293b;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;

    overflow-wrap: anywhere;
}

.quote-review-description strong {
    white-space: pre-wrap;
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.quote-form-message {
    margin-bottom: 24px;
    padding: 16px 18px;

    border-radius: 10px;

    font-size: 14px;
    line-height: 1.6;
}

.quote-form-message.error {
    background: #fef2f2;
    color: #991b1b;

    border: 1px solid #fecaca;
}

.quote-form-message.success {
    background: #f0fdf4;
    color: #166534;

    border: 1px solid #bbf7d0;
}


/* =========================================================
   TRUST SECTION
========================================================= */

.quote-trust-section {
    padding: 100px 0;

    background: #ffffff;
}

.quote-request-page .section-heading {
    max-width: 820px;

    margin: 0 auto 52px;

    text-align: center;
}

.quote-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 26px;

    max-width: 1100px;

    margin: 0 auto;
}

.quote-trust-card {
    padding: 32px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 18px;
}

.quote-trust-card > span {
    display: block;

    margin-bottom: 18px;

    color: #16a34a;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: .8px;
}

.quote-trust-card h3 {
    margin: 0 0 10px;

    color: #173b63;

    font-size: 21px;
}

.quote-trust-card p {
    margin: 0;

    color: #475569;

    line-height: 1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

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

    .quote-request-hero h1 {
        font-size: 45px;
    }

    .quote-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .quote-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-progress-item small {
        display: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .quote-request-hero {
        padding: 45px 0 60px;
    }

    .quote-request-hero h1 {
        font-size: 35px;
        letter-spacing: -.7px;
    }

    .quote-request-trust {
        flex-direction: column;

        gap: 8px;
    }

    .quote-form-section {
        padding: 55px 0 70px;
    }

    .quote-form-shell {
        border-radius: 16px;
    }

    .quote-progress {
        padding: 18px 15px;

        justify-content: space-between;
    }

    .quote-progress-item {
        gap: 0;
    }

    .quote-progress-item > div {
        display: none;
    }

    .quote-progress-item > span {
        width: 32px;
        height: 32px;

        flex-basis: 32px;
    }

    .quote-progress-line {
        margin: 0 7px;

        min-width: 10px;
    }

    .quote-step {
        padding: 32px 20px;
    }

    .quote-step-heading h2 {
        font-size: 28px;
    }

    .quote-service-grid,
    .quote-fields-grid,
    .quote-choice-grid,
    .quote-trust-grid {
        grid-template-columns: 1fr;
    }

    .quote-service-box {
        padding: 20px;
    }

    .quote-navigation {
        align-items: stretch;
    }

    .quote-next-btn,
    .quote-submit-btn,
    .quote-back-btn {
        flex: 1;
    }

    .quote-review-row {
        grid-template-columns: 1fr;

        gap: 5px;
    }

    .quote-trust-section {
        padding: 70px 0;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .quote-navigation {
        flex-direction: column-reverse;
    }

    .quote-navigation-end {
        flex-direction: column;
    }

    .quote-next-btn,
    .quote-back-btn,
    .quote-submit-btn {
        width: 100%;
    }

}
.quote-submit-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}