/* =========================================================
   BANNER ANIMADO ULU.CODE
   Ajustado para conservar los mismos tamaños del banner anterior:
   - Alto del banner: 450px
   - Tarjeta: min(720px, 48%)
   - Posición a la derecha
   - Estilo glassmorphism suave
   - Efecto tornasolado sin deformar la composición
========================================================= */

/* =========================================================
   CONTENEDOR PRINCIPAL DEL BANNER
   Equivale visualmente al .hero anterior.
========================================================= */
.ulu-banner {
    position: relative;
    width: 100%;
    min-height: var(--hero-height, 450px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: left;
    padding: 40px 7% 40px 5%;
    overflow: hidden;
    isolation: isolate;
    background: #050505;
}

/* =========================================================
   IMAGEN BASE DEL BANNER
   Mantiene el mismo comportamiento visual que:
   background-size: cover;
   background-position: center 12%;
========================================================= */
.ulu-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    z-index: 1;
}

/* =========================================================
   CAPA OSCURA DEL BANNER
   Igual al degradado anterior del .hero::after.
========================================================= */
.ulu-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.10),
        rgba(0, 0, 0, 0.18)
    );
}

/* =========================================================
   CAPA TORNASOLADA SUAVE
   Efecto visual encima de la imagen, sin afectar tamaños.
========================================================= */
.ulu-banner__iridescent {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            rgba(255, 255, 255, 0.00) 0%,
            rgba(36, 131, 203, 0.08) 18%,
            rgba(84, 51, 203, 0.08) 34%,
            rgba(211, 59, 168, 0.07) 50%,
            rgba(36, 194, 160, 0.08) 68%,
            rgba(255, 255, 255, 0.00) 100%
        );

    opacity: 0.28;
    mix-blend-mode: screen;
    filter: blur(12px);
    transform: translateX(-12%);
    animation: uluIridescentBreath 8s ease-in-out infinite alternate;
}

/* =========================================================
   BARRIDO DE BRILLO DIAGONAL
   Se activa con JS agregando la clase .is-shining al banner.
========================================================= */
.ulu-banner__shine {
    position: absolute;
    top: -35%;
    left: -45%;
    width: 34%;
    height: 170%;
    z-index: 5;
    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.00) 0%,
            rgba(255, 255, 255, 0.08) 26%,
            rgba(36, 131, 203, 0.16) 38%,
            rgba(211, 59, 168, 0.14) 48%,
            rgba(36, 194, 160, 0.16) 58%,
            rgba(255, 255, 255, 0.28) 66%,
            rgba(255, 255, 255, 0.00) 100%
        );

    opacity: 0;
    filter: blur(12px);
    transform: skewX(-18deg) translateX(0);
    mix-blend-mode: screen;
}

.ulu-banner.is-shining .ulu-banner__shine {
    animation: uluShineSweep 2.4s ease-in-out forwards;
}

/* =========================================================
   LUZ AMBIENTAL TORNASOLADA
   Muy discreta para no ensuciar la tarjeta ni la imagen.
========================================================= */
.ulu-banner__glow {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;

    background:
        radial-gradient(circle at 72% 28%, rgba(22, 126, 205, 0.12), transparent 24%),
        radial-gradient(circle at 84% 34%, rgba(56, 18, 195, 0.1), transparent 26%),
        radial-gradient(circle at 84% 34%, rgba(203, 17, 203, 0.1), transparent 28%),
        radial-gradient(circle at 88% 44%, rgba(15, 170, 137, 0.08), transparent 30%);

    opacity: 0.48;
    mix-blend-mode: screen;
    animation: uluGlowPulse 5.5s ease-in-out infinite alternate;
}

