/* ==========================================================================
   Black Friday 2026 · landing + popup
   Página intrínsecamente oscura (campo de noche) en ambos temas; la pieza
   protagonista es la entrada de papel con el sello del descuento.
   ========================================================================== */

.bf26,
.bf26-popup {
    --bf-black: #000;
    --bf-night: #021a10;
    --bf-grass: #1fc58b;
    --bf-grass-hover: #4fdca8;
    --bf-mint: #8ff0c9;
    --bf-ink: #ffffff;
    --bf-muted: #a9bcb2;
    --bf-line: rgba(255, 255, 255, .12);
    --bf-paper: #f1f3ec;
    --bf-paper-ink: #0e2318;
    --bf-paper-muted: #4c6157;
    --bf-stamp: #d4231b;
    --bf-display: 'Big Shoulders Display', 'Rethink Sans', 'Arial Narrow', sans-serif;
    --bf-gutter: clamp(16px, 4vw, 40px);
    --bf-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.55'/%3E%3C/svg%3E");
    --bf-ink-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    font-family: 'Rethink Sans', sans-serif;
}

.bf26 {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    background: var(--bf-black);
    color: var(--bf-ink);
}

.bf26 *,
.bf26-popup * {
    box-sizing: border-box;
}

.bf26-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--bf-gutter);
}

.bf26-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.bf26 a:focus-visible,
.bf26 button:focus-visible,
.bf26 summary:focus-visible,
.bf26-popup a:focus-visible,
.bf26-popup button:focus-visible {
    outline: 3px solid var(--bf-mint);
    outline-offset: 3px;
}

/* ── Botón principal ─────────────────────────────────────────────────── */

.bf26-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem 1.5rem;
    border-radius: 999px;
    background: var(--bf-grass);
    color: #00170d;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -.005em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 14px 40px -12px rgba(31, 197, 139, .7);
    transition: background-color .15s ease, transform .15s ease;
}

.bf26-cta:hover {
    background: var(--bf-grass-hover);
    color: #00170d;
}

.bf26-cta:active {
    transform: translateY(1px);
}

.bf26-cta:disabled {
    cursor: not-allowed;
}

.bf26-cta--xl {
    min-height: 60px;
    padding: 1rem 2.25rem;
    font-size: 1.15rem;
}

.bf26-link {
    color: var(--bf-mint);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.bf26-link:hover {
    color: var(--bf-ink);
}

/* ── Avisos de checkout ──────────────────────────────────────────────── */

.bf26-notice {
    position: relative;
    z-index: 3;
    padding: .85rem 0;
    border-bottom: 1px solid var(--bf-line);
    background: #0b2a1c;
    color: var(--bf-ink);
    font-size: .95rem;
}

.bf26-notice--unavailable {
    background: #3a0d0a;
}

.bf26-notice p {
    margin: 0;
}

.bf26-notice a {
    color: var(--bf-ink);
    font-weight: 700;
    text-decoration: underline;
}

/* ── Hero: cabe en una pantalla ───────────────────────────────────── */

.bf26-hero {
    position: relative;
    overflow: hidden;
    padding: 1rem 0 2rem;
    background:
        radial-gradient(55% 60% at 88% -8%, rgba(222, 255, 240, .20), transparent 70%),
        radial-gradient(40% 45% at 4% -12%, rgba(222, 255, 240, .10), transparent 70%),
        linear-gradient(180deg, var(--bf-black) 0%, var(--bf-black) 38%, var(--bf-night) 100%);
}

/* Grano fino sobre el negro para que no sea un plano digital. */
.bf26-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--bf-grain);
    opacity: .09;
    mix-blend-mode: screen;
    pointer-events: none;
}

