@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* =====================================================
   CONFIGURACIÓN GENERAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(75, 57, 127, .055),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(212, 175, 55, .025),
            transparent 28%
        ),
        #f6f4fa;

    color: #2B2156;

    overflow-x: hidden;
}

/* =====================================================
   VARIABLES
===================================================== */

:root {
    --primary-dark: #2B2156;
    --primary: #392C6C;
    --primary-light: #51418A;

    --purple-dark: #241A49;
    --purple: #4A397C;
    --purple-light: #6855A0;

    --gold: #D4AF37;
    --gold-light: #E4C65A;
    --gold-soft: #F0DFA0;
    --gold-dark: #A98924;

    --background: #f6f4fa;
    --background-soft: #fbfaff;

    --white: #ffffff;

    --text-dark: #2B2156;
    --text: #6F6A7C;
    --text-light: #9792A3;

    --border: rgba(43, 33, 86, .12);

    --gold-border: rgba(212, 175, 55, .48);

    --shadow: 0 12px 30px rgba(43, 33, 86, .10);

    --shadow-hover: 0 18px 38px rgba(43, 33, 86, .15);

    --gold-glow:
        0 0 6px rgba(212, 175, 55, .30),
        0 0 16px rgba(212, 175, 55, .12);

    --purple-glow:
        0 0 8px rgba(43, 33, 86, .14),
        0 0 20px rgba(75, 57, 127, .08);
}

/* =====================================================
   BARRA DE ANUNCIO
===================================================== */

.announcement {
    width: 100%;
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 20px;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 12% 35%,
            rgba(212, 175, 55, .40) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 31% 70%,
            rgba(212, 175, 55, .30) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 58% 25%,
            rgba(212, 175, 55, .28) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 84% 65%,
            rgba(212, 175, 55, .32) 0 1px,
            transparent 4px
        ),
        linear-gradient(
            90deg,
            #241A49,
            #2B2156,
            #3A2C6D,
            #2B2156,
            #241A49
        );

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    text-align: center;

    border-bottom: 1px solid rgba(212, 175, 55, .45);

    box-shadow:
        0 3px 15px rgba(43, 33, 86, .15);

    text-shadow:
        0 0 5px rgba(212, 175, 55, .35);
}

/* =====================================================
   HEADER
===================================================== */

.header {
    width: 100%;
    min-height: 82px;

    position: relative;
    z-index: 100;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 35%,
            rgba(212, 175, 55, .30) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 34% 72%,
            rgba(212, 175, 55, .20) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 68% 25%,
            rgba(212, 175, 55, .22) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(212, 175, 55, .18) 0 1px,
            transparent 4px
        ),
        linear-gradient(
            135deg,
            #241A49,
            #2B2156 48%,
            #3D2E73 70%,
            #241A49
        );

    border-bottom: 1px solid rgba(212, 175, 55, .40);

    box-shadow:
        0 7px 20px rgba(43, 33, 86, .16);
}

.header::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 175, 55, .65),
            #D4AF37,
            rgba(212, 175, 55, .65),
            transparent
        );

    box-shadow:
        0 0 7px rgba(212, 175, 55, .30);
}

.header::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #D4AF37,
            #E4C65A,
            #D4AF37,
            transparent
        );

    box-shadow:
        0 0 8px rgba(212, 175, 55, .30);
}

/* =====================================================
   HEADER CONTAINER
===================================================== */

.header-container {
    width: 100%;
    max-width: 1450px;

    min-height: 82px;

    margin: 0 auto;

    padding: 0 5%;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 50px;
}

/* =====================================================
   MARCA
===================================================== */

.brand {
    flex-shrink: 0;
}

.brand h1 {
    color: #ffffff;

    font-size: 29px;

    font-weight: 900;

    letter-spacing: 3px;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .38),
        0 0 14px rgba(212, 175, 55, .14);
}

/* =====================================================
   MENÚ
===================================================== */

.nav-menu {
    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 7px;
}

.nav-menu a {
    position: relative;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 1.3px;

    padding: 12px 18px;

    border-radius: 50px;

    transition: .3s ease;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .18);
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 20px;
    right: 20px;

    bottom: 5px;

    height: 2px;

    background: #D4AF37;

    transform: scaleX(0);

    transition: transform .3s ease;

    box-shadow:
        0 0 6px rgba(212, 175, 55, .32);
}

.nav-menu a:hover {
    color: #E4C65A;

    background:
        rgba(212, 175, 55, .06);

    transform:
        translateY(-2px);

    box-shadow:
        0 6px 15px rgba(43, 33, 86, .12);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu a.active {
    color: #E4C65A;

    background:
        rgba(212, 175, 55, .06);

    box-shadow:
        inset 0 1px rgba(212, 175, 55, .18);
}

/* =====================================================
   PUNTAJES UNAM
===================================================== */

.nav-menu .scores-link {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(43, 33, 86, .80),
            rgba(75, 57, 127, .50)
        );

    border:
        1px solid rgba(212, 175, 55, .25);

    box-shadow:
        0 5px 14px rgba(43, 33, 86, .12);
}

.nav-menu .scores-link:hover {
    color: #E4C65A;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #4A397C
        );

    border-color:
        rgba(212, 175, 55, .50);

    box-shadow:
        0 7px 17px rgba(43, 33, 86, .16),
        0 0 9px rgba(212, 175, 55, .10);
}

/* =====================================================
   CONTACTANOS
===================================================== */

.nav-menu .contact-link {
    color: #E4C65A;

    background:
        rgba(212, 175, 55, .06);

    border:
        1px solid rgba(212, 175, 55, .42);

    box-shadow:
        0 5px 14px rgba(43, 33, 86, .10);

    text-shadow:
        0 0 5px rgba(212, 175, 55, .24);
}

.nav-menu .contact-link:hover {
    color: #2B2156;

    background:
        linear-gradient(
            135deg,
            #D4AF37,
            #E4C65A
        );

    border-color:
        #D4AF37;

    box-shadow:
        0 8px 18px rgba(43, 33, 86, .17),
        0 0 12px rgba(212, 175, 55, .22);

    text-shadow:
        none;
}

/* =====================================================
   HERO
===================================================== */

.hero {
    width: 100%;

    min-height: 60vh;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

    background-image:
        url("galaxia.png");

    background-size:
        cover;

    background-position:
        center center;

    background-repeat:
        no-repeat;
}

.hero::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at center,
            rgba(43, 33, 86, .12),
            transparent 58%
        ),
        radial-gradient(
            circle at 28% 30%,
            rgba(212, 175, 55, .05),
            transparent 28%
        ),
        radial-gradient(
            circle at 75% 70%,
            rgba(75, 57, 127, .09),
            transparent 30%
        );
}

/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {
    position: relative;

    z-index: 3;

    width: 100%;

    max-width: 900px;

    padding: 50px 25px;

    margin: 0 auto;

    color: #ffffff;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    animation:
        heroEntrada 1s ease both;
}

@keyframes heroEntrada {
    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

/* =====================================================
   LOGO HERO
===================================================== */

.hero-logo {
    width: 160px;

    max-width: 45vw;

    height: auto;

    margin-bottom: 25px;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 7px rgba(212, 175, 55, .38)
        )
        drop-shadow(
            0 0 17px rgba(212, 175, 55, .14)
        );

    transition:
        transform .35s ease;
}

.hero-logo:hover {
    transform:
        scale(1.04);

    filter:
        drop-shadow(
            0 0 9px rgba(212, 175, 55, .46)
        )
        drop-shadow(
            0 0 21px rgba(212, 175, 55, .18)
        );
}

/* =====================================================
   HERO TITULO
===================================================== */

.hero-content h2 {
    margin:
        0 auto 22px;

    max-width:
        850px;

    color:
        #ffffff;

    font-size:
        clamp(32px, 5vw, 58px);

    font-weight:
        900;

    line-height:
        1.08;

    letter-spacing:
        -.5px;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .40),
        0 0 14px rgba(212, 175, 55, .14),
        0 4px 15px rgba(0, 0, 0, .55);
}

/* =====================================================
   HERO TEXTO
===================================================== */

.hero-content p {
    max-width:
        720px;

    margin:
        0 auto 32px;

    color:
        #ffffff;

    font-size:
        18px;

    font-weight:
        500;

    line-height:
        1.7;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .60);
}

/* =====================================================
   BOTONES HERO
===================================================== */

.hero-buttons {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        14px;

    flex-wrap:
        wrap;
}

.primary-btn,
.secondary-btn {
    min-width:
        210px;

    padding:
        15px 28px;

    border-radius:
        50px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    text-decoration:
        none;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        1px;

    transition:
        .3s ease;
}

.primary-btn {
    color:
        #2B2156;

    background:
        linear-gradient(
            135deg,
            #D4AF37,
            #E4C65A
        );

    border:
        1px solid #D4AF37;

    box-shadow:
        0 8px 20px rgba(43, 33, 86, .18),
        0 0 9px rgba(212, 175, 55, .18);
}

.primary-btn:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 12px 24px rgba(43, 33, 86, .22),
        0 0 14px rgba(212, 175, 55, .28);
}

.secondary-btn {
    color:
        #ffffff;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #4A397C
        );

    border:
        1px solid rgba(212, 175, 55, .45);

    box-shadow:
        0 8px 20px rgba(43, 33, 86, .20);
}

.secondary-btn:hover {
    transform:
        translateY(-4px);

    color:
        #2B2156;

    background:
        linear-gradient(
            135deg,
            #D4AF37,
            #E4C65A
        );

    box-shadow:
        0 12px 24px rgba(43, 33, 86, .20),
        0 0 12px rgba(212, 175, 55, .24);
}

