/* ============================================
   NOSOTROS - Estilos de la página
   ============================================ */

:root {
    --color-m9io10mt: #02002d; /* reemplazar por el valor de Figma si aplica */
}

.page-nosotros {
    padding-top: 70px;
    min-height: 100vh;
}

/* ----- Hero ¿Quiénes Somos? ----- */
.nos-hero {
    position: relative;
    z-index: 1;
    min-height: 400px;
}

.nos-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/nosotros/fondo-hero-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.nos-hero .container {
    z-index: 1;
}

.nos-hero-title {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--soul-white);
    margin-bottom: 2rem;
}

/* Cajas horizontales para cada párrafo del hero (ancho completo del contenedor) */
.nos-intro-boxes {
    width: 100%;
}

.nos-intro-box {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    height: 100%;
    min-height: 140px;
}

.nos-intro-box .nos-intro-text {
    font-family: var(--font-dm-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--soul-white);
    margin-bottom: 0;
    text-align: left;
}

.nos-intro-text strong {
    color: var(--soul-white);
    font-weight: 600;
}

/* ----- Nuestro Equipo ----- */
.nos-team {
    background-color: rgba(2, 0, 45, 1); /* var(--color-m9io10mt) con opacidad 0.7 */
    position: relative;
    z-index: 1;
}

.nos-section-title {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--soul-white);
    margin-bottom: 3rem;
}

.nos-team-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.nos-team-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.nos-team-card-link:hover {
    color: inherit;
}

.nos-team-card-link:hover .nos-team-photo-wrap {
    opacity: 0.9;
}

.nos-team-card {
    padding: 0.5rem 0;
}

.nos-team-photo-wrap {
    width: 120px;
    height: 150px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.nos-team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nos-team-name {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 1rem;
    color: var(--soul-white);
    margin-bottom: 0.25rem;
}

.nos-team-role {
    font-family: var(--font-dm-sans);
    font-size: 0.9rem;
    color: var(--soul-text-light);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .nos-team-photo-wrap {
        width: 200px;
        height: 140px;
    }
    .nos-team-name {
        font-size: 1.1rem;
    }
}

/* ----- REVO Business Evolution ----- */
.nos-revo {
    background-color: var(--soul-dark-blue);
    position: relative;
    z-index: 1;
}

.nos-revo-logo-wrap {
    display: inline-block;
}

.nos-revo-logo-img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 120px;
    width: auto;
}

.nos-revo-text {
    font-family: var(--font-dm-sans);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--soul-white);
    margin-bottom: 1.25rem;
}

.nos-revo-text:last-child {
    margin-bottom: 0;
}

/* Destacado: mayúsculas, negrita, verde #0bded3 */
.nos-revo-text strong {
    color: #0bded3;
    font-weight: 700;
    text-transform: uppercase;
}

/* Destacado: cursiva, verde #0bded3 */
.nos-revo-text em {
    color: #0bded3;
    font-style: italic;
}

/* ----- Agencias Grupo REVO ----- */
.nos-agencies {
    background-color: var(--soul-dark-blue);
    position: relative;
    z-index: 1;
}

.nos-section-title--agencies {
    font-size: 1.25rem;
    font-weight: 600;
    color: #565a7c;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.nos-agencies-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nos-agency-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    min-width: 100px;
}

.nos-agency-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.nos-agency-logo a:hover {
    opacity: 0.9;
}

.nos-agency-logo-img {
    display: block;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Logo ROMPECABEZA más alto */
.nos-agencies-logos .nos-agency-logo:first-child .nos-agency-logo-img {
    max-height: 100px;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .nos-hero-bg {
        background-attachment: scroll;
    }
    .nos-hero-title {
        font-size: 2rem;
    }
    .nos-intro-text {
        font-size: 1rem;
    }
    .nos-team-photo-wrap {
        width: 100px;
        height: 125px;
    }
    .nos-team-name {
        font-size: 0.95rem;
    }
    .nos-team-role {
        font-size: 0.85rem;
    }
    .nos-revo-logo-img {
        max-height: 90px;
    }
    .nos-agencies-logos {
        gap: 1rem;
    }
    .nos-agency-logo {
        min-width: 80px;
    }
    .nos-agency-logo-img {
        max-height: 40px;
    }
    .nos-agencies-logos .nos-agency-logo:first-child .nos-agency-logo-img {
        max-height: 80px;
    }
}