.bf26-pitch {
    position: absolute;
    inset: auto -30% -6% -30%;
    height: 78%;
    z-index: 0;
    perspective: 900px;
    perspective-origin: 50% 0%;
    -webkit-mask-image: radial-gradient(70% 90% at 50% 100%, #000 30%, transparent 78%);
    mask-image: radial-gradient(70% 90% at 50% 100%, #000 30%, transparent 78%);
    pointer-events: none;
}

.bf26-pitch-plane {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transform: rotateX(62deg);
    transform-origin: 50% 100%;
}

/* Móvil: titular, precio, CTA y cuenta atrás en la primera pantalla; la entradilla después. */
.bf26-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        'head'
        'ticket'
        'actions'
        'clock'
        'lead';
    gap: .95rem;
}

.bf26-hero-head { grid-area: head; }
.bf26-hero-ticket { grid-area: ticket; }
.bf26-hero-actions { grid-area: actions; }
.bf26-hero-clock { grid-area: clock; }

/* La sombra de la entrada no debe oscurecer el botón ni el marcador que van debajo. */
.bf26-hero-actions,
.bf26-hero-clock {
    position: relative;
    z-index: 1;
}
.bf26-hero-grid > .bf26-lead { grid-area: lead; }

@media (min-width: 960px) {
    .bf26-hero {
        display: flex;
        align-items: center;
        /* 3.5rem = cabecera fija del sitio. */
        min-height: calc(100svh - 3.5rem);
        padding: clamp(.75rem, 3vh, 3rem) 0;
    }

    .bf26-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
        grid-template-areas:
            'head ticket'
            'lead ticket'
            'actions ticket'
            'clock ticket';
        grid-template-rows: auto auto auto auto;
        column-gap: clamp(2rem, 5vw, 5rem);
        row-gap: clamp(.8rem, 2.4vh, 1.6rem);
        align-content: center;
    }

    .bf26-hero-ticket {
        align-self: center;
    }
}

.bf26-tag {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .65rem;
    margin: 0 0 .85rem;
    font-size: .95rem;
    color: var(--bf-muted);
}

.bf26-tag strong {
    padding: .2rem .55rem;
    border-radius: 4px;
    background: var(--bf-ink);
    color: var(--bf-black);
    font-weight: 800;
}

.bf26-title {
    margin: 0;
    max-width: 12ch;
    font-family: var(--bf-display);
    font-weight: 900;
    /* Escala con el ancho y con el alto para que el hero quepa en pantallas bajas. */
    font-size: clamp(2.75rem, min(6.8vw, 10.5vh), 6rem);
    line-height: .86;
    letter-spacing: -.012em;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--bf-ink);
}

.bf26-lead {
    max-width: 34rem;
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.55;
    color: #d7e3dd;
}

.bf26-cta-note {
    max-width: 30rem;
    margin: .6rem 0 0;
    font-size: .9rem;
    line-height: 1.45;
    color: var(--bf-muted);
}

.bf26-premium {
    max-width: 30rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(143, 240, 201, .35);
    border-radius: 12px;
    background: rgba(31, 197, 139, .08);
}

.bf26-premium p {
    margin: 0 0 .5rem;
    color: #d7e3dd;
    line-height: 1.5;
}

.bf26-premium .bf26-premium-title {
    color: var(--bf-ink);
    font-weight: 800;
    font-size: 1.05rem;
}

.bf26-premium-title i {
    color: var(--bf-grass);
}

@media (max-width: 959px) {
    .bf26-hero-actions .bf26-cta {
        width: 100%;
        min-height: 54px;
        padding: .8rem 1.5rem;
    }

    .bf26-hero-grid > .bf26-lead {
        margin-top: .5rem;
    }
}

/* ── Marcador: tiempo de descuento ───────────────────────────────────── */

.bf26-clock {
    margin: 0;
}

.bf26-clock-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .7rem;
    font-weight: 700;
    font-size: .95rem;
    color: var(--bf-ink);
}

.bf26-clock-dot {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--bf-stamp);
    box-shadow: 0 0 0 3px rgba(212, 35, 27, .25);
}

.bf26-clock-board {
    display: inline-grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 10px;
    background: #0c0f0e;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 20px 40px -20px rgba(0, 0, 0, .9);
}

.bf26-clock-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 4.4rem;
    padding: .55rem .5rem .45rem;
    border-radius: 6px;
    background: #050706;
    overflow: hidden;
}

/* Matriz de LEDs del videomarcador. */
.bf26-clock-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, transparent 0 1px, rgba(0, 0, 0, .55) 1.4px);
    background-size: 4px 4px;
    pointer-events: none;
}

