/* Contenedor principal de la sección */
.valor-section {
    background-color: #2d2d2d; /* Gris oscuro */
    padding: 60px 20px 50px;
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    padding: 60px 20px 10px;
    max-width: 900px;
    margin: 0 auto 20px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: #FFFFFF;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1E0391, #6C63FF);
    border-radius: 4px;
    opacity: 0.3;
}

.hero-description {
    font-size: 24px;
    line-height: 2;
    color: #FFFFFF;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.hero-description strong {
    color: ##FFFFFF;
    font-weight: 600;
}

.hero-description .highlight-blue {
    color: #1E0391;
    font-weight: 600;
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 200px 16px 10px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 14px;
    }
}

/* ============================================================ */
/* ===== SECCIÓN DE 4 IMÁGENES ===== */
/* ============================================================ */

.features-section {
    padding: 30px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
}

/* ===== ESTILO CARDS ===== */
.features-section.cards-style .feature-card {
    flex: 1 1 220px;
    max-width: 260px;
    min-width: 180px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px 25px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(30, 3, 145, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 3, 145, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.features-section.cards-style .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 3, 145, 0.15);
}

/* ===== CONTENEDOR DE IMAGEN (Sin fondo azul) ===== */
.features-section.cards-style .feature-card .feature-icon {
    width: 120px;   /* ← Ancho para la imagen */
    height: 120px;  /* ← Alto para la imagen */
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Eliminamos el fondo azul y el border-radius */
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
}

/* ===== IMAGEN DENTRO DEL CONTENEDOR ===== */
.features-section.cards-style .feature-card .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantiene la proporción de la imagen */
    /* Eliminamos el filter que convertía la imagen en icono blanco */
    /* filter: brightness(0) invert(1); ← ELIMINADO */
}

/* ===== EFECTO HOVER EN LA IMAGEN ===== */
.features-section.cards-style .feature-card:hover .feature-icon {
    transform: scale(1.05);
    /* Eliminamos la rotación y el box-shadow */
}

/* ===== TÍTULO ===== */
.features-section.cards-style .feature-card .feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #1E0391;
    margin: 0 0 6px 0;
    text-align: center;
}

/* ===== DESCRIPCIÓN ===== */
.features-section.cards-style .feature-card .feature-description {
    font-size: 13px;
    color: #6a6a7a;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* ============================================================ */
/* ===== RESPONSIVE ===== */
/* ============================================================ */

@media (max-width: 992px) {
    .features-section.cards-style .feature-card {
        flex: 1 1 200px;
        max-width: 230px;
        padding: 25px 18px 20px;
    }

    .features-section.cards-style .feature-card .feature-icon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .features-container {
        gap: 20px;
    }

    .features-section.cards-style .feature-card {
        flex: 1 1 170px;
        max-width: 200px;
        padding: 20px 15px 18px;
    }

    .features-section.cards-style .feature-card .feature-icon {
        width: 80px;
        height: 80px;
    }

    .features-section.cards-style .feature-card .feature-title {
        font-size: 15px;
    }

    .features-section.cards-style .feature-card .feature-description {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .features-section.cards-style .feature-card {
        flex: 1 1 100%;
        max-width: 280px;
        padding: 25px 20px;
    }

    .features-section.cards-style .feature-card .feature-icon {
        width: 100px;
        height: 100px;
    }
}