/* Landing Black Friday 2026 (CHG-033). Hoja independiente del tema: oscura, mobile first.
   Referencia: "Visual landing Black Friday 2026" (escritorio 1440 px, celular 390 px). */
:root {
  --bf-black: #000000;
  --bf-bg: #07070A;
  --bf-surface: #111118;
  --bf-surface-2: #0F0F14;
  --bf-line: #24242E;
  --bf-red: #E10E1F;
  --bf-orange: #FF7A00;
  --bf-green: #00FF84;
  --bf-purple: #6440FB;
  --bf-purple-soft: #9C87FF;
  --bf-purple-deep: #1C1A3A;
  --bf-text: #FFFFFF;
  --bf-muted: #B9B9C6;
  --bf-dim: #8A8A99;
  --bf-grad: linear-gradient(135deg, #00FF84 0%, #6440FB 100%);
  --bf-head: "Poppins", system-ui, sans-serif;
  --bf-body: "Nunito", system-ui, sans-serif;
  --bf-radius: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body.bf { margin: 0; background: var(--bf-bg); color: var(--bf-text); font: 400 16px/1.5 var(--bf-body);  }
:where(.bf) :where(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; }
:where(.bf) :where(ul, ol) { padding: 0; list-style: none; }
:where(.bf) :where(img, svg) { display: block; max-width: 100%; }
:where(.bf) a { color: inherit; }
.bf :focus-visible { outline: 3px solid var(--bf-green); outline-offset: 3px; border-radius: 6px; }
.bf-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bf-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--bf-green); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.bf-skip:focus { top: 12px; }
.bf-green { color: var(--bf-green); }
.bf-ph { color: var(--bf-dim); }

/* Variantes por estado: <html class="bf-upcoming|bf-live|bf-ended"> */
.bf-upcoming .bf-no-upcoming, .bf-live .bf-no-live, .bf-ended .bf-no-ended { display: none !important; }

/* Botones */
.bf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--bf-green); color: #000 !important; font: 700 17px/1 var(--bf-head); text-decoration: none; border: 2px solid var(--bf-green); transition: transform .15s ease, box-shadow .15s ease; }
.bf-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 255, 132, .25); }
.bf-btn .ea-icon { width: 20px; height: 20px; }
.bf-btn--ghost { background: transparent; color: var(--bf-text) !important; border-color: #3A3A46; }
.bf-btn--ghost:hover { border-color: var(--bf-text); box-shadow: none; }
.bf-btn--block { width: 100%; }

/* 1. Barra de anuncio */
.bf-bar { position: sticky; top: 0; z-index: 50; background: var(--bf-red); color: #fff; }
.bf-bar__in { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.bf-bar__text { font: 700 14px/1.55 var(--bf-head); max-width: 320px; }
.bf-bar__pill { background: #000; color: #fff; border-radius: 999px; padding: 5px 12px; font: 700 14px/1.2 var(--bf-head); white-space: nowrap; }

/* 2. Hero */
.bf-hero { position: relative; overflow: hidden; background-color: var(--bf-bg);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px; }
.bf-nav { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.bf-nav__logo img { width: auto; height: 48px; }
.bf-nav__menu { display: none; gap: 32px; font: 500 16px/1 var(--bf-head); }
.bf-nav__menu a { text-decoration: none; }
.bf-nav__menu a:hover { color: var(--bf-green); }
.bf-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 38px; padding-bottom: 60px; }
.bf-tag { display: inline-block; background: var(--bf-purple); color: #fff; border-radius: 999px; padding: 7px 14px; font: 700 13px/1.2 var(--bf-head); letter-spacing: .04em; }
.bf-hero__title { margin-top: 18px; font: 800 44px/1.02 var(--bf-head); letter-spacing: -.02em; }
.bf-hero__title span { display: block; color: var(--bf-green); }
.bf-hero__lead { margin-top: 18px; font-size: 20px; line-height: 1.65; color: #E6E6EE; }
.bf-hero__lead strong { color: #fff; font-weight: 800; }
.bf-overline { margin-top: 24px; font: 700 14px/1 var(--bf-body); letter-spacing: .08em; color: #D6D6DF; }
.bf-count { display: flex; gap: 4px; margin-top: 12px; }
.bf-count__box { width: 84px; min-width: 0; height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--bf-surface); border: 1px solid #2A2A35; border-radius: 14px; }
.bf-count__num { font: 700 34px/1 var(--bf-head); color: var(--bf-green); font-variant-numeric: tabular-nums; }
.bf-count__label { font-size: 13px; letter-spacing: .06em; color: var(--bf-muted); text-transform: uppercase; }
.bf-hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 32px; }
.bf-hero__date { margin-top: 32px; font-size: 15px; line-height: 1.5; color: var(--bf-muted); }
.bf-hero__visual { display: flex; justify-content: center; margin: 0; }
.bf-badge { position: relative; width: min(360px, 78%); aspect-ratio: 1; margin: 30px 0; container-type: inline-size; }
.bf-badge::before, .bf-badge__card { position: absolute; inset: 0; border-radius: 34px; transform: rotate(12deg); }
.bf-badge::before { content: ""; background: var(--bf-grad); background: linear-gradient(160deg, #00FF84 0%, #18C8A0 45%, #6440FB 100%); transform: translate(-14px, -14px) rotate(12deg); opacity: .95; }
.bf-badge__card { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #0A0A0D; border: 1px solid #2A2A35; transform: rotate(12deg); }
.bf-badge__up, .bf-badge__num, .bf-badge__off { transform: rotate(-12deg); }
.bf-badge__up { font: 600 22px/1 var(--bf-head); color: #DADAE2; }
.bf-badge__num { font: 800 clamp(60px, 44cqi, 158px)/.9 var(--bf-head); letter-spacing: -.04em; margin: 10px 0 22px; white-space: nowrap; color: #fff; }
.bf-badge__num em { font-style: normal; color: var(--bf-green); }
.bf-badge__off { font: 800 22px/1 var(--bf-head); letter-spacing: .3em; color: var(--bf-green); }

/* 3. Beneficios */
.bf-benefits { background: var(--bf-surface-2); border-top: 1px solid #1C1C24; border-bottom: 1px solid #1C1C24; }
.bf-benefits__list { display: grid; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.bf-benefit { display: flex; align-items: center; gap: 14px; }
.bf-benefit__icon { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: var(--bf-purple-deep); color: var(--bf-green); }
.bf-benefit__icon .ea-icon { width: 24px; height: 24px; }
.bf-benefit strong { display: block; font: 700 17px/1.3 var(--bf-head); }
.bf-benefit small { display: block; font-size: 15px; color: var(--bf-muted); }

/* Secciones */
.bf-section { padding: 64px 0; }
.bf-section--tight { padding: 0 0 72px; }
.bf-eyebrow { font: 700 14px/1 var(--bf-head); letter-spacing: .12em; color: var(--bf-purple-soft); }
.bf-h2 { font: 800 42px/1.12 var(--bf-head); letter-spacing: -.02em; }
.bf-eyebrow + .bf-h2 { margin-top: 12px; }
.bf-sub { margin-top: 12px; font-size: 18px; line-height: 1.5; color: #E6E6EE; }
.bf-narrow .bf-wrap { max-width: 880px; }

/* 4. Cursos */
.bf-courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; margin-top: 44px; }
.bf-card { display: flex; flex-direction: column; padding: 24px; background: var(--bf-surface); border: 1px solid #22222C; border-radius: var(--bf-radius); }
.bf-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.bf-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--bf-red); color: #fff; font: 800 18px/1 var(--bf-head); white-space: nowrap; }
.bf-chip--orange { background: var(--bf-orange); color: #000; }
.bf-card__cat { margin-left: auto; font-size: 13px; letter-spacing: .1em; color: var(--bf-muted); }
.bf-card__name { margin-top: 16px; font: 700 22px/1.1 var(--bf-head); }
.bf-card__desc { margin-top: 8px; font-size: 15.5px; line-height: 1.45; color: var(--bf-muted); }
.bf-card__more { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; margin-top: 12px; color: #fff; text-decoration: underline; }
.bf-card__more .ea-icon { width: 16px; height: 16px; }
.bf-card__price { margin-top: 16px; padding-top: 16px; border-top: 1px solid #2A2A34; }
.bf-price__old { font-size: 14px; color: var(--bf-dim); }
.bf-price__new { margin-top: 4px; font: 800 28px/1.15 var(--bf-head); color: var(--bf-green); }
.bf-price__new--regular { color: #fff; }
.bf-price__ask, .bf-price__note { display: block; font: 700 17px/1.35 var(--bf-head); color: var(--bf-green); }
.bf-card__checks { margin-top: 18px; margin-bottom: 28px; display: grid; gap: 8px; font-size: 14px; line-height: 1.4; color: #E6E6EE; }
.bf-card__checks li::before { content: "✓ "; }
.bf-card .bf-btn { margin-top: auto; }

/* 5. Cómo comprar */
.bf-steps { display: grid; gap: 20px; margin-top: 32px; }
.bf-step { padding: 28px; background: var(--bf-surface); border: 1px solid #22222C; border-radius: var(--bf-radius); }
.bf-step__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: var(--bf-purple); color: #fff; font: 700 17px/1 var(--bf-head); }
.bf-step h3 { margin-top: 18px; font: 700 19px/1.3 var(--bf-head); }
.bf-step p { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--bf-muted); }
.bf-note { margin-top: 20px; padding: 16px 18px; border: 1px dashed #3A3A46; border-radius: 10px; font-size: 14px; color: #D6D6DF; }

/* 6. Por qué */
.bf-why { background: var(--bf-surface-2); border-top: 1px solid #1C1C24; border-bottom: 1px solid #1C1C24; }
.bf-stats { display: grid; gap: 28px; margin-top: 32px; }
.bf-stat { padding: 4px 0 4px 20px; border-left: 3px solid var(--bf-green); }
.bf-stat--purple { border-left-color: var(--bf-purple); }
.bf-stat strong { display: block; font: 800 50px/1.1 var(--bf-head); }
.bf-stat span { display: block; margin-top: 8px; font-size: 16px; color: var(--bf-muted); }
.bf-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin-top: 36px; }
.bf-logos li { display: grid; place-items: center; height: 76px; padding: 12px; border: 1px solid #22222C; border-radius: 10px; font-size: 13px; }
.bf-logos li { background: #fff; }
.bf-logos .bf-logos__dark { background: #171328; }
.bf-logos img { width: 100%; height: 44px; object-fit: contain; }

/* 7. Testimonios */
.bf-testimonial { display: block; margin-top: 32px; }
.bf-testimonial img { width: 100%; height: auto; }

/* 8. FAQ */
.bf-faq { display: grid; gap: 12px; margin-top: 24px; }
.bf-faq__item { background: var(--bf-surface); border: 1px solid #22222C; border-radius: 14px; }
.bf-faq__q { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 22px; font: 600 17px/1.35 var(--bf-head); color: #fff; cursor: pointer; border-radius: 14px; }
.bf-faq__q:focus-visible { outline: 3px solid var(--bf-green); outline-offset: 2px; }
.bf-faq__icon { position: relative; flex: 0 0 14px; height: 14px; }
.bf-faq__icon::before, .bf-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--bf-green); transition: transform .2s ease; }
.bf-faq__icon::after { transform: rotate(90deg); }
.bf-faq__q[aria-expanded="true"] .bf-faq__icon::after { transform: rotate(0); }
.bf-faq__a { padding: 0 22px 20px; font-size: 16px; line-height: 1.55; color: var(--bf-muted); }

/* 9. Términos */
.bf-terms { padding: 24px 28px; border: 1px solid #262630; border-radius: 16px; }
.bf-terms h2 { font: 700 21px/1.3 var(--bf-head); }
.bf-terms p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: #D6D6DF; }
.bf-terms a { display: inline-block; margin-top: 12px; font: 700 14px/1.4 var(--bf-head); color: var(--bf-green); }

/* 10. Cierre y pie */
.bf-closing { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 56px 24px; text-align: center; border-radius: 28px; background: linear-gradient(120deg, #6440FB, #3A1FB8); }
.bf-closing h2 { max-width: 720px; font: 800 30px/1.2 var(--bf-head); letter-spacing: -.01em; }
.bf-footer { border-top: 1px solid #1C1C24; padding: 36px 0 calc(110px + env(safe-area-inset-bottom)); }
.bf-footer__in { display: flex; flex-direction: column; gap: 20px; }
.bf-footer img { width: auto; height: 40px; }
.bf-footer ul { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; color: var(--bf-muted); }
.bf-footer a { text-decoration: none; }
.bf-footer a:hover { color: #fff; }
.bf-footer .bf-footer__privacy { color: var(--bf-green); text-decoration: underline; }

.bf-float { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 60; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bf-green); color: #000; box-shadow: 0 10px 30px rgba(0, 255, 132, .35); }
.bf-float .ea-icon { width: 28px; height: 28px; }

.bf-video video, .bf-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--bf-radius); background: #000; }
.bf-dev { position: fixed; left: 8px; bottom: 8px; z-index: 70; max-width: min(560px, calc(100% - 100px)); max-height: 30vh; overflow: auto; padding: 10px 12px; font-size: 12px; line-height: 1.4; background: #2a1d00; color: #ffd27a; border: 1px solid #6b4b00; border-radius: 8px; }

@media (min-width: 480px) {
  .bf-benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .bf-bar__text { max-width: none; }
  .bf-hero__actions { flex-direction: row; flex-wrap: wrap; }
  .bf-count { gap: 12px; }
}

@media (width > 900px) {
  .bf-wrap { padding-inline: 32px; }
  .bf-bar__in { flex-direction: row; justify-content: center; gap: 20px; min-height: 50px; }
  .bf-bar__text { font-size: 15px; }
  .bf-bar__pill { font-size: 16px; padding: 6px 12px; }
  .bf-nav__menu { display: flex; }
  .bf-hero__grid { grid-template-columns: minmax(0, 57.5fr) minmax(0, 42.5fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
  .bf-hero__title { font-size: 72px; }
  .bf-hero__lead { font-size: 21px; max-width: 540px; }
  .bf-benefits__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-section { padding-block: 72px; }
  .bf-section--tight { padding-top: 0; }
  .bf-closing { padding: 56px 40px; }
  .bf-closing h2 { font-size: 40px; }
  .bf-footer__in { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bf-btn, .bf-faq__icon::after { transition: none; }
}
.bf-card__checks .bf-ph { color: inherit; }
.bf-card .bf-btn { padding: 8px 14px; text-align: center; line-height: 1.2; }
.bf-ended .bf-hero__grid { grid-template-columns: 1fr; }
.bf-ended .bf-courses { margin-top: 32px; }
