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

.quote-page {

    min-height: 100vh;

    padding: 70px 0 90px;

    background: #080808;

}



/* ========================================
   HEADING
======================================== */

.quote-heading {

    margin-bottom: 55px;

    text-align: center;

}



.quote-heading h1 {

    margin-bottom: 12px;

    font-size: clamp(2.4rem, 5vw, 4rem);

    line-height: 1;

    color: #ffffff;

    text-transform: uppercase;

}



.quote-heading > p:not(.eyebrow) {

    color: #999999;

    font-size: 0.9rem;

}



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

.quote-progress {

    max-width: 850px;

    margin: 0 auto 55px;

    display: flex;

    align-items: flex-start;

    justify-content: center;

}



.progress-step {

    min-width: 85px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

}



.progress-circle {

    width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #555555;

    border-radius: 50%;

    background: #0d0d0d;

    color: #888888;

    transition: 0.25s ease;

}



.progress-step span {

    color: #777777;

    font-size: 0.7rem;

    font-weight: 700;

    text-transform: uppercase;

    transition: 0.25s ease;

}



.progress-step.active .progress-circle {

    background: #ffffff;

    border-color: #ffffff;

    color: #080808;

}



.progress-step.active span {

    color: #ffffff;

}



.progress-step.completed .progress-circle {

    border-color: #ffffff;

    color: #ffffff;

}



.progress-line {

    flex: 1;

    height: 1px;

    margin-top: 23px;

    background: #343434;

}



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

.quote-form {

    max-width: 1050px;

    margin: 0 auto;

    background: #0d0d0d;

    border: 1px solid #303030;

}



.quote-step {

    display: none;

    padding: 48px;

}



.quote-step.active {

    display: block;

}



.step-number {

    margin-bottom: 8px;

    color: #8d8d8d;

    font-size: 0.72rem;

    text-transform: uppercase;

}



.quote-step h2 {

    margin-bottom: 35px;

    font-size: clamp(1.4rem, 3vw, 2rem);

    color: #ffffff;

}



/* ========================================
   SERVICE SELECTION
======================================== */

.service-choice-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 14px;

}



.service-choice input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}



.service-choice label {

    min-height: 200px;

    padding: 25px 15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    cursor: pointer;

    background: #111111;

    border: 1px solid #292929;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;

}



.service-choice label:hover {

    border-color: #777777;

    transform: translateY(-2px);

}



.service-choice input:checked + label {

    border-color: #ffffff;

    background: #0a0a0a;

}



.choice-icon {

    width: 55px;

    height: 55px;

    margin-bottom: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #777777;

    border-radius: 50%;

    color: #ffffff;

    font-size: 1.3rem;

}



.service-choice h3 {

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 0.8rem;

    text-transform: uppercase;

}



.service-choice p {

    color: #8d8d8d;

    font-size: 0.73rem;

}



/* ========================================
   INPUTS
======================================== */

.quote-fields {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

}



.quote-field {

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.quote-field-full {

    grid-column: 1 / -1;

}



.quote-field label {

    color: #c7c7c7;

    font-size: 0.76rem;

    font-weight: 700;

}



.quote-input {

    width: 100%;

    min-height: 48px;

    padding: 12px 14px;

    background: #111111;

    border: 1px solid #333333;

    color: #ffffff;

    font-family: inherit;

    outline: none;

    transition: border-color 0.2s ease;

}



.quote-input:focus {

    border-color: #ffffff;

}



.quote-input option {

    background: #111111;

    color: #ffffff;

}



.quote-textarea {

    min-height: 130px;

    resize: vertical;

}



/* ========================================
   PRIVACY
======================================== */

.privacy-field {

    display: flex !important;

    flex-direction: row !important;

    align-items: flex-start;

    gap: 12px;

    cursor: pointer;

}



.quote-checkbox {

    width: 17px;

    height: 17px;

    margin-top: 3px;

    accent-color: #ffffff;

}



/* ========================================
   FORM ERRORS
======================================== */

.errorlist {

    margin-top: 3px;

    color: #e9a3a3;

    font-size: 0.72rem;

}



.form-error {

    margin-top: 15px;

    color: #e9a3a3;

    font-size: 0.75rem;

}



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

.step-actions {

    margin-top: 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

}



.step-actions-right {

    justify-content: flex-end;

}



/* ========================================
   BENEFITS
======================================== */

.quote-benefits {

    max-width: 1050px;

    margin: 28px auto 0;

    padding: 28px 35px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    background: #0d0d0d;

    border: 1px solid #252525;

}



.quote-benefit {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

}



.quote-benefit > i {

    color: #ffffff;

    font-size: 1.7rem;

}



.quote-benefit h3 {

    margin-bottom: 3px;

    color: #ffffff;

    font-size: 0.75rem;

    text-transform: uppercase;

}



.quote-benefit p {

    color: #858585;

    font-size: 0.72rem;

}



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

@media (max-width: 900px) {

    .service-choice-grid {

        grid-template-columns: repeat(2, 1fr);

    }



    .quote-step {

        padding: 35px;

    }

}



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

@media (max-width: 700px) {

    .quote-page {

        padding: 50px 0 65px;

    }



    .quote-heading {

        margin-bottom: 40px;

    }



    .quote-progress {

        margin-bottom: 40px;

    }



    .progress-step {

        min-width: 55px;

    }



    .progress-circle {

        width: 36px;

        height: 36px;

        font-size: 0.75rem;

    }



    .progress-line {

        margin-top: 18px;

    }



    .progress-step span {

        font-size: 0.55rem;

    }



    .quote-step {

        padding: 25px 18px;

    }



    .service-choice-grid {

        grid-template-columns: 1fr 1fr;

    }



    .service-choice label {

        min-height: 170px;

        padding: 20px 10px;

    }



    .choice-icon {

        width: 46px;

        height: 46px;

    }



    .quote-fields {

        grid-template-columns: 1fr;

    }



    .quote-field-full {

        grid-column: auto;

    }



    .step-actions {

        align-items: stretch;

        flex-direction: column-reverse;

    }



    .step-actions-right {

        align-items: stretch;

    }



    .step-actions .btn {

        width: 100%;

        text-align: center;

    }



    .quote-benefits {

        grid-template-columns: 1fr;

        padding: 25px;

    }



    .quote-benefit {

        justify-content: flex-start;

    }

}



@media (max-width: 430px) {

    .service-choice-grid {

        grid-template-columns: 1fr;

    }

}



/* ========================================
   LOCKED QUOTE SUBMIT BUTTON
======================================== */

#quote-submit-button:disabled {

    opacity: 0.4;

    cursor: not-allowed;

    pointer-events: none;

}



#quote-submit-button:not(:disabled) {

    opacity: 1;

    cursor: pointer;

}