/* ============================================================
   /Promociones (Promo Navidad) — encabezado festivo, 02-12-2026.
   Mantiene la base courses2-hero; solo agrega ambiente navideño:
   luces de colores difuminadas (mismos colores del logo), brillo
   dorado tras el logo, título con remate dorado y aviso de vigencia
   en cápsula con los días que quedan.
   ============================================================ */

.promociones-hero {
    padding: 72px 0 84px;
    background:
        radial-gradient(ellipse 60% 55% at 50% 30%, rgba(255, 196, 61, .16), transparent 70%),
        linear-gradient(160deg, #04131f 0%, #072a40 55%, #0b3a55 100%);
}

/* Luces navideñas desenfocadas (bokeh) repartidas por el fondo. */
.promociones-hero__luces {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 22%, rgba(255, 66, 66, .55) 0 6px, rgba(255, 66, 66, .12) 7px 38px, transparent 60px),
        radial-gradient(circle at 18% 78%, rgba(255, 205, 64, .5) 0 5px, rgba(255, 205, 64, .1) 6px 34px, transparent 56px),
        radial-gradient(circle at 30% 12%, rgba(52, 211, 104, .45) 0 4px, rgba(52, 211, 104, .1) 5px 28px, transparent 46px),
        radial-gradient(circle at 72% 10%, rgba(64, 140, 255, .5) 0 5px, rgba(64, 140, 255, .1) 6px 32px, transparent 52px),
        radial-gradient(circle at 88% 30%, rgba(255, 205, 64, .5) 0 6px, rgba(255, 205, 64, .12) 7px 40px, transparent 62px),
        radial-gradient(circle at 93% 76%, rgba(255, 66, 66, .5) 0 5px, rgba(255, 66, 66, .1) 6px 34px, transparent 56px),
        radial-gradient(circle at 80% 88%, rgba(52, 211, 104, .4) 0 4px, rgba(52, 211, 104, .08) 5px 26px, transparent 44px),
        radial-gradient(circle at 4% 56%, rgba(64, 140, 255, .4) 0 4px, rgba(64, 140, 255, .08) 5px 26px, transparent 44px);
    filter: blur(1.5px);
    animation: promociones-titilar 4s ease-in-out infinite alternate;
}

@keyframes promociones-titilar {
    from { opacity: .65; }
    to { opacity: 1; }
}

.promociones-logo {
    display: block;
    width: min(100%, 500px);
    height: auto;
    margin: 0 auto 26px;
    filter: drop-shadow(0 10px 28px rgba(255, 170, 40, .35));
    animation: promociones-flotar 5s ease-in-out infinite;
}

@keyframes promociones-flotar {
    0%, 100% { transform: translateY(0) rotate(-1.5deg); }
    50% { transform: translateY(-6px) rotate(-1.5deg); }
}