.whatsapp-btn i {
    color:
        #E4C65A;

    font-size:
        18px;

    transition:
        .3s ease;
}

.secondary-btn:hover i {
    color:
        #2B2156;
}

/* =====================================================
   6 PROFESORES · 120/120
===================================================== */

.perfect-scores-section {
    width:
        100%;

    padding:
        95px 5% 90px;

    background:
        linear-gradient(
            180deg,
            #fbfafd 0%,
            #f3f0f8 100%
        );

    position:
        relative;

    overflow:
        hidden;
}

.perfect-scores-section::before {
    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        50%;

    transform:
        translateX(-50%);

    width:
        min(700px, 75%);

    height:
        1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 175, 55, .65),
            transparent
        );

    box-shadow:
        0 0 8px rgba(212, 175, 55, .22);
}

.perfect-scores-header {
    max-width:
        900px;

    margin:
        0 auto 50px;

    text-align:
        center;
}

.perfect-scores-header span {
    display:
        inline-block;

    margin-bottom:
        13px;

    color:
        #A98924;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        3px;

    text-transform:
        uppercase;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .20);
}

.perfect-scores-header h2 {
    color:
        #2B2156;

    font-size:
        clamp(34px, 5vw, 60px);

    line-height:
        1;

    font-weight:
        900;

    letter-spacing:
        -1px;

    margin:
        3px 0;
}

.perfect-scores-header h2 strong {
    color:
        #A98924;

    text-shadow:
        0 0 7px rgba(212, 175, 55, .20);
}

.perfect-scores-header p {
    max-width:
        780px;

    margin:
        24px auto 0;

    color:
        #706B7C;

    font-size:
        16px;

    line-height:
        1.7;
}

/* =====================================================
   GRID 6 PROFESORES
===================================================== */

.professors-grid {
    width:
        100%;

    max-width:
        1080px;

    margin:
        0 auto;

    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        22px;

    align-items:
        stretch;
}

/* =====================================================
   TARJETA PROFESOR
===================================================== */

.professor-card {
    min-width:
        0;

    width:
        100%;

    background:
        rgba(255, 255, 255, .94);

    border:
        1px solid rgba(43, 33, 86, .10);

    border-top:
        2px solid rgba(212, 175, 55, .45);

    border-radius:
        18px;

    overflow:
        hidden;

    box-shadow:
        0 10px 25px rgba(43, 33, 86, .09);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.professor-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(212, 175, 55, .55);

    box-shadow:
        0 17px 32px rgba(43, 33, 86, .14),
        0 0 10px rgba(212, 175, 55, .10);
}

/* =====================================================
   IMAGEN PROFESOR
===================================================== */

.professor-image {
    width:
        100%;

    aspect-ratio:
        4 / 5;

    overflow:
        hidden;

    background:
        linear-gradient(
            145deg,
            #2B2156,
            #4A397C
        );

    position:
        relative;
}

.professor-image::after {
    content:
        "";

    position:
        absolute;

    left:
        0;

    right:
        0;

    bottom:
        0;

    height:
        35%;

    background:
        linear-gradient(
            to top,
            rgba(43, 33, 86, .30),
            transparent
        );

    pointer-events:
        none;
}

.professor-image img {
    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;

    object-position:
        center center;

    transition:
        transform .45s ease;

    filter:
        saturate(.96);
}

.professor-card:hover .professor-image img {
    transform:
        scale(1.045);
}

/* =====================================================
   INFORMACIÓN PROFESOR
===================================================== */

.professor-info {
    min-height:
        125px;

    padding:
        17px 12px 19px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;
}

.professor-info h3 {
    color:
        #2B2156;

    font-size:
        17px;

    font-weight:
        900;

    letter-spacing:
        1.5px;

    margin-bottom:
        6px;
}

.professor-year {
    color:
        #858091;

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        1px;

    margin-bottom:
        8px;
}

.perfect-score {
    color:
        #A98924;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        .8px;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .18);
}

/* =====================================================
   BOTÓN PROFESORES
===================================================== */

.professors-button {
    display:
        flex;

    justify-content:
        center;

    margin-top:
        38px;
}

/* =====================================================
   TÍTULO SECCIONES
===================================================== */

.section-title {
    max-width:
        850px;

    margin:
        0 auto 45px;

    padding:
        0 20px;

    text-align:
        center;
}

.section-title span {
    color:
        #A98924;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        3px;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .20);
}

.section-title h2 {
    color:
        #2B2156;

    font-size:
        40px;

    font-weight:
        900;

    margin-top:
        10px;

    line-height:
        1.15;
}

.section-title p {
    color:
        #746F80;

    font-size:
        17px;

    margin-top:
        15px;

    line-height:
        1.6;
}

/* =====================================================
   SECCIÓN PREPÁRATE PARA LA UNAM
===================================================== */

.carrusel-section {
    width:
        100%;

    padding:
        95px 0 70px;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(75, 57, 127, .055),
            transparent 27%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(212, 175, 55, .035),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #fbfafd 0%,
            #f2eff7 55%,
            #f8f6fb 100%
        );
}

/* =====================================================
   CONTENEDOR DEL CARRUSEL
===================================================== */

.carrusel-wrapper {
    width:
        min(1180px, 92%);

    margin:
        0 auto;

    position:
        relative;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;
}

/* =====================================================
   CARRUSEL
===================================================== */

.carrusel {
    width:
        100%;

    max-width:
        1100px;

    display:
        flex;

    overflow:
        hidden;

    padding:
        8px;

    border-radius:
        28px;

    position:
        relative;

    scrollbar-width:
        none;

    -ms-overflow-style:
        none;

    touch-action:
        pan-y;
}

.carrusel::-webkit-scrollbar {
    display:
        none;
}

/* =====================================================
   UNA DIAPOSITIVA A LA VEZ
===================================================== */

.slide {
    position:
        relative;

    width:
        100%;

    min-width:
        100%;

    height:
        clamp(380px, 48vw, 570px);

    flex:
        0 0 100%;

    overflow:
        hidden;

    display:
        none;

    border-radius:
        24px;

    scroll-snap-align:
        center;

    background:
        #2B2156;

    border:
        1px solid rgba(212, 175, 55, .42);

    box-shadow:
        0 14px 35px rgba(43, 33, 86, .16),
        0 0 12px rgba(212, 175, 55, .08);

    animation:
        slideEntrada .45s ease both;
}

.slide.active-slide {
    display:
        block;
}

@keyframes slideEntrada {
    from {
        opacity:
            .55;

        transform:
            scale(.985);
    }

    to {
        opacity:
            1;

        transform:
            scale(1);
    }
}

/* =====================================================
   IMAGEN DE DIAPOSITIVA
===================================================== */

.slide img {
    position:
        absolute;

    inset:
        0;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center center;

    display:
        block;

    z-index:
        0;

    user-select:
        none;

    -webkit-user-drag:
        none;

    pointer-events:
        none;

    transition:
        transform .8s ease;

    filter:
        brightness(.94)
        saturate(.94);
}

.slide.active-slide:hover img {
    transform:
        scale(1.025);

    filter:
        brightness(.97)
        saturate(.98);
}

/* =====================================================
   OVERLAY DISCRETO
===================================================== */

.slide-overlay {
    position:
        absolute;

    inset:
        0;

    z-index:
        1;

    background:
        linear-gradient(
            90deg,
            rgba(24, 17, 52, .76) 0%,
            rgba(43, 33, 86, .30) 48%,
            rgba(43, 33, 86, .05) 100%
        );

    pointer-events:
        none;
}

/* =====================================================
   DESTELLO DORADO DEL CARRUSEL
===================================================== */

.slide::after {
    content:
        "";

    position:
        absolute;

    width:
        160px;

    height:
        160px;

    right:
        7%;

    top:
        7%;

    z-index:
        2;

    pointer-events:
        none;

    border-radius:
        50%;

    background:
        rgba(212, 175, 55, .055);

    filter:
        blur(48px);

    box-shadow:
        0 0 45px rgba(212, 175, 55, .12);
}

/* =====================================================
   CONTENIDO DE DIAPOSITIVA
===================================================== */

.slide-content {
    position:
        absolute;

    left:
        8%;

    top:
        50%;

    transform:
        translateY(-50%);

    width:
        min(570px, 80%);

    color:
        #ffffff;

    z-index:
        4;
}

.slide-number {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        44px;

    height:
        28px;

    margin-bottom:
        18px;

    border-radius:
        30px;

    color:
        #E4C65A;

    background:
        rgba(43, 33, 86, .65);

    border:
        1px solid rgba(212, 175, 55, .48);

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        1px;
}

.slide-content h2 {
    color:
        #ffffff;

    font-size:
        clamp(30px, 4vw, 46px);

    font-weight:
        900;

    line-height:
        1.08;

    margin-bottom:
        20px;

    text-shadow:
        0 0 6px rgba(212, 175, 55, .40),
        0 0 14px rgba(212, 175, 55, .13),
        0 5px 18px rgba(0, 0, 0, .60);
}

.slide-content p {
    font-size:
        17px;

    font-weight:
        500;

    line-height:
        1.7;

    color:
        #ffffff;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .70);
}

.slide-content strong {
    color:
        #E4C65A;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .24);
}

/* =====================================================
   FLECHAS DEL CARRUSEL
===================================================== */