.bf26-clock-digits {
    font-family: var(--bf-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 4.8vh, 2.8rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #f6fff9;
    text-shadow: 0 0 14px rgba(143, 240, 201, .55);
}

.bf26-clock-label {
    margin-top: .25rem;
    font-size: .74rem;
    font-weight: 600;
    color: var(--bf-muted);
}

.bf26-clock-ended {
    display: none;
    margin: .6rem 0 0;
    font-weight: 700;
    color: var(--bf-ink);
}

.bf26-clock.is-ended .bf26-clock-board {
    opacity: .45;
}

.bf26-clock.is-ended .bf26-clock-ended {
    display: block;
}

.bf26-clock--compact {
    margin-top: 0;
}

.bf26-clock--compact .bf26-clock-cell {
    min-width: 3.4rem;
    padding: .4rem .35rem .35rem;
}

.bf26-clock--compact .bf26-clock-digits {
    font-size: 2rem;
}

.bf26-clock--compact .bf26-clock-label {
    font-size: .68rem;
}

/* ── La entrada ───────────────────────────────────────────────────────── */

.bf26-hero-ticket {
    display: flex;
    justify-content: center;
    padding: .35rem 0;
}

@media (min-width: 960px) {
    .bf26-hero-ticket .bf26-ticket {
        width: min(100%, 430px, 58vh);
    }
}

.bf26-ticket {
    --stub: 108px;
    --notch: 15px;
    position: relative;
    width: min(100%, 430px);
    container-type: inline-size;
    color: var(--bf-paper-ink);
    transform: rotate(-3.5deg);
    /* La sombra va en el contenedor: la máscara de las muescas recortaría un filtro propio. */
    filter: drop-shadow(0 42px 50px rgba(0, 0, 0, .75)) drop-shadow(0 0 1px rgba(255, 255, 255, .25));
    animation: bf26-ticket-in .8s cubic-bezier(.2, .8, .2, 1) both;
}

.bf26-ticket-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--stub);
    border-radius: 16px;
    background-color: var(--bf-paper);
    /* Fondo de seguridad tipo guilloché, muy tenue. */
    background-image:
        repeating-radial-gradient(circle at 0 115%, transparent 0 9px, rgba(8, 122, 85, .085) 9px 10px),
        repeating-radial-gradient(circle at 115% -10%, transparent 0 13px, rgba(8, 122, 85, .06) 13px 14px);
    -webkit-mask:
        radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat,
        radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
    mask:
        radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat,
        radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
}

.bf26-ticket-main {
    position: relative;
    padding: 1.6rem 1.6rem 1.4rem;
}

.bf26-ticket-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .85rem;
    border-bottom: 2px solid var(--bf-paper-ink);
}

.bf26-ticket-brand {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -.02em;
}

.bf26-ticket-brand b {
    color: #087a55;
    font-weight: 800;
}

.bf26-ticket-kind {
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 700;
    color: var(--bf-paper-muted);
}

.bf26-ticket-plan {
    margin: 1rem 0 0;
    font-family: var(--bf-display);
    font-weight: 800;
    font-size: 2.1rem;
    line-height: 1;
    text-transform: uppercase;
}

.bf26-ticket-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: .9rem;
}

.bf26-ticket-old {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bf-paper-muted);
    text-decoration-thickness: 2px;
    text-decoration-color: var(--bf-stamp);
}

.bf26-ticket-new {
    white-space: nowrap;
    font-family: var(--bf-display);
    font-weight: 900;
    font-size: clamp(2.6rem, 16cqi, 4.6rem);
    line-height: .9;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}

.bf26-ticket-new small {
    margin-left: .35rem;
    font-family: 'Rethink Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--bf-paper-muted);
}

.bf26-ticket-monthly {
    margin-top: .5rem;
    font-size: .95rem;
    font-weight: 700;
    color: #087a55;
}

.bf26-ticket-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 1.3rem 0 0;
    border-top: 1px solid rgba(14, 35, 24, .22);
}

.bf26-ticket-fields > div {
    padding: .7rem .6rem 0 0;
}

.bf26-ticket-fields > div + div {
    padding-left: .7rem;
    border-left: 1px solid rgba(14, 35, 24, .22);
}

.bf26-ticket-fields dt {
    font-size: .74rem;
    font-weight: 600;
    color: var(--bf-paper-muted);
}