/* Título: más contenido para que el logo mande; remate en dorado. */
.promociones-hero h1 {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.promociones-hero h1 .promociones-hero__dorado {
    display: inline-block; /* «por tiempo limitado» no se parte entre líneas */
    background: linear-gradient(90deg, #ffe27a, #ffb21a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Vigencia: cápsula con reloj, fecha subrayada y días que quedan. */
p.promociones-vigencia {
    display: inline-flex;
    max-width: 100%;
    margin: 24px auto 0;
    padding: 9px 10px 9px 18px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    border: 1.5px solid rgba(255, 213, 74, .55);
    border-radius: 999px;
    background: rgba(255, 213, 74, .08);
    color: #ffe9a8;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.promociones-vigencia .fa {
    color: #ffd54a;
    font-size: 17px;
}

.promociones-vigencia u {
    color: #ffd54a;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.promociones-vigencia__dias {
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e8312f, #c41d1d);
    box-shadow: 0 0 14px rgba(232, 49, 47, .45);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}

@media (max-width: 767px) {
    .promociones-hero {
        padding: 52px 0 60px;
    }

    .promociones-logo {
        width: min(100%, 340px);
        margin-bottom: 20px;
    }

    .promociones-hero h1 {
        font-size: 28px;
    }

    p.promociones-vigencia {
        padding: 10px 14px;
        border-radius: 18px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promociones-hero__luces,
    .promociones-logo {
        animation: none;
    }
}

/* ============================================================
   02-12-2026 (pedido del dueño): regalo de la membresía antes de los
   cursos. Tarjetas de oferta horizontales: regalo dorado con gorrito
   (mismo lenguaje que la cinta de Membresía), plan, precio, lo que
   equivale al mes y botón. Guirnalda LED fina en el borde superior.
   ============================================================ */
.promo-mb {
    max-width: 1080px;
    margin: 0 auto 44px;
}

.promo-mb__cabecera {
    margin-bottom: 26px;
    text-align: center;
}

.promo-mb__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(229, 20, 31, .1);
    color: #c8161d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.promo-mb__cabecera h2 {
    margin: 0;
    color: var(--landing-fg, #003450);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.promo-mb__cabecera h2 span {
    color: #d98a00;
}

.promo-mb__sub {
    margin: 8px 0 0;
    color: var(--landing-fg-soft, #4b6475);
    font-size: 14px;
}

.promo-mb__sub strong {
    color: var(--landing-fg, #003450);
    font-weight: 700;
}

.promo-mb__planes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 20px;
}

/* Tarjeta: regalo | plan | precio | botón */
.promo-mb__plan {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    grid-template-areas:
        "regalo info precio"
        "regalo info boton";
    align-items: center;
    gap: 6px 18px;
    padding: 24px 20px 18px;
    border: 1.5px solid #f0d58f;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 34px -22px rgba(0, 52, 80, .45);
}

.promo-mb__plan--rec {
    border-color: #e5b53a;
    box-shadow: 0 18px 38px -20px rgba(214, 140, 0, .55);
}

.promo-mb__flag {
    position: absolute;
    top: -11px;
    right: 22px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #0FEFD9;
    color: #003450;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Guirnalda: cable fino y focos pequeños a lo largo del borde superior. */
.promo-mb__luces,
.promo-mb__luces::after {
    position: absolute;
    top: 6px;
    left: 18px;
    right: 18px;
    height: 8px;
    pointer-events: none;
}

.promo-mb__luces {
    background:
        radial-gradient(circle, #ff3b3b 0 2.5px, rgba(255, 59, 59, .3) 3.5px, transparent 5px) 0 0 / 72px 8px repeat-x,
        radial-gradient(circle, #20c95c 0 2.5px, rgba(32, 201, 92, .3) 3.5px, transparent 5px) 18px 0 / 72px 8px repeat-x,
        linear-gradient(rgba(46, 92, 60, .35), rgba(46, 92, 60, .35)) 0 3px / 100% 1px no-repeat;
    animation: promo-mb-led 1.8s ease-in-out infinite alternate;
}

.promo-mb__luces::after {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    background:
        radial-gradient(circle, #ffc21a 0 2.5px, rgba(255, 194, 26, .3) 3.5px, transparent 5px) 36px 0 / 72px 8px repeat-x,
        radial-gradient(circle, #2f8bff 0 2.5px, rgba(47, 139, 255, .3) 3.5px, transparent 5px) 54px 0 / 72px 8px repeat-x;
    animation: promo-mb-led 1.8s ease-in-out .9s infinite alternate;
}

@keyframes promo-mb-led {
    from { opacity: .55; }
    to { opacity: 1; }
}

/* Regalo: mismo dorado, rojo y marco punteado que la cinta de Membresía; el gorrito va encima. */
.promo-mb__regalo {
    position: relative;
    grid-area: regalo;
    display: grid;
    place-content: center;
    justify-items: center;
    width: 92px;
    height: 92px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffe27a 0%, #ffc531 55%, #ffad14 100%);
    box-shadow: 0 8px 18px -10px rgba(214, 120, 0, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .45);
    text-align: center;
}

.promo-mb__regalo::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 4px;
    border: 1.5px dashed rgba(166, 26, 18, .35);
    border-radius: 11px;
    pointer-events: none;
}

.promo-mb__gorro {
    position: absolute;
    z-index: 2;
    top: -22px;
    left: -16px;
    width: 50px;
    height: auto;
    transform: rotate(-20deg);
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3));
    pointer-events: none;
}

.promo-mb__regalo strong {
    color: #b3130f;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.03em;
}

.promo-mb__regalo span {
    margin-top: 3px;
    color: #8a1a0c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.15;
    text-transform: uppercase;
}

.promo-mb__info {
    grid-area: info;
    min-width: 0;
}

.promo-mb__tier {
    margin: 0 0 2px;
    color: #94a3b0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.promo-mb__nombre {
    margin: 0;
    color: var(--landing-fg, #003450);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.2;
    text-align: left;
}

.promo-mb__acceso {
    margin: 6px 0 0;
    white-space: nowrap; /* 02-12-2026: en una sola línea */
    color: var(--landing-fg-soft, #4b6475);
    font-size: 13px;
    line-height: 1.35;
}

.promo-mb__acceso strong {
    color: #c8161d;
    font-weight: 800;
}

.promo-mb__precio {
    grid-area: precio;
    display: grid;
    justify-items: end;
    text-align: right;
}

.promo-mb__precio s {
    color: #94a3b0;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration-color: #e5141f;
    text-decoration-thickness: 1.5px;
}

.promo-mb__precio b {
    white-space: nowrap;
    color: var(--landing-fg, #003450);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.05;
}

.promo-mb__precio small {
    white-space: nowrap;
    margin-top: 2px;
    color: var(--landing-fg-soft, #4b6475);
    font-size: 11.5px;
    font-weight: 600;
}

.promo-mb__btn {
    grid-area: boton;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    background: linear-gradient(90deg, #0FEFD9, #73f4e5);
    color: #001f30;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .16s ease;
}

.promo-mb__btn:hover,
.promo-mb__btn:focus-visible {
    color: #001f30;
    text-decoration: none;
    transform: translateY(-1px);
}

.promo-mb__plan:not(.promo-mb__plan--rec) .promo-mb__btn {
    background: #003450;
    color: #fff;
}

.promo-mb__cursos {
    margin: 0 0 22px;
    color: var(--landing-fg, #003450);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 900;
    letter-spacing: -.02em;
    text-align: center;
}

/* Modo oscuro */
html.dark .promo-mb__plan, .promociones-hero .promo-mb__plan {
    border-color: rgba(255, 196, 61, .45);
    background: linear-gradient(120deg, #06243a 0%, #0b3552 100%);
    box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .7);
}

html.dark .promo-mb__plan--rec, .promociones-hero .promo-mb__plan--rec {
    border-color: rgba(255, 196, 61, .8);
}

html.dark .promo-mb__eyebrow, .promociones-hero .promo-mb__eyebrow {
    background: rgba(255, 77, 77, .14);
    color: #ff8a8a;
}

html.dark .promo-mb__cabecera h2 span, .promociones-hero .promo-mb__cabecera h2 span {
    color: #ffc531;
}

html.dark .promo-mb__cabecera h2, .promociones-hero .promo-mb__cabecera h2,
html.dark .promo-mb__nombre, .promociones-hero .promo-mb__nombre,
html.dark .promo-mb__precio b, .promociones-hero .promo-mb__precio b,
html.dark .promo-mb__sub strong, .promociones-hero .promo-mb__sub strong,
html.dark .promo-mb__cursos, .promociones-hero .promo-mb__cursos {
    color: #fff;
}

html.dark .promo-mb__sub, .promociones-hero .promo-mb__sub,
html.dark .promo-mb__acceso, .promociones-hero .promo-mb__acceso,
html.dark .promo-mb__precio small, .promociones-hero .promo-mb__precio small {
    color: rgba(217, 252, 245, .75);
}

html.dark .promo-mb__acceso strong, .promociones-hero .promo-mb__acceso strong {
    color: #ffc531;
}

html.dark .promo-mb__plan:not(.promo-mb__plan--rec) .promo-mb__btn, .promociones-hero .promo-mb__plan:not(.promo-mb__plan--rec) .promo-mb__btn {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25);
}

/* Celular: regalo + plan arriba, precio + botón abajo. */
@media (max-width: 767px) {
    .promo-mb {
        margin-bottom: 34px;
    }

    .promo-mb__planes {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .promo-mb__plan {
        grid-template-columns: 78px minmax(0, 1fr) auto;
        grid-template-areas:
            "regalo info info"
            "precio precio boton";
        gap: 14px 14px;
        padding: 22px 16px 16px;
    }

    .promo-mb__regalo {
        width: 78px;
        height: 78px;
    }

    .promo-mb__regalo strong {
        font-size: 28px;
    }

    .promo-mb__regalo span {
        font-size: 9px;
    }

    .promo-mb__gorro {
        top: -19px;
        left: -13px;
        width: 42px;
    }

    .promo-mb__nombre {
        font-size: 18px;
    }

    .promo-mb__precio {
        justify-items: start;
        text-align: left;
    }

    .promo-mb__btn {
        align-self: end;
        margin-top: 0;
        padding: 10px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-mb__luces,
    .promo-mb__luces::after {
        animation: none;
    }
}

/* 02-12-2026 (pedido del dueño): el bloque va en el encabezado, entre el logo y el título de los cursos. */
.promociones-hero .courses2-hero__content {
    max-width: 1080px;
}

.promociones-hero .promo-mb {
    margin: 0 auto;
    text-align: left;
}

.promociones-hero .promo-mb__cabecera {
    text-align: center;
}

.promociones-hero .promo-mb__cabecera h2 {
    font-size: clamp(20px, 2vw, 26px);
}

/* 02-12-2026 (pedido del dueño): título de los cursos y vigencia en su propio bloque, sobre el fondo de la página. */
.promociones-cursos {
    margin: 0 auto 36px;
    text-align: center;
}

.promociones-cursos__titulo {
    margin: 0;
    color: var(--landing-fg, #003450);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.1;
}

.promociones-cursos__titulo span {
    display: inline-block;
    color: #d98a00;
}

html.dark .promociones-cursos__titulo span {
    background: linear-gradient(90deg, #ffe27a, #ffb21a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Cápsula de vigencia en fondo claro (en oscuro conserva los colores dorados de arriba). */
html:not(.dark) .promociones-cursos p.promociones-vigencia {
    border-color: rgba(214, 140, 0, .45);
    background: #fff7e0;
    color: #6b3a00;
}

html:not(.dark) .promociones-cursos .promociones-vigencia .fa,
html:not(.dark) .promociones-cursos .promociones-vigencia u {
    color: #b36b00;
}

@media (max-width: 767px) {
    .promociones-cursos {
        margin-bottom: 26px;
    }

    .promociones-cursos__titulo {
        font-size: 26px;
    }
}
