/* sobre-fundadora.css */
.fundadora-block {
    margin: 0;
    background-color: #0b0205;
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 2rem;
    box-sizing: border-box;
}
.fundadora-block.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* === CARRUSELES BASE === */
.fundadora__carousel {
    width: 100%;
    height: 100%;
}
.fundadora__carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.fundadora__carousel-track::-webkit-scrollbar { display: none; }

.fundadora__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
}
.fundadora__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === CONFIGURACIÓN ESPECÍFICA DESKTOP === */
.fundadora__carousel--desktop {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.fundadora__carousel--desktop .fundadora__slide img {
    /* AQUÍ ESTÁ LA MAGIA PARA DESKTOP */
    object-position: center top; 
}

/* Ocultar versión mobile en desktop */
.fundadora__carousel--mobile {
    display: none;
}

/* === CONTROLES (PUNTOS) === */
.fundadora__controls {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    z-index: 5;
}
.ctrl-dots { display: flex; gap: 8px; }
.ctrl-dots .dot {
    width: 10px; height: 10px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ctrl-dots .dot.active { 
    background-color: #d4af37; 
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}


/* === OVERLAY & CONTENIDO === */
.fundadora__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11,2,5,0.2) 0%, rgba(11,2,5,0.85) 40%, rgba(11,2,5,0.95) 80%);
    z-index: 1;
    pointer-events: none; 
}
.fundadora__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

/* Logo — versión desktop (esquina superior) */
.fundadora__logo--desktop {
    position: absolute;
    top: -50px;
    right: 0;
    max-width: 180px;
    height: auto;
    opacity: 0.8;
}

.fundadora__content {
    max-width: 650px;
    width: 100%;
    text-align: left;
    padding-top: 2rem;
}

.fundadora__icon {
    margin-bottom: 0.5rem;
}
.fundadora__icon-img {
    width: 24px;
    height: auto;
    display: block;
}

.fundadora__subtitle {
    font-family: 'DM Sans', sans-serif;
    color: #d4af37;
    text-transform: uppercase;
    font-size: 23px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.fundadora__title {
    font-family: 'Comprehension', serif;
    font-size: 40px;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 1rem;
}
.fundadora__divider {
    width: 100%;
    max-width: 400px;
    height: 1px;
    background: rgba(212, 175, 55, 0.4);
    margin-bottom: 1.5rem;
}
.fundadora__text {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #cccccc;
}
.fundadora__text p { margin-bottom: 1.2rem; }
.fundadora__text strong,
.fundadora__text span.text-gold { color: #d4af37; font-weight: 600; }

.fundadora__logo--mobile { display: none; }

/* ========================================= */
/* --- RESPONSIVE: TABLET / MOBILE --- */
/* ========================================= */
@media (max-width: 992px) {
    .fundadora-block {
        padding: 1rem 0 0 0;
        display: flex;
        flex-direction: column; 
        min-height: auto;
    }
    
    .fundadora__carousel--desktop { display: none; }
    .fundadora__overlay { display: none; }
    .fundadora__logo--desktop { display: none; }
    
    .fundadora__container {
        display: block;
        position: relative;
        height: auto;
        box-sizing: border-box;
    }
    
    .fundadora__content {
        margin: 0 auto;
        padding: 0 1.5rem 3rem 1.5rem;
        text-align: center;
        z-index: 3;
        position: relative;
        box-sizing: border-box;
    }
    .fundadora__icon { display: flex; justify-content: center; }
    .fundadora__divider { margin-left: auto; margin-right: auto; }
    .fundadora__text { width: 100%; margin: 0 auto; text-align: center; }
    .fundadora__text p { text-align: center !important; }

    /* === CONFIGURACIÓN ESPECÍFICA MÓVIL === */
    .fundadora__carousel--mobile {
        display: block;
        position: relative; 
        width: 100%;
        line-height: 0;
        margin-top: -45%; 
        z-index: 1;
    }
    .fundadora__carousel--mobile .fundadora__carousel-track {
        height: auto; 
    }
    .fundadora__carousel--mobile .fundadora__slide img {
        height: 600px; 
        object-position: center top; 
    }
    
    .fundadora__carousel--mobile .fundadora__controls {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
    
    .fundadora__logo--mobile {
        display: block;
        position: absolute;
        bottom: 50px; 
        right: 20px;
        max-width: 110px;
        height: auto;
        opacity: 0.9;
        z-index: 2;
    }
}

@media (max-width: 576px) {
    .fundadora__title { font-size: 32px; }
    .fundadora__carousel--mobile .fundadora__slide img { height: 500px; } 
    .fundadora__logo--mobile { max-width: 90px; }
    .fundadora__carousel--mobile { margin-top: -35%; } 
}