/* ===========================
   MISIÓN Y VISIÓN
   =========================== */

#nosotros_mision_vision {
    position: relative;
    padding: 120px 0;
    background-image: url('../../assets/img/vista-aerea-purpura-de-los-edificios-de-la-ciudad-representacion-3d-fondo-de-mapa-purpura.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* CAPA BLANCA TRASLÚCIDA (Aclara el fondo púrpura) */
#nosotros_mision_vision::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(35, 35, 35, 0.6); 
    z-index: 1;
}

/* Degradado superior para transición */
#nosotros_mision_vision::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, #000000, transparent);
    z-index: 2;
}

#nosotros_mision_vision .container {
    position: relative;
    z-index: 3;
    max-width: 1200px; 
}

.mv-grid {
    display: flex;
    flex-direction: column;
    gap: 100px; 
}

.mv-card {
    display: flex;
    align-items: center; 
    gap: 50px;
    width: 100%;
}

.mv-icon {
    flex: 0 0 30%; 
    display: flex;
    justify-content: left;
    animation: floating 4s ease-in-out infinite;
}

.mv-icon img {
    width: 180px; 
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.mv-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.mv-card h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.mv-card p {
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 300;
    margin: 0;
    max-width: 800px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Animación flotante */
@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Responsivo */
@media (max-width: 992px) {
    .mv-card {
        flex-direction: column;
        gap: 30px;
    }
    .mv-card h2 { font-size: 2rem; }
    .mv-card p { font-size: 1.2rem; }
    .mv-icon img { width: 140px; }
}