:root {
    --text-dark: #222222;
    --bg-dark-section: #050505;
}


/* Contenedor Base */
/* --- HERO SECTION --- */
.valores-hero {
    position: relative;
    background: url('../img/fondo3.png') no-repeat center center;
    background-size: cover;
    height: 360px;
    width: 100%;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: table;
}

.hero-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 44px;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.hero-line {
    width: 50px;
    margin: 0 auto 15px auto;
}

.hero-subtitle {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* --- GRID DE VALORES --- */
.valores-grid-section {
    padding: 80px 20px;
}

.valores-grid {
    width: 100%;
}

.valores-grid::after {
    content: "";
    display: table;
    clear: both;
}

.valor-card {
    width: calc(33.333% - 30px);
    float: left;
    margin: 15px;
    background-color: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 35px 25px;
    box-sizing: border-box;
    min-height: 260px; /* Consistencia visual */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.circle-icon {
    width: 42px;
    height: 42px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    margin-bottom: 20px;
}

.valor-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    font-weight: 500;
}

.valor-card p {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* --- SECCIÓN OSCURA (CITA DE VALORES) --- */
.valores-quote-section {
    background-color: var(--bg-dark-section);
    padding: 90px 20px;
    text-align: center;
}

.quote-content {
    max-width: 800px;
}

.quote-icon {
    margin-bottom: 25px;
}

.valores-quote-section blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: var(--white);
    line-height: 1.6;
    margin: 0 auto 20px auto;
    font-style: italic;
    font-weight: 400;
    max-width: 750px;
}

.quote-line {
    width: 40px;
    height: 1px;
    background-color: var(--gold-primary);
    margin: 0 auto 15px auto;
}

.valores-quote-section cite {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: normal;
    display: block;
}

/* --- SECCIÓN VALORES EN ACCIÓN --- */
.valores-accion {
    padding: 80px 20px;
    text-align: center;
    max-width: 750px;
}

.valores-accion h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    font-weight: 400;
}

.valores-accion p {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.valores-accion .accion-sub {
    font-size: 13.5px;
    color: #888888;
}

/* Tablets (Menor a 992px) */
@media (max-width: 992px) {
    .valor-card {
        width: calc(50% - 30px);
        min-height: auto;
    }
}

/* Celulares (Menor a 768px) */
@media (max-width: 768px) {
    .valores-hero {
        height: 280px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .valores-grid-section {
        padding: 50px 10px;
    }

    .valor-card {
        width: calc(100% - 20px);
        float: none;
        margin: 15px 10px;
        padding: 30px 20px;
    }

    .valores-quote-section blockquote {
        font-size: 19px;
        padding: 0 10px;
    }

    .valores-accion {
        padding: 50px 20px;
    }

    .valores-accion h2 {
        font-size: 24px;
    }
}