/* ===== 1. FUENTES Y VARIABLES ===== */
:root {
    --color-white: #FFFFFF;
    --color-dark: #41454D;
    --color-gray-light: #D9D9D3;
    --color-gray-warm: #BCBAAC;
    --color-accent: #AE7D00;
    --font-family-primary: 'Brutal Type', sans-serif;
}

/* ===== 2. HERO PRINCIPAL ===== */
.hero-nosotros {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(30, 33, 38, 0.6), rgba(30, 33, 38, 0.6)),
                url(/img/ds&a/banner_nosotros.JPG) no-repeat center center/cover;
}

.hero-nosotros h2 {
    color: var(--color-white);
    font-family: var(--font-family-primary);
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 50px;
}

@media (max-width: 768px) {
    .hero-nosotros {
        background-image: linear-gradient(rgba(30, 33, 38, 0.7), rgba(30, 33, 38, 0.7)), 
                          url("../img/ds&a/banner_nosotros.JPG") !important;
    }

    .hero-nosotros h2 {
        font-size: 2.2rem;
    }
}

/* ===== 3. SECCIÓN NUESTRO EQUIPO ===== */
.seccion-nosotros-intro {
    padding: 100px 20px; 
    background-color: var(--color-white);
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative; 
    z-index: 5;
}

.nosotros-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: center;
    gap: 80px;
}

/* Columna Título + Línea */
.nosotros-title-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row; 
    align-items: center;
    gap: 25px;
}

/* Línea Vertical Corta */
.nosotros-title-col::before {
    content: "";
    width: 1px;
    height: 70px; 
    background-color: var(--color-accent);
    display: block;
    flex-shrink: 0;
}

.nosotros-title-col h1 {
    font-family: var(--font-family-primary);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1;
    color: var(--color-dark);
    margin: 0;
    max-width: 250px; 
    text-align: left;
}

/* Columna Párrafos */
.nosotros-text-col {
    flex: 0 1 550px;
}

.nosotros-text-col p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 25px;
    text-align: justify;
    text-justify: inter-word;
}

/* AJUSTES PANTALLAS MENORES A 900px */
@media (max-width: 900px) {
    .seccion-nosotros-intro {
        padding: 60px 24px; 
    }

    .nosotros-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        height: auto;
    }

    .nosotros-text-col {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .nosotros-title-col h1 {
        font-size: 2.2rem; 
        max-width: 100%;
        text-align: center;
    }

    .nosotros-title-col::before {
        height: 50px; 
    }

    .nosotros-text-col {
        width: 100%;
        max-width: 100%;
    }

    .nosotros-text-col p {
        text-align: justify; 
        text-justify: inter-word;
    }
}

/* ===== 4. PARALLAX BANNER ===== */
.parallax-banner.nosotros {
    height: 700px;
    background-image: url("../img/ds&a/parallax_nosotros2.jpg"); 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    background-color: var(--color-dark);
}

@media (max-width: 900px) {
    .parallax-banner.nosotros {
        height: 300px;
        background-attachment: scroll;
        background-image: url("../img/ds&a/parallax_nosotros2.jpg") !important; 
        background-size: cover !important;
        background-position: center !important;
    }

    .nosotros-title-col h1 {
        font-size: 1.8rem; 
        max-width: 100%;
        text-align: left;
    }

    .nosotros-title-col::before {
        content: "";
        width: 1px;
        height: 40px;
        background-color: var(--color-accent);
    }

    .nosotros-text-col { 
        flex: none !important; 
        height: auto !important; 
        width: 80%;
        margin-bottom: 0px;
    }
}

/* ===== 5. SECCIÓN EQUIPO (ESTILO HOJA) ===== */
.equipo-section {
    padding: 100px 20px;
    background-color: #fcfcfc;
}

.team-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 60px 40px;
}

.team-member {
    background: #ffffff;
    padding: 30px 30px;
    border-radius: 60px 5px 60px 5px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 70px 15px 70px 15px;
}

.team-image-wrapper {
    width: 170px; 
    height: 170px;
    border-radius: 50%;
    margin-bottom: 30px;
    padding: 8px;
    border: 1px solid rgba(174, 125, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-info h3 {
    color: #222;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-role {
    display: block;
    font-size: 0.75rem;
    color: #AE7D00;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 25px;
}

.team-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.team-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: auto; 
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
    width: 100%;
}

.team-links a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    padding: 10px 22px;
    border-radius: 15px 2px 15px 2px; 
    background: #f8f8f8;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.team-links a i {
    color: #AE7D00;
}

.team-links a:hover {
    background: #AE7D00;
    color: #fff;
    border-radius: 2px 15px 2px 15px; 
}

.team-links a:hover i {
    color: #fff;
}

/* Ajuste para dispositivos móviles */
@media (max-width: 900px) {
    .team-grid-container { 
        grid-template-columns: 1fr; 
        max-width: 500px;
    }
}