.carousel-arrow {
    position:
        absolute;

    top:
        50%;

    transform:
        translateY(-50%);

    width:
        48px;

    height:
        48px;

    z-index:
        20;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    border:
        1px solid rgba(212, 175, 55, .50);

    background:
        rgba(43, 33, 86, .90);

    color:
        #E4C65A;

    cursor:
        pointer;

    font-size:
        15px;

    box-shadow:
        0 8px 18px rgba(43, 33, 86, .20),
        0 0 8px rgba(212, 175, 55, .10);

    transition:
        .3s ease;

    backdrop-filter:
        blur(5px);

    pointer-events:
        auto;
}

.carousel-arrow:hover {
    background:
        #D4AF37;

    color:
        #2B2156;

    border-color:
        #D4AF37;

    transform:
        translateY(-50%) scale(1.06);

    box-shadow:
        0 10px 22px rgba(43, 33, 86, .22),
        0 0 12px rgba(212, 175, 55, .25);
}

.carousel-arrow:active {
    transform:
        translateY(-50%) scale(.96);
}

.carousel-prev {
    left:
        8px;
}

.carousel-next {
    right:
        8px;
}
/* =====================================================
   CONTENEDOR DEL CARRUSEL
===================================================== */

.carrusel-wrapper {
    position: relative;
    width: 100%;
}


/* =====================================================
   FLECHAS
===================================================== */

.carousel-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(212, 175, 55, 0.50);

    background: rgba(43, 33, 86, 0.90);

    color: #E4C65A;

    cursor: pointer;

    font-size: 15px;

    box-shadow:
        0 8px 18px rgba(43, 33, 86, 0.20),
        0 0 8px rgba(212, 175, 55, 0.10);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    backdrop-filter: blur(5px);

    /* MUY IMPORTANTE */
    z-index: 9999;

    pointer-events: auto;

    /* Evita comportamientos extraños del botón */
    appearance: none;

    -webkit-appearance: none;

    outline: none;
}


/* =====================================================
   FLECHA ANTERIOR
===================================================== */

.carousel-prev {
    left: 300px;
}


/* =====================================================
   FLECHA SIGUIENTE
===================================================== */

.carousel-next {
    right: 300px;
}


/* =====================================================
   HOVER
===================================================== */

.carousel-arrow:hover {

    background: #D4AF37;

    color: #2B2156;

    border-color: #D4AF37;

    transform:
        translateY(-50%)
        scale(1.06);

    box-shadow:
        0 10px 22px rgba(43, 33, 86, 0.22),
        0 0 12px rgba(212, 175, 55, 0.25);

}


/* =====================================================
   CLICK
===================================================== */

.carousel-arrow:active {

    transform:
        translateY(-50%)
        scale(0.94);

}


/* =====================================================
   ICONO
===================================================== */

.carousel-arrow i {

    pointer-events: none;

}


/* =====================================================
   ASEGURAR QUE EL WRAPPER NO BLOQUEE
===================================================== */

.carrusel-wrapper,
.carousel-arrow {

    user-select: none;

}


/* =====================================================
   CARRUSEL
===================================================== */

.carrusel {

    position: relative;

    width: 100%;

}


/* =====================================================
   INDICADORES
===================================================== */

.carousel-indicators {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    margin-top:
        20px;

    pointer-events:
        none;

    user-select:
        none;
}

.carousel-dot {
    display:
        block;

    width:
        7px;

    height:
        7px;

    padding:
        0;

    border:
        1px solid rgba(43, 33, 86, .25);

    border-radius:
        50%;

    background:
        rgba(43, 33, 86, .16);

    cursor:
        default;

    transition:
        .3s ease;

    pointer-events:
        none;

    user-select:
        none;
}

.carousel-dot.active {
    width:
        24px;

    border-radius:
        20px;

    background:
        #D4AF37;

    border-color:
        #D4AF37;

    box-shadow:
        0 0 7px rgba(212, 175, 55, .22);
}

/* =====================================================
   CONTADOR
===================================================== */

.carousel-counter {
    display:
        flex;

    justify-content:
        center;

    align-items:
        center;

    gap:
        5px;

    margin-top:
        11px;

    color:
        #888293;

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        1px;
}

.carousel-counter #current-slide {
    color:
        #A98924;

    font-size:
        13px;
}

/* =====================================================
   MARQUESINA
===================================================== */

.marquee-section {
    width:
        100%;

    padding:
        21px 0;

    overflow:
        hidden;

    white-space:
        nowrap;

    background:
        radial-gradient(
            circle at 12% 40%,
            rgba(212, 175, 55, .36) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 34% 70%,
            rgba(212, 175, 55, .24) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 64% 25%,
            rgba(212, 175, 55, .28) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 87% 65%,
            rgba(212, 175, 55, .22) 0 1px,
            transparent 4px
        ),
        linear-gradient(
            90deg,
            #241A49,
            #2B2156,
            #3B2C70,
            #2B2156,
            #241A49
        );

    border-top:
        1px solid rgba(212, 175, 55, .40);

    border-bottom:
        1px solid rgba(212, 175, 55, .40);

    box-shadow:
        0 0 15px rgba(43, 33, 86, .14);
}

.marquee {
    width:
        100%;

    overflow:
        hidden;
}

.marquee-content {
    display:
        inline-block;

    color:
        #ffffff;

    font-size:
        24px;

    font-weight:
        900;

    letter-spacing:
        2px;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .35),
        0 0 13px rgba(212, 175, 55, .10);

    animation:
        moverMarquee 18s linear infinite;
}

.marquee-separator {
    color:
        #D4AF37;

    margin:
        0 10px;

    text-shadow:
        0 0 6px rgba(212, 175, 55, .30);
}

@keyframes moverMarquee {
    0% {
        transform:
            translateX(0);
    }

    100% {
        transform:
            translateX(-50%);
    }
}

/* =====================================================
   VIDEO + INFORMACIÓN
===================================================== */

.info-section {
    width:
        100%;

    max-width:
        1400px;

    margin:
        auto;

    padding:
        100px 6%;

    display:
        flex;

    align-items:
        center;

    gap:
        70px;
}

.info-video {
    width:
        50%;

    position:
        relative;
}

.info-video::before {
    content:
        "";

    position:
        absolute;

    inset:
        -8px;

    z-index:
        -1;

    border-radius:
        24px;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #D4AF37,
            #4A397C
        );

    filter:
        blur(3px);

    opacity:
        .48;

    box-shadow:
        0 0 14px rgba(212, 175, 55, .12);
}

.info-video video {
    width:
        100%;

    height:
        470px;

    display:
        block;

    object-fit:
        cover;

    border-radius:
        20px;

    background:
        #2B2156;

    border:
        1px solid rgba(212, 175, 55, .42);

    box-shadow:
        0 12px 28px rgba(43, 33, 86, .15),
        0 0 10px rgba(212, 175, 55, .08);
}

.info-text {
    width:
        50%;
}

.info-text span {
    color:
        #A98924;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        2px;
}

.info-text h2 {
    color:
        #2B2156;

    font-size:
        40px;

    line-height:
        1.15;

    margin:
        15px 0 25px;
}

.info-text p {
    color:
        #706B7C;

    font-size:
        17px;

    line-height:
        1.8;

    margin-bottom:
        20px;
}

.info-text strong {
    color:
        #A98924;

    font-weight:
        900;
}

/* =====================================================
   ÍTEMS DE PREPARACIÓN
===================================================== */

.preparation-items {
    display:
        flex;

    flex-direction:
        column;

    gap:
        18px;

    margin:
        25px 0;
}

.preparation-item {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        14px;

    padding:
        4px 0;
}

.preparation-icon {
    width:
        43px;

    height:
        43px;

    flex-shrink:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        12px;

    color:
        #E4C65A;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #4A397C
        );

    border:
        1px solid rgba(212, 175, 55, .40);

    box-shadow:
        0 6px 13px rgba(43, 33, 86, .13),
        0 0 7px rgba(212, 175, 55, .08);
}

.preparation-item strong {
    display:
        block;

    color:
        #2B2156;

    font-size:
        13px;

    font-weight:
        900;

    letter-spacing:
        .6px;

    margin-bottom:
        5px;
}

.preparation-item p {
    margin:
        0;

    color:
        #777182;

    font-size:
        13px;

    line-height:
        1.55;
}

/* =====================================================
   BOTÓN INFORMACIÓN
===================================================== */

.info-btn {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    margin-top:
        12px;

    padding:
        14px 25px;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #4A397C
        );

    color:
        #ffffff;

    text-decoration:
        none;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        .7px;

    border-radius:
        50px;

    border:
        1px solid rgba(212, 175, 55, .45);

    box-shadow:
        0 8px 20px rgba(43, 33, 86, .17),
        0 0 7px rgba(212, 175, 55, .08);

    transition:
        .3s ease;
}

.info-btn:hover {
    transform:
        translateY(-4px);

    background:
        linear-gradient(
            135deg,
            #D4AF37,
            #E4C65A
        );

    color:
        #2B2156;

    border-color:
        #D4AF37;

    box-shadow:
        0 10px 22px rgba(43, 33, 86, .20),
        0 0 12px rgba(212, 175, 55, .22);
}

/* =====================================================
   CIERRE FINAL
===================================================== */

.final-cta-section {
    width:
        100%;

    min-height:
        480px;

    position:
        relative;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    overflow:
        hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(75, 57, 127, .28),
            transparent 45%
        ),
        radial-gradient(
            circle at 20% 30%,
            rgba(212, 175, 55, .08),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #17112F,
            #2B2156 48%,
            #241A49
        );
}

.final-cta-section::before {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(212, 175, 55, .38) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 32% 72%,
            rgba(212, 175, 55, .25) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 67% 28%,
            rgba(212, 175, 55, .30) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(212, 175, 55, .22) 0 1px,
            transparent 4px
        );

    pointer-events:
        none;
}

