/* ========================================
   EX-ALUMNOS — HERO (mismo patrón qs-hero)
   ======================================== */

.ea-hero {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(120% 120% at 0% 0%, #f6faf6 0%, #eef4ef 45%, #e3ece4 100%);
}

.ea-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ea-hero__bg svg { width: 100%; height: 100%; display: block; }
.ea-hero .container { position: relative; z-index: 2; padding: 60px 20px 50px; }

.qs-eyebrow {
    display: inline-block;
    font-family: var(--font-texto);
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--verde-claro);
    border: 1px solid rgba(77, 140, 103, .4);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, .5);
}

.qs-title {
    font-family: var(--font-titulos);
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    color: var(--verde-oscuro);
    line-height: 1.1;
}

.qs-title .accent { color: var(--verde-claro); font-style: italic; }

.qs-section-label {
    font-family: var(--font-texto);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--verde-claro);
    display: block;
    margin-bottom: 14px;
}

.qs-section-title {
    font-family: var(--font-titulos);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--dorado);
    margin-bottom: 24px;
    line-height: 1.2;
}

.qs-section-title--dark { color: var(--verde-oscuro); }

/* ========================================
   DESTACADOS
   ======================================== */

.ea-destacado {
    position: relative;
    overflow: hidden;
    background: var(--verde-oscuro);
    padding: 90px 0 100px;
}

.ea-destacado__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ea-destacado__bg svg { width: 100%; height: 100%; display: block; }
.ea-destacado > .container { position: relative; z-index: 1; }

.ea-intro {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
    font-family: var(--font-titulos);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--dorado);
    line-height: 1.55;
}

/* ========================================
   CARRUSEL DE EX-ALUMNOS DESTACADOS
   ======================================== */

.ea-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

.ea-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 16px;
    flex: 1;
    /* ocultar la scrollbar nativa, la navegación es por los botones */
    scrollbar-width: none;
}
.ea-carousel-track::-webkit-scrollbar { display: none; }

.ea-carousel-slide {
    flex: 0 0 auto;
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
}

.ea-carousel-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 3px solid rgba(232, 212, 160, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.ea-carousel-placeholder i {
    font-size: 3rem;
    color: rgba(232, 212, 160, 0.4);
}

/* Cuando se agreguen las fotos reales, esta imagen ya va a llenar
   el círculo correctamente sin deformarse */
.ea-carousel-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ea-carousel-name {
    font-family: var(--font-texto);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--crema);
    text-align: center;
}

.ea-carousel-btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(232, 212, 160, 0.4);
    color: var(--dorado);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition, all .25s ease);
}

.ea-carousel-btn:hover {
    background: var(--dorado);
    color: var(--verde-oscuro);
    border-color: var(--dorado);
}

/* ========================================
   LISTADO COMPLETO
   ======================================== */

.ea-listado {
    position: relative;
    overflow: hidden;
    background: var(--fondo-principal);
    padding: 80px 0;
}

.ea-listado__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.ea-listado__bg svg { width: 100%; height: 100%; display: block; }

.ea-listado > .container {
    position: relative;
    z-index: 1;
}

.ea-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
    max-width: 760px;
    margin: 0 auto;
}

.ea-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.ea-lista li {
    font-family: var(--font-texto);
    font-size: 0.92rem;
    color: var(--texto-secundario);
    padding: 10px 0;
    border-bottom: 1px solid rgba(8, 64, 32, 0.07);
}

.ea-lista li:last-child { border-bottom: none; }

@media (max-width: 640px) {
    .ea-columnas { grid-template-columns: 1fr; gap: 0; }
    .ea-intro { font-size: 1.1rem; }
    .ea-carousel-slide { width: 120px; }
    .ea-carousel-placeholder { width: 120px; height: 120px; }
    .ea-carousel-btn { width: 38px; height: 38px; }
}