/* =========================================================
   APPLY / ELIGIBILITY SECTION
========================================================= */

html {
    scroll-behavior: smooth;
}

#apply {
    scroll-margin-top: 90px;
}


.apply-section {
    width: 100%;
    padding: 90px 20px;
    background:
        linear-gradient(135deg,
            #f7faff 0%,
            #eef4fb 50%,
            #f8fafc 100%);
}


.apply-container {
    width: min(1250px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    gap: 55px;

    align-items: start;
}


/* =========================================================
   INTRO
========================================================= */

.apply-intro {
    padding-top: 25px;
}


.apply-eyebrow,
.evaluation-label {
    display: inline-flex;

    padding: 7px 13px;

    border-radius: 999px;

    background: #eaf1ff;

    color: #1749b7;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.4px;
}


.apply-intro h2 {
    margin: 18px 0 14px;

    color: #0d1b2a;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.05;

    font-weight: 850;
}


.apply-lead {
    max-width: 540px;

    color: #526174;

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 30px;
}


/* =========================================================
   TRUST POINTS
========================================================= */

.trust-points {
    display: grid;

    gap: 18px;

    margin-bottom: 28px;
}


.trust-point {
    display: flex;

    gap: 14px;

    align-items: flex-start;
}


.trust-icon {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #eaf8f3;

    color: #0c6957;

    font-weight: 900;

    margin-top: 2px;
}


.trust-point strong {
    display: block;

    color: #142235;

    font-size: 15px;

    margin-bottom: 4px;
}


.trust-point p {
    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.55;
}


/* =========================================================
   PRIVACY CARD
========================================================= */

.privacy-card {
    display: flex;

    gap: 15px;

    padding: 20px;

    border: 1px solid #dce5ef;

    border-radius: 16px;

    background: rgba(255, 255, 255, .82);

    box-shadow:
        0 10px 30px rgba(15, 23, 42, .05);
}


.privacy-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #eef4ff;
}


.privacy-card h3 {
    margin: 0 0 7px;

    font-size: 16px;

    color: #162438;
}


.privacy-card p {
    margin: 5px 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.55;
}


/* =========================================================
   SUPPORT CARD
========================================================= */

.support-card {
    margin-top: 18px;

    padding: 22px;

    border-radius: 16px;

    background:
        linear-gradient(135deg,
            #102f61,
            #163f78);

    color: white;

    box-shadow:
        0 15px 35px rgba(15, 45, 95, .18);
}


.support-label {
    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    opacity: .75;
}


.support-card h3 {
    margin: 8px 0 5px;

    font-size: 19px;
}


.support-card p {
    margin: 0 0 7px;

    font-size: 13px;

    opacity: .8;
}


.support-phone {
    color: white;

    font-size: 20px;

    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   EVALUATION CARD
========================================================= */

.evaluation-card {
    background: white;

    border: 1px solid #dce4eb;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(15, 23, 42, .12);
}


.evaluation-header {
    padding: 30px 34px 26px;

    background:
        linear-gradient(135deg,
            #173f78,
            #255895);

    color: white;
}


.evaluation-header .evaluation-label {
    background: rgba(255, 255, 255, .13);

    color: white;
}


.evaluation-header h1 {
    margin: 13px 0 9px;

    font-size: clamp(25px, 3vw, 34px);

    line-height: 1.15;

    font-weight: 850;
}


.evaluation-header p {
    max-width: 600px;

    margin: 0;

    color: rgba(255, 255, 255, .82);

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   STEPPER
========================================================= */

.stepper {
    display: flex;

    align-items: center;

    padding: 25px 30px 20px;

    background: white;
}


.step {
    min-width: 90px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    color: #94a3b8;

    font-size: 12px;

    font-weight: 750;

    text-align: center;
}


.step-circle {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: #edf1f5;

    color: #718096;

    border: 3px solid #dce4ea;

    font-weight: 850;
}


.step.active {
    color: #173f78;
}


.step.active .step-circle {
    background: #173f78;

    color: white;

    border-color: #173f78;
}


.step.completed {
    color: #0d6b59;
}


.step.completed .step-circle {
    background: #0d6b59;

    color: white;

    border-color: #0d6b59;
}


.step-line {
    flex: 1;

    height: 3px;

    background: #e4e9ef;

    margin: 0 8px;

    margin-bottom: 28px;
}


.step-line.completed {
    background: #0d6b59;
}


/* =========================================================
   PROGRESS
========================================================= */

.progress-wrapper {
    padding: 0 34px 20px;
}


.progress-meta {
    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;

    font-size: 11px;

    font-weight: 750;

    color: #64748b;
}


.progress-track {
    width: 100%;

    height: 5px;

    background: #e8edf1;

    border-radius: 999px;

    overflow: hidden;
}


.progress-bar {
    width: 12.5%;

    height: 100%;

    background:
        linear-gradient(90deg,
            #e11d2e,
            #ef3340);

    border-radius: inherit;

    transition: width .35s ease;
}


/* =========================================================
   FORM
========================================================= */

#formContent {
    padding: 15px 34px 5px;
}


.question-number {
    color: #e11d2e;

    font-size: 11px;

    font-weight: 850;

    letter-spacing: 1.3px;

    text-transform: uppercase;

    margin-bottom: 8px;
}


.question-title {
    margin: 0;

    color: #122033;

    font-size: clamp(22px, 3vw, 29px);

    line-height: 1.25;

    font-weight: 850;
}


.question-description {
    margin: 8px 0 23px;

    color: #68778a;

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   OPTIONS
========================================================= */

.options {
    display: grid;

    gap: 11px;
}


.option {
    position: relative;

    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 61px;

    padding: 13px 17px;

    border: 1px solid #dce4ea;

    border-radius: 12px;

    background: white;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}


.option:hover {
    border-color: #173f78;

    background: #f7faff;

    transform: translateY(-1px);
}


.option.selected {
    border-color: #0d6b59;

    background: #e4f2ed;
}


.option-radio {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    border-radius: 50%;

    border: 2px solid #b8c8c6;

    position: relative;
}


.option.selected .option-radio {
    border-color: #0d6b59;
}


.option.selected .option-radio::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    top: 4px;
    left: 4px;

    border-radius: 50%;

    background: #0d6b59;
}


.option-text {
    color: #243244;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.4;
}


/* =========================================================
   PERSONAL DETAILS
========================================================= */

.personal-intro {
    margin-bottom: 22px;

    padding: 17px;

    border-radius: 13px;

    background: #f6f9fc;

    border: 1px solid #e4eaf0;
}


.personal-intro strong {
    display: block;

    color: #15253a;

    margin-bottom: 5px;
}


.personal-intro span {
    color: #6b7a8c;

    font-size: 13px;
}


.form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


.field {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.field.full {
    grid-column: 1 / -1;
}


.field label {
    color: #243447;

    font-size: 13px;

    font-weight: 750;
}


.field input,
.field select,
.field textarea {
    width: 100%;

    border: 1px solid #ccd7e1;

    border-radius: 10px;

    padding: 13px 14px;

    background: white;

    color: #1d2b3c;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition: border-color .2s, box-shadow .2s;
}


.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #173f78;

    box-shadow:
        0 0 0 3px rgba(23, 63, 120, .1);
}


.field textarea {
    min-height: 125px;

    resize: vertical;
}


/* =========================================================
   CLAIMANT INFORMATION
========================================================= */

.claimant-title {
    margin-bottom: 22px;
}


.contact-methods {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}


.contact-method {
    position: relative;

    padding: 14px;

    border: 1px solid #d6e0e7;

    border-radius: 10px;

    text-align: center;

    cursor: pointer;

    font-size: 13px;

    font-weight: 700;

    color: #344356;

    background: white;
}


.contact-method.selected {
    border-color: #0d6b59;

    background: #e4f2ed;

    color: #0d6b59;
}


/* =========================================================
   REVIEW
========================================================= */

.review-title {
    margin-bottom: 20px;
}


.review-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-bottom: 25px;
}


.review-item {
    padding: 14px;

    border-radius: 10px;

    background: #f7f9fb;

    border: 1px solid #e3e9ee;
}


.review-item span {
    display: block;

    color: #7a8796;

    font-size: 11px;

    margin-bottom: 5px;

    text-transform: uppercase;

    letter-spacing: .7px;
}


.review-item strong {
    color: #1d2b3c;

    font-size: 14px;

    word-break: break-word;
}


/* =========================================================
   CONSENT
========================================================= */

.consent-box {
    padding: 19px;

    border: 1px solid #dbe3ea;

    border-radius: 13px;

    background: #f9fbfc;
}


.consent-label {
    display: flex;

    gap: 11px;

    align-items: flex-start;

    cursor: pointer;
}


.consent-label input {
    width: 18px;
    height: 18px;

    margin-top: 2px;

    accent-color: #0d6b59;
}


.consent-label span {
    color: #344356;

    font-size: 13px;

    line-height: 1.55;
}


.consent-box p {
    margin: 12px 0 0;

    color: #7a8795;

    font-size: 11px;

    line-height: 1.5;
}


.legal-links {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;

    margin-top: 12px;
}


.legal-links a {
    color: #173f78;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   CALLBACK
========================================================= */

.callback-box {
    margin-top: 22px;

    padding: 20px;

    border-radius: 14px;

    background: #f7f9fb;

    border: 1px solid #e1e7ed;
}


.callback-box h3 {
    margin: 0 0 6px;

    color: #15253a;

    font-size: 18px;
}


.callback-box>p {
    margin: 0 0 18px;

    color: #6b7787;

    font-size: 13px;
}


.callback-day {
    width: 100%;

    padding: 12px;

    border-radius: 9px;

    border: 1px solid #ccd7e1;

    background: white;

    margin-bottom: 15px;
}


.callback-label {
    display: block;

    margin-bottom: 7px;

    color: #344356;

    font-size: 12px;

    font-weight: 750;
}


.time-slots {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 8px;

    margin-bottom: 18px;
}


.time-slot {
    padding: 10px 5px;

    border: 1px solid #d4dfe7;

    background: white;

    border-radius: 8px;

    cursor: pointer;

    font-size: 12px;

    font-weight: 650;
}


.time-slot:hover,
.time-slot.selected {
    border-color: #0d6b59;

    background: #e4f2ed;

    color: #0d6b59;
}


/* =========================================================
   FORM BUTTONS
========================================================= */

.form-actions {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 25px 34px 20px;
}


.btn-primary {
    margin-left: auto;

    border: 0;

    border-radius: 999px;

    padding: 14px 27px;

    color: white;

    background:
        linear-gradient(135deg,
            #2563eb,
            #4338ca);

    font-family: inherit;

    font-size: 14px;

    font-weight: 850;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, .25);

    transition: .25s ease;
}


.btn-primary:hover {
    background:
        linear-gradient(135deg,
            #e11d2e,
            #ef3340);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(225, 29, 46, .25);
}


.btn-back {
    border: 0;

    background: transparent;

    color: #475569;

    font-family: inherit;

    font-size: 14px;

    font-weight: 750;

    cursor: pointer;
}


.btn-back:hover {
    color: #173f78;
}


/* =========================================================
   SECURITY
========================================================= */

.form-security {
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

    padding: 14px 20px;

    border-top: 1px solid #e5eaf0;

    color: #788697;

    font-size: 11px;

    font-weight: 650;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 950px) {

    .apply-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .apply-intro {
        padding-top: 0;
    }

    .apply-intro h2 {
        font-size: 38px;
    }

}


@media (max-width: 640px) {

    .apply-section {
        padding: 55px 12px;
    }


    .apply-intro h2 {
        font-size: 32px;
    }


    .apply-lead {
        font-size: 16px;
    }


    .evaluation-card {
        border-radius: 15px;
    }


    .evaluation-header {
        padding: 24px 20px;
    }


    .evaluation-header h1 {
        font-size: 24px;
    }


    .stepper {
        padding: 20px 12px 15px;
    }


    .step {
        min-width: 75px;

        font-size: 10px;
    }


    .step-circle {
        width: 36px;
        height: 36px;

        font-size: 13px;
    }


    .step-line {
        margin-left: 3px;
        margin-right: 3px;
    }


    .progress-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }


    #formContent {
        padding: 15px 20px 5px;
    }


    .question-title {
        font-size: 22px;
    }


    .option {
        min-height: 58px;

        padding: 12px;
    }


    .form-grid {
        grid-template-columns: 1fr;
    }


    .field.full {
        grid-column: auto;
    }


    .contact-methods {
        grid-template-columns: 1fr;
    }


    .review-grid {
        grid-template-columns: 1fr;
    }


    .time-slots {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .form-actions {
        padding: 22px 20px;
    }


    .btn-primary {
        padding: 13px 20px;

        font-size: 13px;
    }


    .privacy-card {
        padding: 16px;
    }

}