/* css/stats.css - Estilos para la sección de estadísticas */

/* Integración con la sección existente */
.section .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding: 40px 20px;
    background: #010408;
    border-radius: 15px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(10, 7, 7, 0.1);
    border-radius: 15px;
    /* padding: 40px 30px; */
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border-color: hsl(0, 0%, 100%);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    color: #e67e22;
    /* border: 3px solid #e67e22; */
    background: transparent;
}

.stat-icon.experience {
    color: #e67e22;
    border-color: #e67e22;
}

.stat-icon.operating {
    color: #e67e22;
    border-color: #e67e22;
}

.stat-icon.projects {
    color: #e67e22;
    border-color: #e67e22;
}

.stat-icon.partners {
    color: #e67e22;
    border-color: #e67e22;
}


.stat-icon.clients {
    color: #010408;
    border-color: #010408;
}


.stat-icon.recognition {
    background: linear-gradient(135deg, #e67e22, #d35400);
    border-color: #e67e22;
    color: white;
}


.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-family: 'Arial', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: #bdc3c7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recognition-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #e67e22, #d35400);
    border: none;
    margin-top: 20px;
    color: white;
}

.recognition-card .stat-number {
    font-size: 2rem;
    margin-bottom: 5px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.recognition-card .stat-label {
    font-size: 1.3rem;
    color: white;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.recognition-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    font-weight: 400;
}

/* Responsivo */
@media (max-width: 768px) {
    .section .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 30px 15px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

/* Animación de entrada */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card.animate {
    animation: slideInUp 0.6s ease-out forwards;
}

.stat-card.animate:nth-child(1) { animation-delay: 0.1s; }
.stat-card.animate:nth-child(2) { animation-delay: 0.2s; }
.stat-card.animate:nth-child(3) { animation-delay: 0.3s; }
.stat-card.animate:nth-child(4) { animation-delay: 0.4s; }
.stat-card.animate:nth-child(5) { animation-delay: 0.5s; }
.stat-card.animate:nth-child(6) { animation-delay: 0.6s; }

/* Eliminar la sección de estadísticas separada */
.stats-section {
    display: none;
}