.final-cta-overlay {
    position:
        absolute;

    inset:
        0;

    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(15, 10, 30, .18) 75%,
            rgba(15, 10, 30, .38) 100%
        );
}

.final-cta-content {
    position:
        relative;

    z-index:
        2;

    max-width:
        850px;

    padding:
        50px 25px;
}

.final-cta-content > span {
    color:
        #E4C65A;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        3px;

    text-shadow:
        0 0 6px rgba(212, 175, 55, .28);
}

.final-cta-content h2 {
    margin-top:
        15px;

    color:
        #ffffff;

    font-size:
        clamp(38px, 6vw, 65px);

    font-weight:
        900;

    line-height:
        1;
}

.final-cta-content h3 {
    margin-top:
        10px;

    color:
        #E4C65A;

    font-size:
        clamp(23px, 4vw, 40px);

    font-weight:
        900;

    line-height:
        1.15;

    text-shadow:
        0 0 7px rgba(212, 175, 55, .25);
}

.final-cta-content p {
    margin:
        22px 0 30px;

    color:
        rgba(255, 255, 255, .82);

    font-size:
        15px;
}

.final-cta-buttons {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        14px;

    flex-wrap:
        wrap;
}

.final-btn {
    min-width:
        190px;

    padding:
        14px 25px;

    border-radius:
        50px;

    text-decoration:
        none;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        .8px;

    transition:
        .3s ease;
}

.final-btn.primary-btn {
    color:
        #2B2156;

    background:
        linear-gradient(
            135deg,
            #D4AF37,
            #E4C65A
        );

    border:
        1px solid #D4AF37;
}

.final-btn.secondary-btn {
    color:
        #ffffff;

    background:
        rgba(255, 255, 255, .05);

    border:
        1px solid rgba(212, 175, 55, .48);
}

.final-btn:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 10px 22px rgba(0, 0, 0, .22),
        0 0 12px rgba(212, 175, 55, .22);
}

.final-btn.secondary-btn:hover {
    background:
        #D4AF37;

    color:
        #2B2156;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
    width:
        100%;

    padding:
        55px 20px 30px;

    text-align:
        center;

    background:
        #17112F;

    color:
        #ffffff;

    border-top:
        1px solid rgba(212, 175, 55, .35);
}

.footer h2 {
    color:
        #ffffff;

    font-size:
        26px;

    font-weight:
        900;

    letter-spacing:
        3px;

    text-shadow:
        0 0 6px rgba(212, 175, 55, .25);
}

.footer > p {
    margin-top:
        10px;

    color:
        rgba(255, 255, 255, .65);

    font-size:
        13px;
}

.social-links {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    margin:
        25px 0;
}

.social-links a {
    width:
        40px;

    height:
        40px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    color:
        #E4C65A;

    background:
        rgba(212, 175, 55, .05);

    border:
        1px solid rgba(212, 175, 55, .30);

    text-decoration:
        none;

    transition:
        .3s ease;
}

.social-links a:hover {
    transform:
        translateY(-4px);

    color:
        #2B2156;

    background:
        #D4AF37;

    border-color:
        #D4AF37;

    box-shadow:
        0 0 10px rgba(212, 175, 55, .20);
}

.footer .copyright {
    padding-top:
        22px;

    border-top:
        1px solid rgba(255, 255, 255, .07);

    color:
        rgba(255, 255, 255, .42);

    font-size:
        11px;
}

/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 1100px) {

    .header-container {
        gap:
            25px;
    }

    .nav-menu {
        flex-wrap:
            wrap;
    }

    .nav-menu a {
        padding:
            10px 12px;

        font-size:
            11px;
    }

    .professors-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        max-width:
            850px;

        gap:
            18px;
    }

    .carrusel-wrapper {
        width:
            88%;
    }

    .carousel-prev {
        left:
            -20px;
    }

    .carousel-next {
        right:
            -20px;
    }

    .info-section {
        gap:
            45px;
    }

    .info-text h2 {
        font-size:
            34px;
    }
}

/* =====================================================
   RESPONSIVE — TABLET PEQUEÑA
===================================================== */

@media (max-width: 850px) {

    .header-container {
        flex-direction:
            column;

        justify-content:
            center;

        gap:
            14px;

        padding:
            17px 5%;
    }

    .header {
        min-height:
            auto;
    }

    .nav-menu {
        justify-content:
            center;
    }

    .perfect-scores-section {
        padding:
            75px 5%;
    }

    .professors-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        max-width:
            650px;

        gap:
            15px;
    }

    .professor-card {
        grid-column:
            auto;
    }

    .slide {
        height:
            460px;
    }

    .slide-content {
        left:
            7%;

        width:
            82%;
    }

    .info-section {
        flex-direction:
            column;

        padding:
            75px 6%;
    }

    .info-video,
    .info-text {
        width:
            100%;
    }

    .info-video video {
        height:
            390px;
    }
}

/* =====================================================
   RESPONSIVE — MÓVIL
===================================================== */

@media (max-width: 600px) {

    .announcement {
        min-height:
            36px;

        padding:
            7px 12px;

        font-size:
            9px;

        letter-spacing:
            1.2px;
    }

    .brand h1 {
        font-size:
            23px;
    }

    .nav-menu {
        gap:
            3px;
    }

    .nav-menu a {
        padding:
            8px 9px;

        font-size:
            9px;

        letter-spacing:
            .7px;
    }

    .hero {
        min-height:
            72vh;
    }

    .hero-content {
        padding:
            40px 18px;
    }

    .hero-logo {
        width:
            125px;
    }

    .hero-content h2 {
        font-size:
            29px;

        line-height:
            1.1;
    }

    .hero-content p {
        font-size:
            14px;

        line-height:
            1.6;
    }

    .hero-buttons {
        width:
            100%;

        flex-direction:
            column;
    }

    .primary-btn,
    .secondary-btn {
        width:
            100%;

        max-width:
            290px;
    }

    .perfect-scores-header h2 {
        font-size:
            35px;
    }

    .perfect-scores-header p {
        font-size:
            14px;

        line-height:
            1.6;
    }

    .professors-grid {
        grid-template-columns:
            1fr 1fr;

        gap:
            12px;

        max-width:
            100%;
    }

    .professor-card {
        grid-column:
            auto;

        width:
            100%;
    }

    .professor-info {
        min-height:
            105px;

        padding:
            12px 8px;
    }

    .professor-info h3 {
        font-size:
            14px;
    }

    .perfect-score {
        font-size:
            10px;
    }

    .professor-year {
        font-size:
            8px;
    }

    .section-title {
        margin-bottom:
            30px;
    }

    .section-title h2 {
        font-size:
            29px;
    }

    .section-title p {
        font-size:
            14px;
    }

    .carrusel-section {
        padding:
            70px 0 55px;
    }

    .carrusel-wrapper {
        width:
            100%;

        padding:
            0 12px;
    }

    .carrusel {
        padding:
            4px;

        border-radius:
            20px;
    }

    .slide {
        min-width:
            100%;

        height:
            390px;

        border-radius:
            20px;
    }

    .slide-content {
        left:
            8%;

        width:
            80%;
    }

    .slide-content h2 {
        font-size:
            27px;
    }

    .slide-content p {
        font-size:
            13px;

        line-height:
            1.55;
    }

    .carousel-arrow {
        width:
            38px;

        height:
            38px;

        font-size:
            12px;
    }

    .carousel-prev {
        left:
            3px;
    }

    .carousel-next {
        right:
            3px;
    }

    .carousel-indicators {
        pointer-events:
            none;
    }

    .carousel-dot {
        pointer-events:
            none;
    }

    .marquee-content {
        font-size:
            18px;
    }

    .info-section {
        padding:
            65px 6%;
    }

    .info-video video {
        height:
            290px;
    }

    .info-text h2 {
        font-size:
            28px;
    }

    .preparation-items {
        gap:
            14px;
    }

    .preparation-item strong {
        font-size:
            11px;
    }

    .preparation-item p {
        font-size:
            11px;
    }

    .final-cta-section {
        min-height:
            430px;
    }

    .final-cta-content h2 {
        font-size:
            38px;
    }

    .final-cta-content h3 {
        font-size:
            23px;
    }

    .final-cta-content p {
        font-size:
            13px;
    }

    .final-cta-buttons {
        flex-direction:
            column;
    }

    .final-btn {
        width:
            100%;

        max-width:
            280px;
    }
}

/* =====================================================
   RESPONSIVE — MÓVIL PEQUEÑO
===================================================== */

@media (max-width: 400px) {

    .nav-menu a {
        padding:
            7px 6px;

        font-size:
            8px;
    }

    .hero-content h2 {
        font-size:
            25px;
    }

    .professors-grid {
        gap:
            9px;
    }

    .professor-image {
        aspect-ratio:
            3 / 4;
    }

    .professor-info h3 {
        font-size:
            12px;
    }

    .slide {
        height:
            350px;
    }

    .slide-content h2 {
        font-size:
            23px;
    }

    .slide-content p {
        font-size:
            12px;
    }

    .carousel-arrow {
        width:
            34px;

        height:
            34px;
    }

    .carousel-prev {
        left:
            2px;
    }

    .carousel-next {
        right:
            2px;
    }
}
/* =====================================================
   FUENTE
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');


/* =====================================================
   HERO DE PROFESORES
===================================================== */

.members-hero {

    width: 100%;

    min-height: 440px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(27, 20, 59, .97),
            rgba(43, 33, 86, .94),
            rgba(74, 59, 120, .90)
        );

}


.members-hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    top: -280px;

    right: -160px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, .16),
            transparent 68%
        );

}


