/* =========================================
   PÁGINAS INSTITUCIONALES (Nosotros & Bolsa de Trabajo)
   ========================================= */

/* --- HERO COMPARTIDO (Minimalista y Elegante) --- */
.inst-hero {
    padding: 120px 5% 80px;
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inst-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.inst-eyebrow {
    color: var(--yellow);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

.inst-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.inst-hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
   PÁGINA: NOSOTROS (La Filosofía)
   ========================================= */
.about-story {
    padding: 100px 5%;
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-images {
    flex: 1;
    position: relative;
}

.img-main-about {
    width: 85%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(23, 27, 77, 0.1);
}

.img-sub-about {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 50%;
    border-radius: 12px;
    border: 8px solid var(--white);
    box-shadow: 0 15px 35px rgba(23, 27, 77, 0.15);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Grilla de Pilares (Valores) */
.about-pillars {
    background: var(--bg-light);
    padding: 100px 5%;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.pillar-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 3px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(23, 27, 77, 0.08);
    border-bottom-color: var(--primary-red);
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--yellow);
    margin-bottom: 20px;
}

.pillar-card h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* =========================================
   PÁGINA: BOLSA DE TRABAJO (Talent Network)
   ========================================= */
.job-board {
    padding: 80px 5%;
    background: var(--bg-light);
}

/* Stats de Empleabilidad (Flotante) */
.job-stats {
    display: flex;
    max-width: 1200px;
    margin: -50px auto 60px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(23, 27, 77, 0.08);
    position: relative;
    z-index: 10;
    border-top: 4px solid var(--primary-red);
}

.job-stat-box {
    flex: 1;
    text-align: center;
    padding: 35px 20px;
    border-right: 1px solid rgba(23, 27, 77, 0.05);
}

.job-stat-box:last-child {
    border-right: none;
}

.job-stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 5px;
}

.job-stat-box span {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grilla de Ofertas Laborales */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.job-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 35px 30px;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--yellow);
    box-shadow: 0 15px 35px rgba(23, 27, 77, 0.05);
    transform: translateY(-5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-company {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--primary-blue);
}

.job-company h5 {
    margin-bottom: 2px;
    color: var(--text-dark);
    font-size: 1rem;
}

.job-company span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.job-tag {
    background: rgba(186, 19, 24, 0.1);
    color: var(--primary-red);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.job-card h4 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.job-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.job-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .about-story {
        flex-direction: column;
        gap: 50px;
    }

    .img-sub-about {
        position: static;
        width: 100%;
        margin-top: 20px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .job-stats {
        flex-direction: column;
    }

    .job-stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(23, 27, 77, 0.05);
    }
}