
    /* Configuración de slides y carrusel */
.carousel-item {
    position: relative;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4); /* Oscurece para resaltar el texto */
}

/* Zona inferior de lectura: enlaces institucionales */
.enlace-institucional {
    position: absolute;
    bottom: 13%;
    width: 100%;
    text-align: center;
    padding: 40px 0 35px 0;
    z-index: 3;
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.55));
}

.enlace-institucional a {
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.75);
    position: relative;
}

.enlace-institucional a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0.8;
    transition: 0.4s ease;
    transform: translateX(-50%);
}

.enlace-institucional a:hover::after {
    width: 120%;
}

.enlace-institucional a:hover {
    color: white;
}

/* Icono dentro del enlace institucional */
.icono-enlace {
    width: 50px;
    height: auto;
    opacity: 1;
    filter: brightness(1.5);
}

/* Animaciones de texto */
.texto-animado {
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 300;
    opacity: 0;
    position: absolute;
}

/* Animación activa cuando el slide está activo */
.active .texto-animado {
    animation: zoomAventura 5s ease-out forwards;
}

/* Configuraciones de dirección de animación */
.izq {
    --startX: -100%;
    --startY: 0;
}

.der {
    --startX: 100%;
    --startY: 0;
}

.arr {
    --startX: 0;
    --startY: -100%;
}

/* Fuente de los textos animados */
.letra {
    font-family: 'Times New Roman', Times, serif;
}

/* Keyframes de animación */
@keyframes zoomAventura {
    0% {
        opacity: 0;
        transform: scale(3) translate(var(--startX), var(--startY));
        filter: blur(15px);
    }
    15% {
        opacity: 1;
        transform: scale(1.2) translate(0, 0);
        filter: blur(0px);
    }
    85% {
        opacity: 1;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}