.members-hero::after {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    bottom: -280px;

    left: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(128, 103, 173, .22),
            transparent 70%
        );

}


.members-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(43, 33, 86, .72),
            rgba(74, 59, 120, .38),
            rgba(43, 33, 86, .78)
        );

}


.members-hero-content {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 900px;

    padding: 50px 30px;

}


.members-hero-content span {

    display: inline-block;

    color: var(--gold-light);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 3px;

    margin-bottom: 14px;

}


.members-hero-content h2 {

    color: var(--white);

    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.12;

    font-weight: 900;

    letter-spacing: -.8px;

    margin: 0 0 22px;

}


.members-hero-content h2::after {

    content: "";

    display: block;

    width: 80px;

    height: 3px;

    margin: 22px auto 0;

    background: var(--gold);

}


.members-hero-content p {

    max-width: 760px;

    margin: 0 auto;

    color: rgba(255, 255, 255, .84);

    font-size: 16px;

    line-height: 1.75;

}



/* =====================================================
   SECCIÓN DE PROFESORES
===================================================== */

.members-section {

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 90px 6% 100px;

}



/* =====================================================
   TARJETA DEL PROFESOR
===================================================== */

.member-card {

    width: 100%;

    min-height: 430px;

    margin: 0 auto 65px;

    padding: 28px;

    display: flex;

    align-items: center;

    gap: 60px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fbfaff
        );

    border: 1px solid var(--border);

    border-radius: 24px;

    box-shadow: var(--shadow);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.member-card:last-child {

    margin-bottom: 0;

}


.member-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(212, 175, 55, .45);

    box-shadow:
        0 18px 45px rgba(43, 33, 86, .16),
        0 0 20px rgba(212, 175, 55, .08);

}


.member-card::before {

    content: "";

    position: absolute;

    top: 0;

    bottom: 0;

    left: 0;

    width: 5px;

    background:
        linear-gradient(
            180deg,
            var(--gold),
            var(--gold-light),
            var(--gold-dark)
        );

}


.member-card::after {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    right: -160px;

    top: -160px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, .08),
            transparent 70%
        );

    pointer-events: none;

}


.member-card.reverse {

    flex-direction: row-reverse;

}


.member-card.reverse::before {

    left: auto;

    right: 0;

}



/* =====================================================
   IMAGEN
===================================================== */

.member-image {

    width: 45%;

    height: 350px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    overflow: hidden;

    border-radius: 18px;

    border:
        1px solid rgba(212, 175, 55, .38);

    background:
        linear-gradient(
            135deg,
            #f3f0fa,
            #ffffff,
            #eee9f7
        );

    box-shadow:
        0 10px 25px rgba(43, 33, 86, .10);

}


.member-image::before {

    content: "";

    position: absolute;

    inset: 0;

    border:
        1px solid rgba(212, 175, 55, .15);

    border-radius: inherit;

    pointer-events: none;

    z-index: 2;

}


.member-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: contain;

    object-position: center;

    transition:
        transform .45s ease;

}


.member-card:hover .member-image img {

    transform: scale(1.035);

}



/* =====================================================
   INFORMACIÓN DEL PROFESOR
===================================================== */

.member-text {

    flex: 1;

    min-width: 0;

    padding: 15px 20px;

}


.member-text > span {

    display: block;

    color: var(--gold-dark);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 2px;

    line-height: 1.5;

    margin-bottom: 12px;

}


.member-text h2 {

    color: var(--primary);

    font-size: clamp(28px, 3vw, 38px);

    font-weight: 900;

    line-height: 1.15;

    margin: 0 0 16px;

}


.member-text h2::after {

    content: "";

    display: block;

    width: 55px;

    height: 3px;

    margin-top: 13px;

    background: var(--gold);

}


.member-text p {

    color: var(--text);

    font-size: 16px;

    line-height: 1.8;

    max-width: 650px;

}


.member-text strong {

    color: var(--gold-dark);

    font-weight: 800;

}



/* =====================================================
   RESULTADO ACADÉMICO
===================================================== */

.achievement {

    width: fit-content;

    max-width: 100%;

    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0 0 18px;

    padding: 9px 14px;

    color: var(--primary);

    background:
        rgba(212, 175, 55, .11);

    border:
        1px solid rgba(212, 175, 55, .45);

    border-radius: 8px;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1px;

}


.achievement i {

    color: var(--gold-dark);

    font-size: 13px;

}



/* =====================================================
   PUNTAJES PERFECTOS
   120/120
===================================================== */

.achievement.perfect-score {

    color: #5c4300;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, .24),
            rgba(255, 215, 90, .13)
        );

    border:
        1px solid rgba(212, 175, 55, .78);

    box-shadow:
        0 4px 15px rgba(212, 175, 55, .12);

}


.achievement.perfect-score i {

    color: #c89b16;

}


.achievement.perfect-score::after {

    content: "";

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--gold);

    margin-left: 2px;

}



/* =====================================================
   PUNTAJES SECUNDARIOS
===================================================== */

.achievement.secondary-score {

    background:
        rgba(43, 33, 86, .055);

    border-color:
        rgba(43, 33, 86, .16);

}


.achievement.secondary-score i {

    color: var(--gold-dark);

}



/* =====================================================
   SIN PUNTAJE
===================================================== */

.achievement.no-score {

    background:
        rgba(43, 33, 86, .055);

    border-color:
        rgba(43, 33, 86, .13);

}


.achievement.no-score i {

    color: var(--gold-dark);

}



/* =====================================================
   FOOTER
===================================================== */

.footer {

    width: 100%;

    padding: 60px 20px 35px;

    position: relative;

    overflow: hidden;

    text-align: center;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            #1b143b,
            #2B2156,
            #3d2f6d,
            #2B2156,
            #1b143b
        );

    border-top: 3px solid var(--gold);

}


.footer::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    top: -400px;

    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, .14),
            transparent 70%
        );

}


.footer h2 {

    position: relative;

    z-index: 1;

    color: var(--gold-light);

    font-size: 28px;

    font-weight: 900;

    letter-spacing: 3px;

    margin-bottom: 12px;

}


.footer p {

    position: relative;

    z-index: 1;

    color: rgba(255, 255, 255, .82);

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 10px;

}



/* =====================================================
   REDES SOCIALES
===================================================== */

.social-links {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    margin: 25px 0 22px;

}


.social-links a {

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: var(--gold-light);

    background:
        rgba(255, 255, 255, .06);

    border:
        1px solid rgba(212, 175, 55, .55);

    font-size: 18px;

    transition:
        transform .25s ease,
        color .25s ease,
        background .25s ease,
        box-shadow .25s ease;

}


.social-links a:hover {

    transform: translateY(-4px);

    color: var(--primary);

    background: var(--gold);

    box-shadow:
        0 7px 18px rgba(212, 175, 55, .22);

}


.footer .copyright {

    opacity: .65;

    font-size: 12px;

    margin-top: 20px;

}



/* =====================================================
   TABLETS
===================================================== */

@media (max-width: 1000px) {

    .header-container {

        padding: 0 4%;

    }


    .members-section {

        padding: 70px 4% 80px;

    }


    .member-card {

        gap: 35px;

        padding: 22px;

    }


    .member-image {

        width: 43%;

        height: 320px;

    }


    .member-text {

        padding: 10px;

    }


    .member-text p {

        font-size: 15px;

    }

}



/* =====================================================
   MÓVILES
===================================================== */

@media (max-width: 760px) {

    .announcement {

        min-height: 38px;

        padding: 8px 12px;

        font-size: 9px;

        letter-spacing: 1.2px;

    }


    .header-container {

        min-height: auto;

        padding: 17px 20px;

        flex-direction: column;

        gap: 12px;

    }


    .brand h1 {

        font-size: 24px;

    }


    .nav-menu {

        width: 100%;

        gap: 3px;

    }


    .nav-menu a {

        flex: 1;

        text-align: center;

        padding: 10px 8px;

        font-size: 10px;

    }


    .nav-menu a::after {

        left: 10px;

        right: 10px;

    }


    .members-hero {

        min-height: 390px;

    }


    .members-hero-content {

        padding: 45px 22px;

    }


    .members-hero-content span {

        font-size: 10px;

        letter-spacing: 2px;

    }


    .members-hero-content h2 {

        font-size: 32px;

    }


    .members-hero-content p {

        font-size: 14px;

        line-height: 1.65;

    }


    .members-section {

        padding: 55px 18px 70px;

    }


    .member-card,
    .member-card.reverse {

        min-height: auto;

        margin-bottom: 40px;

        padding: 18px;

        flex-direction: column;

        gap: 28px;

        align-items: stretch;

    }


    .member-card::before,
    .member-card.reverse::before {

        top: 0;

        left: 0;

        right: 0;

        bottom: auto;

        width: 100%;

        height: 4px;

    }


    .member-image {

        width: 100%;

        height: 320px;

        border-radius: 15px;

    }


    .member-text {

        width: 100%;

        padding: 5px 4px 12px;

        text-align: left;

    }


    .member-text > span {

        font-size: 10px;

        letter-spacing: 1.5px;

    }


    .member-text h2 {

        font-size: 27px;

    }


    .member-text p {

        font-size: 14px;

        line-height: 1.7;

    }


    .achievement {

        font-size: 10px;

        padding: 8px 11px;

    }


    .achievement.perfect-score {

        box-shadow:
            0 3px 12px rgba(212, 175, 55, .12);

    }


    .footer {

        padding: 50px 20px 30px;

    }

}



/* =====================================================
   MÓVILES PEQUEÑOS
===================================================== */

