/* =====================================================================
   TV PRIVADO — ESTILOS
   Concepto: una sola columna tipo "pantalla de TV" — negro de marca,
   rojo del logo como acento y plata para textos secundarios.
   ===================================================================== */
:root {
  --bg: #0a0a0c;
  --surface: #131317;
  --surface-2: #1b1b21;
  --line: #2a2a31;
  --fg: #f3f3f5;
  --muted: #a3a4ad;
  --silver: #d9dbe0;
  --red: #e50914;
  --red-hi: #ff3b3b;
  --red-deep: #8a0007;
  --ok: #2fbf71;
  --font-display: "Archivo", "Arial Black", Impact, system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; text-wrap: balance; }
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-stretch: 112%;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--red-hi);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- aviso superior ---------- */
.notice { background: var(--red); color: #fff; font-weight: 700; font-size: 14px; text-align: center; padding: 8px 16px; }
.notice a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- barra superior ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--red); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-stretch: 105%;
  font-size: 16px; letter-spacing: .02em; text-decoration: none; line-height: 1.2;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn-red { background: linear-gradient(180deg, var(--red-hi), var(--red)); color: #fff; box-shadow: 0 8px 24px -8px rgba(229,9,20,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(229,9,20,.85), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--silver); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 56px 72px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background: radial-gradient(closest-side, rgba(229,9,20,.32), transparent 70%); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); font-weight: 900; font-style: italic; font-stretch: 118%; letter-spacing: -.01em; margin-top: 14px; }
.hero h1 em { color: var(--red-hi); }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 33em; margin: 20px 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.price-tag { margin-top: 26px; display: flex; align-items: baseline; gap: 10px; color: var(--muted); font-weight: 600; }
.price-tag b { font-family: var(--font-display); font-size: 34px; font-weight: 900; font-stretch: 110%; color: var(--fg); font-variant-numeric: tabular-nums; }

/* televisor */
.tv { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.tv-frame {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 22px; padding: 14px;
  background: linear-gradient(160deg, #e9eaee, #8e9098 55%, #5d5f66);
  box-shadow: 0 30px 80px -20px rgba(229,9,20,.55), 0 0 0 1px rgba(255,255,255,.08);
}
.tv-screen {
  position: relative; height: 100%; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 40%, #2a0306 0%, #0c0607 60%, #050506 100%);
}
.tv-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); }
.tv-screen img { width: 74%; filter: drop-shadow(0 6px 22px rgba(229,9,20,.6)); animation: glow 3.2s ease-in-out infinite; }
@keyframes glow { 50% { filter: drop-shadow(0 6px 34px rgba(255,59,59,.9)); } }
.live { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .14em; padding: 5px 10px 5px 9px; border-radius: 6px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.chan { position: absolute; top: 14px; right: 16px; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 15px; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.tv-stand { width: 34%; height: 18px; margin: 0 auto; background: linear-gradient(180deg, #7d7f86, #3e4046); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.tv-base { width: 52%; height: 10px; margin: 0 auto; border-radius: 0 0 10px 10px; background: #50525a; }

/* tira de géneros */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-block: 18px; }
.strip span { font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-style: italic; text-transform: uppercase; letter-spacing: .04em; color: var(--silver); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
.strip span::before { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }

/* ---------- secciones ---------- */
.block { padding-block: 84px; }
.block.tight { padding-top: 0; }
.head { max-width: 660px; margin-bottom: 40px; }
.head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; font-stretch: 112%; font-style: italic; margin-top: 10px; }
.head p { color: var(--muted); margin: 14px 0 0; font-size: 17px; }

/* encabezado de páginas internas */
.page-head { position: relative; overflow: hidden; padding-block: 64px 48px; border-bottom: 1px solid var(--line); }
.page-head::before { content: ""; position: absolute; inset: -60% -10% auto 40%; height: 520px; background: radial-gradient(closest-side, rgba(229,9,20,.28), transparent 70%); pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 900; font-style: italic; font-stretch: 116%; margin-top: 12px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 38em; margin: 16px 0 0; }

/* planes */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; min-width: 0; }
.plan.hot { background: linear-gradient(180deg, #1d0a0c, var(--surface) 60%); border-color: var(--red); box-shadow: 0 20px 50px -24px rgba(229,9,20,.8); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 6px; }
.plan-name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-name h3 { font-size: 26px; font-weight: 900; font-stretch: 115%; font-style: italic; text-transform: uppercase; }
.plan-name small { color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
.price { display: flex; align-items: flex-start; gap: 4px; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.price .cur { font-size: 26px; font-weight: 800; margin-top: 8px; color: var(--silver); }
.price .num { font-size: 68px; font-weight: 900; font-stretch: 108%; line-height: 1; letter-spacing: -.02em; }
.price .mxn { align-self: flex-end; margin-bottom: 9px; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.per { color: var(--muted); font-size: 15px; margin-top: -8px; font-variant-numeric: tabular-nums; }
.per b { color: var(--fg); }
.save { color: var(--red-hi); font-weight: 700; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--silver); font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }
.note { margin-top: 22px; color: var(--muted); font-size: 14px; }

/* incluye */
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feat { background: var(--bg); padding: 26px 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.feat svg { width: 34px; height: 34px; color: var(--red-hi); }
.feat h3 { font-size: 20px; font-weight: 800; font-stretch: 110%; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

/* pasos */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 24px 24px; border-top: 3px solid var(--red); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); min-width: 0; }
.step::before { counter-increment: s; content: "CH " counter(s, decimal-leading-zero); font-family: var(--font-display); font-weight: 900; font-stretch: 115%; font-style: italic; color: var(--red-hi); font-size: 14px; letter-spacing: .1em; }
.step h3 { font-size: 22px; font-weight: 800; font-stretch: 108%; margin: 10px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* descargas — banda de acceso rápido en inicio */
.dl-band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: linear-gradient(90deg, #1a0709, var(--surface)); border: 1px solid #3a1013; border-radius: 18px; padding: 28px 32px; }
.dl-band h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; font-style: italic; font-stretch: 112%; }
.dl-band p { margin: 8px 0 0; color: var(--muted); }

/* tarjetas de descarga */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.app { display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; min-width: 0; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(180deg, #2a0609, #160406); border: 1px solid #3a1013; color: var(--red-hi); }
.app-icon svg { width: 34px; height: 34px; }
.app h3 { font-size: 22px; font-weight: 900; font-stretch: 110%; }
.app-desc { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-size: 13px; font-weight: 700; color: var(--silver); background: var(--surface-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip.ok { color: #c9f5da; border-color: #1f5a3a; background: #0f2219; }
.chip.soon { color: #ffd3d3; border-color: #5a1a1f; background: #24090c; }
.app-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.code { display: inline-flex; align-items: center; gap: 10px; background: var(--bg); border: 1px dashed #4a1a1e; border-radius: 10px; padding: 8px 12px; font-size: 14px; color: var(--muted); }
.code b { font-family: var(--font-display); font-size: 20px; color: var(--fg); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.req { grid-column: 1 / -1; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.empty { border: 1px dashed var(--line); border-radius: 18px; padding: 40px 24px; text-align: center; color: var(--muted); }

/* guías (pestañas) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab { font-family: var(--font-display); font-weight: 800; font-size: 15px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.guide { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.guide ol { margin: 0; padding: 0; list-style: none; counter-reset: g; display: grid; gap: 16px; }
.guide li { counter-increment: g; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.guide li::before { content: counter(g); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #2a0609; border: 1px solid #4a1418; color: var(--red-hi); font-family: var(--font-display); font-weight: 900; }
.guide li b { color: var(--fg); }
.guide li span { color: var(--muted); }
.tip { margin-top: 20px; padding: 14px 16px; border-left: 3px solid var(--red); background: var(--bg); border-radius: 0 10px 10px 0; color: var(--silver); font-size: 15px; }

/* preguntas */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq details[open] { border-color: #3a1013; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--red-hi); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }

/* contacto */
.contact { padding-block: 40px 90px; }
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: radial-gradient(120% 140% at 0% 0%, #2a0507, var(--surface) 55%); border: 1px solid #3a1013; border-radius: 22px; padding: 36px; }
.qr { width: 220px; max-width: 100%; border-radius: 16px; background: #fff; padding: 10px; box-shadow: 0 18px 50px -18px rgba(229,9,20,.75); }
.contact h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; font-style: italic; font-stretch: 114%; }
.contact p { color: var(--muted); margin: 12px 0 22px; max-width: 34em; }
.phone { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.phone-num { font-family: var(--font-display); font-weight: 900; font-stretch: 108%; font-size: clamp(24px, 3.4vw, 32px); font-variant-numeric: tabular-nums; user-select: all; }
.flash { color: var(--red-hi); font-weight: 700; font-size: 14px; min-width: 7em; }

/* pie */
.foot { border-top: 1px solid var(--line); background: #08080a; padding-block: 44px 28px; color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot img { height: 30px; width: auto; margin-bottom: 14px; }
.foot h4 { font-family: var(--font-display); color: var(--fg); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }

/* 404 */
.nf { text-align: center; padding-block: 100px; }
.nf .big { font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 120%; font-size: clamp(90px, 18vw, 180px); line-height: 1; color: var(--red); text-shadow: 0 10px 40px rgba(229,9,20,.5); }
.nf p { color: var(--muted); margin: 10px 0 28px; }

/* botón flotante de WhatsApp en celular */
.mobile-cta { display: none; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .tv { max-width: 460px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan.hot { order: -1; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--red-hi); border-bottom-color: var(--line); }
  .top-actions .btn { display: none; }
  .block { padding-block: 64px; }
  .hero { padding-block: 36px 56px; }
  .contact-card { grid-template-columns: 1fr; padding: 26px 20px; gap: 26px; justify-items: start; }
  .dl-band { grid-template-columns: 1fr; padding: 24px 20px; }
  .guide { padding: 22px 18px; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--bg) 92%, transparent); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-cta .btn { width: 100%; }
  .foot { padding-bottom: 100px; }
}
@media (max-width: 440px) {
  .feats { grid-template-columns: 1fr; }
  .strip .wrap { justify-content: flex-start; }
  .price .num { font-size: 60px; }
  .app { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* código Downloader destacado */
.dl-code {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  background: var(--bg); border: 1.5px dashed #5a1a1f; border-radius: 14px; padding: 14px 16px;
}
.dl-code span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); width: 100%; }
.dl-code b {
  font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: clamp(34px, 6vw, 44px);
  line-height: 1; letter-spacing: .08em; color: var(--fg); font-variant-numeric: tabular-nums; user-select: all;
}
.guide .codebig { font-family: var(--font-display); font-weight: 900; color: var(--red-hi); font-size: 1.15em; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.guide small { display: block; margin-top: 4px; color: var(--muted); }

/* que la barra fija no tape los títulos al saltar a una sección */
section[id] { scroll-margin-top: 76px; }
