/* --- Hero Section --- */
.hero-presentation {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -85px;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(20, 83, 45, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-slider-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide-img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* --- Secciones Alternadas (Zig-Zag) --- */
.story-section {
    padding: 100px 0;
    overflow: hidden;
}

.story-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


/* --- Animaciones de Scroll --- */
.reveal-wrapper {
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* El elemento viene desde la izquierda */
.from-left {
    transform: translateX(-100px);
}

/* El elemento viene desde la derecha */
.from-right {
    transform: translateX(100px);
}

/* El elemento viene desde abajo */
.from-bottom {
    transform: translateY(50px);
}

/* Estado activo (visible) */
.reveal-wrapper.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Stats Minimalistas --- */
.stat-card {
    padding: 2rem 1rem; /* Padding original para escritorio */
    text-align: center;
    border-right: 1px solid var(--border-color);
    height: 100%; /* Asegura altura igual */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card:last-child { 
    border-right: none; 
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--sni-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .stat-card {
        padding: 1.5rem 0.25rem; 
        border-right: 1px solid var(--border-color) !important; 
        border-bottom: none !important;
    }
    
    .stat-card:last-child {
        border-right: none !important;
    }

    .stat-number {
        font-size: 1.8rem; 
        margin-bottom: 0.25rem;
    }

    .stat-label {
        font-size: 0.6rem !important; 
        letter-spacing: 1px !important;
        line-height: 1.2;
    }
}