@media (max-width: 430px) {

    .members-hero {

        min-height: 360px;

    }


    .members-hero-content h2 {

        font-size: 28px;

    }


    .members-hero-content p {

        font-size: 13px;

    }


    .member-image {

        height: 280px;

    }


    .member-card {

        border-radius: 18px;

    }


    .member-text h2 {

        font-size: 24px;

    }


    .achievement {

        width: 100%;

        justify-content: center;

        text-align: center;

    }

}



/* =====================================================
   PREFERENCIA DE MOVIMIENTO REDUCIDO
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    *,
    *::before,
    *::after {

        transition: none !important;

        animation: none !important;

    }

}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');


/* =====================================================
   CONFIGURACIÓN GENERAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Montserrat",
        "Segoe UI",
        Arial,
        sans-serif;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(75, 57, 127, .055),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(212, 175, 55, .025),
            transparent 28%
        ),
        #f6f4fa;

    color: #2B2156;

    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --primary-dark: #2B2156;
    --primary: #392C6C;
    --primary-light: #51418A;

    --purple-dark: #241A49;
    --purple: #4A397C;
    --purple-light: #6855A0;

    --gold: #D4AF37;
    --gold-light: #E4C65A;
    --gold-soft: #F0DFA0;
    --gold-dark: #A98924;

    --background: #f6f4fa;
    --background-soft: #fbfaff;

    --white: #ffffff;

    --text-dark: #2B2156;
    --text: #6F6A7C;
    --text-light: #9792A3;

    --border:
        rgba(43, 33, 86, .12);

    --gold-border:
        rgba(212, 175, 55, .48);

    --shadow:
        0 12px 30px rgba(43, 33, 86, .10);

    --shadow-hover:
        0 18px 38px rgba(43, 33, 86, .15);

    --gold-glow:
        0 0 6px rgba(212, 175, 55, .30),
        0 0 16px rgba(212, 175, 55, .12);

    --purple-glow:
        0 0 8px rgba(43, 33, 86, .14),
        0 0 20px rgba(75, 57, 127, .08);
}


/* =====================================================
   BARRA DE ANUNCIO
===================================================== */

.announcement {

    width: 100%;
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 20px;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 12% 35%,
            rgba(212, 175, 55, .40) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 31% 70%,
            rgba(212, 175, 55, .30) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 58% 25%,
            rgba(212, 175, 55, .28) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 84% 65%,
            rgba(212, 175, 55, .32) 0 1px,
            transparent 4px
        ),
        linear-gradient(
            90deg,
            #241A49,
            #2B2156,
            #3A2C6D,
            #2B2156,
            #241A49
        );

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    text-align: center;

    border-bottom:
        1px solid rgba(212, 175, 55, .45);

    box-shadow:
        0 3px 15px rgba(43, 33, 86, .15);

    text-shadow:
        0 0 5px rgba(212, 175, 55, .35);
}


/* =====================================================
   HEADER
===================================================== */

.header {

    width: 100%;
    min-height: 82px;

    position: relative;
    z-index: 100;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 35%,
            rgba(212, 175, 55, .30) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 34% 72%,
            rgba(212, 175, 55, .20) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 68% 25%,
            rgba(212, 175, 55, .22) 0 1px,
            transparent 4px
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(212, 175, 55, .18) 0 1px,
            transparent 4px
        ),
        linear-gradient(
            135deg,
            #241A49,
            #2B2156 48%,
            #3D2E73 70%,
            #241A49
        );

    border-bottom:
        1px solid rgba(212, 175, 55, .40);

    box-shadow:
        0 7px 20px rgba(43, 33, 86, .16);
}

.header::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 175, 55, .65),
            #D4AF37,
            rgba(212, 175, 55, .65),
            transparent
        );

    box-shadow:
        0 0 7px rgba(212, 175, 55, .30);
}

.header::after {

    content: "";

    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #D4AF37,
            #E4C65A,
            #D4AF37,
            transparent
        );

    box-shadow:
        0 0 8px rgba(212, 175, 55, .30);
}


/* =====================================================
   HEADER CONTAINER
===================================================== */

.header-container {

    width: 100%;
    max-width: 1450px;

    min-height: 82px;

    margin: 0 auto;

    padding: 0 5%;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 50px;
}


/* =====================================================
   MARCA
===================================================== */

.brand {
    flex-shrink: 0;
}

.brand h1 {

    color: #ffffff;

    font-size: 29px;

    font-weight: 900;

    letter-spacing: 3px;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .38),
        0 0 14px rgba(212, 175, 55, .14);
}


/* =====================================================
   MENÚ
===================================================== */

.nav-menu {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 7px;
}

.nav-menu a {

    position: relative;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 1.3px;

    padding: 12px 18px;

    border-radius: 50px;

    transition:
        .3s ease;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .18);
}

.nav-menu a::after {

    content: "";

    position: absolute;

    left: 20px;
    right: 20px;

    bottom: 5px;

    height: 2px;

    background:
        #D4AF37;

    transform:
        scaleX(0);

    transition:
        transform .3s ease;

    box-shadow:
        0 0 6px rgba(212, 175, 55, .32);
}

.nav-menu a:hover {

    color:
        #E4C65A;

    background:
        rgba(212, 175, 55, .06);

    transform:
        translateY(-2px);

    box-shadow:
        0 6px 15px rgba(43, 33, 86, .12);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {

    transform:
        scaleX(1);
}

.nav-menu a.active {

    color:
        #E4C65A;

    background:
        rgba(212, 175, 55, .06);

    box-shadow:
        inset 0 1px rgba(212, 175, 55, .18);
}


/* =====================================================
   PUNTAJES UNAM
===================================================== */

.nav-menu .scores-link {

    color:
        #E4C65A;

    background:
        linear-gradient(
            135deg,
            rgba(43, 33, 86, .80),
            rgba(75, 57, 127, .50)
        );

    border:
        1px solid rgba(212, 175, 55, .35);

    box-shadow:
        0 5px 14px rgba(43, 33, 86, .12);
}

.nav-menu .scores-link:hover {

    color:
        #E4C65A;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #4A397C
        );

    border-color:
        rgba(212, 175, 55, .50);

    box-shadow:
        0 7px 17px rgba(43, 33, 86, .16),
        0 0 9px rgba(212, 175, 55, .10);
}


/* =====================================================
   CONTACTANOS
===================================================== */

.nav-menu .contact-link {

    color:
        #E4C65A;

    background:
        rgba(212, 175, 55, .06);

    border:
        1px solid rgba(212, 175, 55, .42);

    box-shadow:
        0 5px 14px rgba(43, 33, 86, .10);

    text-shadow:
        0 0 5px rgba(212, 175, 55, .24);
}

.nav-menu .contact-link:hover {

    color:
        #2B2156;

    background:
        linear-gradient(
            135deg,
            #D4AF37,
            #E4C65A
        );

    border-color:
        #D4AF37;

    box-shadow:
        0 8px 18px rgba(43, 33, 86, .17),
        0 0 12px rgba(212, 175, 55, .22);

    text-shadow:
        none;
}


/* =====================================================
   HERO PUNTAJES
===================================================== */

.scores-hero {

    width: 100%;

    min-height: 390px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 70px 20px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 25%,
            rgba(212, 175, 55, .35) 0 1px,
            transparent 5px
        ),
        radial-gradient(
            circle at 20% 70%,
            rgba(212, 175, 55, .25) 0 1px,
            transparent 5px
        ),
        radial-gradient(
            circle at 38% 30%,
            rgba(212, 175, 55, .30) 0 1px,
            transparent 5px
        ),
        radial-gradient(
            circle at 57% 75%,
            rgba(212, 175, 55, .25) 0 1px,
            transparent 5px
        ),
        radial-gradient(
            circle at 78% 25%,
            rgba(212, 175, 55, .30) 0 1px,
            transparent 5px
        ),
        radial-gradient(
            circle at 92% 65%,
            rgba(212, 175, 55, .25) 0 1px,
            transparent 5px
        ),
        linear-gradient(
            135deg,
            #241A49,
            #2B2156,
            #4A397C,
            #2B2156,
            #241A49
        );

    border-bottom:
        2px solid #D4AF37;

    box-shadow:
        0 10px 35px rgba(43, 33, 86, .22);
}

.scores-hero::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -280px;
    left: 50%;

    transform:
        translateX(-50%);

    border-radius:
        50%;

    background:
        rgba(212, 175, 55, .07);

    filter:
        blur(80px);
}

.scores-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at center,
            rgba(212, 175, 55, .06),
            transparent 55%
        );
}

.scores-hero-content {

    position:
        relative;

    z-index:
        2;

    max-width:
        850px;
}

.scores-hero span {

    color:
        #E4C65A;

    font-size:
        13px;

    font-weight:
        900;

    letter-spacing:
        4px;

    text-shadow:
        0 0 6px rgba(212, 175, 55, .42),
        0 0 16px rgba(212, 175, 55, .16);
}

.scores-hero h2 {

    margin:
        15px 0 20px;

    color:
        #ffffff;

    font-size:
        clamp(38px, 6vw, 65px);

    font-weight:
        900;

    line-height:
        1.05;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .42),
        0 0 15px rgba(212, 175, 55, .18),
        0 4px 15px rgba(0, 0, 0, .55);
}

.scores-hero p {

    max-width:
        720px;

    margin:
        auto;

    color:
        #ffffff;

    font-size:
        17px;

    line-height:
        1.7;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .55);
}


/* =====================================================
   SECCIÓN PRINCIPAL
===================================================== */

.scores-section {

    width:
        100%;

    max-width:
        1250px;

    margin:
        auto;

    padding:
        85px 25px 100px;
}


