/* =========================================================
   IMCORRS 2026 — Aviso convocatoria Expo Estudiantes cerrada
========================================================= */

.student-call-modal[hidden] {
    display: none;
}

.student-call-modal {
    position: fixed;
    inset: 0;
    z-index: 7100;

    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 36px);
}

.student-call-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 30, 49, 0.74);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.student-call-modal__dialog {
    position: relative;
    z-index: 1;

    width: min(100%, 540px);
    max-height: min(90vh, 650px);
    overflow-y: auto;

    background: var(--color-white, #ffffff);
    color: var(--color-primary, #001e31);

    box-shadow: 0 28px 80px rgba(0, 30, 49, 0.32);

    opacity: 0;
    transform: translateY(16px) scale(0.985);

    transition:
        opacity 180ms ease,
        transform 220ms ease;
}

.student-call-modal.is-open .student-call-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.student-call-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 42px;
    height: 42px;

    display: inline-grid;
    place-items: center;

    border: 1px solid rgba(0, 30, 49, 0.12);
    border-radius: 50%;

    background: #ffffff;
    color: var(--color-primary, #001e31);

    cursor: pointer;
    transition:
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.student-call-modal__close:hover {
    background: var(--color-primary, #001e31);
    color: #ffffff;
    transform: rotate(4deg);
}

.student-call-modal__content {
    padding: clamp(42px, 7vw, 62px) clamp(28px, 6vw, 54px) clamp(34px, 6vw, 50px);
    text-align: center;
}

.student-call-modal__kicker {
    display: inline-block;
    margin-bottom: 16px;

    color: var(--color-accent, #b36b00);

    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.student-call-modal__title {
    max-width: 430px;
    margin: 0 auto 18px;

    color: var(--color-primary, #001e31);

    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.student-call-modal__text {
    max-width: 430px;
    margin: 0 auto;

    color: var(--color-text-soft, #52616b);

    font-size: 1rem;
    line-height: 1.7;
}

.student-call-modal__accept {
    min-width: 170px;
    margin-top: 28px;
    justify-content: center;
}

@media (max-width: 560px) {
    .student-call-modal {
        padding: 16px;
    }

    .student-call-modal__dialog {
        width: 100%;
    }

    .student-call-modal__content {
        padding: 54px 24px 32px;
    }

    .student-call-modal__accept {
        width: 100%;
    }
}