.bf26-ticket-fields dd {
    margin: .15rem 0 0;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.25;
}

/* Sello de tinta: la única nota roja de la página. */
.bf26-stamp {
    position: absolute;
    top: 3.7rem;
    right: 1rem;
    padding: .2rem .7rem .1rem;
    border: 4px solid currentColor;
    border-radius: 10px;
    color: var(--bf-stamp);
    font-family: var(--bf-display);
    font-weight: 900;
    font-size: 2.75rem;
    line-height: 1;
    white-space: nowrap;
    transform: rotate(-14deg);
    mix-blend-mode: multiply;
    opacity: .92;
    -webkit-mask-image: var(--bf-ink-mask);
    mask-image: var(--bf-ink-mask);
    -webkit-mask-size: 220px 220px;
    mask-size: 220px 220px;
    animation: bf26-stamp-in .38s cubic-bezier(.3, 1.4, .5, 1) .55s both;
}

.bf26-stamp::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1.5px solid currentColor;
    border-radius: 5px;
}

.bf26-ticket-stub {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1.4rem .5rem;
    border-left: 2px dashed rgba(14, 35, 24, .32);
}

.bf26-ticket-stub-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--bf-display);
    font-weight: 900;
    font-size: 1.85rem;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.bf26-ticket-barcode {
    flex: 1;
    width: 54px;
    min-height: 70px;
    max-height: 120px;
    background: repeating-linear-gradient(0deg,
        var(--bf-paper-ink) 0 2px, transparent 2px 4px,
        var(--bf-paper-ink) 4px 5px, transparent 5px 8px,
        var(--bf-paper-ink) 8px 11px, transparent 11px 12px,
        var(--bf-paper-ink) 12px 13px, transparent 13px 17px);
    opacity: .85;
}

.bf26-ticket-serial {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: .72rem;
    font-weight: 700;
    color: var(--bf-paper-muted);
    font-variant-numeric: tabular-nums;
}

@keyframes bf26-ticket-in {
    from {
        opacity: 0;
        transform: translateY(36px) rotate(-9deg);
    }
}

@keyframes bf26-stamp-in {
    from {
        opacity: 0;
        transform: rotate(-24deg) scale(1.9);
    }
    70% {
        opacity: .95;
    }
}

@media (max-width: 520px) {
    .bf26-ticket {
        --stub: 76px;
        --notch: 12px;
        transform: rotate(-2deg);
    }

    .bf26-ticket-main {
        padding: 1.25rem 1.1rem 1.15rem;
    }

    .bf26-ticket-stub-label {
        font-size: 1.25rem;
    }

    .bf26-ticket-barcode {
        width: 40px;
    }

    .bf26-stamp {
        font-size: 2.3rem;
        right: .2rem;
    }

    .bf26-ticket-fields,
    .bf26-ticket-serial {
        display: none;
    }

    /* El talón no debe marcar la altura de la entrada en móvil. */
    .bf26-ticket-stub {
        padding: 1rem .4rem;
    }

    .bf26-ticket-barcode {
        min-height: 36px;
    }

    .bf26-ticket-plan {
        margin-top: .7rem;
        font-size: 1.6rem;
    }

    .bf26-stamp {
        top: 3.1rem;
    }
}

/* ── Secciones ───────────────────────────────────────────────────────── */

.bf26-section {
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
    border-top: 1px solid var(--bf-line);
}