/* =====================================================
   TÍTULO
===================================================== */

.scores-title {

    max-width:
        850px;

    margin:
        0 auto 45px;

    text-align:
        center;
}

.scores-title span {

    color:
        #A98924;

    font-size:
        13px;

    font-weight:
        900;

    letter-spacing:
        3px;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .20);
}

.scores-title h2 {

    margin:
        10px 0 15px;

    color:
        #2B2156;

    font-size:
        clamp(29px, 4vw, 43px);

    font-weight:
        900;

    line-height:
        1.1;
}

.scores-title p {

    color:
        #6F6A7C;

    font-size:
        16px;

    line-height:
        1.7;
}


/* =====================================================
   TARJETA CALCULADORA
===================================================== */

.calculator-card {

    position:
        relative;

    width:
        100%;

    padding:
        45px;

    border-radius:
        28px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.98),
            rgba(251,250,255,.99),
            rgba(246,244,250,.98)
        );

    border:
        1px solid rgba(43, 33, 86, .10);

    box-shadow:
        0 12px 30px rgba(43, 33, 86, .10),
        0 0 18px rgba(212, 175, 55, .06);

    overflow:
        hidden;
}

.calculator-card::before {

    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    right:
        0;

    height:
        4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #4A397C,
            #D4AF37,
            #E4C65A,
            #D4AF37,
            #4A397C,
            transparent
        );

    box-shadow:
        0 0 10px rgba(212, 175, 55, .25);
}


/* =====================================================
   PARTE SUPERIOR
===================================================== */

.calculator-top {

    display:
        flex;

    align-items:
        center;

    gap:
        20px;

    margin-bottom:
        20px;
}

.calculator-icon {

    width:
        65px;

    height:
        65px;

    flex-shrink:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        18px;

    color:
        #E4C65A;

    font-size:
        27px;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #4A397C
        );

    border:
        1px solid rgba(212, 175, 55, .45);

    box-shadow:
        0 8px 18px rgba(43, 33, 86, .16),
        0 0 9px rgba(212, 175, 55, .12);
}

.calculator-label {

    color:
        #A98924;

    font-size:
        11px;

    font-weight:
        900;

    letter-spacing:
        3px;
}

.calculator-top h2 {

    margin-top:
        6px;

    color:
        #2B2156;

    font-size:
        27px;

    font-weight:
        900;
}

.calculator-description {

    max-width:
        800px;

    color:
        #6F6A7C;

    font-size:
        15px;

    line-height:
        1.7;

    margin-bottom:
        32px;
}


/* =====================================================
   FORMULARIO
===================================================== */

.calculator-form {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        22px;
}

.select-group {

    display:
        flex;

    flex-direction:
        column;

    gap:
        9px;
}

.select-group label {

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    color:
        #2B2156;

    font-size:
        13px;

    font-weight:
        900;

    letter-spacing:
        .5px;
}

.select-group label i {

    color:
        #A98924;

    font-size:
        14px;
}

.select-group select {

    width:
        100%;

    min-height:
        54px;

    padding:
        0 17px;

    border:
        1px solid rgba(43, 33, 86, .15);

    border-radius:
        14px;

    outline:
        none;

    background:
        #ffffff;

    color:
        #2B2156;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        13px;

    font-weight:
        700;

    cursor:
        pointer;

    transition:
        .25s ease;

    box-shadow:
        0 5px 15px rgba(43, 33, 86, .06);
}

.select-group select:hover {

    border-color:
        rgba(212, 175, 55, .55);

    box-shadow:
        0 0 12px rgba(212, 175, 55, .10);
}

.select-group select:focus {

    border-color:
        #D4AF37;

    box-shadow:
        0 0 0 4px rgba(212, 175, 55, .09),
        0 0 15px rgba(212, 175, 55, .12);
}

.select-group select:disabled {

    opacity:
        .55;

    cursor:
        not-allowed;

    background:
        #f0eef5;
}


/* =====================================================
   BOTÓN CALCULAR
===================================================== */

.score-button {

    grid-column:
        1 / -1;

    min-height:
        58px;

    margin-top:
        8px;

    border:
        1px solid rgba(212, 175, 55, .45);

    border-radius:
        50px;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #4A397C
        );

    color:
        #ffffff;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        13px;

    font-weight:
        900;

    letter-spacing:
        1.5px;

    cursor:
        pointer;

    box-shadow:
        0 8px 20px rgba(43, 33, 86, .18),
        0 0 9px rgba(212, 175, 55, .08);

    text-shadow:
        0 0 5px rgba(212, 175, 55, .20);

    transition:
        .3s ease;
}

.score-button:hover {

    transform:
        translateY(-4px);

    background:
        linear-gradient(
            135deg,
            #D4AF37,
            #E4C65A
        );

    color:
        #2B2156;

    border-color:
        #D4AF37;

    text-shadow:
        none;

    box-shadow:
        0 12px 24px rgba(43, 33, 86, .20),
        0 0 14px rgba(212, 175, 55, .28);
}


/* =====================================================
   MENSAJES
===================================================== */

.calculator-message {

    min-height:
        24px;

    margin-top:
        20px;

    text-align:
        center;

    font-size:
        13px;

    font-weight:
        800;
}

.calculator-message.error {

    color:
        #9B3654;
}

.calculator-message.success {

    color:
        #687B30;
}


/* =====================================================
   RESULTADO
===================================================== */

.result-container {

    display:
        none;

    margin-top:
        35px;

    padding-top:
        30px;

    border-top:
        1px solid rgba(43, 33, 86, .12);

    animation:
        resultEntrada .5s ease both;
}

.result-container.mostrar {

    display:
        block;
}

@keyframes resultEntrada {

    from {

        opacity:
            0;

        transform:
            translateY(20px);
    }

    to {

        opacity:
            1;

        transform:
            translateY(0);
    }
}

.result-header {

    text-align:
        center;

    margin-bottom:
        30px;
}

.result-header span {

    color:
        #A98924;

    font-size:
        11px;

    font-weight:
        900;

    letter-spacing:
        3px;
}

.result-header h2 {

    margin:
        10px 0;

    color:
        #2B2156;

    font-size:
        clamp(25px, 4vw, 36px);

    font-weight:
        900;
}

.result-header p {

    color:
        #6F6A7C;

    font-size:
        14px;

    font-weight:
        600;
}


/* =====================================================
   RESUMEN
===================================================== */

.result-summary {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        15px;

    margin-bottom:
        25px;
}

.summary-item {

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    padding:
        18px;

    border:
        1px solid rgba(43, 33, 86, .10);

    border-radius:
        16px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7f5fb
        );

    box-shadow:
        0 8px 20px rgba(43, 33, 86, .06);

    transition:
        .3s ease;
}

.summary-item:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(212, 175, 55, .35);

    box-shadow:
        0 12px 25px rgba(43, 33, 86, .09),
        0 0 8px rgba(212, 175, 55, .07);
}

.summary-item i {

    width:
        45px;

    height:
        45px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-shrink:
        0;

    border-radius:
        13px;

    color:
        #E4C65A;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #4A397C
        );

    border:
        1px solid rgba(212, 175, 55, .30);

    box-shadow:
        0 6px 13px rgba(43, 33, 86, .13),
        0 0 7px rgba(212, 175, 55, .08);
}

.summary-item div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        3px;
}

.summary-item strong {

    color:
        #2B2156;

    font-size:
        21px;

    font-weight:
        900;
}

.summary-item span {

    color:
        #858091;

    font-size:
        9px;

    font-weight:
        900;

    letter-spacing:
        1px;
}


/* =====================================================
   TABLA
===================================================== */

.table-container {

    border:
        1px solid rgba(43, 33, 86, .11);

    border-radius:
        20px;

    overflow:
        hidden;

    background:
        #ffffff;

    box-shadow:
        0 12px 30px rgba(43, 33, 86, .08);
}

.table-heading {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding:
        22px 25px;

    background:
        linear-gradient(
            135deg,
            #f3f0f8,
            #fbfaff
        );

    border-bottom:
        1px solid rgba(43, 33, 86, .10);
}

.table-heading span {

    color:
        #A98924;

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        2px;
}

.table-heading h3 {

    margin-top:
        5px;

    color:
        #2B2156;

    font-size:
        19px;

    font-weight:
        900;
}

.table-badge {

    padding:
        9px 15px;

    border-radius:
        30px;

    color:
        #E4C65A;

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        1px;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #4A397C
        );

    border:
        1px solid rgba(212, 175, 55, .35);

    box-shadow:
        0 0 8px rgba(212, 175, 55, .08);
}

.table-wrapper {

    width:
        100%;

    overflow-x:
        auto;
}

.calculator-card table {

    width:
        100%;

    border-collapse:
        collapse;

    min-width:
        760px;
}

.calculator-card thead {

    background:
        linear-gradient(
            90deg,
            #241A49,
            #4A397C,
            #2B2156
        );

    color:
        #ffffff;
}

.calculator-card th {

    padding:
        17px 18px;

    text-align:
        left;

    font-size:
        10px;

    font-weight:
        900;

    letter-spacing:
        1px;

    white-space:
        nowrap;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .25);
}

.calculator-card td {

    padding:
        18px;

    color:
        #6F6A7C;

    font-size:
        13px;

    font-weight:
        700;

    border-bottom:
        1px solid rgba(43, 33, 86, .08);

    vertical-align:
        middle;
}

.calculator-card tbody tr {

    transition:
        .25s ease;
}

.calculator-card tbody tr:hover {

    background:
        linear-gradient(
            90deg,
            rgba(212, 175, 55, .035),
            rgba(75, 57, 127, .045)
        );
}

