/* Nosotros Specific Styles */

/* Quienes Somos Section */
.quienes-somos {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../assets/images/quienes somos.png');
    background-size: cover;
    background-position: center calc(50% + 90px);
    background-repeat: no-repeat;
    padding: 240px 0 120px;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    position: relative;
}

.quienes-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.quienes-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.quienes-text .subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.hero-body {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    line-height: 1.7;
    margin-top: 1.5rem;
}

/* Nuestros Colaboradores Section */
.colaboradores {
    padding: 80px 0;
    padding-top: 140px;
    background: var(--bg-white);
    position: relative;
    z-index: -1;
    margin-top: -60px;
}

.colaboradores h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.colaboradores-carousel {
    position: relative;
    width: 900px;
    height: 400px;
    margin: 0 auto;
}

.colaborador-card {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(180deg, #7a9a98 0%, #2d5f5d 100%);
    transition: transform 0.45s ease, width 0.45s ease,
                height 0.45s ease, opacity 0.45s ease;
}

/* Centro */
.colaborador-card.pos-center {
    width: 240px; height: 400px;
    transform: translate(-50%, -50%) translateX(0);
    opacity: 1;
    z-index: 3;
    cursor: default;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* Laterales */
.colaborador-card.pos-left {
    width: 200px; height: 333px;
    transform: translate(-50%, -50%) translateX(-240px);
    opacity: 0.8;
    z-index: 2;
}
.colaborador-card.pos-right {
    width: 200px; height: 333px;
    transform: translate(-50%, -50%) translateX(240px);
    opacity: 0.8;
    z-index: 2;
}

/* Extremos */
.colaborador-card.pos-far-left {
    width: 175px; height: 291px;
    transform: translate(-50%, -50%) translateX(-400px);
    opacity: 0.3;
    z-index: 1;
}
.colaborador-card.pos-far-right {
    width: 175px; height: 291px;
    transform: translate(-50%, -50%) translateX(400px);
    opacity: 0.3;
    z-index: 1;
}

/* Flechas */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.carousel-arrow:hover  { background: var(--accent-color); }
.carousel-arrow:active { transform: translateY(-50%) scale(0.95); }
.carousel-arrow-prev   { left: -60px; }
.carousel-arrow-next   { right: -60px; }

.colaborador-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.colaboradores-texto {
    text-align: center;
    margin-top: 3rem;
}

.colaboradores-texto h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.colaboradores-texto p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Conecta con Nosotros Section */
.conecta-nosotros {
    padding: 80px 0;
    background: var(--bg-gray);
}

.conecta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.conecta-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mapa-embed {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.mapa-embed iframe {
    display: block;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.map-svg {
    width: 100%;
    height: 100%;
}

.conecta-right h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.conecta-right p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-visitar {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(45, 95, 93, 0.3);
}

.btn-visitar:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 95, 93, 0.4);
}

/* Responsive Design */
@media (max-width: 968px) {
    .quienes-somos {
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }

    .quienes-content,
    .conecta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quienes-text h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .quienes-text .subtitle {
        text-align: center;
    }

    .text-lines {
        align-items: center;
    }

    .colaboradores-wrapper {
        justify-content: center;
    }

    .colaborador-card {
        width: 140px;
        height: 220px;
    }

    .carousel-arrow img {
        width: 32px;
        height: auto;
    }

    .conecta-right {
        text-align: center;
    }

    .conecta-right h2 {
        font-size: 2rem;
    }

    .btn-visitar {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .quienes-somos {
        padding: 260px 0 140px;
    }

    .quienes-text h1 {
        font-size: 2rem;
        text-align: left;
    }

    .quienes-text .subtitle {
        text-align: left;
    }

    .subtitle {
        text-align: left;
    }

    .colaboradores h2 {
        font-size: 2rem;
    }

    .colaborador-card {
        width: 120px;
        height: 180px;
    }

    .colaborador-info {
        padding: 0.8rem;
    }

    .colaborador-info h3 {
        font-size: 0.9rem;
    }

    .colaborador-description {
        font-size: 0.7rem;
        display: none;
    }

    .carousel-arrow img {
        width: 32px;
        height: auto;
    }

    .conecta-right h2 {
        font-size: 1.8rem;
    }

    .mapa-ilustrado {
        max-width: 300px;
    }
}