.bf26-section-head {
    max-width: 40rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bf26-section-head h2 {
    margin: 0;
    font-family: var(--bf-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    line-height: .95;
    letter-spacing: -.005em;
    color: var(--bf-ink);
    text-wrap: balance;
}

.bf26-section-head p {
    margin: 1rem 0 0;
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--bf-muted);
}

/* ── Qué incluye: todo a la vista ─────────────────────────────────── */

.bf26-bento {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.bf26-shot {
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #06100b;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 30px 60px -40px rgba(0, 0, 0, .9);
}

.bf26-shot-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.bf26-shot-media img {
    display: block;
    width: 100%;
    height: 100%;
    /* Recorte desde la esquina superior izquierda: amplía la parte con datos. */
    object-fit: cover;
    object-position: left top;
}

.bf26-shot-media--portrait {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: radial-gradient(60% 70% at 50% 45%, rgba(31, 197, 139, .22), transparent 70%), #06100b;
}

.bf26-shot-media--portrait img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.bf26-shot figcaption {
    padding: 1rem 1.15rem 1.2rem;
}

.bf26-shot h3 {
    margin: 0;
    font-family: var(--bf-display);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.05;
    color: var(--bf-ink);
}

.bf26-shot p {
    margin: .4rem 0 0;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--bf-muted);
}

@media (min-width: 700px) {
    .bf26-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bf26-shot--player {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .bf26-bento {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .bf26-shot--player { grid-column: span 7; }
    .bf26-shot--trends { grid-column: span 5; }
    .bf26-shot--team { grid-column: span 5; }
    .bf26-shot--referees { grid-column: span 4; }
    .bf26-shot--alerts { grid-column: span 3; }

    /* Misma altura de imagen por fila para que los pies queden alineados. */
    .bf26-shot-media {
        aspect-ratio: auto;
        height: clamp(220px, 21vw, 290px);
    }

    .bf26-shot--team .bf26-shot-media,
    .bf26-shot--referees .bf26-shot-media,
    .bf26-shot--alerts .bf26-shot-media {
        height: clamp(180px, 16vw, 220px);
    }

    .bf26-shot-media--portrait img {
        height: 100%;
    }
}

.bf26-more-title {
    margin: clamp(2.5rem, 5vw, 3.5rem) 0 .5rem;
    font-family: var(--bf-display);
    font-weight: 800;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--bf-ink);
}

.bf26-more {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .bf26-more {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .bf26-more {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.bf26-more li {
    display: flex;
    gap: .85rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--bf-line);
}

.bf26-more-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px rgba(31, 197, 139, .55);
    color: var(--bf-grass);
    font-size: .95rem;
}

.bf26-yellow-card {
    display: block;
    width: .68rem;
    height: .95rem;
    border-radius: 2px;
    background: #facc15;
    transform: rotate(10deg);
}

.bf26-more h4 {
    margin: .1rem 0 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--bf-ink);
}

.bf26-more p {
    margin: .25rem 0 0;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--bf-muted);
}

/* ── Las cuentas ──────────────────────────────────────────────────────── */

.bf26-maths {
    background: linear-gradient(180deg, var(--bf-black), #03100a);
}

@media (min-width: 960px) {
    .bf26-maths-grid {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: clamp(2rem, 5vw, 4.5rem);
        align-items: center;
    }

    .bf26-maths-grid .bf26-section-head {
        margin-bottom: 0;
    }
}

.bf26-bars {
    display: grid;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bf26-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        'label amount'
        'track track';
    gap: .55rem 1rem;
    align-items: end;
}

.bf26-bar-label {
    grid-area: label;
    display: flex;
    flex-direction: column;
    font-weight: 700;
    color: var(--bf-ink);
}

.bf26-bar-label small {
    font-size: .85rem;
    font-weight: 500;
    color: var(--bf-muted);
}

.bf26-bar-amount {
    grid-area: amount;
    font-family: var(--bf-display);
    font-weight: 800;
    font-size: 1.9rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--bf-muted);
}

.bf26-bar-track {
    grid-area: track;
    height: 14px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .06);
}

.bf26-bar-fill {
    display: block;
    width: calc(var(--bf26-bar) * 100%);
    height: 100%;
    border-radius: 3px;
    background: rgba(255, 255, 255, .28);
}

.bf26-bar--offer .bf26-bar-track {
    height: 22px;
}

.bf26-bar--offer .bf26-bar-fill {
    background: var(--bf-grass);
    box-shadow: 0 0 30px rgba(31, 197, 139, .45);
}

.bf26-bar--offer .bf26-bar-amount {
    font-size: 2.6rem;
    color: var(--bf-ink);
}

/* ── Cómo funciona ────────────────────────────────────────────────────── */

.bf26-steps-list {
    position: relative;
    display: grid;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

@media (min-width: 760px) {
    .bf26-steps-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }

    /* Línea de banda que une los pasos. */
    .bf26-steps-list::before {
        content: '';
        position: absolute;
        top: 1.4rem;
        left: 1.4rem;
        right: 1.4rem;
        height: 2px;
        background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 10px, transparent 10px 18px);
    }
}

