/* ============================================================
   CONTAVLE — Black Friday 2026 · v1
   Va después del resto de hojas de estilo. Las clases bf-on y
   bf-a-on las pone assets/js/black-friday.js según la fecha.
   ============================================================ */

/* ---------- Mostrar u ocultar según la promo ---------- */
html:not(.bf-on) [data-bf="on"],
html.bf-on [data-bf="off"],
html:not(.bf-a-on) [data-bf-a="on"],
html.bf-a-on [data-bf-a="off"] {
  display: none !important;
}

/* ---------- Barra superior en versión Black Friday ----------
   Misma altura que la barra de siempre (la navegación va fija
   justo debajo): 40 px en escritorio y 34 px en móvil. */
.top-banner.top-banner--bf {
  background: #D2F861;
  color: #0F112A;
}
.top-banner--bf::before {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
}
.top-banner--bf::after {
  background: linear-gradient(90deg, transparent 0%, rgba(15,17,42,.25) 50%, transparent 100%);
}
.top-banner--bf .top-banner-inner { gap: 16px; }
.top-banner--bf .top-banner-text { font-weight: 600; }
.top-banner--bf .top-banner-text strong { color: #0F112A; font-weight: 800; }
.top-banner--bf .top-banner-link {
  color: #0F112A;
  font-weight: 800;
  border-bottom: 1.5px solid #0F112A;
  line-height: 1.2;
}
.bf-tag {
  background: #0F112A;
  color: #D2F861;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  line-height: 1.2;
  white-space: nowrap;
}
.bf-countdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  white-space: nowrap;
}
.bf-cd-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
[data-bf-countdown] { display: inline-flex; align-items: center; gap: 4px; }
.bf-cd-u {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  background: #0F112A;
  color: #D2F861;
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1.2;
}
.bf-cd-u b { font-size: 12px; font-weight: 700; }
.bf-cd-u small { font-size: 9px; color: #fff; font-weight: 600; }
.bf-seats {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bf-seats b {
  background: #0F112A;
  color: #D2F861;
  border-radius: 4px;
  padding: 2px 6px;
  margin: 0 2px;
  letter-spacing: 0;
}
@media (max-width: 1100px) {
  .bf-hide-md { display: none !important; }
}
@media (max-width: 700px) {
  .bf-hide-sm { display: none !important; }
  .top-banner--bf .top-banner-inner { gap: 8px; }
  .bf-cd-label { display: none; }
  .bf-cd-u { padding: 1px 4px; }
  .bf-cd-u b { font-size: 11px; }
  .bf-cd-u small { font-size: 8px; }
}

/* ---------- Menú móvil ---------- */
.mobile-menu-banner .bf-mm strong { color: var(--lime, #c3e76b); }

/* ---------- Cabecera de la home ---------- */
.bfhero {
  --bf-navy: #0F112A;
  --bf-lima: #D2F861;
  --bf-ink2: #C3C8DA;
  --bf-mute: #5B6170;
  --bf-row: #F6F7F3;
  position: relative;
  overflow: hidden;
  background: var(--bf-navy);
  color: #fff;
  padding: 0;
}
.bfhero *, .bfhero *::before, .bfhero *::after { box-sizing: border-box; }
.bfhero__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.08) 2px, transparent 2px);
  background-size: 40px 40px;
}
.bfhero__blob {
  position: absolute; right: -300px; bottom: -420px; width: 820px; height: 820px;
  border-radius: 50%; background: var(--bf-lima); opacity: .1; pointer-events: none;
}
.bfhero__in {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 150px 24px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: center;
}
.bfhero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.bfhero__sticker {
  transform: rotate(-4deg);
  background: var(--bf-lima);
  color: var(--bf-navy);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 8px;
  box-shadow: 6px 6px 0 #fff;
}
.bfhero__h1 { margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; font-family: var(--font-display, 'Manrope', sans-serif); font-weight: 800; }
.bfhero__big { font-size: clamp(112px, 16vw, 220px); line-height: .85; letter-spacing: -.07em; color: var(--bf-lima); }
.bfhero__sub { font-size: clamp(36px, 5vw, 68px); line-height: 1; letter-spacing: -.035em; color: #fff; }
.bfhero__lead { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.5; font-weight: 500; color: var(--bf-ink2); }
.bfhero__form {
  width: 100%; max-width: 560px; display: flex; gap: 8px;
  background: #fff; border-radius: 999px; padding: 6px;
}
.bfhero__form input[type=email] {
  flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent;
  padding: 14px 20px; font: 500 17px var(--font-body, 'Manrope', sans-serif); color: var(--bf-navy); border-radius: 999px;
}
.bfhero__form input[type=email]:focus-visible { box-shadow: 0 0 0 2px var(--bf-navy) inset; }
.bfhero__form button {
  flex: 0 0 auto; border: 0; cursor: pointer;
  background: var(--bf-navy); color: var(--bf-lima);
  border-radius: 999px; padding: 15px 26px;
  font: 800 17px var(--font-display, 'Manrope', sans-serif);
}
.bfhero__form button:hover, .bfhero__form button:focus-visible { background: #1d2047; }
.bfhero__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 600; color: var(--bf-ink2); }
.bfhero__checks li { display: flex; align-items: center; gap: 8px; }
.bfhero__checks svg { display: inline-block; flex: 0 0 auto; }
.bfhero__more { color: #fff; font-size: 15px; font-weight: 700; border-bottom: 2px solid var(--bf-lima); padding: 4px 0; }
.bfhero__more:hover { color: var(--bf-lima); }
.bfhero__card {
  justify-self: center; width: 100%; max-width: 500px; transform: rotate(-2deg);
  background: #fff; color: var(--bf-navy); border-radius: 28px; padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
}
.bfhero__eyebrow { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bf-mute); }
.bfhero__months { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.bfhero__m { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bfhero__dot {
  width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--bf-lima);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--bf-navy);
}
.bfhero__dot--plan { background: transparent; border: 3px dashed var(--bf-navy); font-size: 13px; line-height: 1.1; text-align: center; }
.bfhero__ml { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; font-weight: 600; color: var(--bf-mute); }
.bfhero__ml--plan { font-weight: 700; color: var(--bf-navy); }
.bfhero__rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bfhero__rows li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bf-row); border-radius: 14px; padding: 14px 18px; font-size: 16px; font-weight: 700;
}
.bfhero__pill { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; font-weight: 700; color: var(--bf-lima); background: var(--bf-navy); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.bfhero__months--m { display: none; width: 100%; }
.bf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 960px) {
  .bfhero__in { grid-template-columns: minmax(0, 1fr); padding: 130px 20px 56px; gap: 0; }
  .bfhero__card { display: none; }
  .bfhero__copy { gap: 16px; }
  .bfhero__sticker { font-size: 12px; padding: 8px 14px; box-shadow: 5px 5px 0 #fff; }
  .bfhero__lead { font-size: 17px; }
  .bfhero__months--m { display: grid; gap: 8px; }
  .bfhero__months--m .bfhero__dot { width: 52px; font-size: 14px; }
  .bfhero__months--m .bfhero__dot--plan { border: 2px dashed var(--bf-lima); color: #fff; font-size: 11px; }
  .bfhero__months--m .bfhero__ml { font-size: 12px; color: var(--bf-ink2); }
  .bfhero__months--m .bfhero__ml--plan { color: #fff; }
  .bfhero__form { flex-direction: column; background: transparent; padding: 0; gap: 10px; border-radius: 0; }
  .bfhero__form input[type=email] { background: #fff; padding: 16px 20px; font-size: 16px; }
  .bfhero__form button { background: #c3e76b; color: var(--bf-navy); padding: 16px 20px; }
  .bfhero__form button:hover, .bfhero__form button:focus-visible { background: var(--bf-lima); }
  .bfhero__checks { flex-direction: column; gap: 8px; font-size: 14px; }
}

/* ---------- Aviso de la promo dentro de una página ---------- */
.bf-callout {
  display: flex;
  align-items: center;
  gap: 14px 22px;
  flex-wrap: wrap;
  background: #0F112A;
  color: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  margin: 0 0 28px;
  text-align: left;
}
.bf-callout__tag {
  background: #D2F861;
  color: #0F112A;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.bf-callout__text { flex: 1 1 260px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #C3C8DA; }
.bf-callout__text strong { color: #fff; font-weight: 800; }
.bf-callout__cta {
  color: #D2F861;
  font-weight: 800;
  font-size: 15px;
  border-bottom: 2px solid #D2F861;
  padding: 2px 0;
  white-space: nowrap;
}
.bf-callout__cta:hover { color: #fff; border-color: #fff; }
.bf-callout .bf-seats { color: #D2F861; }
.bf-callout .bf-seats b { background: #D2F861; color: #0F112A; }
.bf-callout--center { justify-content: center; text-align: center; margin: 0 auto 28px; max-width: 880px; }

/* ---------- Página de precios: bloque grande de la promo ----------
   Va dentro de la cabecera (que mide 800 px) pero ocupa el ancho de
   las tarjetas de planes (1180 px). Variante de asesorías: .bf-deal--a */
.bf-deal {
  --bf-navy: #0F112A;
  --bf-lima: #D2F861;
  --bf-ink2: #C3C8DA;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: min(1180px, calc(100vw - 40px));
  margin: 8px 0 36px calc(50% - min(590px, 50vw - 20px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(220px, .62fr);
  gap: 36px;
  align-items: center;
  padding: 34px 38px;
  border-radius: 28px;
  background: var(--bf-navy);
  color: #fff;
  text-align: left;
  box-shadow: 0 30px 60px -30px rgba(15,17,42,.55);
}
.bf-deal *, .bf-deal *::before, .bf-deal *::after { box-sizing: border-box; }
.bf-deal__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 2px, transparent 2px);
  background-size: 34px 34px;
}
.bf-deal__glow {
  position: absolute; right: -180px; top: -260px; width: 560px; height: 560px;
  border-radius: 50%; background: radial-gradient(circle, rgba(210,248,97,.18) 0%, rgba(210,248,97,0) 68%); pointer-events: none;
}
.bf-deal > :not(.bf-deal__dots):not(.bf-deal__glow) { position: relative; }
.bf-deal__main { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.bf-deal__sticker {
  display: inline-block;
  transform: rotate(-3deg);
  background: var(--bf-lima);
  color: var(--bf-navy);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 7px;
  box-shadow: 4px 4px 0 #fff;
}
.bf-deal__h {
  margin: 4px 0 0;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-weight: 800; color: #fff;
}
.bf-deal__zero { font-size: clamp(64px, 7vw, 96px); line-height: .85; letter-spacing: -.06em; color: var(--bf-lima); }
.bf-deal__until { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.02; letter-spacing: -.03em; }
.bf-deal__h--a { display: block; font-size: clamp(30px, 3.1vw, 42px); line-height: 1.02; letter-spacing: -.035em; }
.bf-deal__h--a span { display: block; color: var(--bf-lima); }
.bf-deal__sub { margin: 0; max-width: 400px; font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--bf-ink2); }

/* Línea de meses */
.bf-deal__months {
  list-style: none; margin: 0; padding: 0;
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
}
.bf-deal__months::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--bf-lima) 0 76%, rgba(255,255,255,.35) 76% 100%);
}
.bf-deal__months li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bf-deal__dot {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bf-lima); color: var(--bf-navy);
  font-size: 15px; font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 0 0 5px var(--bf-navy);
}
.bf-deal__months .is-plan .bf-deal__dot {
  background: var(--bf-navy); color: #fff;
  border: 2px dashed rgba(255,255,255,.7);
  font-size: 11.5px; line-height: 1.05; text-align: center;
}
.bf-deal__ml {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bf-ink2);
}
.bf-deal__months .is-plan .bf-deal__ml { color: #fff; font-weight: 700; }

/* Ventajas (asesorías) */
.bf-deal__perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bf-deal__perks li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 12px 16px;
  font-size: 15px; font-weight: 700;
}
.bf-deal__perks li span {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  color: var(--bf-navy); background: var(--bf-lima); border-radius: 999px; padding: 4px 10px;
}

/* Columna derecha: cuenta atrás o plazas + CTA */
.bf-deal__side {
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  padding-left: 30px; border-left: 1px dashed rgba(255,255,255,.22);
}
.bf-deal__label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bf-ink2);
}
.bf-deal [data-bf-countdown] { display: flex; gap: 6px; }
.bf-deal .bf-cd-u {
  flex: 1 1 0; flex-direction: column; align-items: center; gap: 2px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(210,248,97,.35);
  border-radius: 12px; padding: 8px 4px 7px;
}
.bf-deal .bf-cd-u b { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 28px; line-height: 1; color: var(--bf-lima); }
.bf-deal .bf-cd-u small { display: block; font-size: 10px; letter-spacing: .12em; color: var(--bf-ink2); }
.bf-deal .bf-seats {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 12px; letter-spacing: .12em; color: #fff;
}
.bf-deal .bf-seats b { font-size: 26px; line-height: 1; letter-spacing: 0; padding: 6px 12px; border-radius: 10px; background: var(--bf-lima); color: var(--bf-navy); }
.bf-deal__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bf-lima); color: var(--bf-navy);
  border-radius: 999px; padding: 14px 20px;
  font-size: 16px; font-weight: 800; text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.bf-deal__cta::after { content: "→"; transition: transform .2s ease; }
.bf-deal__cta:hover, .bf-deal__cta:focus-visible { background: #fff; color: var(--bf-navy); }
.bf-deal__cta:hover::after { transform: translateX(3px); }
.bf-deal__cta:focus-visible, .bf-deal__more:focus-visible { outline: 2px solid var(--bf-lima); outline-offset: 3px; }
.bf-deal__more { align-self: center; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid rgba(210,248,97,.7); padding-bottom: 2px; }
.bf-deal__more:hover { color: var(--bf-lima); }

@media (max-width: 1100px) {
  .bf-deal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bf-deal__side { grid-column: 1 / -1; padding: 22px 0 0; border-left: 0; border-top: 1px dashed rgba(255,255,255,.22);
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; }
}
@media (max-width: 760px) {
  .bf-deal { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 26px 20px 24px; border-radius: 22px; margin-bottom: 28px; }
  .bf-deal__zero { font-size: 72px; }
  .bf-deal__until { font-size: 24px; }
  .bf-deal__dot { width: 48px; height: 48px; font-size: 13px; }
  .bf-deal__months::before { top: 23px; }
  .bf-deal__months .is-plan .bf-deal__dot { font-size: 10px; }
  .bf-deal__ml { font-size: 11px; }
  .bf-deal__side { display: flex; align-items: stretch; padding-top: 20px; text-align: center; }
  .bf-deal .bf-seats { justify-content: center; }
  .bf-deal .bf-cd-u b { font-size: 24px; }
}

/* ---------- Página de precios: cupón en cada tarjeta de plan ---------- */
.bf-ticket {
  --bf-navy: #0F112A;
  display: flex; align-items: center; gap: 0;
  margin: 0 0 16px;
  color: var(--bf-navy);
  background:
    radial-gradient(circle at 0 50%, transparent 8px, #D2F861 8.5px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 8px, #D2F861 8.5px) right / 51% 100% no-repeat;
  border-radius: 12px;
  padding: 10px 18px;
}
.bf-ticket__zero {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: 30px; font-weight: 800; letter-spacing: -.05em; line-height: 1;
  padding-right: 14px; white-space: nowrap;
}
.bf-ticket__txt {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 14px; border-left: 2px dashed rgba(15,17,42,.35);
  line-height: 1.2;
}
.bf-ticket__txt b { font-size: 14.5px; font-weight: 800; }
.bf-ticket__txt small {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75;
}
.bf-after {
  display: block; margin: 0 0 4px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate, #5B6170);
}
.plan-card-feat .bf-after { color: rgba(255,255,255,.65); }
