/***************************************
    FORMULARIO CONTACTO ESTUDIANTES
***************************************/

.student-contact-section {
    padding: 80px 0;
    background: #f8fbff;
}

.student-contact-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

.student-contact-head {
    margin-bottom: 42px;
}

.student-contact-kicker {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: #0079c8;
    margin-bottom: 14px;
}

.student-contact-head h2 {
    font-size: 48px;
    line-height: 1.05;
    color: #0d1846;
    font-weight: 700;
    margin-bottom: 16px;
}

.student-contact-head p {
    font-size: 21px;
    line-height: 1.6;
    color: #5a6678;
    font-weight: 300;
    max-width: 760px;
}

/***************************************
    FORM BOX
***************************************/

.student-contact-box {
    background: #ffffff;
    border: 1px solid #dfe7f0;
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 14px 34px rgba(13, 24, 70, 0.06);
}

/***************************************
    ROWS
***************************************/

.student-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 24px;
}

.student-form-full {
    margin-bottom: 24px;
}

/***************************************
    GROUPS
***************************************/

.student-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.student-form-group label {
    font-size: 17px;
    line-height: 1.35;
    color: #0d1846;
    font-weight: 700;
}

/***************************************
    INPUTS
***************************************/

.student-form-group input,
.student-form-group select,
.student-form-group textarea {
    width: 100%;
    border: 1px solid #d8e2ec;
    border-radius: 14px;
    background: #ffffff;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    color: #16324f;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* INPUT HEIGHT */

.student-form-group input,
.student-form-group select {
    min-height: 58px;
    padding: 0 18px;
}

/* TEXTAREA */

.student-form-group textarea {
    min-height: 220px;
    padding: 18px;
    resize: vertical;
    line-height: 1.65;
}

/***************************************
    FOCUS
***************************************/

.student-form-group input:focus,
.student-form-group select:focus,
.student-form-group textarea:focus {
    outline: none;
    border-color: #0079c8;
    box-shadow: 0 0 0 4px rgba(0, 121, 200, 0.12);
}

/***************************************
    SELECT
***************************************/

.student-form-group select {
    appearance: none;
    cursor: pointer;

    background-image: linear-gradient(45deg, transparent 50%, #0079c8 50%), linear-gradient(135deg, #0079c8 50%, transparent 50%);

    background-position:
        calc(100% - 24px) calc(50% - 3px),
        calc(100% - 18px) calc(50% - 3px);

    background-size: 6px 6px;
    background-repeat: no-repeat;

    padding-right: 54px;
}

/***************************************
    HELP TEXT
***************************************/

.student-form-help {
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    margin-top: -2px;
}

/***************************************
    COUNTER
***************************************/

.student-form-counter {
    margin-top: 10px;
    text-align: right;

    font-size: 14px;
    font-weight: 600;
    color: #5a6678;
}

/***************************************
    CHECKBOX
***************************************/

.student-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 10px;
    margin-bottom: 28px;
}

.student-form-checkbox input {
    margin-top: 4px;
    transform: scale(1.15);
}

.student-form-checkbox label {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5565;
}

.student-form-checkbox a {
    color: #0079c8;
    font-weight: 600;
}

.student-form-checkbox a:hover {
    text-decoration: underline;
}

/***************************************
    BUTTON
***************************************/

.student-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 260px;
    min-height: 58px;

    padding: 0 30px;

    border: none;
    border-radius: 14px;

    background: #0079c8;
    color: #ffffff;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.student-form-submit:hover {
    background: #005eb8;
    transform: translateY(-1px);
}

/***************************************
    ERRORS
***************************************/

.student-form-error {
    border-color: #db3907 !important;
    box-shadow: 0 0 0 4px rgba(219, 57, 7, 0.12) !important;
}

.student-form-error-text {
    font-size: 14px;
    font-weight: 600;
    color: #db3907;
    margin-top: 4px;
}
/***************************************
    TURNSTILE
***************************************/

.student-form-turnstile {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

/****************************************
    SUBMIT DISABLED
****************************************/

.student-form-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

/****************************************
    FORM ERRORS
****************************************/

.student-form-errors {
    background: #fff4f4;
    border: 1px solid #e7b4b4;
    border-left: 5px solid #db3907;

    border-radius: 14px;

    padding: 18px 20px;

    margin-bottom: 28px;

    color: #7a1f1f;
}

.student-form-errors strong {
    display: block;
    margin-bottom: 10px;

    font-size: 16px;
    font-weight: 700;
}

.student-form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.student-form-errors li {
    margin-bottom: 6px;

    line-height: 1.5;
}

/****************************************
    THANK YOU PAGE DESKTOP
****************************************/

.thanks-hero {
    position: relative;

    padding: 40px 0 55px;

    background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);

    overflow: hidden;
}