/* =========================================================
   CONTENIDO DEL BANNER
   Mantiene la tarjeta colocada a la derecha.
========================================================= */
.ulu-banner__content {
    position: relative;
    z-index: 6;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* =========================================================
   TARJETA DEL BANNER
   Ajustada al tamaño y estilo original de .hero-card.
========================================================= */
.ulu-banner__card {
    position: relative;
    z-index: 2;
    width: min(720px, 48%);
    margin-right: 2%;
    margin-left: auto;

    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: var(--shadow, 0 20px 50px rgba(0, 0, 0, 0.10));
    border-radius: 28px;

    padding: 28px 30px;
    text-align: center;
    color: #ffffff;
}

/* =========================================================
   ETIQUETA SUPERIOR
   Equivale a .hero-label.
========================================================= */
.ulu-banner__eyebrow {
    display: inline-block;
    margin-bottom: 12px;

    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}
.ulu-banner .ulu-banner__title .ulu-banner__M {
    color: #a855f7 !important;
    -webkit-text-fill-color: #a855f7 !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: 0 2px 18px rgba(168, 85, 247, 0.38) !important;
}
.ulu-banner .ulu-banner__title .ulu-banner__Y {
    color: #38bdf8 !important;
    -webkit-text-fill-color: #38bdf8 !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: 0 2px 18px rgba(56, 189, 248, 0.42) !important;
}
/* =========================================================
   TÍTULO PRINCIPAL
   Equivale a .hero-card h1.
========================================================= */
.ulu-banner__title {
    margin: 0 0 14px 0;

    font-size: clamp(2.1rem, 4.2vw, 4rem);
    line-height: 1.03;
    font-weight: 800;

    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   TEXTO DESCRIPTIVO
   Equivale a .hero-card p.
========================================================= */
.ulu-banner__text {
    margin: 0 auto 22px;

    max-width: 560px;
    font-size: 1rem;
    line-height: 1.75;

    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

/* =========================================================
   BOTONES DEL BANNER
   Mantienen proporción de los botones anteriores.
========================================================= */
.ulu-banner__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ulu-banner__btn {
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 13px 24px;

    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: 0.25s ease;
}

.ulu-banner__btn--primary {
    background: var(--blue, #0071e3);
    color: #ffffff;
}

.ulu-banner__btn--primary:hover {
    background: var(--blue-dark, #005bb5);
    transform: translateY(-1px);
}

.ulu-banner__btn--secondary {
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue, #0071e3);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.ulu-banner__btn--secondary:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

/* =========================================================
   ANIMACIONES
========================================================= */
@keyframes uluIridescentBreath {
    0% {
        opacity: 0.18;
        transform: translateX(-14%) scale(1);
    }

    100% {
        opacity: 0.36;
        transform: translateX(10%) scale(1.04);
    }
}

@keyframes uluShineSweep {
    0% {
        left: -45%;
        opacity: 0;
    }

    15% {
        opacity: 0.72;
    }

    55% {
        opacity: 0.50;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}

@keyframes uluGlowPulse {
    0% {
        opacity: 0.24;
        transform: scale(1);
    }

    100% {
        opacity: 0.54;
        transform: scale(1.03);
    }
}

/* =========================================================
   RESPONSIVE TABLET
   Igual al comportamiento del hero anterior en 1100px.
========================================================= */
@media (max-width: 1100px) {
    .ulu-banner {
        justify-content: center;
        padding: 34px 20px;
    }

    .ulu-banner__image {
        object-position: center 16%;
    }

    .ulu-banner__content {
        justify-content: center;
    }

    .ulu-banner__card {
        width: min(760px, 92%);
        margin: 0 auto;
    }
}

/* =========================================================
   RESPONSIVE MÓVIL
   Igual al comportamiento del hero anterior en 768px.
========================================================= */
@media (max-width: 768px) {
    .ulu-banner {
        min-height: var(--hero-height, 470px);
        padding: 50px 16px;
        justify-content: center;
    }

    .ulu-banner__image {
        object-position: center 18%;
    }

    .ulu-banner__content {
        justify-content: center;
    }

    .ulu-banner__card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 24px 20px;
    }

    .ulu-banner__title {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .ulu-banner__text {
        font-size: 0.98rem;
    }

    .ulu-banner__shine {
        width: 48%;
    }
}

/* =========================================================
   RESPONSIVE MUY PEQUEÑO
========================================================= */
@media (max-width: 560px) {
    .ulu-banner__image {
        object-position: center 20%;
    }

    .ulu-banner__text {
        font-size: 1rem;
    }
}

/* =========================================================
   ACCESIBILIDAD
   Si el usuario reduce movimiento, apagamos animaciones.
========================================================= */
@media (prefers-reduced-motion: reduce) {
    .ulu-banner__iridescent,
    .ulu-banner__shine,
    .ulu-banner__glow {
        animation: none !important;
    }
}