/* ----------------------------- */
/* PÁGINA QUIENES SOMOS          */
/* ----------------------------- */

/* Hero section con fondo oscuro y texto */
.hero-quienes {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
    background: #1a2a2a;
}

.hero-quienes-inner {
    flex: 1;
    position: relative;
    background: url('https://web.archive.org/web/20230401112816im_/https://budilafkenmapu.cl/wp-content/uploads/2019/07/BUDI-LAFKEN-02.jpg') center/cover no-repeat;
    min-height: 400px;
}

.hero-quienes-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-quienes-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px;
}

.hero-quienes-content h1 {
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-texto {
    flex: 1;
    background: #4DB7B3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero-texto p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #fff;
    max-width: 500px;
    margin: 0 auto;
}

.hero-texto strong {
    color: #fff;
    font-weight: bold;
}

/* Sección Misión */
.mision-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.mision-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mision-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.mision-content p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    color: #4DB7B3;
}

/* Galería */
.galeria-quienes {
    padding: 60px 20px;
    background: #fff;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slides img {
    width: 100%;
    flex-shrink: 0;
    height: 450px;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    font-size: 1.2rem;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #4DB7B3;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

/* Sección Contacto */
.contacto-quienes {
    padding: 80px 20px;
    background: #f0f0f0;
}

.contacto-quienes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.contacto-info-quienes {
    flex: 1;
    text-align: center;
}

.contacto-info-quienes h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #4DB7B3;
    margin-bottom: 15px;
}

.contacto-info-quienes h2 {
    font-size: 2rem;
    line-height: 1.3;
    color: #333;
    margin-bottom: 15px;
}

.contacto-info-quienes h4 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.social-icons-quienes {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons-quienes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #4DB7B3;
    color: #fff;
    border-radius: 10px;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-icons-quienes a:hover {
    background: #e67e22;
    transform: translateY(-3px);
}

.mapa-quienes {
    flex: 1;
    min-width: 300px;
}

.mapa-quienes iframe {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Link activo en menú */
.nav a.active {
    color: #4DB7B3;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 850px) {
    .hero-quienes {
        flex-direction: column;
    }
    
    .hero-quienes-inner {
        min-height: 300px;
    }
    
    .hero-quienes-content h1 {
        font-size: 2rem;
    }
    
    .hero-texto p {
        font-size: 1.1rem;
    }
    
    .carousel-slides img {
        height: 350px;
    }
    
    .contacto-info-quienes h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 550px) {
    .hero-quienes-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-texto p {
        font-size: 1rem;
    }
    
    .mision-section {
        padding: 50px 20px;
    }
    
    .mision-content p {
        font-size: 1rem;
    }
    
    .carousel-slides img {
        height: 250px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .contacto-info-quienes h2 {
        font-size: 1.2rem;
    }
    
    .social-icons-quienes a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}