/* =====================================================================
   Black Friday 2026 · packs de americanas (26-nov-2026, v2 «espectacular»)
   Página /black-friday + pastilla y banner de la portada (.hz-hero-bf, .bfp).
   assets/js/black-friday.js los muestra/oculta según la fecha (venta 27–30 nov, hora de Madrid).
   Todo el movimiento se apaga con «reducir movimiento».
   ===================================================================== */
:root { --bf-ink: #030303; --bf-orange: #ff8c38; --bf-orange-2: #ffb066; --bf-hot: #ff5a1f; --bf-blue: #2b86ff;
  --bf-txt: #c9d1e0; --bf-mut: #8b93a6; }
@property --bf-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ---------------- página ---------------- */
.bf { background: var(--bf-ink); color: var(--bf-txt); overflow: hidden; }
.bf section, .bf .bf-packs { content-visibility: visible !important; }   /* styles.css pone content-visibility:auto y recorta lo que sobresale */
.bf .bf-hero { z-index: 1 !important; }
.bf .bf-packs { z-index: 2 !important; }

/* héroe */
.bf-hero { position: relative; padding: 150px 5% 175px; text-align: center; isolation: isolate; overflow: hidden; }
.bf-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(55% 50% at 50% 30%, rgba(255,110,40,.30), transparent 70%),
              radial-gradient(35% 35% at 12% 85%, rgba(0,87,255,.20), transparent 70%),
              radial-gradient(30% 30% at 90% 70%, rgba(255,140,56,.14), transparent 70%); }
.bf-glow { position: absolute; left: 50%; top: 34%; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,120,40,.35), transparent 65%); filter: blur(20px); animation: bfPulse 4s ease-in-out infinite; }

