/* --- POR QUÉ ELEGIRNOS (ESTILO DARK PROFESIONAL) --- */

.why-choose-us { 
    padding: 100px 8%; 
    background-color: #2d3436; /* Fondo Gris Oscuro solicitado */
    position: relative;
}

.why-header {
    text-align: center;
    margin-bottom: 50px;
}

.why-header h2 {
    color: var(--white); /* Forzamos el título a blanco para contraste */
}

/* --- CONTROL DE SUBTÍTULO SOBRE FONDO OSCURO --- */
.section-subtitle {
    color: #cbd5e1; /* Gris claro azulado para que sea legible sobre el fondo oscuro */
    text-align: center;
    max-width: 700px;
    margin: -30px auto 50px; /* Ajusta el margen para que quede cerca del título h2 */
    font-size: 1.1rem;
    opacity: 0.9;
}

/* GRID DE BENEFICIOS */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px auto 0; 
    max-width: 1200px;    
    align-items: stretch;
}

/* TARJETAS DE BENEFICIOS */
.benefit-card {
    background: rgba(255, 255, 255, 0.05); /* Fondo sutil para destacar sobre el gris */
    padding: 35px 25px;   
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: var(--white); /* Se vuelve blanca al pasar el mouse */
    box-shadow: 0 15px 45px rgba(29, 132, 207, 0.3);
    border-color: var(--primary);
}

/* ICONOS CON ANIMACIÓN */
.benefit-icon {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.1); /* Fondo claro sutil sobre el gris */
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.benefit-icon i {
    font-size: 2.2rem; 
    color: var(--accent); /* Resalta más el amarillo sobre fondo oscuro */
    transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-icon {
    background: rgba(29, 132, 207, 0.1); /* Cambia a azul suave en hover */
}

.benefit-card:hover .benefit-icon i {
    transform: scale(1.1) rotate(8deg);
    color: var(--primary); 
}

/* LOGOS E IMAGENES */
.benefit-icon img {
    max-width: 70%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Logo blanco sobre fondo oscuro */
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon img {
    filter: none; /* Recupera color original cuando la card se pone blanca */
}

.inline-logo {
    height: 100px;
    width: auto;
    vertical-align: middle;
    margin-left: 10px;
    filter: brightness(0) invert(1);
}

/* TEXTOS AJUSTADOS PARA FONDO OSCURO */
.benefit-info h4 {
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: var(--white); /* Blanco por defecto */
    line-height: 1.3;
    min-height: 2.6em; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition);
}

.benefit-info p {
    font-size: 0.9rem;
    color: #cbd5e1; /* Gris claro para lectura */
    line-height: 1.6;
    margin: 0;
    transition: var(--transition);
}

/* Inversión de colores en Hover */
.benefit-card:hover .benefit-info h4 {
    color: var(--secondary);
}

.benefit-card:hover .benefit-info p {
    color: #666;
}

/* --- BARRA DE ESTADÍSTICAS (STATS) --- */
.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, #1D84CF 0%, #0a4d7a 100%);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 25px;
    margin: 60px auto 0;
    max-width: 1000px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-item { 
    text-align: center;
    flex: 1;
}

.stat-num {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    opacity: 0.9;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .benefits-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
    }
}

@media (max-width: 850px) {
    .stats-bar { 
        flex-direction: column; 
        gap: 35px; 
        padding: 40px 20px;
    }
    .stat-divider { 
        display: none; 
    }
}

@media (max-width: 600px) {
    .benefits-grid { 
        grid-template-columns: 1fr; 
    }
    .why-choose-us {
        padding: 60px 5%;
    }
}