.calculator-card tbody tr:last-child td {

    border-bottom:
        none;
}

.plantel-cell {

    min-width:
        260px;
}

.plantel-name {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    color:
        #2B2156;

    font-weight:
        800;
}

.plantel-name i {

    color:
        #A98924;

    font-size:
        16px;
}

.puntaje-cell {

    width:
        130px;

    color:
        #A98924;

    text-align:
        center;

    background:
        rgba(212, 175, 55, .035);
}

.puntaje-cell strong {

    display:
        block;

    color:
        #A98924;

    font-size:
        25px;

    font-weight:
        900;

    line-height:
        1;

    text-shadow:
        0 0 7px rgba(212, 175, 55, .20);
}

.puntaje-cell span {

    display:
        block;

    margin-top:
        4px;

    color:
        #858091;

    font-size:
        8px;

    font-weight:
        900;

    text-transform:
        uppercase;

    letter-spacing:
        1px;
}


/* =====================================================
   PUNTAJE DESTACADO
===================================================== */

.score-highlight {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    margin-top:
        25px;

    padding:
        25px 30px;

    border-radius:
        20px;

    color:
        #ffffff;

    background:
        linear-gradient(
            135deg,
            #241A49,
            #2B2156,
            #4A397C
        );

    border:
        1px solid rgba(212, 175, 55, .40);

    box-shadow:
        0 12px 28px rgba(43, 33, 86, .18),
        0 0 12px rgba(212, 175, 55, .08);
}

.score-highlight div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;
}

.score-highlight span {

    font-size:
        11px;

    font-weight:
        900;

    letter-spacing:
        2px;

    text-shadow:
        0 0 5px rgba(212, 175, 55, .28);
}

.score-highlight small {

    opacity:
        .70;

    font-size:
        11px;
}

.score-highlight strong {

    color:
        #E4C65A;

    font-size:
        52px;

    font-weight:
        900;

    line-height:
        1;

    text-shadow:
        0 0 7px rgba(212, 175, 55, .40),
        0 0 18px rgba(212, 175, 55, .18);
}

.score-highlight b {

    color:
        #ffffff;

    font-size:
        11px;

    letter-spacing:
        2px;
}


/* =====================================================
   NOTA
===================================================== */

.result-note {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        12px;

    margin-top:
        18px;

    padding:
        16px 18px;

    border-radius:
        13px;

    background:
        #f4f1f8;

    border:
        1px solid rgba(43, 33, 86, .09);
}

.result-note i {

    color:
        #A98924;

    margin-top:
        2px;
}

.result-note p {

    color:
        #777182;

    font-size:
        12px;

    line-height:
        1.6;
}


/* =====================================================
   TARJETAS INFORMATIVAS
===================================================== */

.scores-information {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        22px;

    margin-top:
        55px;
}

.scores-info-card {

    padding:
        30px 25px;

    text-align:
        center;

    border:
        1px solid rgba(43, 33, 86, .10);

    border-radius:
        22px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fbfaff,
            #f5f2fa
        );

    box-shadow:
        0 10px 25px rgba(43, 33, 86, .08);

    transition:
        .3s ease;
}

.scores-info-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(212, 175, 55, .45);

    box-shadow:
        0 17px 32px rgba(43, 33, 86, .13),
        0 0 10px rgba(212, 175, 55, .10);
}

.info-card-icon {

    width:
        58px;

    height:
        58px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin:
        0 auto 18px;

    border-radius:
        17px;

    color:
        #E4C65A;

    font-size:
        22px;

    background:
        linear-gradient(
            135deg,
            #2B2156,
            #4A397C
        );

    border:
        1px solid rgba(212, 175, 55, .40);

    box-shadow:
        0 6px 13px rgba(43, 33, 86, .13),
        0 0 8px rgba(212, 175, 55, .09);
}

.scores-info-card h3 {

    color:
        #2B2156;

    font-size:
        15px;

    font-weight:
        900;

    margin-bottom:
        12px;
}

.scores-info-card p {

    color:
        #746F80;

    font-size:
        13px;

    line-height:
        1.7;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    width:
        100%;

    padding:
        55px 20px 30px;

    text-align:
        center;

    background:
        #17112F;

    color:
        #ffffff;

    border-top:
        1px solid rgba(212, 175, 55, .35);
}

.footer h2 {

    color:
        #ffffff;

    font-size:
        26px;

    font-weight:
        900;

    letter-spacing:
        3px;

    text-shadow:
        0 0 6px rgba(212, 175, 55, .25);
}

.footer > p {

    margin-top:
        10px;

    color:
        rgba(255, 255, 255, .65);

    font-size:
        13px;
}

.social-links {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    margin:
        25px 0;
}

.social-links a {

    width:
        40px;

    height:
        40px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    color:
        #E4C65A;

    background:
        rgba(212, 175, 55, .05);

    border:
        1px solid rgba(212, 175, 55, .30);

    text-decoration:
        none;

    transition:
        .3s ease;
}

.social-links a:hover {

    transform:
        translateY(-4px);

    color:
        #2B2156;

    background:
        #D4AF37;

    border-color:
        #D4AF37;

    box-shadow:
        0 0 10px rgba(212, 175, 55, .20);
}

.footer .copyright {

    padding-top:
        22px;

    border-top:
        1px solid rgba(255, 255, 255, .07);

    color:
        rgba(255, 255, 255, .42);

    font-size:
        11px;
}


/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 1100px) {

    .header-container {

        gap:
            25px;
    }

    .nav-menu {

        flex-wrap:
            wrap;
    }

    .nav-menu a {

        padding:
            10px 12px;

        font-size:
            11px;
    }
}


/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 900px) {

    .calculator-form {

        grid-template-columns:
            1fr;
    }

    .score-button {

        grid-column:
            auto;
    }

    .result-summary {

        grid-template-columns:
            1fr;
    }

    .scores-information {

        grid-template-columns:
            1fr;
    }
}


/* =====================================================
   RESPONSIVE — TABLET PEQUEÑA
===================================================== */

@media (max-width: 850px) {

    .header-container {

        flex-direction:
            column;

        justify-content:
            center;

        gap:
            14px;

        padding:
            17px 5%;
    }

    .header {

        min-height:
            auto;
    }

    .nav-menu {

        justify-content:
            center;
    }

    .scores-section {

        padding:
            75px 5%;
    }

    .calculator-card {

        padding:
            35px;
    }
}


/* =====================================================
   RESPONSIVE — MÓVIL
===================================================== */

@media (max-width: 600px) {

    .announcement {

        min-height:
            36px;

        padding:
            7px 12px;

        font-size:
            9px;

        letter-spacing:
            1.2px;
    }

    .header-container {

        flex-direction:
            column;

        justify-content:
            center;

        gap:
            10px;

        padding:
            15px 5%;
    }

    .brand h1 {

        font-size:
            23px;
    }

    .nav-menu {

        width:
            100%;

        justify-content:
            center;

        gap:
            3px;

        flex-wrap:
            wrap;
    }

    .nav-menu a {

        padding:
            8px 9px;

        font-size:
            9px;

        letter-spacing:
            .7px;
    }

    .scores-hero {

        min-height:
            330px;

        padding:
            55px 18px;
    }

    .scores-hero h2 {

        font-size:
            34px;
    }

    .scores-hero p {

        font-size:
            14px;

        line-height:
            1.6;
    }

    .scores-section {

        padding:
            55px 14px 70px;
    }

    .scores-title {

        margin-bottom:
            30px;
    }

    .scores-title h2 {

        font-size:
            30px;
    }

    .scores-title p {

        font-size:
            14px;

        line-height:
            1.6;
    }

    .calculator-card {

        padding:
            30px 18px;

        border-radius:
            22px;
    }

    .calculator-top {

        align-items:
            flex-start;

        gap:
            14px;
    }

    .calculator-icon {

        width:
            52px;

        height:
            52px;

        font-size:
            21px;

        border-radius:
            14px;
    }

    .calculator-label {

        font-size:
            9px;
    }

    .calculator-top h2 {

        font-size:
            20px;
    }

    .calculator-description {

        font-size:
            13px;

        line-height:
            1.6;
    }

    .select-group select {

        min-height:
            52px;

        font-size:
            11px;
    }

    .score-button {

        min-height:
            53px;

        font-size:
            11px;
    }

    .table-heading {

        padding:
            18px;
    }

    .table-heading h3 {

        font-size:
            16px;
    }

    .table-badge {

        display:
            none;
    }

    .score-highlight {

        flex-wrap:
            wrap;

        padding:
            22px;
    }

    .score-highlight strong {

        font-size:
            44px;
    }

    .score-highlight b {

        font-size:
            10px;
    }

    .result-note p {

        font-size:
            11px;
    }

    .scores-information {

        gap:
            15px;

        margin-top:
            40px;
    }

    .scores-info-card {

        padding:
            25px 20px;
    }

    .social-links {

        gap:
            10px;

        margin-top:
            22px;
    }

    .social-links a {

        width:
            43px;

        height:
            43px;

        font-size:
            18px;
    }
}


/* =====================================================
   MÓVIL PEQUEÑO
===================================================== */

@media (max-width: 400px) {

    .nav-menu a {

        padding:
            7px 6px;

        font-size:
            8px;
    }

    .brand h1 {

        font-size:
            21px;
    }

    .scores-hero h2 {

        font-size:
            29px;
    }

    .scores-title h2 {

        font-size:
            27px;
    }

    .calculator-top h2 {

        font-size:
            18px;
    }

    .calculator-description {

        font-size:
            12px;
    }

    .score-highlight strong {

        font-size:
            40px;
    }
}                                                                                            
