/* DiabetesLibre · web de venta */
:root {
  --bg: #0b1020;
  --bg-2: #0f1529;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1f8;
  --muted: #9aa5bd;
  --violet: #a78bfa;
  --violet-2: #7c3aed;
  --green: #22c55e;
  --amber: #f59e0b;
  --grad: linear-gradient(135deg, #fb7185 0%, #c084fc 55%, #818cf8 100%);
  --radius: 18px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--violet); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; font-size: 0.88em;
  background: var(--surface-2); padding: 2px 7px; border-radius: 6px; color: #e9d5ff; word-break: break-all; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650;
  text-decoration: none; border-radius: 999px; padding: 11px 22px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.92rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -8px rgba(192, 132, 252, 0.6); }
.btn-primary:hover { box-shadow: 0 12px 38px -8px rgba(251, 113, 133, 0.7); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: rgba(167, 139, 250, 0.6); background: var(--surface-2); }
.btn-light { background: #fff; color: #1e1b4b; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

/* navegación */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.open { background: rgba(11, 16, 32, 0.85); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); position: relative; box-shadow: 0 4px 18px -4px rgba(251, 113, 133, .7); }
.logo-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 0.96rem; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background: radial-gradient(600px 380px at 75% 30%, rgba(167, 139, 250, 0.28), transparent 70%),
              radial-gradient(520px 340px at 20% 10%, rgba(251, 113, 133, 0.22), transparent 70%),
              radial-gradient(500px 300px at 60% 80%, rgba(99, 102, 241, 0.18), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--violet); margin-bottom: 18px; }
