/* ============================================
   STATS MINIMAL - Diseño Minimalista y Elegante
   ============================================ */

/* Sección Principal */
.stats-minimal {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* Patrón sutil de fondo */
.stats-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(239, 192, 118, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Container de stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Stat Items */
.stat-minimal {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Línea decorativa superior */
.stat-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-minimal:hover::before {
    transform: scaleX(1);
}

/* Valores de estadísticas */
.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
    gap: 5px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-gold);
    opacity: 0.8;
}

/* Labels */
.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover Effects */
.stat-minimal:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.stat-minimal:hover .stat-number {
    transform: scale(1.1);
    color: var(--secondary-gold);
}

/* Animación de entrada */
.stat-minimal {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.stat-minimal:nth-child(1) { animation-delay: 0.1s; }
.stat-minimal:nth-child(2) { animation-delay: 0.2s; }
.stat-minimal:nth-child(3) { animation-delay: 0.3s; }
.stat-minimal:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .stats-minimal {
        padding: 40px 0;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .stat-minimal {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-suffix {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 380px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
}