/* Vittasof · sitio web */
:root {
  --navy: #0f1f45;
  --green: #14c48e;
  --teal: #11c3ad;
  --blue: #0a74d6;
  --cyan: #12e6f2;
  --lime: #52e33a;
  --bg: #f6f9fc;
  --bg-2: #eef4f9;
  --surface: #ffffff;
  --ink: #0f1c2e;
  --ink-2: #44566d;
  --ink-3: #7a8aa0;
  --line: #e2e9f1;
  --grad: linear-gradient(120deg, #12e6f2 0%, #0a74d6 45%, #14c48e 80%, #52e33a 100%);
  --grad-soft: linear-gradient(135deg, rgba(18,230,242,.14), rgba(20,196,142,.14));
  --shadow: 0 1px 2px rgba(15,31,69,.05), 0 18px 50px rgba(15,31,69,.08);
  --radius: 22px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-font: "Nunito", "Plus Jakarta Sans", sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #070d1c;
  --bg-2: #0b1428;
  --surface: #0f1a33;
  --ink: #eaf1fb;
  --ink-2: #b2c0d6;
  --ink-3: #7c8ca6;
  --line: #1e2c4a;
  --navy: #eaf1fb;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 20px 60px rgba(0,0,0,.45);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .3s, color .3s; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
.container { width: min(1180px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 38px; height: auto; overflow: visible; flex: none; }
.logo-word { position: relative; font: 900 26px/1 var(--brand-font); letter-spacing: -.03em; }
.lw-a { color: var(--navy); }
.lw-b { color: var(--green); }
.logo-word sup { font-size: .32em; color: var(--navy); margin-left: 2px; vertical-align: top; }
.lw-swoosh { position: absolute; left: -2%; right: 6%; bottom: -.42em; width: 96%; height: .4em; overflow: visible; }
.lw-swoosh path { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; }
.logo--nav .logo-mark { width: 40px; }
.logo--nav:hover .lv-pulse { animation: pulse-draw 1.1s ease; }

/* Animación del logo */
.is-animating .lv-l, .is-animating .lv-r, .logo--nav.is-intro .lv-l, .logo--nav.is-intro .lv-r { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.is-animating .lv-l { animation: pulse-draw .55s cubic-bezier(.6,0,.3,1) .1s forwards; }
.is-animating .lv-r { animation: pulse-draw .55s cubic-bezier(.6,0,.3,1) .5s forwards; }
.is-animating .lv-pulse { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pulse-draw 1s ease .75s forwards; }
.is-animating .lw-a i, .is-animating .lw-b i { display: inline-block; font-style: normal; opacity: 0; transform: translateY(.45em); animation: letter-in .5s cubic-bezier(.2,.9,.3,1.2) forwards; }
.is-animating .lw-a i:nth-child(1) { animation-delay: .9s; } .is-animating .lw-a i:nth-child(2) { animation-delay: .96s; } .is-animating .lw-a i:nth-child(3) { animation-delay: 1.02s; } .is-animating .lw-a i:nth-child(4) { animation-delay: 1.08s; } .is-animating .lw-a i:nth-child(5) { animation-delay: 1.14s; }
.is-animating .lw-b i:nth-child(1) { animation-delay: 1.24s; } .is-animating .lw-b i:nth-child(2) { animation-delay: 1.3s; } .is-animating .lw-b i:nth-child(3) { animation-delay: 1.36s; }
.is-animating .lw-swoosh path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pulse-draw .8s ease 1.45s forwards; }
.is-animating sup { opacity: 0; animation: pop .4s ease 1.75s forwards; }
.logo--nav .lv-pulse { stroke-dasharray: 1; stroke-dashoffset: 0; }
.logo--nav.is-intro .lv-l { animation: pulse-draw .5s cubic-bezier(.6,0,.3,1) forwards; }
.logo--nav.is-intro .lv-r { animation: pulse-draw .5s cubic-bezier(.6,0,.3,1) .35s forwards; }
.logo--nav.is-intro .lv-pulse { stroke-dashoffset: 1; animation: pulse-draw .9s ease .5s forwards; }
@keyframes arm-in { from { transform: scaleY(0) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pulse-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes letter-in { to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.2); } 100% { opacity: 1; transform: none; } }

/* Pantalla de entrada */
.splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--bg); transition: opacity .6s ease, visibility .6s; }
.splash.is-done { opacity: 0; visibility: hidden; }
.logo--xl { gap: 22px; }
.logo--xl .logo-mark { width: clamp(90px, 14vw, 150px); }
.logo--xl .logo-word { font-size: clamp(52px, 9vw, 104px); }
.splash::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(18,230,242,.18), transparent 65%); animation: breathe 2.4s ease-in-out infinite; z-index: -1; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }

