/* ==========================================
   SECCIÓN SOBRE NOSOTROS
   ========================================== */
.nosotros-section {
    padding: 100px 0;
    position: relative;
    /* Fondo con imagen y overlay gris/azulado para resaltar los textos blancos */
    background-image: url('../assets/img/oficinas.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.nosotros-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    
    /* ⬅️ DEGRADADO ULTRA SUAVE: 
       Empieza blanco puro, baja a blanco semitransparente suavemente al 25%, 
       se mezcla con el azul a la mitad (50%) y oscurece abajo */
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.4) 25%, 
        rgba(13, 22, 33, 0.8) 55%, 
        rgba(13, 22, 33, 0.95) 100%
    ); 
    z-index: 0;
}

.nosotros-section .container {
    position: relative;
    z-index: 1;
    max-width: 1250px;
    margin: 0 auto;
}

/* --- ENCABEZADO Y BOTÓN --- */
.nosotros-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.nosotros-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    color: #121a24; /* Color oscuro como en tu imagen */
    margin: 0;
    line-height: 1;
}

.text-gold {
    color: #c5a880; /* El dorado de tu diseño */
}

.btn-dark-badge {
    background: #0f1621;
    color: #ffffff;
    padding: 0.8rem 3rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-dark-badge:hover {
    background: #1a2433;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* --- GRID PRINCIPAL --- */
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* --- COLUMNA IZQUIERDA: TARJETAS DE LOGOS --- */
.nosotros-images {
    position: relative;
    width: 100%;
}

.main-logo-card {
    background: #0f1621;
    border-radius: 35px;
    padding: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    width: 90%; /* Deja espacio para la tarjeta superpuesta */
}

.logo-large {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.small-logo-card {
    position: absolute;
    bottom: -30px;
    right: 0;
    background: #0f1621;
    /* Borde blanco grueso como en tu diseño */
    border: 3px solid #ffffff; 
    border-radius: 25px;
    padding: 2rem;
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

.logo-small {
    width: 80px;
    height: auto;
}

/* --- COLUMNA DERECHA: TEXTOS --- */
.content-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    color: #c5a880;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.content-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 3.5rem;
}

/* --- MISIÓN Y VISIÓN --- */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-item {
    /* La línea blanca gruesa a la izquierda */
    border-left: 4px solid #ffffff; 
    padding-left: 1.5rem;
}

.mv-item h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #c5a880;
    margin: 0 0 0.8rem 0;
    line-height: 1;
}

.mv-item p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   RESPONSIVIDAD NOSOTROS
   ========================================== */
@media (max-width: 1024px) {
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .main-logo-card {
        width: 100%;
        padding: 4rem 2rem;
    }
    
    .small-logo-card {
        right: 10px;
        bottom: -40px;
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .nosotros-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .nosotros-title, .content-title {
        font-size: 2.3rem;
    }
    
    .mv-grid {
        grid-template-columns: 1fr; /* Misión arriba, Visión abajo */
        gap: 2.5rem;
    }
}