/* Estilos modernos para la sección de valores */
.valores-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #317DC3, #1a5a9e);
    overflow: hidden;
}

.valores-section .section-header {
    margin-bottom: 60px;
}

.valores-section .section-title {
    position: relative;
    display: inline-block;
}

.valores-section .section-subtitle {
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

/* Contenedor de tarjetas con diseño moderno */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tarjeta de valor con diseño minimalista */
.valor-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 40px 30px;
    position: relative;
    border-top: 4px solid transparent;
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-top-color: var(--gracie-red);
}

/* Iconos modernos */
.valor-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gracie-red);
    font-size: 2.5rem;
    position: relative;
}

.valor-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(225, 37, 27, 0.1);
    border-radius: 50%;
    z-index: -1;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.valor-card:hover .valor-icon::after {
    transform: scale(1);
}

/* Títulos y textos */
.valor-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.valor-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--gracie-red);
    transition: width 0.3s ease;
}

.valor-card:hover h3::after {
    width: 60px;
}

.valor-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .valores-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .valor-card {
        padding: 30px 20px;
    }

    .valor-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .valor-card h3 {
        font-size: 1.4rem;
    }
}
