/* ============================================
   NOSOTROS PAGE - CSS CORREGIDO
   Basado exactamente en el original
   ============================================ */

/* Sección 1: Hero con imagen de fondo - ANCHO COMPLETO */
.nosotros-hero {
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 80px 20px;
}

.nosotros-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.nosotros-hero-content {
    position: relative;
    z-index: 2;
}

.nosotros-hero-content h2 {
    font-size: 48px;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin: 0;
}

.nosotros-hero-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #fff;
}

/* Sección 2: Descripción centrada */
.nosotros-descripcion {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.nosotros-descripcion p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.nosotros-descripcion strong {
    color: #094599;
}

/* Sección 3: Misión */
.nosotros-mision-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.nosotros-mision-texto {
    flex: 1;
    text-align: left;
}

.nosotros-mision-texto h2 {
    font-size: 32px;
    color: #0C71C3;
    margin-bottom: 20px;
}

.nosotros-mision-texto p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

.nosotros-mision-imagen {
    flex: 1;
    text-align: center;
}

.nosotros-mision-imagen img {
    max-width: 100%;
    width: 350px;
    height: auto;
    border-radius: 12px;
}

/* Sección 4: Visión */
.nosotros-vision-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.nosotros-vision-imagen {
    flex: 1;
    text-align: center;
}

.nosotros-vision-imagen img {
    max-width: 100%;
    width: 350px;
    height: auto;
    border-radius: 12px;
}

.nosotros-vision-texto {
    flex: 1;
    text-align: left;
}

.nosotros-vision-texto h2 {
    font-size: 32px;
    color: #0C71C3;
    margin-bottom: 20px;
}

.nosotros-vision-texto p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

/* Sección 5: NUESTROS VALORES - CON FONDO AZUL */
.nosotros-valores-header {
    width: 100%;
    background: linear-gradient(135deg, #0C71C3, #0084de);
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0 0;
}

.nosotros-valores-header-content h1 {
    font-size: 42px;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin: 0;
}

.nosotros-valores-header-content h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #fff;
}

/* Sección 6: Grid de valores */
.nosotros-valores-grid {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.valor-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.valor-card .valor-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #0084de;
    display: inline-block;
}

/* Iconos específicos usando contenido con pseudo-elementos */
.valor-card:nth-child(1) .valor-icon::before {
    content: "⚖️";
}

.valor-card:nth-child(2) .valor-icon::before {
    content: "🤝";
}

.valor-card:nth-child(3) .valor-icon::before {
    content: "⭐";
}

.valor-card:nth-child(4) .valor-icon::before {
    content: "❤️";
}

.valor-card:nth-child(5) .valor-icon::before {
    content: "🔒";
}

.valor-card:nth-child(6) .valor-icon::before {
    content: "✅";
}

.valor-card h4 {
    font-size: 18px;
    color: #0C71C3;
    margin: 0;
}

/* Sección 7: CONEXIONES COMERCIALES - CON FONDO AZUL */
.nosotros-conexiones-header {
    width: 100%;
    background: linear-gradient(135deg, #0C71C3, #0084de);
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0 0;
}

.nosotros-conexiones-content h2 {
    font-size: 36px;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin: 0;
}

.nosotros-conexiones-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #fff;
}

/* Sección 8: Proveedores */
.nosotros-proveedores {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.nosotros-proveedores img {
    max-width: 100%;
    height: auto;
}

/* Sección 9: Banner final con imagen de fondo - ANCHO COMPLETO */
.nosotros-cta {
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 50px;
    padding: 60px 20px;
    text-align: center;
}

.nosotros-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.nosotros-cta-content {
    position: relative;
    z-index: 2;
}

.nosotros-cta-content img {
    max-width: 80%;
    height: auto;
    border-radius: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .nosotros-hero {
        padding: 60px 20px;
    }
    
    .nosotros-hero-content h2 {
        font-size: 32px;
    }
    
    .nosotros-mision-container {
        flex-direction: column;
        text-align: center;
    }
    
    .nosotros-vision-container {
        flex-direction: column;
        text-align: center;
    }
    
    .nosotros-mision-texto,
    .nosotros-vision-texto {
        text-align: center;
    }
    
    .nosotros-mision-texto p,
    .nosotros-vision-texto p {
        text-align: center;
    }
    
    .nosotros-valores-header-content h1 {
        font-size: 32px;
    }
    
    .nosotros-conexiones-content h2 {
        font-size: 28px;
    }
    
    .nosotros-valores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .nosotros-hero {
        padding: 40px 20px;
    }
    
    .nosotros-hero-content h2 {
        font-size: 28px;
    }
    
    .nosotros-valores-header-content h1 {
        font-size: 28px;
    }
    
    .nosotros-conexiones-content h2 {
        font-size: 22px;
    }
    
    .nosotros-valores-grid {
        grid-template-columns: 1fr;
    }
    
    .nosotros-mision-imagen img,
    .nosotros-vision-imagen img {
        width: 250px;
    }
    
    .valor-card {
        padding: 20px;
    }
    
    .valor-card .valor-icon {
        font-size: 40px;
    }
}