/* cintas cruzadas tipo «precinto» */
.bf-tapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bf-tape { position: absolute; left: -10%; width: 120%; overflow: hidden; white-space: nowrap; padding: .55rem 0;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.45rem; letter-spacing: .14em; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.bf-tape span { display: inline-block; animation: bfTape 26s linear infinite; }
.bf-tape--1 { bottom: 78px; transform: rotate(-4deg); background: var(--bf-orange); color: #120600; }
.bf-tape--2 { bottom: 26px; transform: rotate(3deg); background: #111; color: var(--bf-orange); border-block: 1px solid rgba(255,140,56,.5); opacity: .9; }
.bf-tape--2 span { animation-direction: reverse; animation-duration: 32s; }

.bf-tag { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(255,140,56,.55); background: rgba(10,4,0,.6); color: var(--bf-orange-2); backdrop-filter: blur(6px);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; }
.bf-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--bf-orange); box-shadow: 0 0 12px var(--bf-orange); animation: bfBlink 1.4s ease-in-out infinite; }
.bf-h1 { margin: 1rem 0 .2rem; font-family: 'Bebas Neue', sans-serif; font-weight: 400; line-height: .82; letter-spacing: .01em; }
.bf-h1 .bf-h1-a { display: block; font-size: clamp(4.6rem, 17vw, 11rem); color: #fff;
  text-shadow: 0 0 40px rgba(255,140,56,.35); }
.bf-h1 .bf-h1-b { display: block; font-size: clamp(4.6rem, 17vw, 11rem);
  background: linear-gradient(90deg, #ffb066, #ff5a1f 40%, #ffd2a6 50%, #ff5a1f 60%, #ffb066); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: bfShine 5s linear infinite;
  filter: drop-shadow(0 6px 30px rgba(255,90,31,.45)); }
.bf-sub { margin: .7rem 0 1rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
  font-size: clamp(1rem, 2.6vw, 1.35rem); color: #fff; }
.bf-sub em { font-style: normal; color: var(--bf-orange); }
.bf-lead { max-width: 560px; margin: 0 auto; font-size: 1.06rem; line-height: 1.6; }
.bf-lead b { color: #fff; }

/* cuenta atrás */
.bf-count-k { margin: 2rem 0 .7rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  font-size: .8rem; color: var(--bf-orange-2); }
.bf-count-k[hidden], .bf-count[hidden] { display: none; }
.bf-count { display: flex; justify-content: center; gap: .6rem; }
.bf-count div { position: relative; min-width: 78px; padding: .85rem .4rem .6rem; border-radius: 14px; background: rgba(12,6,2,.75);
  border: 1px solid rgba(255,140,56,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(255,90,31,.12); backdrop-filter: blur(6px); }
.bf-count div::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: rgba(0,0,0,.6); }
.bf-count b { display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 2.7rem; line-height: 1; color: #fff; }
.bf-count small { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .7rem; color: var(--bf-mut); }

/* packs */
.bf-packs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; max-width: 940px; margin: 0 auto; padding: 1.5rem 5% 4.5rem; }
.bf-pack { position: relative; display: flex; flex-direction: column; padding: 2.2rem 1.8rem 1.8rem; border-radius: 22px; isolation: isolate;
  background: linear-gradient(180deg, #121212, #070707); }
.bf-pack::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 1px; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 45%, rgba(255,140,56,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.bf-pack--top { background: linear-gradient(180deg, #1c0d03, #080402); box-shadow: 0 30px 80px rgba(255,90,31,.22); }
.bf-pack--top::before { padding: 2px;
  background: conic-gradient(from var(--bf-a), #ff5a1f, #ffd2a6, #ff8c38, #2b86ff, #ff5a1f); animation: bfSpin 5s linear infinite; }
.bf-ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: .38rem 1rem; border-radius: 999px;
  background: linear-gradient(90deg, #ff5a1f, #ffb066); color: #140800; font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; white-space: nowrap; box-shadow: 0 6px 20px rgba(255,90,31,.45); }
.bf-stamp { position: absolute; top: 1.2rem; right: 1.2rem; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 2px dashed rgba(255,140,56,.7); color: var(--bf-orange); transform: rotate(12deg);
  font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; line-height: .9; }
.bf-stamp small { display: block; font-size: .75rem; letter-spacing: .08em; color: var(--bf-orange-2); }
.bf-pack-k { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; font-size: .8rem; color: var(--bf-mut); margin: 0; }
.bf-pack-n { font-family: 'Bebas Neue', sans-serif; font-weight: 400; color: #fff; font-size: 3.2rem; line-height: .95; margin: .35rem 0 0; }
.bf-pack-n span { color: var(--bf-orange); font-size: 4.4rem; }
.bf-price { display: flex; align-items: flex-start; gap: .2rem; margin: 1.1rem 0 .3rem; color: #fff; font-family: 'Bebas Neue', sans-serif; }
.bf-price b { font-weight: 400; font-size: 5rem; line-height: .85; }
.bf-price em { font-style: normal; font-size: 2.2rem; margin-top: .2rem; color: var(--bf-orange); }
.bf-unit { display: inline-flex; align-self: flex-start; margin: 0 0 1.4rem; padding: .3rem .75rem; border-radius: 999px;
  background: rgba(255,140,56,.12); border: 1px solid rgba(255,140,56,.35); color: var(--bf-orange-2); font-weight: 600; font-size: .9rem; }
.bf-list { list-style: none; padding: 0; margin: 0 0 1.7rem; display: grid; gap: .6rem; font-size: .95rem; }
.bf-list li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.45; }
.bf-list li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,140,56,.16); color: var(--bf-orange); font-size: .72rem; font-weight: 800; margin-top: 1px; }
.bf-buy { position: relative; overflow: hidden; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 56px; padding: .8rem 1rem; border-radius: 14px; background: linear-gradient(90deg, #ff5a1f, #ff8c38); color: #140800;
  text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  font-size: 1.08rem; box-shadow: 0 10px 30px rgba(255,90,31,.35); transition: transform .15s, box-shadow .15s; }
.bf-buy::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: bfSweep 3.2s ease-in-out infinite; }
.bf-buy:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,90,31,.5); }
.bf-buy svg { width: 20px; height: 20px; flex: none; }
.bf-buy.is-off { background: rgba(255,255,255,.07); color: var(--bf-mut); box-shadow: none; pointer-events: none; }
.bf-buy.is-off::after { display: none; }

/* secciones */
.bf-sec { max-width: 940px; margin: 0 auto; padding: 0 5% 4.5rem; }
.bf-k { text-align: center; margin: 0 0 .3rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; font-size: .78rem; color: var(--bf-orange); }
.bf-h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; color: #fff; font-size: clamp(2.4rem, 6vw, 3.4rem); margin: 0 0 1.6rem; text-align: center; line-height: .95; }
.bf-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: bf; }
.bf-steps li { position: relative; padding: 1.4rem 1.25rem; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09); line-height: 1.5; font-size: .95rem; }
.bf-steps li::before { counter-increment: bf; content: "0" counter(bf); display: block; font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; line-height: 1; margin-bottom: .5rem;
  background: linear-gradient(180deg, #ffb066, #ff5a1f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bf-steps b { color: #fff; }
.bf-steps a { color: var(--bf-orange-2); }

/* tarjeta de transferencia */
.bf-bank { margin: 1.4rem 0 0; padding: 1.4rem 1.5rem; border-radius: 18px; display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem; align-items: center;
  background: radial-gradient(80% 140% at 0% 0%, rgba(255,140,56,.14), transparent 60%), #0b0b0b; border: 1px solid rgba(255,140,56,.4); }
.bf-bank dl { margin: 0; display: grid; gap: .7rem; }
.bf-bank dt { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: var(--bf-mut); }
.bf-bank dd { margin: .15rem 0 0; color: #fff; font-size: 1.02rem; }
.bf-iban { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: clamp(1.25rem, 4.6vw, 1.7rem) !important; letter-spacing: .06em; }
.bf-copy { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .7rem 1.2rem; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255,140,56,.6); background: rgba(255,140,56,.1); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; }
.bf-copy:hover { background: rgba(255,140,56,.2); }
.bf-copy.is-ok { border-color: #25d366; background: rgba(37,211,102,.12); }

/* cuándo */
.bf-when { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 0 0 1.5rem; }
.bf-when div { position: relative; overflow: hidden; padding: 1.5rem 1rem 1.3rem; border-radius: 18px; text-align: center;
  background: linear-gradient(180deg, rgba(255,140,56,.12), rgba(255,140,56,.02)); border: 1px solid rgba(255,140,56,.35); }
.bf-when i { display: block; font-style: normal; font-size: 1.6rem; margin-bottom: .3rem; }
.bf-when b { display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 2.3rem; color: #fff; line-height: 1; }
.bf-when p { margin: 0; }
.bf-when span { font-size: .92rem; color: var(--bf-orange-2); font-weight: 600; }
.bf-small { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; display: grid; gap: .55rem; font-size: .93rem; color: var(--bf-mut); text-align: center; }
.bf-small b { color: var(--bf-txt); }
.bf-small a { color: var(--bf-orange-2); }

/* cierre */
.bf-final { position: relative; margin: 0 5% 5rem; padding: 3rem 1.5rem; border-radius: 26px; text-align: center; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #ff5a1f, #ff8c38 55%, #ffb066); color: #140800; }
.bf-final::before { content: "BLACK FRIDAY BLACK FRIDAY BLACK FRIDAY"; position: absolute; inset: auto -10% -18% -10%; z-index: -1; white-space: nowrap;
  font-family: 'Bebas Neue', sans-serif; font-size: 9rem; line-height: 1; color: rgba(0,0,0,.08); }
.bf-final h2 { margin: 0 0 .4rem; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(2.4rem, 7vw, 3.8rem); line-height: .95; }
.bf-final p { margin: 0 0 1.4rem; font-weight: 600; }
.bf-final a { display: inline-flex; align-items: center; min-height: 54px; padding: .8rem 2rem; border-radius: 14px; background: #050505; color: #fff;
  text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.bf-ended { max-width: 560px; margin: 0 auto 4rem; padding: 1.6rem; border-radius: 16px; text-align: center; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.bf-ended[hidden] { display: none; }
.bf-ended a { color: var(--bf-orange-2); }

@keyframes bfPulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes bfBlink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes bfShine { to { background-position: -220% 0; } }
@keyframes bfTape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bfSpin { to { --bf-a: 360deg; } }
@keyframes bfSweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }

@media (max-width: 720px) {
  .bf-hero { padding: 118px 5% 110px; }
  .bf-glow { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
  .bf-tape { font-size: 1.15rem; }
  .bf-tape--1 { top: auto; bottom: 46px; }
  .bf-tape--2 { top: auto; bottom: 8px; }
  .bf-packs { grid-template-columns: 1fr; gap: 2rem; }
  .bf-steps, .bf-when { grid-template-columns: 1fr; }
  .bf-when div { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1rem; text-align: left; }
  .bf-when i { margin: 0; }
  .bf-when b { font-size: 1.9rem; }
  .bf-count div { min-width: 64px; }
  .bf-count b { font-size: 2.3rem; }
  .bf-price b { font-size: 4.4rem; }
  .bf-bank { grid-template-columns: 1fr; }
  .bf-copy { width: 100%; }
  .bf-stamp { width: 66px; height: 66px; font-size: 1.05rem; top: 8.6rem; right: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bf *, .bf *::before, .bf *::after { animation: none !important; }
}

/* ---------------- portada: pastilla en el héroe + banner ---------------- */
.hz-hero-bf { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .6rem;
  max-width: 100%; margin: 1.1rem auto 1rem; padding: .6rem 1.1rem; border-radius: 999px; background: #000; border: 1px solid rgba(255,140,56,.8);
  color: #fff; text-decoration: none; font-size: .9rem; box-shadow: 0 0 28px rgba(255,90,31,.35); }
.hz-hero-bf::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,176,102,.35), transparent); animation: bfSweep 3.2s ease-in-out infinite; }
.hz-hero-bf b { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bf-orange); }
.hz-hero-bf em { font-style: normal; color: var(--bf-orange-2); }
.hz-hero-bf[hidden] { display: none; }

.bfp { padding: 2.2rem 5% 0; background: transparent; }
.bfp[hidden] { display: none; }
.bfp-card { position: relative; overflow: hidden; isolation: isolate; max-width: 1100px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.7rem 1.9rem; border-radius: 22px; background: #050505;
  border: 1px solid rgba(255,140,56,.6); box-shadow: 0 20px 60px rgba(255,90,31,.18);
  background-image: radial-gradient(60% 120% at 100% 0%, rgba(255,140,56,.22), transparent 60%); }
.bfp-card::before { content: "BLACK FRIDAY"; position: absolute; right: -2%; bottom: -28%; z-index: -1; font-family: 'Bebas Neue', sans-serif;
  font-size: 8rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,140,56,.18); white-space: nowrap; }
.bfp-k { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; color: var(--bf-orange); margin: 0; }
.bfp-t { font-family: 'Bebas Neue', sans-serif; font-weight: 400; color: #fff; font-size: clamp(2rem, 5vw, 2.9rem); line-height: .95; margin: .3rem 0 .4rem; }
.bfp-t span { color: var(--bf-orange); }
.bfp-s { margin: 0; color: var(--bf-txt); font-size: .95rem; }
.bfp-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.7rem;
  border-radius: 14px; background: linear-gradient(90deg, #ff5a1f, #ff8c38); color: #140800; text-decoration: none; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 10px 30px rgba(255,90,31,.35); }
.bfp-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: bfSweep 3.2s ease-in-out infinite; }
@media (max-width: 720px) { .bfp-card { padding: 1.4rem 1.2rem; } .bfp-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hz-hero-bf::after, .bfp-btn::after { animation: none; display: none; } }

/* nightlife.css pone transparentes todas las «main > section»: el bloque final necesita su fondo naranja */
html[data-page] main > section.bf-final { background: linear-gradient(120deg, #ff5a1f, #ff8c38 55%, #ffb066) !important;
  width: 90% !important; max-width: 900px !important; margin: 0 auto 5rem !important; }
