/* Landing pública de RÍO (portada, /). Estilos propios: no afectan a la app. */
:root {
  --bg: #09090B; --s1: #0F0F12; --s2: #141418; --s3: #1B1B20;
  --line: rgba(255,255,255,0.08); --line-2: rgba(255,255,255,0.14);
  --text: #FAFAFA; --muted: #A1A1AA; --subtle: #71717A;
  --accent: #E8283F; --accent-2: #F0475B; --accent-soft: rgba(232,40,63,0.10);
  --ok: #22C55E; --warn: #EAB308;
  --r: 14px; --r-lg: 20px;
  --font: 'Space Grotesk', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --head: 'Bricolage Grotesque', 'Space Grotesk', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--head); margin: 0; letter-spacing: -0.02em; line-height: 1.12; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 0.95rem; margin-top: 20px; }
.i { width: 20px; height: 20px; flex: none; }
.ck { width: 16px; height: 16px; flex: none; color: var(--ok); margin-top: 3px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1px solid var(--accent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 24px -8px rgba(232,40,63,0.55); transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn .i { width: 18px; height: 18px; }
.btn-ghost { background: transparent; border-color: var(--line-2); box-shadow: none; color: var(--text); }
.btn-ghost:hover { background: var(--s2); border-color: rgba(255,255,255,0.24); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.88rem; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 1.02rem; }
.link { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.92rem; } .link:hover { color: var(--text); }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(9,9,11,0.78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; height: 64px; gap: 32px; }
.logo { font-family: var(--head); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.01em; text-decoration: none; color: var(--text); }
.logo { color: var(--accent); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; } .nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* Hero */
.hero { position: relative; padding: 96px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); opacity: 0.55; }
.hero::after { content: ''; position: absolute; width: 720px; height: 720px; right: -160px; top: -260px; pointer-events: none; background: radial-gradient(closest-side, rgba(232,40,63,0.16), transparent); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; min-height: 560px; }
.eyebrow { display: inline-block; color: var(--accent-2); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; margin-bottom: 18px; }
h1 { font-size: clamp(2.8rem, 6vw, 4.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 0.98; }
h1 span { color: var(--accent); }
.lead { margin-top: 22px; font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 32ch; line-height: 1.55; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.9rem; }
.facts li { display: flex; gap: 7px; }
.hero-note { position: relative; z-index: 1; margin-top: 18px; color: var(--subtle); font-size: 0.78rem; text-align: right; }

/* Ventana de producto */
.window { margin: 0; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--s2), var(--s1)); border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 40px 80px -24px rgba(0,0,0,0.8), 0 0 80px -30px rgba(232,40,63,0.35); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.win-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2A2A30; }
.win-bar em { margin-left: 10px; font-style: normal; font-size: 0.75rem; color: var(--subtle); }
.win-body { padding: 22px; display: grid; gap: 18px; }
.an-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.an-head small, .metrics small, .decision small { display: block; font-size: 0.72rem; color: var(--subtle); font-weight: 500; letter-spacing: 0.02em; margin-bottom: 8px; }
.decision { text-align: right; }
.decision b { display: inline-block; padding: 7px 14px; border-radius: 8px; background: rgba(234,179,8,0.12); color: #FACC15; border: 1px solid rgba(234,179,8,0.35); font-weight: 600; font-size: 0.95rem; }
.hand { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sep { width: 1px; height: 30px; background: var(--line-2); margin: 0 6px; }
.pc { width: 34px; height: 46px; border-radius: 6px; background: #F4F4F5; color: #18181B; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 4px 10px rgba(0,0,0,0.35); }
.pc b { font-family: var(--head); font-size: 0.98rem; font-weight: 700; }
.pc i { font-style: normal; font-size: 0.78rem; margin-top: 2px; }
.pc.red { color: #DC2626; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.metrics div { background: var(--s1); padding: 12px 14px; }
.metrics small { margin-bottom: 4px; }
.metrics b { font-family: var(--head); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.pos { color: var(--ok); }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reasons li { display: flex; gap: 10px; font-size: 0.88rem; color: #D4D4D8; line-height: 1.5; }

/* Franja */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--s1); }
.band-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-in div { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 12px; color: var(--muted); font-size: 0.9rem; font-weight: 500; text-align: center; }
.band-in div + div { border-left: 1px solid var(--line); }
.band-in .i { color: var(--text); opacity: 0.85; }

/* Secciones */
.sec { padding: 112px 0; }
.sec.alt { background: var(--s1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; }
.sub { margin-top: 16px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; max-width: 60ch; }

/* Pasos */
.steps { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.num { font-family: var(--head); font-weight: 700; color: var(--accent-2); font-size: 0.9rem; }
.steps h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Funciones */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.feat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.feat-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(232,40,63,0.22); }
.feat h3 { font-size: 1.15rem; margin: 20px 0 8px; }
.feat p { color: var(--muted); font-size: 0.95rem; }
.tag { display: inline-block; margin-top: 18px; font-size: 0.75rem; font-weight: 600; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); }

/* Bloques divididos */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.list li { display: flex; gap: 12px; color: var(--muted); } .list b { color: var(--text); font-weight: 600; }
.ui-card { border-radius: var(--r-lg); background: linear-gradient(180deg, var(--s2), var(--s1)); border: 1px solid var(--line-2); padding: 26px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.sec.alt .ui-card { background: linear-gradient(180deg, var(--s3), var(--s2)); }
.ui-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 16px; }
.ui-label.accent { color: var(--accent-2); }
.ui-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--subtle); }
.plan { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: #D4D4D8; font-size: 0.95rem; }
.plan li::marker { color: var(--subtle); }
.leak-title { font-family: var(--head); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.leak-list { display: grid; gap: 8px; }
.leak-list div { padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.chips span.on { color: var(--text); border-color: rgba(232,40,63,0.5); background: var(--accent-soft); }
.q { margin: 18px 0 14px; color: #D4D4D8; font-size: 0.95rem; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opts span { text-align: center; padding: 10px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 600; font-size: 0.88rem; color: var(--muted); }
.opts span.on { color: var(--text); border-color: var(--ok); background: rgba(34,197,94,0.08); }
.ok-line { display: flex; gap: 8px; margin-top: 14px; font-size: 0.88rem; color: #D4D4D8; }

/* Panel de progreso (estructura, sin cifras) */
.dash { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--s1); padding: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash-kpis div { padding: 18px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); }
.dash-kpis small { display: block; font-size: 0.78rem; color: var(--subtle); }
.dash-kpis b { display: block; margin-top: 6px; font-family: var(--head); font-size: 1.8rem; color: var(--subtle); }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.dash-grid > div { padding: 18px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); display: grid; gap: 10px; }
.dash-grid h4 { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.dash-grid h4 .i { width: 18px; height: 18px; color: var(--muted); }
.dash-grid i { display: block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)); }
.dash-grid i:nth-of-type(1) { width: 86%; } .dash-grid i:nth-of-type(2) { width: 64%; } .dash-grid i:nth-of-type(3) { width: 42%; }

/* Precios */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line-2); }
.price.featured { border-color: rgba(232,40,63,0.6); background: linear-gradient(180deg, rgba(232,40,63,0.08), var(--bg) 45%); box-shadow: 0 30px 70px -35px rgba(232,40,63,0.55); }
.badge { position: absolute; top: -12px; left: 30px; padding: 4px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; }
.price h3 { font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.amt { margin-top: 14px; font-family: var(--head); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.per { margin-top: 6px; color: var(--subtle); font-size: 0.88rem; }
.price ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.price li { display: flex; gap: 10px; font-size: 0.93rem; color: #D4D4D8; } .price li b { color: var(--text); font-weight: 600; }
.price .btn { width: 100%; }

/* FAQ */
#faq details { border-bottom: 1px solid var(--line); }
#faq details:first-of-type { border-top: 1px solid var(--line); }
#faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 1.02rem; }
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
#faq details[open] summary::after { transform: rotate(45deg); }
#faq details p { padding: 0 0 22px; color: var(--muted); }
#faq a { color: var(--text); }

/* CTA final */
.final { padding: 120px 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; left: 50%; bottom: -380px; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(232,40,63,0.18), transparent); pointer-events: none; }
.final-in { position: relative; text-align: center; }
.final h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.035em; }
.final p { margin: 14px 0 34px; font-family: var(--head); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 600; color: var(--muted); }

/* Pie */
.foot { border-top: 1px solid var(--line); background: var(--s1); padding: 56px 0 calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 0.88rem; }
.foot-in { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.foot-in p { margin-top: 12px; max-width: 36ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h5 { font-size: 0.8rem; color: var(--text); font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.foot-cols a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; } .foot-cols a:hover { color: var(--text); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.8rem; }
.foot-bottom a { color: var(--muted); }
.age { display: inline-block; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 6px; font-weight: 700; font-size: 0.72rem; margin-right: 6px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-in, .split { grid-template-columns: 1fr; gap: 48px; }
  .split.rev > :first-child { order: 2; }
  .hero { padding-top: 72px; }
  .hero-note { text-align: left; }
  .grid3, .prices { grid-template-columns: 1fr; max-width: 560px; }
  .prices { margin: 0 auto; }
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .sec { padding: 76px 0; }
  .sec-head { margin-bottom: 36px; }
  .band-in { grid-template-columns: 1fr 1fr; }
  .band-in div:nth-child(3) { border-left: none; }
  .band-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; border-top: none; margin-bottom: 40px; }
  .steps li, .steps li + li { padding: 20px 0; border-left: none; border-top: 1px solid var(--line); }
  .metrics, .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; gap: 32px; }
  .nav-cta .link { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .win-body { padding: 18px; }
  .pc { width: 30px; height: 41px; }
}
@media (max-width: 400px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .feat { transition: none; } }

/* ---- Hero: el producto en un portátil y un móvil, con fichas de RÍO ---- */
.hero { padding: 80px 0 32px; background: radial-gradient(55% 70% at 72% 45%, rgba(232,40,63,0.20), transparent 70%), radial-gradient(40% 40% at 70% 90%, rgba(23,96,59,0.18), transparent 70%); }
.hero::after { display: none; }
.stage { position: relative; padding: 10px 0 110px 40px; }
.laptop { position: relative; transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; filter: drop-shadow(0 50px 60px rgba(0,0,0,0.65)); }
.screen { border-radius: 16px 16px 4px 4px; background: linear-gradient(180deg, var(--s2), var(--s1)); border: 10px solid #1E1E23; border-bottom-width: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 90px -20px rgba(232,40,63,0.45); }
.base { height: 16px; margin: 0 -7%; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #2A2A30, #141418); box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset; position: relative; }
.base::before { content: ''; position: absolute; left: 50%; top: 0; width: 18%; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #0E0E11; }
.phone { position: absolute; left: -10px; bottom: -6px; width: 172px; border-radius: 28px; padding: 9px; background: #0E0E11; border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 70px -20px rgba(0,0,0,0.85), 0 0 0 1px rgba(0,0,0,0.6); transform: rotate(-4deg); z-index: 2; }
.ph-notch { width: 54px; height: 6px; border-radius: 999px; background: #222228; margin: 3px auto 8px; }
.ph-body { border-radius: 20px; background: linear-gradient(180deg, var(--s2), var(--s1)); padding: 14px 12px 16px; border: 1px solid var(--line); }
.ph-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--subtle); margin-bottom: 10px; }
.ph-body p { font-size: 0.72rem; color: #D4D4D8; margin: 10px 0; line-height: 1.4; }
.ph-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ph-opts span { text-align: center; font-size: 0.64rem; font-weight: 600; padding: 6px 2px; border-radius: 7px; border: 1px solid var(--line-2); color: var(--muted); }
.ph-opts span.on { border-color: var(--ok); color: var(--text); background: rgba(34,197,94,0.1); }
.ph-ok { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 0.7rem; font-weight: 600; color: var(--ok); }
.ph-ok .ck { margin-top: 0; width: 13px; height: 13px; }
.hand.sm .pc { width: 26px; height: 36px; } .hand.sm .pc b { font-size: 0.82rem; } .hand.sm .pc i { font-size: 0.66rem; }
/* Fichas de póker (CSS) */
.pchips { position: absolute; right: 2%; bottom: 0; width: 74px; height: 70px; z-index: 3; }
.pchips i { position: absolute; left: 0; width: 74px; height: 20px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 42%, #F04A5D 0 34%, #fff 35% 39%, #C81E33 40% 100%);
  box-shadow: 0 4px 0 #8E1424, 0 9px 14px rgba(0,0,0,0.55); }
.pchips i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,255,255,0.9) 0 10deg, transparent 10deg 45deg); mask: radial-gradient(ellipse, transparent 62%, #000 63%); -webkit-mask: radial-gradient(ellipse, transparent 62%, #000 63%); opacity: 0.9; }
.pchips i:nth-child(1) { bottom: 0; } .pchips i:nth-child(2) { bottom: 9px; } .pchips i:nth-child(3) { bottom: 18px; } .pchips i:nth-child(4) { bottom: 27px; }
.pchips.c2 { right: calc(2% + 66px); bottom: -6px; transform: scale(0.85); }
.pchips.c2 i { background: radial-gradient(ellipse at 50% 42%, #2A2A30 0 34%, #fff 35% 39%, #121215 40% 100%); box-shadow: 0 4px 0 #050506, 0 9px 14px rgba(0,0,0,0.55); }

/* ---- Tres pilares (como las tarjetas de producto) ---- */
.pillars { padding: 24px 0 96px; }
.pillars-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--s2), var(--s1)); transition: transform .2s, border-color .2s, box-shadow .2s; }
.pillar:hover { transform: translateY(-4px); border-color: rgba(232,40,63,0.45); box-shadow: 0 30px 60px -30px rgba(232,40,63,0.45); }
.pv { position: relative; height: 190px; padding: 22px; display: grid; place-items: center; gap: 12px; border-bottom: 1px solid var(--line);
  background: radial-gradient(80% 90% at 50% 0%, rgba(232,40,63,0.14), transparent 70%), repeating-linear-gradient(115deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 6px); }
.pv::after { content: ''; position: absolute; inset: auto 0 0 0; height: 50px; background: linear-gradient(180deg, transparent, rgba(15,15,18,0.9)); }
.mini-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: 100%; max-width: 270px; }
.mini-metrics div { background: var(--s1); padding: 9px 10px; }
.mini-metrics small { display: block; font-size: 0.62rem; color: var(--subtle); }
.mini-metrics b { font-family: var(--head); font-size: 1.05rem; }
.mini-badge { padding: 6px 12px; border-radius: 8px; background: rgba(234,179,8,0.12); color: #FACC15; border: 1px solid rgba(234,179,8,0.35); font-weight: 600; font-size: 0.82rem; }
.pv-train .ph-opts { grid-template-columns: 1fr 1fr; width: 160px; } .pv-train .ph-opts span { font-size: 0.75rem; padding: 8px; }
.pv-train .hand.sm .pc { width: 38px; height: 52px; } .pv-train .hand.sm .pc b { font-size: 1.1rem; } .pv-train .hand.sm .pc i { font-size: 0.85rem; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; width: 100%; max-width: 230px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent-2), rgba(232,40,63,0.25)); }
.pv-progress small { font-size: 0.62rem; color: var(--subtle); position: relative; z-index: 1; }
.pillar h3 { font-size: 1.5rem; padding: 20px 22px 6px; }
.pillar p { padding: 0 22px 24px; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 1024px) {
  .hero-in { min-height: 0; }
  .stage { max-width: 640px; margin: 0 auto; padding-left: 30px; }
  .pillars-in { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .laptop { transform: none; }
  .screen { border-width: 6px; border-bottom-width: 9px; }
  .stage { padding: 0 0 150px; }
  .phone { width: 140px; left: -4px; bottom: 0; }
  .pchips { width: 56px; } .pchips i { width: 56px; height: 15px; }
  .pchips.c2 { right: calc(2% + 50px); }
  .screen .reasons li:nth-child(n+2) { display: none; }
}

/* ---- Captura y voz en el hero ---- */
.inputs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.in-lbl { width: 100%; font-size: 0.78rem; color: var(--subtle); font-weight: 500; margin-bottom: 2px; }
.in { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 0.86rem; font-weight: 600; background: rgba(255,255,255,0.02); }
.in .i { width: 16px; height: 16px; }
.in.hot { color: var(--text); border-color: rgba(232,40,63,0.45); background: var(--accent-soft); } .in.hot .i { color: var(--accent-2); }
.float { position: absolute; z-index: 4; border-radius: 14px; background: rgba(20,20,24,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); box-shadow: 0 24px 50px -16px rgba(0,0,0,0.85); }
.shot { top: -26px; left: 4px; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; transform: rotate(-2deg); }
.shot-img { width: 66px; height: 44px; border-radius: 8px; background: #0E0E11; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.felt { width: 58px; height: 34px; border-radius: 999px; background: radial-gradient(60% 70% at 50% 45%, #237a4d, #0e3f27); border: 2px solid #3b2212; display: flex; align-items: center; justify-content: center; gap: 2px; }
.fc { width: 7px; height: 10px; border-radius: 1.5px; background: #F4F4F5; } .fc.r { background: #fde2e4; box-shadow: inset 0 -3px 0 #DC2626; }
.shot-txt { display: grid; gap: 2px; }
.shot-txt b { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; } .shot-txt b .i { width: 15px; height: 15px; color: var(--accent-2); }
.shot-txt span { display: flex; align-items: center; gap: 5px; font-size: 0.7rem; color: var(--muted); } .shot-txt .ck { width: 12px; height: 12px; margin: 0; }
.voice { top: -58px; right: -18px; width: 222px; padding: 10px 12px; transform: rotate(2deg); }
.v-top { display: flex; align-items: center; gap: 10px; }
.v-mic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; box-shadow: 0 0 0 4px rgba(232,40,63,0.18); }
.v-mic .i { width: 16px; height: 16px; }
.wave { display: flex; align-items: center; gap: 3px; height: 24px; flex: 1; }
.wave i { flex: 1; border-radius: 2px; background: var(--accent-2); opacity: 0.85; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-delay: -0.4s; } .wave i:nth-child(3n) { animation-delay: -0.7s; } .wave i:nth-child(4n) { animation-delay: -0.2s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.voice p { margin-top: 8px; font-size: 0.74rem; color: #D4D4D8; line-height: 1.4; font-style: italic; }
@media (max-width: 1024px) { .voice { right: 0; } }
@media (max-width: 760px) {
  .shot { top: -34px; left: 0; padding: 6px 10px 6px 6px; } .shot-img { width: 52px; height: 36px; } .felt { width: 46px; height: 28px; }
  .voice { top: auto; bottom: 58px; right: 0; width: 170px; }
  .voice p { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; height: 60%; } }

/* Modo carrera (maqueta de la sección) */
.road-bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; }
.road-bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #E8283F, #ff6a5a, #F2C14E); }
.road-sub { color: var(--muted); font-size: 0.85rem; margin: 8px 0 18px; }
.road { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.road li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.road .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: rgba(255,255,255,0.1); color: var(--muted); }
.road b { display: block; font-size: 0.95rem; }
.road small { color: var(--muted); font-size: 0.78rem; }
.road li.done .n { background: var(--ok); color: #09090B; }
.road li.exam .n { border-radius: 10px; }
.road li.now { border-color: var(--accent); background: var(--accent-soft); }
.road li.now .n { background: var(--accent); color: #fff; }

/* Guías destacadas en la portada */
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.learn-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text);
  background: rgba(255,255,255,0.02); transition: transform .2s ease, border-color .2s ease; }
.learn-card:hover { transform: translateY(-3px); border-color: rgba(232,40,63,0.45); }
.learn-card b { font-size: 1.1rem; }
.learn-card span { color: var(--muted, rgba(245,242,236,0.7)); font-size: 0.95rem; line-height: 1.45; }
.learn-more { text-align: center; margin-top: 28px; color: var(--muted, rgba(245,242,236,0.7)); }
.learn-more a { color: inherit; text-decoration: underline; }
@media (max-width: 860px) { .learn-grid { grid-template-columns: 1fr; } }