.hero .eyebrow { background: var(--surface); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; letter-spacing: 0.02em; text-transform: none; font-size: 0.88rem; color: var(--text); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #c9d1e4; max-width: 580px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-ctas.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 0.93rem; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }

/* móvil del hero */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone { width: 290px; height: 580px; border-radius: 46px; padding: 12px; position: relative;
  background: linear-gradient(160deg, #2a3150, #12172a); box-shadow: 0 50px 100px -30px rgba(124, 58, 237, .55), inset 0 0 0 1.5px rgba(255,255,255,.12);
  transform: rotate(-4deg); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 20px; background: #05070f; z-index: 2; }
.screen { height: 100%; border-radius: 36px; background: linear-gradient(180deg, #121a33, #0b1020); padding: 54px 18px 18px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.scr-top { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 700; }
.scr-now { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.scr-value { font-size: 4.2rem; font-weight: 800; letter-spacing: -0.04em; color: #4ade80; line-height: 1; display: flex; align-items: baseline; gap: 6px; transition: color .4s; }
.scr-value small { font-size: 0.85rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.scr-arrow { font-size: 2.2rem; color: #4ade80; }
.scr-label { text-align: center; font-size: 0.82rem; color: var(--muted); }
.scr-chart { width: 100%; height: 150px; margin-top: 10px; }
.chart-line { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.4s .4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.scr-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.tile { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 10px 6px; text-align: center; display: grid; }
.tile b { font-size: 1.02rem; }
.tile span { font-size: 0.68rem; color: var(--muted); }
.float-card { position: absolute; display: flex; gap: 10px; align-items: center; background: rgba(20, 26, 48, 0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px; padding: 10px 14px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); font-size: 0.86rem; }
.float-card div { display: grid; line-height: 1.3; }
.float-card small { color: var(--muted); }
.fc-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); }
.fc-1 { top: 70px; left: -10px; animation: floaty2 6s ease-in-out infinite; }
.fc-2 { top: 250px; right: -20px; animation: floaty2 7s 1s ease-in-out infinite; }
.fc-3 { bottom: 60px; left: 0; animation: floaty2 8s .5s ease-in-out infinite; }
@keyframes floaty2 { 50% { transform: translateY(-10px); } }

/* franja de compatibilidad */
.strip { border-block: 1px solid var(--border); background: var(--bg-2); }
.strip-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; padding: 22px 20px; font-weight: 650; color: #c9d1e4; font-size: 0.95rem; }

/* secciones */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-col { border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); background: var(--surface); }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare-col.bad { color: var(--muted); }
.compare-col.bad li::before { content: "✕"; color: #f87171; font-weight: 800; margin-right: 10px; }
.compare-col.good { border-color: rgba(167, 139, 250, .45); background: linear-gradient(160deg, rgba(167,139,250,.12), rgba(251,113,133,.06)); }
.compare-col.good li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 10px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 160px at 0% 0%, rgba(167,139,250,.14), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.feature:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, .4); }
.feature:hover::before { opacity: 1; }
.feature p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.f-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(251,113,133,.18), rgba(167,139,250,.22)); border: 1px solid rgba(167,139,250,.3); }
.f-ico svg { width: 24px; height: 24px; fill: none; stroke: #e9d5ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(34, 197, 94, .16); color: var(--green); font-size: 0.75rem; font-weight: 900; }

/* maqueta del dashboard */
.showcase { background: linear-gradient(180deg, transparent, rgba(124,58,237,.07), transparent); }
.mock { border-radius: 20px; border: 1px solid var(--border); background: #0e1427; box-shadow: 0 40px 90px -40px rgba(124, 58, 237, .6); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3b4361; flex: none; }
.mock-bar i:first-child { background: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; }
.mock-bar i:nth-child(3) { background: #4ade80; }
.mock-bar span { margin-left: 12px; font-size: 0.8rem; color: var(--muted); background: rgba(255,255,255,.05); padding: 3px 12px; border-radius: 999px;
  font-family: ui-monospace, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { padding: 20px; display: grid; gap: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-kpis div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: grid; }
.mock-kpis b { font-size: 1.25rem; }
.mock-kpis b.ok { color: #4ade80; }
.mock-kpis b.warn { color: var(--amber); }
.mock-kpis span { font-size: 0.72rem; color: var(--muted); }
.tir { display: flex; height: 14px; border-radius: 999px; overflow: hidden; }
.tir span { display: block; }
.t-vl { width: 1%; background: #b91c1c; }
.t-l { width: 2.9%; background: #ef4444; }
.t-ok { width: 74%; background: #22c55e; }
.t-h { width: 17%; background: #f59e0b; }
.t-vh { width: 5.1%; background: #ea580c; }
.cal { display: grid; grid-template-columns: repeat(14, 1fr); gap: 5px; }
.cal i { aspect-ratio: 1; border-radius: 4px; }
.c1 { background: rgba(239, 68, 68, .55); }
.c2 { background: rgba(245, 158, 11, .55); }
.c3 { background: rgba(34, 197, 94, .45); }
.c4 { background: rgba(34, 197, 94, .8); }
.agp { width: 100%; height: 110px; }

/* pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.step p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.step-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; background: var(--grad); color: #fff; }
.note { margin: 28px auto 0; max-width: 760px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--border); border-radius: 14px; padding: 14px 18px; font-size: 0.95rem; }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; }
.who-card p { color: var(--muted); margin: 0; }
.who-ico { font-size: 2.2rem; display: block; margin-bottom: 12px; }

/* precios */
.pricing-sec { background: radial-gradient(800px 400px at 50% 45%, rgba(124, 58, 237, .16), transparent 70%); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; max-width: 1040px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan .checks { margin-bottom: 26px; }
.plan.featured { background: linear-gradient(170deg, rgba(167,139,250,.16), rgba(251,113,133,.08) 60%, rgba(255,255,255,.03));
  border: 1px solid rgba(192, 132, 252, .55); padding: 44px 30px; box-shadow: 0 30px 80px -30px rgba(192, 132, 252, .55); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 0.8rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 0; }
.amount { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.04em; }
.per { color: var(--muted); }
.plan-sub { color: var(--muted); font-size: 0.95rem; margin: 0; }
.plan.featured .plan-sub b { color: #fda4af; }

/* formularios */
.form-card, .access-card { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 40px; }
.form-head { text-align: center; margin-bottom: 26px; }
#solicitud { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: #c9d1e4; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--text); background: rgba(0, 0, 0, .25); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; width: 100%; }
select option { color: #000; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(167, 139, 250, .25); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); }
label.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--violet-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { text-align: center; margin: 0; min-height: 1.4em; font-weight: 600; }
.form-msg.ok { color: #4ade80; }
.form-msg.err { color: #fca5a5; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(167, 139, 250, .45); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* acceso */
.access-card { text-align: center; }
.access-form { display: flex; align-items: center; max-width: 560px; margin: 22px auto 14px; background: rgba(0,0,0,.25); border: 1px solid var(--border); border-radius: 999px; padding: 6px; }
.access-form:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(167, 139, 250, .25); }
.access-prefix { padding-left: 16px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 0.95rem; white-space: nowrap; }
.access-form input { border: 0; background: transparent; padding: 10px 6px; font-family: ui-monospace, monospace; min-width: 0; }
.access-form input:focus { box-shadow: none; }

/* CTA final */
.final-cta { padding: 40px 0 110px; }
.final-in { text-align: center; border-radius: 30px; padding: 70px 30px; background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.final-in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 20% 0%, rgba(255,255,255,.25), transparent 70%); pointer-events: none; }
.final-in > * { position: relative; }
.final-in p { font-size: 1.12rem; opacity: .95; }

/* pie */
.footer { border-top: 1px solid var(--border); padding: 44px 0 30px; background: var(--bg-2); }
.footer-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 22px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.disclaimer { font-size: 0.8rem; color: #7c87a0; max-width: 900px; }

/* aparición al hacer scroll (solo con JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* páginas legales */
.legal { padding: 120px 0 80px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: #c9d1e4; }
.legal .todo { background: rgba(245, 158, 11, .15); color: #fcd34d; padding: 1px 6px; border-radius: 4px; }

@media (max-width: 980px) {
  .hero { padding-top: 120px; }
  .hero-in, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan.featured { order: -1; }
  .who { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(11, 16, 32, .97);
    border-bottom: 1px solid var(--border); padding: 8px 20px 18px; display: none; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .section { padding: 76px 0; }
  .features, .steps, .compare, .grid-2 { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .phone { width: 260px; height: 530px; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
  .fc-3 { left: 6px; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .form-card, .access-card { padding: 26px 18px; }
  .access-form { flex-wrap: wrap; border-radius: 18px; }
  .access-prefix { padding: 6px 10px 0; width: 100%; text-align: left; font-size: .85rem; }
  .access-form input { flex: 1; padding-left: 10px; }
  .final-in { padding: 50px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chart-line { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- novedades: insignia, foto del plato, deporte, app ---------- */
.badge-new { display: inline-block; margin-left: 8px; padding: 2px 9px; font-size: 0.62rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; border-radius: 999px; background: var(--grad); color: #fff; vertical-align: middle; }
.mock-photo { border-radius: 22px; border: 1px solid var(--border); background: #0e1427; padding: 18px; max-width: 420px; margin-inline: auto;
  box-shadow: 0 40px 90px -40px rgba(251, 113, 133, .5); }
.mp-img { height: 150px; border-radius: 14px; display: grid; place-items: center; font-size: 4.4rem;
  background: radial-gradient(120px 90px at 50% 55%, rgba(251,113,133,.28), rgba(167,139,250,.14) 70%, transparent), rgba(255,255,255,.04); }
.mp-rows { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.mp-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface); font-size: 0.95rem; }
.mp-rows small { color: var(--muted); margin-left: 4px; }
.mp-rows b { color: #e9d5ff; white-space: nowrap; }
.mp-total { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.35); font-weight: 700; }
.mp-total small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.app-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.app-steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.app-steps li b { color: var(--text); }
.app-steps li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); }
.plans-note { text-align: center; color: var(--muted); font-size: 0.92rem; margin: 22px auto 0; max-width: 62ch; }
@media (max-width: 900px) { .mock-photo { max-width: 100%; } }

/* ---------- capturas reales ---------- */
.screen.has-img { padding: 0; background: #0b1020; }
.screen-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; }
.shot { margin: 0; }
.shot a { display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: #0e1427;
  box-shadow: 0 40px 90px -40px rgba(124, 58, 237, .6); transition: transform .25s, border-color .25s; }
.shot a:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, .5); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: 0.85rem; }
.shot-narrow { max-width: 440px; margin-inline: auto; width: 100%; }
.gallery { display: grid; grid-template-columns: 1.5fr 1.5fr 0.8fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } .shot-narrow { max-width: 360px; } }

/* con la captura real, las tarjetas flotantes se apartan para no tapar los datos */
.fc-1 { top: 30px; left: -86px; }
.fc-2 { top: 300px; right: -64px; }
.fc-3 { bottom: 30px; left: -78px; }
@media (max-width: 900px) { .fc-1 { top: 10px; left: 0; } .fc-2 { top: auto; bottom: 150px; right: 0; } .fc-3 { bottom: 20px; left: 0; } }
.screen.has-img { padding-top: 34px; }
.screen.has-img .screen-img { border-radius: 0 0 36px 36px; }
@media (max-width: 600px) { .fc-2, .fc-3 { display: none; } .fc-1 { top: 0; left: 0; } }

/* ---------- guías, comparativa y CTA móvil ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-guias { margin-left: auto; margin-right: 14px; color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-guias:hover { color: var(--text); }
.guide .crumbs { margin-bottom: 18px; }
.guide .crumbs a { color: var(--muted); }
.guide-meta { margin: -6px 0 18px; }
.callout { margin: 0 0 24px; padding: 16px 18px; border-radius: 14px; background: rgba(167, 139, 250, .12); border: 1px solid rgba(167, 139, 250, .35); color: #e9d5ff; }
.guide h2 { scroll-margin-top: 90px; }
.guide ul, .guide ol { padding-left: 1.3rem; }
.guide li { margin: 6px 0; }
.formula { padding: 14px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; font-size: 1.05rem; overflow-x: auto; color: var(--text) !important; }
.formula-inline { font-weight: 700; color: var(--text); }
.guide-table, .compare-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.97rem; }
.guide-table th, .guide-table td, .compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.guide-table thead th, .compare-table thead th { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: .05em; }
.guide-cta { margin: 40px 0 10px; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(251,113,133,.14), rgba(129,140,248,.14)); border: 1px solid var(--border); }
.guide-cta h2 { margin-top: 0; }
.guide-related { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.guias-grid { list-style: none; margin: 24px 0; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guia-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: transform .25s, border-color .25s; }
.guia-card:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, .5); }
.guia-card h2, .guia-card h3 { margin: 0; font-size: 1.2rem; }
.guia-card p { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; }
.guia-card span { color: var(--violet); font-weight: 700; font-size: 0.92rem; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.compare-table { margin: 0; min-width: 760px; }
.compare-table tbody th { font-weight: 600; width: 30%; }
.compare-table .us { background: rgba(167, 139, 250, .1); font-weight: 700; }
.compare-table .yes { color: #4ade80; font-weight: 800; }
.compare-table .no { color: #f87171; font-weight: 800; }
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; text-align: center; padding: 14px 18px; border-radius: 14px;
  font-weight: 800; color: #fff; text-decoration: none; background: var(--grad); box-shadow: 0 14px 40px -10px rgba(124, 58, 237, .7);
  transform: translateY(140%); transition: transform .3s; }
@media (max-width: 700px) { .sticky-cta { display: block; } .sticky-cta.show { transform: none; } body { padding-bottom: 0; } .footer { padding-bottom: 90px; } }
@media (max-width: 760px) { .guias-grid { grid-template-columns: 1fr; } }
