/* ============================================================
EFECTO DE CORTINA AZUL EN FRASES <strong>
============================================================ */

/* Estilo base de las frases envueltas en <span> */
.bloo-hightlight p strong span {
    position: relative;
    display: inline;
    background: linear-gradient(90deg, #3700FA 0%, #3700FA 0%) no-repeat;
    background-size: 0% 100%;
    transition: background-size 1s ease-out;
    color: inherit;
    padding: 0 2px;
    border-radius: 2px; /* opcional, bordes suaves */
        box-decoration-break: clone; /* permite que el fondo se repita correctamente si hay salto de línea */
}

/* Clase activa al aparecer en viewport */

.bloo-hightlight p strong span.activo {
    background-size: 100% 100%;
    font-size: 18px;;
}

/* Efecto opcional extra: sombra ligera sobre el texto */
.bloo-hightlight p strong span.activo::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
    pointer-events: none;
}

/* ============================
    HEADER 
==============================*/
/* ==== HEADER FIJO Y EFECTO BLUR ==== */

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: var(--blanco); /* color inicial, ajusta */
    transition: all 0.4s ease;
    backdrop-filter: none;
    box-shadow: none;
}

/* Estado al hacer scroll */
#site-header.scroll-activo {
    /*background: rgba(255, 255, 255, 0.2); /* casi transparente blanco*/
    background: rgba(0, 0, 0, 0.8); /* casi transparente negro
    /*  background-color: #000000ad; */
    backdrop-filter: blur(10px); /* efecto cristal */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    
}
#site-header.scroll-activo li.menu-degradado {
    background-color: transparent;
}
#site-header.scroll-activo li.menu-degradado a{
    color: #fff;
}