/* ---------- Botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent; background: var(--navy); color: #fff; font: 700 15px var(--font); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
html[data-theme="dark"] .btn:not(.btn--ghost):not(.btn--light):not(.btn--wa) { background: linear-gradient(120deg, #0a74d6, #14c48e); color: #fff; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10,116,214,.25); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); }
.btn--glow { background: linear-gradient(120deg, #0a74d6, #11c3ad 60%, #14c48e); color: #fff; box-shadow: 0 10px 34px rgba(17,195,173,.35); overflow: hidden; }
.btn--glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(120%); } }
.btn--light { background: #fff; color: #0f1f45; }
.btn--wa { background: #1da851; color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
[data-theme-toggle] svg { display: none; }
html[data-theme-pref="auto"] [data-theme-toggle] .i-auto, html:not([data-theme-pref]) [data-theme-toggle] .i-auto,
html[data-theme-pref="light"] [data-theme-toggle] .i-sun, html[data-theme-pref="dark"] [data-theme-toggle] .i-moon { display: block; }

/* ---------- Navegación ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1180px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 18px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); box-shadow: 0 8px 30px rgba(15,31,69,.06); transition: top .3s, box-shadow .3s; }
.nav.is-scrolled { top: 8px; box-shadow: 0 10px 40px rgba(15,31,69,.12); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: var(--bg-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: #12e6f2; top: -160px; left: -120px; opacity: .3; }
.b2 { width: 560px; height: 560px; background: #0a74d6; top: 60px; right: -180px; opacity: .22; animation-delay: -5s; }
.b3 { width: 420px; height: 420px; background: #52e33a; bottom: -200px; left: 35%; opacity: .2; animation-delay: -10s; }
html[data-theme="dark"] .blob { opacity: .28; }
@keyframes float { 33% { transform: translate(40px, -30px) scale(1.06); } 66% { transform: translate(-30px, 25px) scale(.96); } }
.grid-fade { position: absolute; inset: 0; 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(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); opacity: .55; }
.ecg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; opacity: .35; }
.ecg path { fill: none; stroke: url(#lg-vr); stroke: var(--teal); stroke-width: 2; stroke-dasharray: .22 .78; animation: ecg-run 4.5s linear infinite; }
@keyframes ecg-run { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(20,196,142,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(20,196,142,0); } 100% { box-shadow: 0 0 0 0 rgba(20,196,142,0); } }
.hero h1 { margin: 22px 0 18px; font-size: clamp(44px, 6.4vw, 82px); font-weight: 800; letter-spacing: -.045em; }
.grad-text { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-move 8s ease-in-out infinite; }
@keyframes grad-move { 50% { background-position: 100% 0; } }
.lead { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.lead-sm { font-size: 17px; color: var(--ink-2); margin-top: 14px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-ctas.center { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--ink-3); font-size: 14px; }
.hero-proof b { display: block; font-size: 24px; color: var(--ink); letter-spacing: -.02em; }

/* Mockup con recorrido */
.hero-demo { position: relative; perspective: 1400px; }
.device { position: relative; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(15,31,69,.18), 0 0 0 8px color-mix(in srgb, var(--surface) 55%, transparent); overflow: hidden; transform-style: preserve-3d; transition: transform .2s ease-out; }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: 12px; color: var(--ink-3); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; } .device-bar i:nth-child(2) { background: #ffbd2e; } .device-bar i:nth-child(3) { background: #28c940; }
.device-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 8px; background: var(--surface); }
.app { display: grid; grid-template-columns: 170px 1fr; height: 330px; font-size: 12px; }
.app-side { padding: 12px; border-right: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.app-brand { display: flex; align-items: center; gap: 6px; font: 900 15px var(--brand-font); color: var(--navy); margin-bottom: 4px; }
.app-brand .logo-mark { width: 22px; }
.app-search { height: 26px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 4px; }
.app-item { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 9px; transition: background .3s; }
.app-item i, .rec-head i, .wa-head i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-soft); color: var(--blue); font: 700 10px var(--font); font-style: normal; flex: none; }
.app-item b { display: block; font-size: 11.5px; } .app-item small { display: block; font-size: 9.5px; color: var(--ink-3); }
.app-item.is-on { background: color-mix(in srgb, var(--teal) 14%, transparent); }
.app-main { position: relative; padding: 16px; overflow: hidden; }
.scene { position: absolute; inset: 16px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .55s ease, transform .55s ease; pointer-events: none; }
.scene.is-on { opacity: 1; transform: none; }
.rec-head { display: flex; gap: 10px; align-items: center; }
.rec-head i { width: 38px; height: 38px; border-radius: 12px; font-size: 13px; }
.rec-head small { display: block; color: var(--ink-3); font: 600 10px ui-monospace, monospace; }
.rec-head b { display: block; font-size: 16px; letter-spacing: -.01em; } .rec-head span { color: var(--ink-3); }
.vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.vitals div { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); }
.vitals small { display: block; color: var(--ink-3); font-size: 10px; } .vitals b { font-size: 15px; }
.chart-card { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); position: relative; }
.chart-card small { color: var(--ink-3); font-size: 10px; }
.chart-card svg { width: 100%; height: 90px; overflow: visible; }
.chart-line { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart-area { fill: url(#lg-vr); fill: color-mix(in srgb, var(--teal) 14%, transparent); opacity: 0; }
.chart-card circle { fill: var(--teal); opacity: 0; }
.scene.is-on .chart-line { animation: pulse-draw 1.4s ease .3s forwards; }
.scene.is-on .chart-area { animation: fade-in .6s ease 1.2s forwards; }
.scene.is-on .chart-card circle { animation: pop .4s ease 1.6s forwards; }
.chart-val { position: absolute; right: 12px; top: 8px; font-size: 12px; color: var(--green); }
@keyframes fade-in { to { opacity: 1; } }
.scan { display: grid; place-items: center; height: 100%; gap: 14px; }
.scan-frame { position: relative; width: 170px; height: 170px; padding: 14px; border-radius: 18px; background: #fff; }
.qr-mini svg, .phone-qr svg { width: 100%; height: 100%; }
.scan-line { position: absolute; left: 8px; right: 8px; height: 3px; top: 10px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--green), transparent); box-shadow: 0 0 14px var(--green); animation: scan 1.6s ease-in-out infinite alternate; }
@keyframes scan { to { top: calc(100% - 13px); } }
.corner { position: absolute; width: 24px; height: 24px; border: 3px solid var(--teal); }
.c1 { top: -4px; left: -4px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; } .c2 { top: -4px; right: -4px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.c3 { bottom: -4px; left: -4px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; } .c4 { bottom: -4px; right: -4px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.scan-ok { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); font-weight: 700; font-size: 13px; opacity: 0; transform: translateY(8px); }
.scan-ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.scene.is-on .scan-ok { animation: rise .5s ease 2.2s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.wa { height: 100%; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.wa-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #075e54; color: #fff; }
.wa-head i { background: rgba(255,255,255,.2); color: #fff; } .wa-head small { opacity: .75; margin-left: auto; }
.wa-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #e7ddd3; }
html[data-theme="dark"] .wa-body { background: #0d1418; }
.wa-msg { align-self: flex-end; max-width: 82%; padding: 9px 12px; border-radius: 12px 12px 3px 12px; background: #d9fdd3; color: #102; font-size: 12.5px; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.96); }
html[data-theme="dark"] .wa-msg { background: #005c4b; color: #e9edef; }
.wa-msg--in { align-self: flex-start; border-radius: 12px 12px 12px 3px; background: #fff; }
html[data-theme="dark"] .wa-msg--in { background: #202c33; }
.scene.is-on .wa-msg { animation: rise .45s ease .4s forwards; }
.scene.is-on .wa-msg--in { animation: rise .45s ease 2.4s forwards; }
.bot { display: flex; flex-direction: column; gap: 10px; height: 100%; justify-content: center; }
.bot-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; opacity: 0; transform: translateY(10px); }
.bot-msg--u { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: linear-gradient(120deg, #0a74d6, #11c3ad); color: #fff; border: 0; }
.bot-field { padding: 10px 12px; border-radius: 12px; border: 1.5px dashed var(--teal); opacity: 0; transform: scale(.95); }
.bot-field small { color: var(--teal); font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.bot-field div { display: flex; justify-content: space-between; margin-top: 4px; }
.scene.is-on .bot-msg--u { animation: rise .4s ease .3s forwards; }
.scene.is-on .bot-msg:not(.bot-msg--u) { animation: rise .4s ease 1.6s forwards; }
.scene.is-on .bot-field { animation: rise .5s ease 2.6s forwards; }
.player-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--bg-2); position: relative; }
.player-play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--navy); color: var(--surface); cursor: pointer; }
html[data-theme="dark"] .player-play { background: var(--teal); color: #fff; }
.player-play svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.player-play .i-play { display: none; } .is-paused .player-play .i-play { display: block; } .is-paused .player-play .i-pause { display: none; }
.player-chapters { display: flex; gap: 4px; flex-wrap: wrap; }
.player-chapters button { border: 0; background: transparent; color: var(--ink-3); font: 600 12px var(--font); padding: 5px 9px; border-radius: 8px; cursor: pointer; }
.player-chapters button.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.player-progress { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: transparent; }
.player-progress i { display: block; height: 100%; width: 0; background: var(--grad); }
.phone { position: absolute; right: -26px; bottom: -48px; width: 176px; padding: 10px; border-radius: 30px; background: #0b1226; box-shadow: 0 30px 60px rgba(15,31,69,.35); transition: transform .2s ease-out; }
.phone-notch { width: 60px; height: 16px; margin: 0 auto 6px; border-radius: 10px; background: #000; }
.phone-screen { padding: 12px; border-radius: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; text-align: center; font-size: 11px; }
.phone-screen small { color: var(--teal); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 9px; }
.phone-screen > b { font-size: 13px; }
.phone-qr { width: 104px; height: 104px; margin: 4px auto; padding: 6px; border-radius: 12px; background: #fff; }
.phone-screen code { font: 700 10px ui-monospace, monospace; letter-spacing: .04em; }
.phone-card { display: flex; justify-content: space-between; padding: 7px 9px; border-radius: 10px; background: var(--bg); text-align: left; }
.phone-card span { color: var(--ink-3); } .phone-card em { color: var(--green); font-style: normal; font-size: 10px; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; animation: bob 5s ease-in-out infinite; }
.float-chip svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fc1 { top: -22px; right: 40px; } .fc2 { bottom: 40px; left: -40px; animation-delay: -2.5s; }
.fc2 svg { stroke: var(--blue); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Marquesina ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 800 20px var(--font); color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; }
.marquee span::after { content: "✚"; color: var(--teal); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section--dark { background: #0a1124; color: #eaf1fb; --ink: #eaf1fb; --ink-2: #b2c0d6; --ink-3: #8696b0; --line: #1e2c4a; --surface: #0f1a33; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .split h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.step::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .8s ease .2s; }
.step.is-in::before { transform: none; }
.step-n { font: 900 44px var(--brand-font); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 10px 0 10px; font-size: 21px; }
.step p { color: var(--ink-2); }

/* Tabs */
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab-list button { padding: 11px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 700 14px var(--font); cursor: pointer; transition: all .25s; }
.tab-list button.is-on { background: var(--navy); color: var(--surface); border-color: transparent; box-shadow: 0 10px 24px rgba(15,31,69,.2); }
html[data-theme="dark"] .tab-list button.is-on { background: linear-gradient(120deg, #0a74d6, #14c48e); color: #fff; }
.tab-panel { display: none; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 42px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tab-panel.is-on { display: grid; animation: tab-in .5s ease; }
@keyframes tab-in { from { opacity: 0; transform: translateY(14px); } }
.tp-copy h3 { font-size: 28px; margin-bottom: 14px; }
.tp-copy p { color: var(--ink-2); font-size: 17px; }
.soon { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.checks { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-soft) , var(--surface); box-shadow: inset 0 0 0 1.5px var(--teal); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 9px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tp-visual { display: grid; place-items: center; }
.mini-form, .mini-agenda, .mini-file, .mini-perm { width: 100%; max-width: 380px; padding: 22px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.mini-form small, .mini-agenda small, .mini-perm small { display: block; margin-bottom: 10px; color: var(--teal); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.mf-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mf-row span { color: var(--ink-3); }
.mini-form svg { margin-top: 14px; width: 100%; height: 60px; overflow: visible; }
.draw { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tab-panel.is-on .draw, .is-in .draw { animation: pulse-draw 1.4s ease .3s forwards; }
.mini-agenda div { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-agenda em, .mini-perm em { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.mini-agenda .ok { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.mini-agenda .info { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.mini-agenda .bad { background: rgba(230,80,70,.14); color: #e5534b; }
.mini-file { display: flex; gap: 16px; align-items: center; }
.mini-file > span { display: grid; place-items: center; width: 64px; height: 80px; border-radius: 12px; background: rgba(230,80,70,.12); color: #e5534b; font-weight: 800; flex: none; }
.mini-file small { display: block; color: var(--ink-3); }
.mini-perm div { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-perm i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad-soft); color: var(--blue); font-style: normal; font-weight: 700; font-size: 12px; flex: none; }
.mini-perm span { flex: 1; font-size: 14px; } .mini-perm em { padding: 0; color: var(--ink-3); font-weight: 500; }
.mini-perm button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 9px; padding: 6px 10px; font: 700 12px var(--font); }
.mini-perm button.ok { background: #1f8a57; color: #fff; border: 0; }
.mp-req { background: color-mix(in srgb, #f2bb66 12%, transparent); margin: 6px -10px 0; padding: 10px !important; border-radius: 12px; border: 0 !important; }

/* Funciones */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; transform-style: preserve-3d; }
.feature::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(17,195,173,.65), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.feature:hover { box-shadow: var(--shadow); }
.feature:hover::after { opacity: 1; }
.f-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--grad-soft); margin-bottom: 18px; }
.f-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-ico.sos { background: #d64236; color: #fff; font-weight: 900; font-size: 13px; letter-spacing: .06em; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 15px; }

/* Video */
.video-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: start; }
.video-frame { position: relative; border-radius: 24px; padding: 2px; background: var(--grad); box-shadow: 0 30px 90px rgba(10,116,214,.35); }
.video-frame video { width: 100%; border-radius: 22px; background: #000; aspect-ratio: 16 / 9; }
.chapters { margin: 0; padding: 0; list-style: none; counter-reset: c; display: flex; flex-direction: column; gap: 6px; }
.chapters li button { width: 100%; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font: 600 14px var(--font); text-align: left; cursor: pointer; transition: all .2s; }
.chapters li button:hover, .chapters li button.is-on { background: var(--surface); color: var(--ink); border-color: var(--teal); }
.chapters time { font: 700 12px ui-monospace, monospace; color: var(--teal); }

/* Seguridad */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.sec-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sec-list li { padding: 18px 20px 18px 56px; position: relative; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.sec-list li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 24px; height: 24px; border-radius: 8px; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 4v6c0 5-3.4 9-8 10-4.6-1-8-5-8-10V6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 4v6c0 5-3.4 9-8 10-4.6-1-8-5-8-10V6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sec-list b { color: var(--ink); }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 34px 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: 0 30px 80px rgba(17,195,173,.22); transform: scale(1.03); }
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.plan h3 { font-size: 24px; }
.plan-tag { color: var(--ink-3); }
.price { display: flex; align-items: baseline; gap: 2px; margin: 14px 0 6px; }
.price span { font-size: 22px; font-weight: 700; color: var(--ink-3); }
.price b { font-size: 54px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price small { color: var(--ink-3); font-size: 15px; }
.plan .checks { flex: 1; margin-bottom: 24px; font-size: 15px; }
.plans-note { margin-top: 30px; text-align: center; color: var(--ink-2); }
.plans-note a { color: var(--blue); font-weight: 700; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); padding: 4px 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--teal); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* CTA */
.cta { padding: 40px 0 110px; }
.cta-inner { position: relative; text-align: center; padding: 70px 30px; border-radius: 34px; background: radial-gradient(circle at 20% 0%, #12e6f2 0%, transparent 45%), radial-gradient(circle at 90% 100%, #52e33a 0%, transparent 40%), linear-gradient(135deg, #0a2a6e, #0a74d6 55%, #0f9e8c); color: #fff; overflow: hidden; }
.cta-inner h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; }
.cta-inner p { margin: 14px auto 0; max-width: 560px; font-size: 18px; opacity: .9; }
.logo--cta { justify-content: center; margin-bottom: 22px; }
.logo--cta .logo-mark { width: 74px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.3)); animation: bob 4s ease-in-out infinite; }

/* Footer */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.footer-grid p { margin-top: 14px; color: var(--ink-3); max-width: 280px; }
.footer-grid b { display: block; margin-bottom: 12px; }
.footer-grid div > a:not(.logo) { display: block; padding: 4px 0; color: var(--ink-2); }
.footer-grid div > a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #1da851; box-shadow: 0 12px 30px rgba(29,168,81,.45); animation: bob 4s ease-in-out infinite; }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Aparición al hacer scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-copy { text-align: center; } .lead { margin: 0 auto; } .hero-ctas, .hero-proof { justify-content: center; }
  .hero-demo { max-width: 720px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .video-wrap { grid-template-columns: 1fr; }
  .chapters { flex-direction: row; flex-wrap: wrap; } .chapters li { flex: 1 1 200px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .menu-btn { display: inline-grid; }
  .steps, .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; } .plan--featured:hover { transform: translateY(-6px); }
  .tab-panel { grid-template-columns: 1fr; padding: 26px; gap: 26px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .hero { padding-top: 120px; }
  .lead { font-size: 17px; }
  .features { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; height: 300px; }
  .app-side { display: none; }
  .phone { position: relative; right: auto; bottom: auto; margin: -30px auto 0; width: 160px; }
  .fc1 { right: 6px; top: -20px; } .fc2 { display: none; }
  .player-chapters button { padding: 5px 6px; font-size: 11px; }
  .section { padding: 80px 0; }
  .tab-list { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .tab-list button { white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { padding-left: 12px; } .logo-word { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .splash { display: none; }
}
/* Modo captura (?captura=1): sin intro ni animaciones de aparición, para generar imágenes y video */
.is-capture [data-reveal] { opacity: 1; transform: none; transition: none; }
.is-capture *, .is-capture *::before, .is-capture *::after { transition: none !important; animation-delay: 0s !important; animation-duration: .001s !important; }
.is-capture .splash { display: none; }
