/* =========================================================
   Flujo TV — estilos
   ========================================================= */
:root {
  --white: #FFFFFF;
  --warm: #FFF9F5;
  --orange: #FF6B00;          /* marca: acentos, íconos, brillos */
  --orange-cta: #CC4A00;      /* fondo de botones: contraste AA con texto blanco (4.6:1) */
  --orange-cta-hover: #B34000;
  --orange-text: #B84300;     /* texto naranja sobre blanco (AA) */
  --orange-soft: #FFF0E5;
  --red: #E53935;
  --red-text: #C62828;
  --gold: #D4A017;
  --gold-text: #7A5A00;
  --ink: #202124;
  --muted: #667085;
  --border: #EAECEF;
  --ok: #157F3B;
  --ok-bg: #EAF7EE;
  --warn-bg: #FFF6DB;
  --no-bg: #FDECEC;

  --grad: linear-gradient(135deg, #FF8A1F 0%, #FF6B00 45%, #E53935 100%);
  --grad-gold: linear-gradient(135deg, #F2C14E 0%, #D4A017 100%);

  --font-head: "Plus Jakarta Sans", "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 8px 24px -8px rgba(16, 24, 40, .12), 0 2px 6px rgba(16, 24, 40, .04);
  --shadow-lg: 0 30px 60px -24px rgba(32, 33, 36, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 200ms;
  --header-h: 72px;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--orange-text); text-underline-offset: 3px; }
a:hover { color: var(--orange-cta-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--warm); border: 1px solid var(--border); padding: .1em .4em; border-radius: 6px; word-break: break-all; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top var(--t); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Botones ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t), border-color var(--t), color var(--t);
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn .ico { width: 1.15em; height: 1.15em; }
.btn-sm { --h: 42px; padding: 0 16px; font-size: .95rem; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 1.06rem; }
.btn-primary {
  background: var(--orange-cta); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -8px rgba(255, 107, 0, .65);
}
.btn-primary:hover { background: var(--orange-cta-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 28px -10px rgba(255, 107, 0, .7); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: #fff; color: var(--ink); border-color: #D0D5DD; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-text); transform: translateY(-2px); }
.btn[disabled], .btn[aria-disabled="true"] { background: #F2F4F7; color: #475467; border-color: var(--border); box-shadow: none; cursor: not-allowed; transform: none; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .ico { animation: spin 900ms linear infinite; }
.btn-sub { font-weight: 500; opacity: .85; font-size: .88em; padding-left: .5em; border-left: 1px solid rgba(255,255,255,.35); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height var(--t) var(--ease); }
.site-header.is-scrolled .header-inner { height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-logo { width: 40px; height: 40px; border-radius: 11px; object-fit: contain; }
.brand-name { font: 800 1.25rem/1 var(--font-head); letter-spacing: -.02em; }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand.has-wordmark .brand-logo { width: auto; height: 40px; border-radius: 0; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a:not(.btn) { display: block; padding: 10px 14px; color: #344054; font-weight: 500; text-decoration: none; border-radius: 999px; transition: color var(--t), background var(--t); }
.main-nav a:not(.btn):hover { color: var(--orange-text); background: var(--orange-soft); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .ico { width: 22px; height: 22px; }
.menu-toggle .ico-close { display: none; }
.menu-toggle[aria-expanded="true"] .ico-open { display: none; }
.menu-toggle[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 12px var(--gutter) 20px;
    display: none;
  }
  .site-header.is-scrolled .main-nav { top: 62px; }
  .main-nav.is-open { display: block; animation: drop var(--t) var(--ease); }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 12px; }
}
@media (max-width: 480px) { .header-cta { display: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 64px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(255,107,0,.12), transparent 70%),
    radial-gradient(500px 360px at 70% 85%, rgba(212,160,23,.10), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--warm) 100%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 72px 0 96px; } .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 40px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid #FFD9BF; color: var(--orange-text); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,0,.18); }
.hero h1 { margin-top: 20px; font-size: clamp(2.1rem, 6.2vw, 3.7rem); font-weight: 800; letter-spacing: -.035em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 18px; font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 520px) { .hero-ctas .btn { width: 100%; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; list-style: none; color: var(--muted); font-size: .92rem; }
.hero-meta:empty { display: none; }
.hero-meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .ico { color: var(--gold); width: 1.05em; height: 1.05em; }
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-detect { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-size: .94rem; color: #344054; box-shadow: var(--shadow-sm); }
.hero-detect .ico { color: var(--orange); }
.hero-detect button { font: inherit; font-weight: 600; color: var(--orange-text); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Composición de dispositivos */
.hero-visual { position: relative; aspect-ratio: 1.12 / 1; width: 100%; max-width: 620px; margin: 0 auto; }
.hv-glow { position: absolute; inset: 12% 6% 10% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,0,.20), rgba(229,57,53,.06) 55%, transparent 72%); filter: blur(10px); }
.screen { position: relative; overflow: hidden; background: #fff; }
.mock-tv { position: absolute; top: 6%; right: 0; width: 86%; }
.tv-frame { padding: 1.4%; background: linear-gradient(180deg, #2B2D31, #1D1E21); border-radius: 14px; box-shadow: var(--shadow-lg); }
.tv-frame .screen { aspect-ratio: 16/9; border-radius: 8px; }
.tv-stand { width: 30%; height: 10px; margin: 0 auto; background: linear-gradient(180deg, #C9CDD3, #E6E8EB); border-radius: 0 0 10px 10px; }
.mock-tablet { position: absolute; left: 0; bottom: 6%; width: 44%; aspect-ratio: 4/3; padding: 2.2%; border-radius: 18px; background: #F3F4F6; border: 1px solid #DDE0E4; box-shadow: var(--shadow-lg); transform: rotate(-4deg); }
.mock-tablet .screen { height: 100%; border-radius: 10px; }
.mock-phone { position: absolute; right: 6%; bottom: 0; width: 25%; aspect-ratio: 9/19; padding: 1.6%; border-radius: 26px; background: linear-gradient(160deg, #34363B, #1F2023); box-shadow: var(--shadow-lg); }
.mock-phone .screen { height: 100%; border-radius: 20px; }
.phone-notch { position: absolute; top: 3.2%; left: 50%; width: 22%; height: 2.4%; transform: translateX(-50%); background: #1F2023; border-radius: 99px; z-index: 2; }

/* UI ficticia */
.ui { display: flex; flex-direction: column; gap: 6%; padding: 5%; background: linear-gradient(180deg, #fff, var(--warm)); }
.ui-top { display: flex; align-items: center; gap: 4%; }
.ui-logo { width: 9%; aspect-ratio: 1; border-radius: 22%; object-fit: contain; }
.ui-phone .ui-logo { width: 18%; }
.ui-tablet .ui-logo { width: 11%; }
.ui-pill { height: 6px; width: 9%; background: #E4E7EC; border-radius: 9px; }
.ui-pill.on { background: var(--orange); }
.ui-feature { flex: 1.1; border-radius: 8px; background: var(--grad); position: relative; display: flex; align-items: flex-end; padding: 4%; overflow: hidden; }
.ui-feature::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.16); }
.ui-feature.sm { flex: .9; background: linear-gradient(135deg, #FFB067, #FF6B00); }
.ui-feature.tall { flex: 1.5; border-radius: 12px; }
.ui-feature-txt { display: flex; flex-direction: column; gap: 6px; width: 55%; position: relative; z-index: 1; }
.ui-line { display: block; height: 6px; width: 70%; border-radius: 9px; background: rgba(255,255,255,.75); }
.ui-line.xl { height: 10px; width: 90%; background: #fff; }
.ui-line.sm { width: 40%; }
.ui-top .ui-line { background: #E4E7EC; }
.ui-btn { display: block; width: 34%; height: 12px; border-radius: 9px; background: #fff; margin-top: 4px; }
.ui-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3%; flex: .7; }
.ui-row.three { grid-template-columns: repeat(3, 1fr); flex: .55; }
.ui-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; flex: 1; }
.ui-tile { border-radius: 6px; min-height: 12px; }
.t1 { background: linear-gradient(135deg, #FFD7B5, #FF9A4D); }
.t2 { background: linear-gradient(135deg, #FDE7C2, #E9B949); }
.t3 { background: linear-gradient(135deg, #FFD0CE, #F0726E); }
.t4 { background: linear-gradient(135deg, #E9ECF1, #C6CCD6); }
.t5 { background: linear-gradient(135deg, #FFE3CC, #FFB27A); }
.ui-tile.focus { outline: 2px solid var(--gold); outline-offset: 2px; transform: scale(1.06); }
.ui-label { display: block; height: 5px; width: 35%; border-radius: 9px; background: #D0D5DD; }
.ui-tabbar { display: flex; justify-content: space-around; padding-top: 4%; border-top: 1px solid var(--border); }
.ui-tabbar span { width: 9px; height: 9px; border-radius: 3px; background: #D0D5DD; }
.ui-tabbar span.on { background: var(--orange); }
.ui-phone { gap: 4%; padding-top: 14%; }

.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: rgba(255,255,255,.96); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); font-size: .82rem; line-height: 1.25; }
.float-card strong { display: block; font-size: .92rem; }
.float-card small { color: var(--muted); }
.fc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-text); }
.fc-ico.gold { background: #FBF3DC; color: var(--gold-text); }
.fc-1 { left: 4%; top: 0; }
.fc-2 { right: -2%; bottom: 38%; }
@media (max-width: 999px) { .fc-2 { right: 0; } }
@media (max-width: 560px) {
  .hero-visual { aspect-ratio: 1.05/1; }
  .float-card { font-size: .72rem; padding: 7px 10px 7px 7px; gap: 7px; }
  .float-card strong { font-size: .8rem; }
  .fc-ico { width: 26px; height: 26px; }
  .ui-pill, .ui-line { height: 4px; }
  .ui-line.xl { height: 6px; }
  .ui-btn { height: 7px; }
}
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: floatIn 700ms var(--ease) both; }
  .fc-2 { animation-delay: 180ms; }
  .mock-phone { animation: rise 800ms var(--ease) both 80ms; }
}
@keyframes floatIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section-warm { background: var(--warm); border-top: 1px solid #F6EBE2; border-bottom: 1px solid #F6EBE2; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4.2vw, 2.55rem); font-weight: 800; }
.section-head p:not(.kicker) { margin-top: 12px; color: var(--muted); font-size: 1.08rem; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--gold-text); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.kicker .ico { width: 1.1em; height: 1.1em; }
.qr-copy .kicker::before { display: none; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: .8rem; font-weight: 600; line-height: 1.3; }
.badge .ico { width: 1em; height: 1em; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--gold-text); }
.badge.no { background: var(--no-bg); color: var(--red-text); }
.badge.unk { background: #F2F4F7; color: #475467; }

/* ---------- Selector ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 0 auto 28px; padding: 14px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--border); }
.notice .ico { margin-top: 2px; }
.notice-warn { border-color: #F5D2D1; background: #FFF7F7; }
.notice-warn .ico { color: var(--red); }
.notice-info { border-color: #FFD9BF; }
.notice-info .ico { color: var(--orange); }

.device-grid { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .device-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .device-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.device-grid li { display: flex; }
.device-card {
  position: relative; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 20px; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-lg);
  font: inherit; color: inherit;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.device-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #FFC9A3; }
.device-card.is-selected { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,0,.14), var(--shadow); transform: translateY(-3px); }
.device-card.is-selected::after { content: ""; position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange-cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.dc-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-text); transition: background var(--t), color var(--t); }
.dc-icon .ico { width: 24px; height: 24px; }
.device-card:hover .dc-icon, .device-card.is-selected .dc-icon { background: var(--grad); color: #fff; }
.dc-name { font: 700 1.08rem/1.25 var(--font-head); }
.dc-desc { color: var(--muted); font-size: .92rem; line-height: 1.45; flex: 1; }
.dc-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-text); font-weight: 600; font-size: .95rem; margin-top: 2px; }
.dc-cta .ico { width: 1em; height: 1em; transition: transform var(--t) var(--ease); }
.device-card:hover .dc-cta .ico { transform: translateX(3px); }
.dc-detected { position: absolute; top: 18px; right: 16px; font-size: .72rem; font-weight: 700; color: var(--gold-text); background: #FBF3DC; padding: 3px 8px; border-radius: 99px; }
.device-card.is-selected .dc-detected { right: 46px; }

/* Panel de descarga */
.download-panel { margin-top: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; outline: none; scroll-margin-top: calc(var(--header-h) + 16px); }
.download-panel:focus-visible { box-shadow: 0 0 0 3px var(--orange), var(--shadow); }
.download-panel.anim { animation: panelIn 260ms var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.dp-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-bottom: 1px solid var(--border); background: linear-gradient(90deg, var(--orange-soft), #fff 70%); }
.dp-head .dc-icon { background: var(--grad); color: #fff; }
.dp-head h3 { font-size: 1.35rem; }
.dp-head p { color: var(--muted); font-size: .92rem; }
.dp-head .badge { margin-left: auto; }
.dp-body { display: grid; gap: 28px; padding: 24px; }
@media (min-width: 860px) { .dp-body { grid-template-columns: 1.15fr 1fr; padding: 28px 32px 32px; gap: 40px; } }
.dp-notes { display: grid; gap: 10px; margin-top: 18px; }
.dp-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); color: #4D3A00; font-size: .93rem; }
.dp-note .ico { color: var(--gold-text); margin-top: 2px; }
.dp-note.danger { background: var(--no-bg); color: #6E1A1A; }
.dp-note.danger .ico { color: var(--red); }
.dp-side h4 { font-size: 1rem; margin-bottom: 10px; }
.dp-steps { list-style: none; counter-reset: s; display: grid; gap: 10px; }
.dp-steps li { counter-increment: s; display: flex; gap: 12px; font-size: .95rem; color: #344054; }
.dp-steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-text); font-weight: 700; font-size: .82rem; }
.dp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); font-size: .93rem; }
.dp-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dp-links a .ico { width: 1em; height: 1em; }

/* Especificaciones */
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; }
@media (min-width: 560px) { .spec-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.spec { padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; min-width: 0; }
.spec dt { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); font-weight: 500; }
.spec dt .ico { width: 1em; height: 1em; color: var(--gold); }
.spec dd { margin: 4px 0 0; font-weight: 600; font-size: .96rem; overflow-wrap: anywhere; }
.spec dd.pending { color: #98A2B3; font-weight: 500; font-style: italic; }

.dl-msg { margin-top: 12px; font-size: .92rem; display: flex; gap: 8px; align-items: flex-start; }
.dl-msg:empty { display: none; }
.dl-msg .ico { margin-top: 2px; width: 1.1em; height: 1.1em; }
.dl-msg.ok { color: var(--ok); }
.dl-msg.warn { color: #5C4500; }
.dl-msg.err { color: var(--red-text); }
.dl-state { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--no-bg); color: #6E1A1A; }
.dl-state .ico { color: var(--red); margin-top: 2px; }
.dl-state strong { display: block; margin-bottom: 2px; }
.dl-actions .btn { width: 100%; }
@media (min-width: 560px) { .dl-actions .btn { width: auto; } }

/* ---------- Sección de descarga ---------- */
.dl-card { display: grid; border: 1px solid var(--border); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); position: relative; }
.dl-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
@media (min-width: 900px) { .dl-card { grid-template-columns: 1.6fr 1fr; } }
.dl-card-main { padding: 32px 24px; }
@media (min-width: 768px) { .dl-card-main { padding: 44px; } }
.dl-app { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.dl-logo { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 10px 24px -10px rgba(255,107,0,.6); object-fit: contain; }
.dl-app h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800; }
.dl-app-name { color: var(--muted); margin-top: 4px; }
.dl-hint { display: flex; gap: 8px; align-items: flex-start; margin-top: 22px; color: var(--muted); font-size: .93rem; }
.dl-hint .ico { color: var(--orange); margin-top: 3px; width: 1.05em; height: 1.05em; }
.dl-card-side { padding: 28px 24px 32px; background: var(--warm); border-top: 1px solid var(--border); }
@media (min-width: 900px) { .dl-card-side { border-top: 0; border-left: 1px solid var(--border); padding: 44px 36px; } }
.dl-card-side h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 10px; }
.dl-card-side h3 .ico { color: var(--gold); }
.dl-card-side > p { color: #475467; font-size: .95rem; }
.hash { margin-top: 18px; }
.hash-label { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.hash-row { display: flex; gap: 8px; align-items: stretch; margin-top: 6px; }
.hash-row code { flex: 1; display: block; padding: 10px; background: #fff; font-size: .76rem; line-height: 1.45; }
.icon-btn { flex: none; width: 44px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color var(--t), color var(--t); }
.icon-btn:hover { border-color: var(--orange); color: var(--orange-text); }
.hash-missing { margin-top: 16px; font-size: .88rem; color: var(--muted); }
.side-links { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.side-links:empty { display: none; }
.side-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }

/* ---------- Tabs / guías ---------- */
.tabs { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.tablist { display: flex; gap: 6px; padding: 10px; overflow-x: auto; border-bottom: 1px solid var(--border); background: #FCFCFD; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.tablist [role="tab"] { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: #475467; font: 600 .95rem/1 var(--font-body); cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t); }
.tablist [role="tab"]:hover { background: var(--orange-soft); color: var(--orange-text); }
.tablist [role="tab"][aria-selected="true"] { background: #fff; color: var(--orange-text); border-color: #FFC9A3; box-shadow: var(--shadow-sm); }
.tablist [role="tab"] .ico { width: 1.1em; height: 1.1em; }
.tabpanel { padding: 28px 22px; outline: none; }
@media (min-width: 768px) { .tabpanel { padding: 40px; } }
.tabpanel:not([hidden]) { animation: panelIn 220ms var(--ease); }
.guide-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .guide-grid { grid-template-columns: 1.4fr 1fr; gap: 44px; } }
.tabpanel h3 { font-size: 1.4rem; margin-bottom: 16px; }
.guide-intro { color: var(--muted); margin: -6px 0 18px; }
.steps { list-style: none; counter-reset: st; display: grid; gap: 18px; }
.steps li { counter-increment: st; position: relative; padding-left: 52px; color: #344054; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 800 1rem/1 var(--font-head); box-shadow: 0 6px 14px -6px rgba(255,107,0,.7); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: -14px; width: 2px; background: linear-gradient(var(--orange-soft), transparent); }
.steps strong { color: var(--ink); }
.code-chip { display: inline-block; padding: 1px 8px; border-radius: 7px; background: var(--orange-soft); color: var(--orange-text); font-family: ui-monospace, Menlo, monospace; font-size: .92em; }
.tip { display: flex; gap: 10px; margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: var(--ok-bg); color: #0F5A2A; font-size: .93rem; }
.tip .ico { margin-top: 2px; }
.guide-side { display: grid; gap: 14px; align-content: start; }
.callout { padding: 16px 18px; border-radius: 16px; background: var(--warm); border: 1px solid #F6EBE2; font-size: .93rem; color: #344054; }
.callout h4 { display: flex; align-items: center; gap: 8px; font-size: .98rem; margin-bottom: 8px; }
.callout h4 .ico { color: var(--orange); }
.callout ul { padding-left: 18px; display: grid; gap: 6px; }
.callout.warn { background: #FFFBEF; border-color: #F3E3B0; }
.callout.warn h4 .ico { color: var(--gold-text); }
.callout.danger { background: #FFF7F7; border-color: #F5D2D1; }
.callout.danger h4 .ico { color: var(--red); }

/* ---------- QR ---------- */
.qr-card { display: grid; gap: 32px; align-items: center; padding: 32px 24px; border-radius: 28px; background: radial-gradient(500px 300px at 100% 0%, rgba(212,160,23,.12), transparent 70%), linear-gradient(135deg, #FFF4EA, #fff 60%); border: 1px solid #F8E1CF; }
@media (min-width: 820px) { .qr-card { grid-template-columns: 1.3fr 1fr; padding: 52px 56px; } }
.qr-copy h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.qr-copy > p:not(.kicker) { margin-top: 10px; color: var(--muted); font-size: 1.06rem; }
.copy-link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; padding: 8px 8px 8px 18px; background: #fff; border: 1px solid var(--border); border-radius: 999px; max-width: 460px; }
.copy-link-url { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-link .btn.copied { border-color: var(--ok); color: var(--ok); }
.qr-box { display: flex; justify-content: center; }
.qr-frame { position: relative; width: min(260px, 100%); aspect-ratio: 1; padding: 18px; background: #fff; border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; place-items: center; }
.qr-frame svg { width: 100%; height: 100%; }
.qr-frame::before, .qr-frame::after { content: ""; position: absolute; width: 34px; height: 34px; border: 3px solid var(--orange); }
.qr-frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.qr-frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.qr-loading, .qr-error { color: var(--muted); font-size: .9rem; text-align: center; }

/* ---------- Compatibilidad ---------- */
.comp-layout { display: grid; gap: 24px; }
@media (min-width: 960px) { .comp-layout { grid-template-columns: 1.6fr 1fr; gap: 32px; } }
.comp-sub { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 14px; }
.comp-grid { list-style: none; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .comp-grid { grid-template-columns: repeat(2, 1fr); } }
.comp-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.comp-item .dc-icon { width: 40px; height: 40px; border-radius: 12px; }
.comp-item .dc-icon .ico { width: 20px; height: 20px; }
.comp-item-name { font-weight: 600; flex: 1; line-height: 1.3; }
.legend { list-style: none; display: grid; gap: 8px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.comp-no { padding: 24px; border-radius: 20px; background: #fff; border: 1.5px solid #F5D2D1; align-self: start; }
.comp-no .comp-sub .ico { color: var(--red); }
.comp-no ul { list-style: none; display: grid; gap: 10px; margin-bottom: 16px; }
.comp-no li { position: relative; padding-left: 22px; color: #344054; }
.comp-no li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 8px; height: 2px; background: var(--red); border-radius: 2px; }
.comp-no p { font-size: .93rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--border); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 18px; transition: border-color var(--t), box-shadow var(--t); }
.faq details[open] { border-color: #FFC9A3; box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 20px; cursor: pointer; list-style: none; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: 600 1.04rem/1.4 var(--font-body); letter-spacing: 0; }
.faq summary .ico { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-text); transition: transform var(--t) var(--ease), background var(--t), color var(--t); }
.faq details[open] summary .ico { transform: rotate(180deg); background: var(--orange-cta); color: #fff; }
.faq summary:hover h3 { color: var(--orange-text); }
.faq-a { padding: 0 20px 20px; color: #475467; }
.faq-a ul { padding-left: 20px; display: grid; gap: 6px; }
.faq details[open] .faq-a { animation: panelIn 220ms var(--ease); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: #fff; position: relative; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; width: 120px; height: 3px; transform: translateX(-50%); background: var(--grad); border-radius: 0 0 4px 4px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: .93rem; max-width: 30em; }
.footer-brand .brand-logo { width: 36px; height: 36px; }
.site-footer h2 { font: 700 .8rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--gold-text); margin-bottom: 14px; }
.site-footer nav ul { list-style: none; display: grid; gap: 4px; }
.site-footer nav a { display: inline-block; padding: 6px 0; color: #344054; text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { color: var(--orange-text); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: grid; gap: 8px; color: var(--muted); font-size: .85rem; }
.trademarks { font-size: .78rem; color: #6B7280; }

/* ---------- Barra móvil ---------- */
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; background: rgba(255,255,255,.97); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 12px 32px -12px rgba(32,33,36,.35); transform: translateY(140%); transition: transform 240ms var(--ease); }
.mobile-bar.show { transform: none; }
.mobile-bar img { border-radius: 10px; }
.mb-text { flex: 1; min-width: 0; line-height: 1.2; }
.mb-text strong { display: block; font-size: .95rem; }
.mb-text small { color: var(--muted); font-size: .8rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 768px) { .mobile-bar { display: none !important; } }
body.has-mobile-bar .site-footer { padding-bottom: 100px; }

/* ---------- Navegador de TV ---------- */
.is-tv { font-size: 112.5%; }
.is-tv :focus-visible, .is-tv :focus { outline: 4px solid var(--orange); outline-offset: 4px; }
.is-tv .device-card:focus { transform: scale(1.03); box-shadow: 0 0 0 6px rgba(255,107,0,.25), var(--shadow); }
.is-tv .btn { --h: 60px; }
@media (min-width: 1700px) { html { font-size: 118%; } .container { max-width: 1440px; } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Páginas legales */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { color: #475467; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal .notice { margin: 24px 0; }

/* ---------- Descarga: dos APK + código Downloader ---------- */
.dl-multi { display: grid; gap: 12px; }
@media (min-width: 640px) { .dl-multi { grid-template-columns: 1fr 1fr; } }
.dl-choice { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: #FCFCFD; }
.dl-choice-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; color: #344054; }
.dl-choice-label .ico { color: var(--orange); }
.dl-choice .btn { width: 100%; }
.btn-alt { background: #A93C00; }
.btn-alt:hover { background: #8F3300; }
.code-callout { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 14px 18px; border-radius: 18px; background: linear-gradient(90deg, #FBF3DC, #FFF9F5); border: 1px solid #F3E3B0; }
.code-callout p { flex: 1; min-width: 200px; font-size: .95rem; color: #4D3A00; }
.code-callout-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--gold-text); flex: none; }
.code-big { font: 800 1.6rem/1 var(--font-head); letter-spacing: .08em; color: var(--ink); background: #fff; padding: 10px 16px; border-radius: 12px; border: 1.5px dashed var(--gold); }
.code-chip.code-big { font-size: 1.05em; padding: 2px 10px; letter-spacing: .06em; }
.spec-code { background: #FFFBEF; border-color: #F3E3B0; }
.spec-code dd { font: 800 1.15rem/1.2 var(--font-head); letter-spacing: .06em; }

/* ---------- Seguridad ---------- */
.section-trust { padding-top: 0; }
.trust-card { display: grid; gap: 24px; align-items: center; padding: 28px 22px; border-radius: 28px; background: linear-gradient(135deg, #fff 0%, #FFF9F5 60%, #FBF3DC 100%); border: 1px solid #F3E3B0; box-shadow: var(--shadow); }
@media (min-width: 880px) { .trust-card { grid-template-columns: 1fr 1.15fr; padding: 48px 56px; gap: 48px; } }
.trust-visual { position: relative; max-width: 380px; width: 100%; margin: 0 auto; }
.trust-visual svg { width: 100%; height: auto; }
.trust-chip { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #CFEBD8; color: var(--ok); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); white-space: nowrap; }
.trust-copy h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; }
.trust-lead { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
.trust-points { list-style: none; display: grid; gap: 12px; margin: 22px 0 24px; }
.trust-points li { display: flex; gap: 10px; align-items: flex-start; color: #344054; }
.trust-points .ico { color: var(--ok); margin-top: 2px; }
.trust-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-fine { margin-top: 16px; font-size: .8rem; color: #6B7280; }
@media (max-width: 520px) { .trust-cta .btn { width: 100%; } }

/* ---------- Énfasis de texto (palabras clave) ---------- */
u { text-decoration-line: underline; text-decoration-color: var(--gold); text-decoration-thickness: .14em; text-underline-offset: .2em; text-decoration-skip-ink: auto; }
h1 u { text-decoration-thickness: .08em; text-underline-offset: .14em; }
.hero h1 em { font-style: italic; font-weight: 700; }
.hero h1 .kw { font-weight: 800; color: var(--ink); position: relative; white-space: nowrap; }
.lead strong, .section-head p strong, .qr-copy p strong { color: var(--ink); font-weight: 650; }
.lead em, .section-head p em { color: #475467; }
.hero h1 .kw-colon { margin-left: -.1em; }