.bf26-steps-list li {
    position: relative;
}

.bf26-step-number {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: var(--bf-black);
    box-shadow: 0 0 0 2px var(--bf-grass) inset;
    font-family: var(--bf-display);
    font-weight: 900;
    font-size: 1.45rem;
    color: var(--bf-ink);
}

.bf26-steps-list h3 {
    margin: 1rem 0 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--bf-ink);
}

.bf26-steps-list p {
    margin: .45rem 0 0;
    line-height: 1.55;
    color: var(--bf-muted);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

@media (min-width: 960px) {
    .bf26-faq-grid {
        display: grid;
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        gap: clamp(2rem, 5vw, 4.5rem);
        align-items: start;
    }
}

.bf26-faq-list {
    border-top: 1px solid var(--bf-line);
}

.bf26-faq-item {
    border-bottom: 1px solid var(--bf-line);
}

.bf26-faq-item summary {
    position: relative;
    display: block;
    padding: 1.15rem 2.5rem 1.15rem 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--bf-ink);
    cursor: pointer;
    list-style: none;
}

.bf26-faq-item summary::-webkit-details-marker {
    display: none;
}

.bf26-faq-item summary::after {
    content: '';
    position: absolute;
    right: .35rem;
    top: 50%;
    width: .75rem;
    height: .75rem;
    margin-top: -.5rem;
    border-right: 2px solid var(--bf-mint);
    border-bottom: 2px solid var(--bf-mint);
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.bf26-faq-item[open] summary::after {
    margin-top: -.15rem;
    transform: rotate(-135deg);
}

.bf26-faq-item p {
    max-width: 42rem;
    margin: 0;
    padding: 0 0 1.3rem;
    line-height: 1.6;
    color: var(--bf-muted);
}

/* ── Cierre ───────────────────────────────────────────────────────────── */

.bf26-final {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    border-top: 1px solid var(--bf-line);
    background:
        radial-gradient(50% 80% at 50% 120%, rgba(31, 197, 139, .28), transparent 70%),
        var(--bf-black);
}

.bf26-final-inner {
    display: grid;
    gap: 2rem;
    justify-items: start;
}

@media (min-width: 960px) {
    .bf26-final-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 3rem;
    }
}

.bf26-final h2 {
    margin: 0;
    max-width: 16ch;
    font-family: var(--bf-display);
    font-weight: 900;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: .92;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--bf-ink);
}

.bf26-final-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

/* ── Barra fija en móvil ──────────────────────────────────────────────── */

.bf26-sticky {
    display: none;
}

@media (max-width: 767px) {
    .bf26-sticky {
        position: fixed;
        left: 10px;
        right: 10px;
        /* Encima de la barra de navegación móvil (4.25rem, definida en mobile-app-nav.css). */
        bottom: calc(4.25rem + env(safe-area-inset-bottom) + 10px);
        z-index: 48;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        padding: .6rem .6rem .6rem 1rem;
        border-radius: 14px;
        background: rgba(0, 0, 0, .92);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 18px 40px rgba(0, 0, 0, .5);
        backdrop-filter: blur(12px);
        color: var(--bf-ink);
        transform: translateY(calc(100% + 30px));
        opacity: 0;
        pointer-events: none;
        transition: transform .25s ease, opacity .25s ease;
    }

    .bf26-sticky.is-visible {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .bf26-sticky-price {
        min-width: 0;
        font-size: .9rem;
        font-weight: 800;
        line-height: 1.25;
    }

    .bf26-sticky-price del {
        display: block;
        font-size: .78rem;
        font-weight: 600;
        color: var(--bf-muted);
    }

    .bf26-sticky .bf26-cta {
        min-height: 44px;
        padding: .6rem 1.1rem;
        font-size: .95rem;
    }

    /* Marcador compacto en móvil: título a la izquierda, dígitos a la derecha. */
    .bf26-hero-clock .bf26-clock {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
    }

    .bf26-hero-clock .bf26-clock-title {
        flex: 0 1 6rem;
        margin: 0;
        line-height: 1.2;
    }

    .bf26-clock-cell {
        min-width: 0;
        padding: .35rem .3rem .3rem;
    }

    .bf26-clock-board {
        display: grid;
        flex: 1;
        width: 100%;
        max-width: 16rem;
        gap: 4px;
        padding: 4px;
    }

    .bf26-clock-digits {
        font-size: 1.75rem;
    }

    .bf26-clock-label {
        margin-top: .1rem;
        font-size: .66rem;
    }
}

/* ==========================================================================
   Popup (?show-black=1)
   ========================================================================== */

.bf26-popup {
    position: fixed;
    inset: 0;
    z-index: 100;
    overflow-y: auto;
    color: var(--bf-ink);
}

.bf26-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(6px);
}

