/* ============================================
   SECTION: Hero - Élite Academy
   ============================================ */

/* Contenedor principal (viewport fijo) */
.main-container {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    height: 100vh;
    overflow: hidden;
    transform: translateY(0);
    /* Fija el contexto de transformación desde el inicio */
    transition: transform var(--transition-fast);
    z-index: 5;
}

/* Galería de imágenes del hero */
.hero-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    border-bottom-left-radius: 80px;
    display: flex;
    align-items: stretch;
    background: #e96614;
    /* naranja Élite como fondo del espacio libre */
}

/* Cada imagen ocupa exactamente la mitad del ancho */
.hero-image {
    flex: 1 1 50%;
    width: 50%;
    height: 100%;
    object-fit: contain;
    /* muestra la imagen completa, sin recortar */
    object-position: center top;
    pointer-events: none;
    user-select: none;
    display: block;
    background: #e96614;
}

/* Panel blanco deslizante */
.content-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    background: var(--color-bg-white);
    z-index: 10;
    transition: transform var(--transition-fast);
    padding: 35px 50px;
    border-bottom-left-radius: 80px;
}

/* Contenido hero */
.hero-content {
    position: relative;
}

.number {
    font-size: var(--font-size-display);
    color: var(--color-primary);
    font-weight: 300;
    margin-bottom: 50px;
    letter-spacing: -2px;
}

.services {
    margin-bottom: var(--space-3xl);
}

.services p {
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    margin-bottom: 6px;
    font-weight: 400;
    line-height: 1.6;
}

.title {
    font-size: var(--font-size-hero);
    font-weight: 400;
    color: var(--color-text-dark);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
}

.highlight {
    color: var(--color-primary);
    font-weight: 700;
    display: block;
}

.badge {
    position: absolute;
    right: 100px;
    top: 320px;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--color-bg-white);
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-md);
    color: var(--color-primary);
    font-weight: 600;
}

.close-button {
    position: absolute;
    right: 80px;
    top: 35%;
    transform: translateY(-50%);
    width: 110px;
    height: 65px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: background var(--transition-base);
    font-weight: 300;
}

.close-button:hover {
    background: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 60px;
    }

    .number {
        font-size: 50px;
    }

    .content-section {
        width: 90%;
        padding: 30px 40px;
    }
}