/* Spanly — estilos del sitio */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --card: #ffffff;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --grad: linear-gradient(120deg, #3b82f6 0%, #7c3aed 50%, #ec4899 100%);
  --dark: #07080d;
  --dark-2: #11131c;
  --radius: 22px;
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 18px 48px rgba(0,0,0,.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0d0e12;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #2c2c31;
    --card: #15161b;
    --accent: #2997ff;
    --accent-hover: #47a6ff;
    --shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 48px rgba(0,0,0,.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(720px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 17px;
  padding: 13px 26px; border-radius: 980px; border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; transform: translateY(-1px); }
.btn-small { padding: 7px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--accent); padding-inline: 8px; }
.btn-ghost:hover { background: transparent; text-decoration: underline; }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #e8e8ed; }

/* Navegación */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
@media (prefers-color-scheme: dark) {
  .nav { background: rgba(10,10,14,.72); border-bottom-color: rgba(255,255,255,.08); }
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; color: var(--text); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--text); opacity: .8; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.lang-switch { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--text); opacity: .75; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.lang-switch:hover { opacity: 1; text-decoration: none; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .lang-switch { margin-left: auto; }
}

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 50% -10%, #1d2350 0%, var(--dark) 60%);
  color: #f5f5f7; text-align: center; overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 0 0;
}
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: #c7c7cc; border: 1px solid rgba(255,255,255,.16); padding: 6px 14px; border-radius: 99px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(44px, 8vw, 96px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(19px, 2.4vw, 24px); color: #a1a1a6; max-width: 720px; margin: 0 auto 32px; line-height: 1.4; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: #86868b; margin-top: 14px; }
.hero-ctas .btn-ghost { color: #2997ff; }

/* Escena animada: laptop + monitor compartiendo un mismo escritorio */
.scene {
  --w: min(980px, 100vw - 32px);
  container-type: inline-size;
  position: relative; width: var(--w); aspect-ratio: 100 / 47;
  margin: clamp(48px, 7vw, 80px) auto 0;
}
.scene * { position: absolute; }
.scene .metal { background: linear-gradient(180deg, #f2f4f8, #c3c9d6); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.scene .lid { left: 4cqw; top: 17cqw; width: 38cqw; height: 25cqw; border-radius: 1.8cqw; }
.scene .base { left: 1cqw; top: 42cqw; width: 44cqw; height: 2.2cqw; border-radius: .4cqw .4cqw 1.4cqw 1.4cqw; }
.scene .base::after { content: ""; left: 18.5cqw; top: 0; width: 7cqw; height: .7cqw; border-radius: 0 0 .5cqw .5cqw; background: #9aa1b0; }
.scene .body { left: 50cqw; top: 2cqw; width: 46cqw; height: 34cqw; border-radius: 2.2cqw; }
.scene .neck { left: 68.5cqw; top: 35.9cqw; width: 9cqw; height: 8cqw; background: linear-gradient(180deg, #9aa1b0, #c3c9d6); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.scene .foot { left: 65.5cqw; top: 43.4cqw; width: 15cqw; height: 1.5cqw; border-radius: 1cqw; }
.scene .screen { overflow: hidden; background: #000; }
.scene .s1 { left: 5.2cqw; top: 18.2cqw; width: 35.6cqw; height: 22.6cqw; border-radius: .9cqw; }
.scene .s2 { left: 51.4cqw; top: 3.4cqw; width: 43.2cqw; height: 27.2cqw; border-radius: 1cqw; }
.scene .wall {
  width: 100cqw; height: 47cqw;
  background:
    radial-gradient(40cqw 18cqw at 30% 85%, rgba(255,255,255,.22), transparent 70%),
    radial-gradient(30cqw 14cqw at 75% 20%, rgba(255,255,255,.18), transparent 70%),
    var(--grad);
}
.scene .s1 .wall { left: -5.2cqw; top: -18.2cqw; }
.scene .s2 .wall { left: -51.4cqw; top: -3.4cqw; }
.scene .win {
  width: 15cqw; height: 10cqw; left: 14cqw; top: 24cqw;
  background: rgba(255,255,255,.95); border-radius: .9cqw; box-shadow: 0 1.5cqw 3cqw rgba(0,0,0,.35);
  animation: drag 7s cubic-bezier(.65,0,.35,1) infinite;
}
.scene .bar { position: relative; height: 2cqw; background: #ececf0; border-radius: .9cqw .9cqw 0 0; display: flex; gap: .5cqw; align-items: center; padding-left: .9cqw; }
.scene .bar i { position: static; width: .75cqw; height: .75cqw; border-radius: 50%; background: #ff5f57; }
.scene .bar i:nth-child(2) { background: #febc2e; }
.scene .bar i:nth-child(3) { background: #28c840; }
.scene .lines b { left: 1.2cqw; height: .9cqw; border-radius: .5cqw; background: #d9dce3; }
.scene .lines b:nth-child(1) { top: 3.4cqw; width: 9cqw; background: #c4c8d2; }
.scene .lines b:nth-child(2) { top: 5.3cqw; width: 12cqw; }
.scene .lines b:nth-child(3) { top: 7.2cqw; width: 7cqw; }
.scene .cursor { left: 7cqw; top: .9cqw; width: 2cqw; height: 2cqw; filter: drop-shadow(0 .2cqw .3cqw rgba(0,0,0,.4)); }
@keyframes drag {
  0%, 14% { left: 14cqw; top: 24cqw; }
  52%, 88% { left: 66cqw; top: 10cqw; }
  100% { left: 14cqw; top: 24cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .scene .win { animation: none; left: 66cqw; top: 10cqw; }
}
.hero-floor { height: clamp(40px, 6vw, 80px); }

/* Secciones */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #f5f5f7; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; }
.section-head p { font-size: clamp(18px, 2vw, 21px); color: var(--muted); }
.section-dark .section-head p { color: #a1a1a6; }
.kicker { display: block; font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--accent); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.feature .ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 18px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 21px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
.feature.wide { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; background: var(--dark-2); color: #f5f5f7; position: relative; overflow: hidden; }
.feature.wide p { color: #a1a1a6; max-width: 460px; }
.feature.wide::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; background: var(--grad); filter: blur(80px); opacity: .45; }
.feature.wide > * { position: relative; }
.feature.full { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; }
.feature.full .ico { flex: none; margin: 0; }
.feature.full h3 { margin-bottom: 4px; }
.big-stat { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
}

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 36px 32px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); font-weight: 800; font-size: 20px; margin-bottom: 20px; }
.step h3 { font-size: 22px; }
.step p { color: #a1a1a6; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Compatibilidad */
.compat { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compat-card { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.compat-card h3 { font-size: 22px; }
.compat-card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.compat-card li { margin-bottom: 6px; }
.cables { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 16px; }
.cables th, .cables td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cables th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(40,200,64,.14); color: #1f8f3a; }
.pill.no { background: rgba(255,59,48,.12); color: #d70015; }
.pill.mid { background: rgba(255,159,10,.15); color: #b25e00; }
@media (prefers-color-scheme: dark) { .pill { color: #4cd964; } .pill.no { color: #ff6961; } .pill.mid { color: #ffb340; } }
@media (max-width: 820px) { .compat { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; }

/* Precio */
.pricing { display: grid; grid-template-columns: 1fr; justify-items: center; }
.price-card {
  width: min(480px, 100%); background: var(--card); border-radius: 28px; padding: 44px 40px;
  box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden;
}
.price-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad); }
.trial-badge { display: inline-block; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 99px; background: rgba(124,58,237,.12); color: #7c3aed; margin-bottom: 18px; }
@media (prefers-color-scheme: dark) { .trial-badge { color: #b794ff; background: rgba(124,58,237,.22); } }
.price { font-size: 72px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.price small { font-size: 22px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
.price-currency { font-size: 26px; font-weight: 700; vertical-align: super; margin-right: 4px; }
.checks { list-style: none; padding: 0; margin: 28px 0; text-align: left; }
.checks li { padding: 9px 0 9px 32px; position: relative; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z"/></svg>') center/contain no-repeat; }
.price-card .btn { width: 100%; }
.price-alt { display: block; margin-top: 14px; font-size: 15px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 300; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item div { color: var(--muted); padding-bottom: 20px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); color: var(--text); transition: transform .25s; }
.post-card:hover { transform: translateY(-4px); text-decoration: none; }
.post-card h3 { font-size: 21px; line-height: 1.2; }
.post-card p { color: var(--muted); font-size: 16px; flex: 1; }
.post-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.post-meta { font-size: 14px; color: var(--muted); }
.page-hero { padding: clamp(56px, 8vw, 96px) 0 40px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; }
.lede { font-size: clamp(19px, 2.2vw, 23px); color: var(--muted); line-height: 1.4; }

.article-head { padding: clamp(48px, 7vw, 88px) 0 24px; }
.article-head h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; }
.back { display: block; width: max-content; font-size: 15px; margin-bottom: 26px; }
.prose { font-size: 19px; line-height: 1.7; }
.prose h2 { font-size: 30px; margin-top: 1.8em; }
.prose h3 { font-size: 23px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1em 0 1.6em; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font-size: 14px; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .85em; background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; }
.prose blockquote, .callout { margin: 1.4em 0; padding: 18px 22px; border-radius: 14px; background: var(--bg-alt); border-left: 4px solid #7c3aed; font-size: 17px; }
.prose .callout p:last-child { margin: 0; }
.cta-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin: 56px 0; padding: 28px; border-radius: var(--radius); background: var(--dark-2); color: #f5f5f7; }
.cta-card h2 { font-size: 22px; margin: 0 0 4px; }
.cta-card p { margin: 0; color: #a1a1a6; font-size: 16px; }
@media (max-width: 640px) { .cta-card { grid-template-columns: 1fr; text-align: left; } }
.related { padding-bottom: 96px; }
.related h2 { font-size: 28px; }

/* Descargar */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-card { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.dl-card h2 { font-size: 26px; }
.dl-card .btn { margin: 8px 0 18px; }
.dl-card ol { padding-left: 20px; color: var(--muted); margin: 0; }
.dl-card li { margin-bottom: 8px; }
@media (max-width: 760px) { .downloads { grid-template-columns: 1fr; } }

/* CTA final */
.final { text-align: center; }
.final h2 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; }
.final p { color: #a1a1a6; font-size: 21px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.footer-grid a:not(.brand) { display: block; color: var(--text); opacity: .8; margin-bottom: 8px; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }


/* ───────── Animaciones ───────── */

/* Aparición al hacer scroll (solo con JS; sin JS todo queda visible) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero: entrada escalonada al cargar */
.fade-up { animation: fadeUp 1s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.shimmer { background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-glow { box-shadow: 0 0 0 0 rgba(41,151,255,.55); animation: glow 2.6s ease-out infinite; }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(41,151,255,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(41,151,255,0); } }

/* Escena: cable con pulso, iMac que se enciende, chip de estado */
.scene .cable { left: 0; top: 0; width: 100cqw; height: 47cqw; overflow: visible; }
.cable-line, .cable-pulse { fill: none; stroke-linecap: round; }
.cable-line { stroke: #8e95a5; stroke-width: .55; }
.cable-pulse { stroke: #a78bfa; stroke-width: .75; stroke-dasharray: 5 60; animation: pulse 1.6s linear infinite; filter: drop-shadow(0 0 .6px #c4b5fd); }
@keyframes pulse { from { stroke-dashoffset: 65; } to { stroke-dashoffset: 0; } }
.scene .boot { inset: 0; background: #000; animation: boot 1.4s .6s ease forwards; }
@keyframes boot { to { opacity: 0; } }
.scene .win { animation-delay: 1.6s; animation-fill-mode: backwards; }
.status-chip {
  left: 38cqw; top: 4cqw; display: flex; align-items: center; gap: .8cqw; white-space: nowrap;
  font-size: max(11px, 1.35cqw); font-weight: 600; color: #e5e5ea; padding: .7cqw 1.4cqw; border-radius: 99px;
  background: rgba(30,32,44,.7); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px);
  animation: chipIn .8s 1.8s cubic-bezier(.2,.7,.2,1) both;
}
.status-chip .dot { position: relative; width: .9cqw; height: .9cqw; min-width: 7px; min-height: 7px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 0 rgba(48,209,88,.6); animation: ping 2s infinite; }
@keyframes chipIn { from { opacity: 0; transform: translateY(1cqw) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(48,209,88,.6); } 80%, 100% { box-shadow: 0 0 0 .9cqw rgba(48,209,88,0); } }

/* Marquesina */
.marquee { background: var(--dark); border-block: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 22px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-size: clamp(17px, 2vw, 22px); font-weight: 600; color: #a1a1a6; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Frase gigante palabra por palabra */
.statement { text-align: center; overflow: hidden; }
.words { font-size: clamp(46px, 8.5vw, 116px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin-bottom: clamp(40px, 6vw, 72px); }
.words span { display: inline-block; }
.js .reveal-words span { opacity: 0; transform: translateY(.35em); filter: blur(10px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1), filter .8s; transition-delay: calc(var(--i) * 110ms); }
.js .reveal-words.in span { opacity: 1; transform: none; filter: none; }
.caption { color: var(--muted); font-size: clamp(18px, 2vw, 21px); margin-top: 36px; }

/* Panorama: un fondo continuo sobre dos pantallas, ventanas que aparecen */
.pano { position: relative; width: min(1000px, 100%); aspect-ratio: 100 / 34; margin: 0 auto; }
.pscreen { position: absolute; top: 0; width: 48.5%; height: 100%; border-radius: 16px; border: clamp(5px, .9vw, 10px) solid #1d1d1f; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.pscreen.left { left: 0; } .pscreen.right { right: 0; }
.pwall { position: absolute; top: 0; height: 100%; width: 206.2%; background: radial-gradient(40% 60% at 25% 90%, rgba(255,255,255,.22), transparent 70%), var(--grad); }
.left .pwall { left: 0; } .right .pwall { right: 0; }
.pwin { position: absolute; border-radius: 10px; background: linear-gradient(#e8e8ed 0 13%, #fff 13%); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.w1 { left: 5%; top: 14%; width: 24%; height: 44%; }
.w2 { left: 17%; top: 50%; width: 20%; height: 38%; }
.w3 { left: 57%; top: 12%; width: 27%; height: 50%; }
.w4 { left: 73%; top: 52%; width: 20%; height: 36%; }
.w5 { left: 30%; top: 26%; width: 16%; height: 30%; }
.js .reveal-stage .pwin { opacity: 0; transform: scale(.85) translateY(12px); }
.reveal-stage.in .pwin { opacity: 1; transform: none; transition: opacity .6s, transform .7s cubic-bezier(.2,.9,.3,1.2); }
.reveal-stage.in .w1 { transition-delay: .1s; } .reveal-stage.in .w2 { transition-delay: .25s; } .reveal-stage.in .w3 { transition-delay: .4s; } .reveal-stage.in .w4 { transition-delay: .55s; }
.reveal-stage.in .w5 { transition-delay: .7s; animation: pwinMove 6s 1.6s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes pwinMove { 0%, 15% { left: 30%; top: 26%; } 50%, 85% { left: 60%; top: 58%; } 100% { left: 30%; top: 26%; } }

/* Tarjetas de pasos con mini animaciones */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { text-align: center; padding: 36px 28px 32px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.tile h3 { font-size: 26px; margin: 26px 0 6px; }
.tile p { color: #a1a1a6; margin: 0; }
.art { position: relative; height: 130px; display: grid; place-items: center; }
@media (max-width: 820px) { .tiles { grid-template-columns: 1fr; } }

.plug-art .port { position: absolute; right: 22%; width: 64px; height: 30px; border-radius: 9px; background: #2a2c35; border: 2px solid #4a4d5a; }
.plug-art .port::after { content: ""; position: absolute; inset: 9px 12px; border-radius: 5px; background: #111; }
.plug-art .plug { position: absolute; right: calc(22% + 18px); width: 54px; height: 16px; border-radius: 6px; background: linear-gradient(#f2f4f8, #c3c9d6); transform: translateX(-70px); }
.plug-art .plug i { position: absolute; right: 100%; top: 5px; width: 120px; height: 6px; border-radius: 3px; background: #c3c9d6; }
.plug-art .spark { position: absolute; right: 22%; width: 64px; height: 30px; border-radius: 9px; box-shadow: 0 0 0 0 rgba(48,209,88,.7); }
.reveal-stage.in .plug { animation: plugIn 3.2s cubic-bezier(.6,0,.3,1) infinite; }
.reveal-stage.in .spark { animation: spark 3.2s infinite; }
@keyframes plugIn { 0%, 10% { transform: translateX(-70px); } 40%, 85% { transform: translateX(0); } 100% { transform: translateX(-70px); } }
@keyframes spark { 0%, 40% { box-shadow: 0 0 0 0 rgba(48,209,88,0); } 45% { box-shadow: 0 0 0 0 rgba(48,209,88,.8); } 75%, 100% { box-shadow: 0 0 0 22px rgba(48,209,88,0); } }

.dock-art img { width: 84px; height: 84px; }
.dock-art .dock-dot { position: absolute; bottom: 6px; width: 6px; height: 6px; border-radius: 50%; background: #e5e5ea; opacity: 0; }
.reveal-stage.in .dock-art img { animation: bounce 3.2s cubic-bezier(.3,0,.3,1) infinite; }
.reveal-stage.in .dock-dot { animation: dotOn 3.2s infinite; }
@keyframes bounce { 0%, 100% { transform: none; } 8% { transform: translateY(-34px); } 16% { transform: none; } 24% { transform: translateY(-18px); } 32% { transform: none; } }
@keyframes dotOn { 0%, 30% { opacity: 0; } 36%, 90% { opacity: 1; } 100% { opacity: 0; } }

.drag-art .mini { position: absolute; top: 22px; width: 42%; height: 82px; border-radius: 8px; border: 4px solid #3a3c47; background: var(--grad); background-size: 240% 100%; }
.drag-art .mini.a { left: 4%; background-position: 0 0; }
.drag-art .mini.b { right: 4%; background-position: 100% 0; }
.drag-art .mini-win { position: absolute; top: 40px; left: 14%; width: 22%; height: 40px; border-radius: 5px; background: linear-gradient(#e8e8ed 0 22%, #fff 22%); box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.reveal-stage.in .mini-win { animation: miniDrag 3.2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes miniDrag { 0%, 15% { left: 14%; } 55%, 85% { left: 64%; } 100% { left: 14%; } }

/* Línea de tiempo de compatibilidad */
.timeline { width: min(860px, 100%); margin: 0 auto 32px; }
.track { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.fill { height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.8s cubic-bezier(.2,.7,.2,1); }
.reveal-stage.in .fill, html:not(.js) .fill { width: 100%; }
.years { list-style: none; display: flex; justify-content: space-between; padding: 0; margin: 14px 0 0; font-weight: 700; font-size: clamp(13px, 1.6vw, 17px); }
.js .years li { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.reveal-stage.in .years li { opacity: 1; transform: none; }
.reveal-stage.in .years li:nth-child(2) { transition-delay: .2s; } .reveal-stage.in .years li:nth-child(3) { transition-delay: .4s; }
.reveal-stage.in .years li:nth-child(4) { transition-delay: .6s; } .reveal-stage.in .years li:nth-child(5) { transition-delay: .8s; }
.reveal-stage.in .years li:nth-child(6) { transition-delay: 1s; } .reveal-stage.in .years li:nth-child(7) { transition-delay: 1.2s; }
.reveal-stage.in .years li:nth-child(8) { transition-delay: 1.4s; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px; }
.chip { font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: 99px; background: var(--card); box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-words span, .js .reveal-stage .pwin, .js .years li { opacity: 1; transform: none; filter: none; }
  .fill { width: 100%; }
  .scene .boot { display: none; }
}

/* Preguntas frecuentes (página) */
.qa-list .qa h2 { font-size: 24px; margin-top: 1.6em; }
.qa-list .qa p { color: var(--muted); }
.prose .summary { border-left-color: #3b82f6; }

/* Cuenta */
.steps-list { counter-reset: s; list-style: none; padding: 0; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; margin: 0 0 18px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