.bf26-popup-frame {
    position: relative;
    display: flex;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.bf26-popup-panel {
    position: relative;
    width: min(100%, 860px);
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(70% 80% at 100% 0%, rgba(222, 255, 240, .16), transparent 65%),
        linear-gradient(180deg, var(--bf-black) 40%, var(--bf-night));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 40px 100px rgba(0, 0, 0, .7);
}

.bf26-popup-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bf-grain);
    opacity: .08;
    mix-blend-mode: screen;
    pointer-events: none;
}

.bf26-popup-grid {
    position: relative;
    display: grid;
    gap: 1.75rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
}

@media (min-width: 760px) {
    .bf26-popup-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
        align-items: center;
        gap: 2.25rem;
    }
}

.bf26-popup-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--bf-ink);
    cursor: pointer;
    transition: background-color .15s ease;
}

.bf26-popup-close:hover {
    background: rgba(255, 255, 255, .18);
}

.bf26-popup .bf26-tag {
    margin-bottom: 1rem;
}

.bf26-popup-title {
    margin: 0;
    padding-right: 2.5rem;
    font-family: var(--bf-display);
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    line-height: .9;
    text-transform: uppercase;
    text-wrap: balance;
}

.bf26-popup-text {
    margin: 1rem 0 0;
    max-width: 30rem;
    line-height: 1.55;
    color: #d7e3dd;
}

.bf26-popup .bf26-clock {
    margin-top: 1.4rem;
}

.bf26-popup-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.25rem;
    margin-top: 1.6rem;
}

.bf26-popup-dismiss {
    padding: .5rem 0;
    border: 0;
    background: none;
    color: var(--bf-muted);
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.bf26-popup-dismiss:hover {
    color: var(--bf-ink);
}

.bf26-popup .bf26-ticket {
    width: 100%;
    transform: rotate(3deg);
}

.bf26-ticket--compact {
    --stub: 84px;
}

.bf26-ticket--compact .bf26-ticket-main {
    padding: 1.2rem 1.1rem 1.15rem;
}

.bf26-ticket--compact .bf26-ticket-brand {
    font-size: 1rem;
}

.bf26-ticket--compact .bf26-ticket-kind {
    font-size: .72rem;
}

.bf26-ticket--compact .bf26-ticket-stub-label {
    font-size: 1.5rem;
}

.bf26-ticket--compact .bf26-ticket-plan {
    font-size: 1.6rem;
}

.bf26-ticket--compact .bf26-ticket-new {
    font-size: 3.2rem;
}

.bf26-ticket--compact .bf26-stamp {
    top: 2.9rem;
    right: .6rem;
    font-size: 2.1rem;
}

@media (max-width: 759px) {
    .bf26-popup-grid {
        padding-top: 3.5rem;
    }

    .bf26-popup-ticket {
        order: -1;
        width: 100%;
        max-width: 270px;
        margin: 0 auto;
    }

    .bf26-popup .bf26-ticket--compact .bf26-ticket-new {
        font-size: 2.7rem;
    }

    .bf26-popup .bf26-ticket--compact .bf26-ticket-plan {
        font-size: 1.35rem;
    }

    .bf26-popup .bf26-ticket--compact .bf26-stamp {
        top: 3.1rem;
        right: .3rem;
        font-size: 1.5rem;
        border-width: 3px;
    }

    .bf26-popup .bf26-clock {
        display: none;
    }
}

.bf26-popup[hidden] {
    display: none;
}

/* ── Movimiento reducido ─────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .bf26-ticket,
    .bf26-stamp {
        animation: none;
    }

    .bf26-sticky,
    .bf26-faq-item summary::after,
    .bf26-cta {
        transition: none;
    }
}