.thanks-hero-content {
    position: relative;

    z-index: 2;

    max-width: 980px;

    margin: 0 auto;

    text-align: center;
}

.thanks-ok-image {
    display: block;

    width: 140px;
    height: 140px;

    margin: 0 auto 10px;

    object-fit: contain;

    filter: drop-shadow(0 10px 24px rgba(255, 196, 0, 0.22));
}

.thanks-hero-content .hero-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 12px 28px;

    margin-bottom: 22px;

    border-radius: 999px;

    background: rgba(0, 119, 255, 0.1);

    color: #0070d2;

    font-size: 16px;
    font-weight: 700;
}

.thanks-hero-content h1 {
    margin-bottom: 16px;

    font-size: 58px;
    font-weight: 800;
    line-height: 1.05;

    color: #05164d;
}

.thanks-hero-content p {
    max-width: 900px;

    margin: 0 auto;

    font-size: 22px;
    line-height: 1.5;

    color: #3f4b63;
}

.thanks-review-box,
.thanks-finalizado {
    position: relative;

    z-index: 2;

    max-width: 920px;

    margin: 34px auto 0;

    padding: 42px 50px;

    border-radius: 30px;

    background: #ffffff;

    box-shadow: 0 18px 60px rgba(12, 38, 89, 0.1);

    text-align: center;
}

.thanks-finalizado {
    box-shadow: none;
}

.thanks-review-box h2 {
    margin-bottom: 14px;

    font-size: 44px;
    font-weight: 800;

    color: #05164d;
}

.thanks-review-box p {
    max-width: 720px;

    margin: 0 auto 26px;

    font-size: 20px;
    line-height: 1.6;

    color: #3f4b63;
}

.thanks-review-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-width: 320px;

    padding: 20px 34px;

    border-radius: 18px;

    background: linear-gradient(180deg, #0b2a84 0%, #061d5e 100%);

    color: #ffffff;

    font-size: 23px;
    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 14px 34px rgba(5, 22, 77, 0.2);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.thanks-review-button:hover {
    transform: translateY(-3px);

    box-shadow: 0 20px 40px rgba(5, 22, 77, 0.28);
}

/***************************************
    RESPONSIVE
***************************************/

@media (max-width: 768px) {
    .student-contact-section {
        padding: 55px 0;
    }

    .student-contact-head h2 {
        font-size: 36px;
        line-height: 1.12;
    }

    .student-contact-head p {
        font-size: 17px;
    }

    .student-contact-box {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .student-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .student-form-full {
        margin-bottom: 20px;
    }

    .student-form-group label {
        font-size: 16px;
    }

    .student-form-group input,
    .student-form-group select {
        min-height: 54px;
    }

    .student-form-group textarea {
        min-height: 190px;
    }

    .student-form-submit {
        width: 100%;
        min-width: 100%;
    }
    /****************************************
    THANK YOU PAGE MOBILE
    ****************************************/

    .thanks-hero {
        padding: 26px 0 42px;
    }

    .thanks-ok-image {
        display: block;

        width: 72px;
        height: 72px;

        margin: 0 auto 6px;
    }

    .thanks-hero-content .hero-badge {
        padding: 10px 18px;

        margin-bottom: 16px;

        font-size: 14px;
    }

    .thanks-hero-content h1 {
        margin-bottom: 16px;

        font-size: 34px;
        line-height: 1.08;
    }

    .thanks-hero-content p {
        font-size: 18px;
        line-height: 1.55;
    }

    .thanks-review-box,
    .thanks-finalizado {
        margin-top: 28px;

        padding: 28px 20px;
    }

    .thanks-review-box h2 {
        margin-bottom: 12px;

        font-size: 32px;
    }

    .thanks-review-box p {
        margin-bottom: 22px;

        font-size: 17px;
        line-height: 1.5;
    }

    .thanks-review-button {
        width: 100%;

        min-width: auto;

        padding: 16px 18px;

        font-size: 18px;
    }
}
