/* =========================================================
   Neuronia Digital · Design system
   ========================================================= */
@font-face { font-family: "Bricolage"; src: url(../fonts/bricolage.woff2) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #07070d;
  --bg-2: #0b0b15;
  --surface: #10101c;
  --surface-2: #171728;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f3f3f8;
  --muted: #a3a6bd;
  --dim: #6d7088;
  --violet: #7c5cff;
  --violet-2: #9b85ff;
  --blue: #4fa8ff;
  --teal: #2ee6c8;
  --lime: #d4ff3a;
  --red: #ff6b81;
  --grad: linear-gradient(110deg, #a491ff 0%, #4fa8ff 50%, #2ee6c8 100%);
  --grad-btn: linear-gradient(110deg, #7c5cff, #4f7bff 55%, #3fb8ff);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --font-display: "Bricolage", "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; text-rendering: optimizeLegibility;
}
body::before { /* grano sutil */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: rgba(124, 92, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--lime); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Tipografía ---------- */
.h1, .h2, .h3, h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; margin: 0 0 .5em; }
.h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 750; }
.h1--service { font-size: clamp(2.3rem, 4.8vw, 4rem); }
.h1 em, .h1--service em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.h3, h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -.015em; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 62ch; margin: 0 0 1.6em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
p { margin: 0 0 1em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad--lime { background: linear-gradient(110deg, #d4ff3a, #7dffb2 60%, #2ee6c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px 6px 12px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #cfd0e6;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px);
}

.i { width: 22px; height: 22px; flex: none; }
.i--sm { width: 18px; height: 18px; }
.i--xs { width: 15px; height: 15px; }

.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(46, 230, 200, .6); animation: ping 2s infinite; display: inline-block; flex: none; }
.dot-live--lime { background: var(--lime); box-shadow: 0 0 0 0 rgba(212, 255, 58, .6); animation-name: ping-lime; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(46, 230, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 200, 0); } }
@keyframes ping-lime { 70% { box-shadow: 0 0 0 9px rgba(212, 255, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 255, 58, 0); } }

.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge--lime { background: var(--lime); color: #0b0b10; }
.badge--violet { background: rgba(124, 92, 255, .18); color: var(--violet-2); border: 1px solid rgba(124, 92, 255, .4); }
.badge--xs { font-size: .62rem; padding: 2px 7px; margin-left: 6px; vertical-align: middle; }

/* ---------- Botones ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
  transform: translate(var(--bx), var(--by)); isolation: isolate; overflow: hidden;
}
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 17px 28px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary::before, .btn--lime::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 60%);
}
.btn--primary:hover, .btn--lime:hover { box-shadow: 0 16px 40px -10px rgba(124, 92, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--primary:hover::before, .btn--lime:hover::before { opacity: 1; }
.btn--lime { background: var(--lime); color: #0a0a0f; box-shadow: 0 10px 30px -12px rgba(212, 255, 58, .7); }
.btn--lime:hover { box-shadow: 0 16px 44px -10px rgba(212, 255, 58, .75); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .07); }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.link-arrow .i { transition: transform .3s var(--ease); }
.link-arrow:hover .i, a:hover > .link-arrow .i { transform: translate(3px, -1px); }

/* ---------- Topbar + Nav ---------- */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 16px;
  font-size: .88rem; color: #dfe0f2; text-align: center;
  background: linear-gradient(90deg, rgba(124, 92, 255, .25), rgba(46, 230, 200, .18)); border-bottom: 1px solid var(--line);
}
.topbar strong { color: #fff; }
.topbar__pill { background: var(--lime); color: #000; font-weight: 700; font-size: .7rem; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; letter-spacing: .05em; }
.topbar:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7, 7, 13, .72); backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 38px; height: 38px; }
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.03em; }
.brand__text span { color: var(--muted); font-weight: 500; margin-left: 1px; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: #d4d5e8; white-space: nowrap; transition: color .2s, background .2s; }
.nav__link:hover, .nav__link.is-active, .nav__link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .06); }
.chev { transition: transform .3s; }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta-mobile { display: none; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.nav__item--mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: min(900px, 92vw); transform: translate(-42%, 8px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-42%, 0); }
.mega__inner {
  display: grid; grid-template-columns: 1fr 1fr .85fr; gap: 10px; padding: 14px; border-radius: 22px;
  background: rgba(14, 14, 25, .96); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(20px);
}
.mega__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin: 8px 12px 6px; font-weight: 600; }
.mega__link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background .2s; }
.mega__link:hover { background: rgba(255, 255, 255, .05); }
.mega__link strong { display: block; font-size: .95rem; }
.mega__link small { color: var(--muted); font-size: .84rem; }
.mega__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: rgba(124, 92, 255, .14); color: var(--violet-2); border: 1px solid rgba(124, 92, 255, .25); }
.mega__promo {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 20px; border-radius: 16px;
  background: radial-gradient(circle at 80% 0%, rgba(212, 255, 58, .2), transparent 60%), var(--surface-2); border: 1px solid rgba(212, 255, 58, .2);
}
.mega__promo strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; }
.mega__promo small { color: var(--muted); }
.mega__promo .link-arrow { margin-top: auto; color: var(--lime); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .75; }
.hero__glow {
  position: absolute; z-index: -1; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background: radial-gradient(600px 400px at 18% 20%, rgba(124, 92, 255, .32), transparent 70%), radial-gradient(500px 380px at 85% 30%, rgba(46, 230, 200, .14), transparent 70%);
}
.hero__glow--lime { background: radial-gradient(600px 400px at 15% 20%, rgba(124, 92, 255, .28), transparent 70%), radial-gradient(520px 400px at 85% 35%, rgba(212, 255, 58, .14), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__cta--center { justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .i { color: var(--teal); }
.hero--page { padding-bottom: clamp(40px, 6vw, 72px); }
.hero--page .h1 { max-width: 18ch; }
.hero--center .h1, .hero--center .h2 { margin-inline: auto; }
.hero--center .lead { margin-inline: auto; }

.rotator { display: inline-grid; vertical-align: top; }
.rotator > span {
  grid-area: 1 / 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); padding-bottom: .08em;
}
.rotator > span.is-on { opacity: 1; transform: none; filter: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-.45em); filter: blur(6px); }
html:not(.js) .rotator > span:not(:first-child) { display: none; }

/* ---------- Tabs de demo ---------- */
.hero__demo { position: relative; }
.tabs { position: relative; display: flex; gap: 4px; padding: 5px; margin: 0 auto 22px; width: max-content; max-width: 100%; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: color .25s, background .25s; white-space: nowrap; overflow: hidden; }
.tab.is-active { color: #fff; background: rgba(124, 92, 255, .25); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .5); }
.tab.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
.tabpanel[hidden] { display: none; }
.tabpanel.is-active { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Demos ---------- */
.demo { position: relative; display: grid; place-items: center; min-height: 520px; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: .85rem; font-weight: 600;
  background: rgba(20, 20, 35, .85); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; white-space: nowrap;
}
.float-chip .i { color: var(--teal); }
.float-chip--a { top: 14%; left: -2%; }
.float-chip--b { bottom: 16%; right: -2%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.phone { position: relative; width: 300px; height: 540px; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #2a2a40, #121220); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), var(--shadow), 0 0 120px -40px rgba(124, 92, 255, .7); display: flex; flex-direction: column; }
.phone__notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 2; }
.wa__head { display: flex; align-items: center; gap: 10px; padding: 52px 14px 12px; background: #1b2b2a; border-radius: 34px 34px 0 0; font-size: .9rem; }
.wa__head small { display: block; color: #9fd8c9; font-size: .75rem; }
.wa__avatar .logo-mark { width: 34px; height: 34px; }
.wa__body {
  flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 12px;
  background: #0d1716 radial-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 14px 14px;
}
.wa__input { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px 14px 16px; background: #0d1716; border-radius: 0 0 34px 34px; color: #6f8b86; font-size: .85rem; }
.wa__input > span:first-child { flex: 1; padding: 9px 14px; border-radius: 999px; background: #1a2624; }
.wa__mic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #1fa855; color: #fff; }

.msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: .86rem; line-height: 1.4; animation: pop .45s var(--ease) both; }
.msg--in { align-self: flex-start; background: #1f2c2b; border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; background: #0f5e4c; border-top-right-radius: 4px; }
.msg--sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--lime); background: rgba(212, 255, 58, .1); border: 1px solid rgba(212, 255, 58, .25); border-radius: 999px; padding: 6px 11px; max-width: 100%; }
.msg.is-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg.is-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9fd8c9; animation: blink 1.2s infinite; }
.msg.is-typing i:nth-child(2) { animation-delay: .15s; }
.msg.is-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

.call { width: min(420px, 100%); padding: 22px; border-radius: 26px; background: linear-gradient(170deg, rgba(30, 30, 52, .95), rgba(14, 14, 26, .95)); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 120px -40px rgba(46, 230, 200, .5); }
.call__head { display: flex; align-items: center; gap: 14px; }
.call__head small { display: block; color: var(--muted); font-size: .82rem; }
.call__pulse { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(46, 230, 200, .15); color: var(--teal); }
.call__pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--teal); animation: ring 1.8s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.call__timer { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--teal); font-weight: 600; }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 80px; margin: 18px 0; }
.wave span { width: 4px; border-radius: 4px; background: var(--grad); height: 12%; transition: height .12s; }
.call__transcript { display: flex; flex-direction: column; gap: 10px; min-height: 230px; justify-content: flex-end; }
.tline { font-size: .88rem; color: #d7d8ea; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); animation: pop .45s var(--ease) both; }
.tline b { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.tline--ai { background: rgba(124, 92, 255, .12); border: 1px solid rgba(124, 92, 255, .25); }
.tline--ai b { color: var(--violet-2); }

.browser { width: min(520px, 100%); border-radius: 18px; overflow: hidden; background: #0f0f1b; border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 120px -40px rgba(79, 168, 255, .6); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #161627; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #34344c; }
.browser__bar span { margin-left: 12px; flex: 1; font-size: .78rem; color: var(--dim); background: #0f0f1b; padding: 5px 12px; border-radius: 8px; }
.browser__page { position: relative; padding: 26px; min-height: 460px; }
.sk { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .07); margin-bottom: 12px; width: 80%; }
.sk--title { height: 26px; width: 60%; margin-bottom: 18px; }
.sk--short { width: 45%; }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.sk-grid div { height: 80px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.widget { position: absolute; right: 18px; bottom: 18px; width: 290px; border-radius: 18px; overflow: hidden; background: #14142a; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); }
.widget__head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: .8rem; font-weight: 600; background: var(--grad-btn); }
.widget__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; height: 300px; overflow: hidden; }
.widget .msg--in { background: #23233c; }
.widget .msg--out { background: rgba(124, 92, 255, .35); }

.flow { display: grid; gap: 14px; width: min(400px, 100%); position: relative; }
.flow::before { content: ""; position: absolute; left: 33px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--violet), var(--teal)); opacity: .35; }
.flow__node {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(20, 20, 36, .9); border: 1px solid var(--line-2);
  box-shadow: var(--shadow); transition: border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.flow__node strong { display: block; font-size: .95rem; }
.flow__node small { color: var(--muted); font-size: .8rem; }
.flow__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(124, 92, 255, .15); color: var(--violet-2); flex: none; position: relative; z-index: 1; }
.flow__ok { margin-left: auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #031; opacity: 0; transform: scale(.4); transition: all .4s var(--ease); }
.flow__node.is-active { border-color: rgba(46, 230, 200, .6); box-shadow: 0 0 0 4px rgba(46, 230, 200, .08), var(--shadow); transform: translateX(6px); }
.flow__node.is-done .flow__ok { opacity: 1; transform: scale(1); }

.panel { width: min(480px, 100%); padding: 22px; border-radius: 22px; background: linear-gradient(170deg, rgba(28, 28, 48, .95), rgba(13, 13, 24, .95)); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 120px -40px rgba(124, 92, 255, .6); }
.panel__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.panel__head small { display: block; color: var(--muted); font-size: .8rem; }
.forecast { width: 100%; height: 220px; overflow: visible; }
.forecast__grid path { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.forecast__line { fill: none; stroke: var(--violet-2); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.forecast__pred { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 7 7; opacity: 0; }
.forecast__band { fill: rgba(46, 230, 200, .12); opacity: 0; }
.forecast__area { opacity: 0; }
.forecast__dot { fill: var(--teal); opacity: 0; }
.is-inview .forecast__line { animation: draw 1.8s var(--ease) forwards; }
.is-inview .forecast__area { animation: fade 1s 1s forwards; }
.is-inview .forecast__band, .is-inview .forecast__pred, .is-inview .forecast__dot { animation: fade .8s 1.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.ask { margin-top: 12px; }
.ask__q { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .9rem; color: #dcdcf0; }
.ask__q .i { color: var(--teal); }

.phone--app .app__screen { flex: 1; border-radius: 34px; background: #0e0e1a; padding: 56px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.app__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 0; }
.scan { position: relative; height: 200px; border-radius: 16px; background: #1a1a2e; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-2); }
.scan__doc { width: 60%; height: 80%; background: #f2f2f6; border-radius: 6px; padding: 16px 12px; display: flex; flex-direction: column; gap: 9px; transform: rotate(-3deg); }
.scan__doc span { height: 7px; border-radius: 4px; background: #c9c9d6; }
.scan__doc span.short { width: 50%; }
.scan__line { position: absolute; left: 0; right: 0; height: 3px; background: var(--teal); box-shadow: 0 0 20px 4px rgba(46, 230, 200, .6); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 90%; } }
.app__results { display: flex; flex-direction: column; gap: 8px; }
.app__row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(46, 230, 200, .08); font-size: .82rem; animation: pop .45s var(--ease) both; }
.app__row .i { color: var(--teal); }
.app__row--warn { background: rgba(212, 255, 58, .08); }
.app__row--warn .i { color: var(--lime); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 44px; padding-right: 44px; }
.marquee__group span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.marquee__group .i { color: var(--violet-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .05) 30%, rgba(124, 92, 255, .05) 70%, transparent); }
.section__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--row { display: flex; align-items: center; justify-content: space-between; max-width: none; margin-bottom: 24px; }
.section__head--row .h3 { margin: 0; }

.card-glass { background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line-2); border-radius: 26px; backdrop-filter: blur(14px); box-shadow: var(--shadow); }

/* Spotlight que sigue al ratón */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 92, 255, .16), transparent 45%);
}
.spotlight::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(164, 145, 255, .8), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spotlight:hover::before, .spotlight:hover::after { opacity: 1; }

/* ---------- Pains (tarjetas que giran) ---------- */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.pain { position: relative; height: 290px; text-align: left; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.pain:hover, .pain[aria-pressed="true"] { transform: rotateY(180deg); }
.pain__face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--line-2); }
.pain__front { background: linear-gradient(170deg, rgba(255, 107, 129, .08), rgba(255, 255, 255, .02)); }
.pain__front > span:not(.pain__icon):not(.pain__hint) { color: var(--muted); font-size: .95rem; }
.pain__back { transform: rotateY(180deg); background: linear-gradient(170deg, rgba(46, 230, 200, .14), rgba(124, 92, 255, .1)); border-color: rgba(46, 230, 200, .35); }
.pain__back > span:last-child { color: #e0f7f2; }
.pain strong { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.pain__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 107, 129, .14); color: var(--red); }
.pain__icon--ok { background: rgba(46, 230, 200, .18); color: var(--teal); }
.pain__hint { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--dim); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento__card {
  grid-column: span 2; display: flex; flex-direction: column; gap: 12px; padding: 30px; min-height: 290px; border-radius: 24px;
  background: linear-gradient(170deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s;
}
.bento__card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.bento__card--wide { grid-column: span 3; }
.bento--3 { grid-template-columns: repeat(3, 1fr); }
.bento--3 .bento__card { grid-column: auto; }
.bento__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(140deg, rgba(124, 92, 255, .3), rgba(46, 230, 200, .15)); color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.bento__icon .i { width: 26px; height: 26px; }
.bento__tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 600; margin-top: 8px; }
.bento__title { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.15; letter-spacing: -.02em; }
.bento__text { color: var(--muted); }
.bento__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: #d4d5e8; font-size: .92rem; }
.bento__list li { display: flex; align-items: center; gap: 8px; }
.bento__list .i { color: var(--teal); }
.bento__card .link-arrow { margin-top: auto; }

/* ---------- Banner bono ---------- */
.bono-banner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(30px, 5vw, 56px);
  border-radius: 30px; isolation: isolate; border: 1px solid rgba(212, 255, 58, .25);
  background: radial-gradient(800px 400px at 0% 0%, rgba(124, 92, 255, .35), transparent 60%), linear-gradient(120deg, #131326, #0f1a1a);
  transition: transform .5s var(--ease), border-color .3s;
}
.bono-banner:hover { transform: translateY(-4px); border-color: rgba(212, 255, 58, .5); }
.bono-banner__copy { max-width: 680px; }
.bono-banner__copy .badge { margin-bottom: 16px; }
.bono-banner__copy p { color: #c9cae0; margin: 0; }
.bono-banner__orb { position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(212, 255, 58, .55), rgba(46, 230, 200, .2) 45%, transparent 70%); filter: blur(30px); animation: orb 10s ease-in-out infinite; }
@keyframes orb { 50% { transform: translate(-40px, 40px) scale(1.1); } }
.bono-banner--compact .h3 { margin-bottom: 6px; }

/* ---------- Calculadora ---------- */
.calc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.calc__box { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 22px; }
.range label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; color: #dcdcf0; margin-bottom: 10px; font-size: .95rem; }
.range output { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; min-width: 3ch; text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--violet) 0 var(--fill, 50%), rgba(255, 255, 255, .1) var(--fill, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--violet); box-shadow: 0 0 0 6px rgba(124, 92, 255, .2); cursor: grab; transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--violet); cursor: grab; }
.calc__result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 20px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.calc__result small { display: block; color: var(--muted); font-size: .78rem; }
.calc__result strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; font-variant-numeric: tabular-nums; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; counter-reset: s; }
.timeline::before { content: ""; position: absolute; top: 34px; left: 4%; right: 4%; height: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; top: 34px; left: 4%; height: 2px; width: calc(92% * var(--progress, 0)); background: var(--grad); transition: width .2s linear; }
.timeline__step { position: relative; padding: 0 6px; }
.timeline__num { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 22px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; background: var(--bg); border: 1px solid var(--line-2); transition: border-color .4s, box-shadow .4s, color .4s; }
.timeline__step.is-lit .timeline__num { border-color: var(--violet); box-shadow: 0 0 0 6px rgba(124, 92, 255, .14), 0 0 40px rgba(124, 92, 255, .5); color: #fff; }
.timeline__icon { display: none; }
.timeline__step p { color: var(--muted); }

/* ---------- Why / features ---------- */
.why__grid, .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features { grid-template-columns: repeat(3, 1fr); }
.why__item, .feature { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)); transition: transform .5s var(--ease); }
.why__item:hover, .feature:hover { transform: translateY(-4px); }
.why__item p, .feature p { color: var(--muted); margin: 0; }
.why__icon, .feature__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; margin-bottom: 20px; background: rgba(124, 92, 255, .14); color: var(--violet-2); border: 1px solid rgba(124, 92, 255, .25); }
.why__icon--lime { background: rgba(212, 255, 58, .1); color: var(--lime); border-color: rgba(212, 255, 58, .25); }
.feature--ok .feature__icon { background: rgba(46, 230, 200, .14); color: var(--teal); border-color: rgba(46, 230, 200, .3); }
.feature--no .feature__icon { background: rgba(255, 107, 129, .12); color: var(--red); border-color: rgba(255, 107, 129, .3); }

/* ---------- Casos de uso ---------- */
.usecases { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.usecases__list { display: grid; gap: 8px; }
.usecase-tab { display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); font-weight: 600; color: var(--muted); transition: all .3s var(--ease); }
.usecase-tab .i { opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.usecase-tab:hover { color: #fff; border-color: var(--line-2); }
.usecase-tab.is-active { color: #fff; background: rgba(124, 92, 255, .14); border-color: rgba(124, 92, 255, .45); }
.usecase-tab.is-active .i { opacity: 1; transform: none; }
.usecases__panel { position: sticky; top: calc(var(--nav-h) + 24px); padding: clamp(28px, 4vw, 48px); min-height: 320px; }
.usecase[hidden] { display: none; }
.usecase.is-active { animation: fadeUp .5s var(--ease); }
.usecase__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; margin-bottom: 24px; background: var(--grad-btn); color: #fff; }
.usecase__icon .i { width: 30px; height: 30px; }
.usecase p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Integraciones ---------- */
.integrations { text-align: center; }
.integrations__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: .92rem; }
.pill .i { color: var(--teal); }
.pill--muted { color: var(--dim); border-style: dashed; }

.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .3s, transform .4s var(--ease); }
a.mini-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.mini-card strong { display: block; }
.mini-card small { color: var(--muted); font-size: .86rem; }
.mini-card > .i:last-child { margin-left: auto; color: var(--dim); }
.mini-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex: none; background: rgba(124, 92, 255, .14); color: var(--violet-2); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--dim); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .025); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: rgba(124, 92, 255, .4); background: rgba(124, 92, 255, .06); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 1.04rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: transform .35s var(--ease), background .3s; }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--violet); border-color: var(--violet); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.sources { grid-column: 2; font-size: .85rem; color: var(--dim); margin-top: 12px; }
.sources a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contacto + formularios ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__copy { position: sticky; top: calc(var(--nav-h) + 30px); }
.contact__cards { display: grid; gap: 12px; margin-top: 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #dcdcf0; }
.ticks .i { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(46, 230, 200, .15); color: var(--teal); }
.ticks--lime .i { background: rgba(212, 255, 58, .15); color: var(--lime); }

.form { padding: clamp(24px, 3.5vw, 40px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .label { font-size: .88rem; font-weight: 600; color: #d4d5e8; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: #fff; font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a6bd' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field select option { background: #14142a; }
.field input::placeholder, .field textarea::placeholder { color: #5f6178; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: rgba(124, 92, 255, .06); box-shadow: 0 0 0 4px rgba(124, 92, 255, .18); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.field__error { color: var(--red); font-size: .82rem; font-weight: 500; }
.field--check { gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; font-weight: 400 !important; color: var(--muted) !important; cursor: pointer; }
.check a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid var(--line-2); background: rgba(0, 0, 0, .3); display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .2s var(--ease); }
.check input:checked { background: var(--violet); border-color: var(--violet); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .86rem; color: #cfd0e6; transition: all .25s var(--ease); }
.chip:hover span { border-color: rgba(255, 255, 255, .35); color: #fff; }
.chip input:checked + span { background: rgba(124, 92, 255, .25); border-color: var(--violet); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.chips--lg .chip span { padding: 12px 18px; font-size: .95rem; }
.form--steps .chip input:checked + span { background: rgba(212, 255, 58, .14); border-color: var(--lime); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form__note { display: inline-flex; align-items: center; gap: 7px; color: var(--dim); font-size: .84rem; margin: 0; }
.form__status:not(:empty) { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: .92rem; background: rgba(255, 107, 129, .1); border: 1px solid rgba(255, 107, 129, .35); color: #ffd0d8; }
.form__status.is-ok { background: rgba(46, 230, 200, .1); border-color: rgba(46, 230, 200, .35); color: #cbfff4; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.errors-list { list-style: none; padding: 0; color: var(--red); margin: 20px 0; }

.form--steps { position: relative; overflow: hidden; }
.steps__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-bottom: 14px; overflow: hidden; }
.steps__bar span { display: block; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--lime), var(--teal)); border-radius: 4px; transition: width .5s var(--ease); }
.steps__count { font-size: .8rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 18px; }
.step { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
.step[hidden] { display: none; }
.step.is-active { animation: fadeUp .5s var(--ease); }
.step legend { padding: 0; margin-bottom: 4px; }
.step__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.step__nav .btn:only-child { margin-left: auto; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkcard { cursor: pointer; }
.checkcard input { position: absolute; opacity: 0; }
.checkcard span { display: block; height: 100%; padding: 14px 16px 14px 46px; border-radius: 14px; border: 1px solid var(--line-2); font-size: .92rem; position: relative; transition: all .25s; }
.checkcard span::before { content: ""; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-2); transition: all .2s; }
.checkcard input:checked + span { border-color: var(--lime); background: rgba(212, 255, 58, .08); }
.checkcard input:checked + span::before { background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--lime); }
.checkcard input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- Bono ---------- */
.bono-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bono-stat { padding: 24px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); backdrop-filter: blur(10px); }
.bono-stat small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 600; margin-bottom: 6px; }
.bono-stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; }
.bono-stat--big { grid-column: 1 / -1; background: radial-gradient(500px 220px at 100% 0%, rgba(212, 255, 58, .2), transparent 60%), linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border-color: rgba(212, 255, 58, .3); }
.bono-stat--big strong { font-size: clamp(3rem, 7vw, 5.4rem); color: var(--lime); }
.bono-stat--wide { grid-column: 1 / -1; }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--line-2); color: var(--muted); font-size: .9rem; }
.disclaimer .i { flex: none; color: var(--blue); margin-top: 2px; }
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.roadmap::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--lime), var(--teal) 40%, var(--line) 60%); }
.roadmap__item { position: relative; padding-top: 40px; }
.roadmap__dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.roadmap__item.is-done .roadmap__dot { background: var(--lime); border-color: var(--lime); }
.roadmap__item.is-next .roadmap__dot { border-color: var(--teal); box-shadow: 0 0 0 6px rgba(46, 230, 200, .15); animation: ping 2s infinite; }
.roadmap__when { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lime); font-weight: 700; margin-bottom: 8px; }
.roadmap__when em { font-style: normal; color: var(--dim); }
.roadmap__item p { color: var(--muted); }
.waitlist { background: radial-gradient(900px 500px at 80% 50%, rgba(212, 255, 58, .07), transparent 60%); }
.waitlist__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.waitlist__copy { position: sticky; top: calc(var(--nav-h) + 30px); }
.page-bono .form .field input:focus, .page-bono .form .field select:focus, .page-bono .form .field textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(212, 255, 58, .14); background: rgba(212, 255, 58, .03); }
.page-bono .check input:checked { background: #8fb31d; border-color: var(--lime); }

/* ---------- Legal / misc ---------- */
.legal { padding: clamp(48px, 7vw, 96px) 0; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: #c7c8dc; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 1em; }
.success-check { width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); box-shadow: 0 0 0 12px rgba(124, 92, 255, .15), 0 0 80px rgba(124, 92, 255, .6); }
.success-check .i { width: 46px; height: 46px; color: #fff; stroke-width: 2.5; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s .3s var(--ease) forwards; }
.big404 { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 12rem); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.05em; }

/* ---------- Footer ---------- */
.footer { padding: clamp(40px, 6vw, 80px) 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .06)); }
.footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: clamp(28px, 4vw, 50px); margin-bottom: 70px; border-radius: 30px; border: 1px solid var(--line-2); background: radial-gradient(600px 300px at 100% 100%, rgba(46, 230, 200, .14), transparent 60%), radial-gradient(600px 300px at 0% 0%, rgba(124, 92, 255, .22), transparent 60%), var(--surface); }
.footer__cta .h2 { margin-bottom: 10px; }
.footer__cta p { margin: 0; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid > div:not(.footer__brand) { display: grid; gap: 10px; align-content: start; }
.footer__grid > div > a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer__grid > div > a:hover { color: #fff; }
.footer__title { font-weight: 700; margin: 0 0 6px; font-size: .95rem; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p { max-width: 38ch; font-size: .95rem; }
.footer__contact { display: grid; gap: 8px; }
.footer__contact > * { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--dim); }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a:hover { color: #fff; }
.hero--contact + .footer .footer__cta, .page-bono .footer__cta { display: none; }

/* Brillo que sigue al cursor */
.cursor-glow { position: fixed; top: 0; left: 0; width: 500px; height: 500px; margin: -250px 0 0 -250px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(124, 92, 255, .09), transparent 60%); transform: translate(var(--cx, -999px), var(--cy, -999px)); transition: opacity .3s; }
main, .footer, .nav, .topbar { position: relative; z-index: 1; }
.nav { position: sticky; z-index: 50; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid, .calc, .contact, .waitlist__grid, .usecases, .faq-wrap { grid-template-columns: 1fr; }
  .contact__copy, .waitlist__copy, .usecases__panel { position: static; }
  .sources { grid-column: auto; }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .features, .bento--3 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card, .bento__card--wide { grid-column: auto; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .timeline::before, .timeline::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float-chip--a { left: 0; }
  .float-chip--b { right: 0; }
}
@media (max-width: 1120px) {
  .nav__burger { display: block; }
  .nav__actions .btn { display: none; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 20px; overflow-y: auto;
    background: rgba(7, 7, 13, .97); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .35s var(--ease);
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open { background: rgba(7, 7, 13, .97); }
  .nav__link { padding: 16px; font-size: 1.1rem; border-radius: 14px; justify-content: space-between; }
  .nav__cta-mobile { display: inline-flex; margin-top: 12px; }
  .mega { position: static; width: auto; transform: none !important; opacity: 1; visibility: visible; display: none; }
  .nav__item--mega.is-open .mega { display: block; }
  .mega__inner { grid-template-columns: 1fr; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(1200px, 100% - 32px); }
  .topbar { font-size: .8rem; }
  .topbar > .i { display: none; }
  .pains, .why__grid, .features, .bento, .bento--3, .mini-cards, .roadmap, .checks, .form__grid, .footer__grid { grid-template-columns: 1fr; }
  .roadmap::before { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .pain { height: 250px; }
  .bono-banner, .footer__cta { flex-direction: column; align-items: flex-start; }
  .calc__result { grid-template-columns: 1fr; }
  .demo { min-height: 0; padding: 20px 0; }
  .phone { width: 280px; height: 520px; }
  .float-chip { display: none; }
  .widget { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 18px; }
  .browser__page { min-height: 0; padding: 18px; }
  .sk-grid { display: none; }
  .step__nav { flex-wrap: wrap; }
  .hero__cta .btn { flex: 1 1 auto; }
  .cursor-glow { display: none; }
}

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

/* Evitar desbordes en móvil (los items de grid no deben crecer por su contenido) */
.hero__grid > *, .contact > *, .calc > *, .waitlist__grid > *, .usecases > *, .faq-wrap > * { min-width: 0; }
.rotator { grid-template-columns: minmax(0, 1fr); max-width: 100%; }
.eyebrow { max-width: 100%; }
@media (max-width: 720px) {
  .eyebrow { font-size: .7rem; letter-spacing: .04em; }
  .h1 { font-size: clamp(2.2rem, 10vw, 2.9rem); }
}

/* ---------- Botones flotantes WhatsApp / llamada ---------- */
.float-contact { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-contact__btn {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); transition: transform .3s var(--ease), box-shadow .3s;
}
.float-contact__btn svg { width: 28px; height: 28px; }
.float-contact__btn span { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); opacity: 0; pointer-events: none; white-space: nowrap; padding: 7px 12px; border-radius: 10px; font-size: .85rem; font-weight: 600; background: rgba(20, 20, 35, .95); border: 1px solid var(--line-2); transition: all .25s var(--ease); }
.float-contact__btn:hover { transform: translateY(-3px) scale(1.05); }
.float-contact__btn:hover span { opacity: 1; transform: translate(0, -50%); }
.float-contact__btn--wa { background: #25d366; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); }
.float-contact__btn--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.2s infinite; }
.float-contact__btn--call { background: var(--grad-btn); }
@media (max-width: 720px) {
  .float-contact { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 7, 13, .92); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .float-contact__btn { flex: 1; width: auto; height: 50px; border-radius: 14px; display: flex; gap: 10px; margin: 0 4px; font-weight: 700; }
  .float-contact__btn svg { width: 22px; height: 22px; }
  .float-contact__btn span { position: static; opacity: 1; transform: none; padding: 0; background: none; border: 0; font-size: .98rem; }
  .float-contact__btn--wa::after { display: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Blog
   ========================================================= */
.u { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cat-chips .pill { transition: all .25s var(--ease); }
.cat-chips .pill small { color: var(--dim); font-size: .78rem; }
.cat-chips .pill:hover { border-color: rgba(255, 255, 255, .35); }
.cat-chips .pill.is-active { background: rgba(124, 92, 255, .25); border-color: var(--violet); }
.blog-search { display: flex; align-items: center; gap: 10px; max-width: 460px; margin-top: 18px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); transition: border-color .25s, box-shadow .25s; }
.blog-search:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 92, 255, .18); }
.blog-search .i { color: var(--dim); }
.blog-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 14px 0; color: #fff; outline: none; font-size: 1rem; }
.blog-empty { text-align: center; padding: 40px 0; }

.post-cover { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 18px; isolation: isolate;
  --h1: #7c5cff; --h2: #2ee6c8; background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--h1) 55%, transparent), transparent 60%), radial-gradient(100% 100% at 100% 100%, color-mix(in srgb, var(--h2) 40%, transparent), transparent 60%), #0f0f1c; }
.post-cover--whatsapp { --h1: #1fa855; --h2: #2ee6c8; }
.post-cover--voz { --h1: #7c5cff; --h2: #ff6bd5; }
.post-cover--chatbot { --h1: #4f7bff; --h2: #2ee6c8; }
.post-cover--automatizacion { --h1: #9b5cff; --h2: #4fa8ff; }
.post-cover--datos { --h1: #2ee6c8; --h2: #4fa8ff; }
.post-cover--software { --h1: #ff7a59; --h2: #7c5cff; }
.post-cover--ayudas { --h1: #8fb31d; --h2: #d4ff3a; }
.post-cover__grid { position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.post-cover__orb { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: radial-gradient(circle, color-mix(in srgb, var(--h2) 45%, transparent), transparent 65%); filter: blur(20px); transition: transform .8s var(--ease); }
.post-cover__icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }
.post-cover__icon .i { width: 34px; height: 34px; }
.post-cover__kw { position: absolute; left: 14px; bottom: 12px; right: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-cover--big { aspect-ratio: auto; min-height: 100%; }
.post-cover--big .post-cover__icon { width: 110px; height: 110px; border-radius: 30px; }
.post-cover--big .post-cover__icon .i { width: 50px; height: 50px; }
a:hover .post-cover__icon { transform: translateY(-6px) rotate(-4deg) scale(1.05); }
a:hover .post-cover__orb { transform: scale(1.25); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 0; padding: 10px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)); transition: transform .5s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.post-card[hidden] { display: none; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 12px 12px; flex: 1; }
.post-card__cat { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.post-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; letter-spacing: -.015em; }
.post-card__excerpt { color: var(--muted); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; font-size: .92rem; }
.post-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; padding: 10px; margin-bottom: 24px; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); }
.post-featured[hidden] { display: none; }
.post-featured__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(18px, 3vw, 40px); }
.post-featured__body .h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.post-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: .88rem; }

/* Artículo */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px rgba(124, 92, 255, .8); }
.post-hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); overflow: hidden; isolation: isolate; }
.container--post { width: min(900px, 100% - 40px); }
.post-hero .badge { margin-bottom: 18px; }
.post-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.post-byline { display: flex; align-items: center; gap: 12px; }
.post-byline__avatar .logo-mark { width: 44px; height: 44px; }
.post-byline small { display: block; color: var(--dim); font-size: .86rem; }
.post-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
.post-aside { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 18px; max-height: calc(100vh - var(--nav-h) - 40px); overflow: auto; scrollbar-width: thin; }
.toc { padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.toc__title { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 700; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc a { display: block; padding: 7px 10px 7px 12px; border-left: 2px solid var(--line); font-size: .88rem; line-height: 1.35; color: var(--muted); transition: all .25s; }
.toc a:hover { color: #fff; }
.toc a.is-active { color: #fff; border-left-color: var(--teal); background: linear-gradient(90deg, rgba(46, 230, 200, .1), transparent); }
.aside-cta { display: grid; gap: 10px; padding: 22px; border-radius: 20px; border: 1px solid rgba(124, 92, 255, .35); background: radial-gradient(240px 160px at 100% 0%, rgba(124, 92, 255, .25), transparent 70%), var(--surface); }
.aside-cta strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.aside-cta p { color: var(--muted); font-size: .9rem; margin: 0; }
.aside-cta__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-btn); color: #fff; }
.aside-cta .badge { justify-self: start; }

.prose { font-size: 1.08rem; line-height: 1.75; color: #d6d7ea; max-width: 760px; }
.prose > * + *, .prose > p + p { margin-top: 1.15em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #fff; margin: 2.2em 0 .2em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h3 { font-size: 1.3rem; color: #fff; margin: 1.8em 0 .1em; }
.prose a { color: #fff; text-decoration: underline; text-decoration-color: rgba(124, 92, 255, .8); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .2s, color .2s; }
.prose a:hover { color: var(--teal); text-decoration-color: var(--teal); }
.prose strong { color: #fff; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: .55em; }
.prose ul li, .prose ol li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: #fff; background: rgba(124, 92, 255, .35); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--violet); font-size: 1.15rem; color: #fff; font-style: italic; }
.prose aside.callout { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(79, 168, 255, .35); background: rgba(79, 168, 255, .08); font-size: 1rem; }
.prose aside.callout--tip { border-color: rgba(212, 255, 58, .35); background: rgba(212, 255, 58, .06); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; border-radius: 14px; border: 1px solid var(--line-2); }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 140px; }
.prose th { background: rgba(124, 92, 255, .15); color: #fff; font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.post-faq { margin-top: 2.5em; }
.post-faq .faq { margin-top: 1em; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 2.5em; padding-top: 1.5em; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.prose .post-share a { text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; }
.prose .post-share a:hover { border-color: var(--teal); }
.service-band { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: clamp(26px, 4vw, 48px); border-radius: 30px; border: 1px solid var(--line-2); background: radial-gradient(600px 300px at 0% 0%, rgba(124, 92, 255, .25), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(46, 230, 200, .12), transparent 60%), var(--surface); }
.service-band__copy { display: flex; gap: 20px; align-items: flex-start; }
.service-band__copy .h2 { margin-bottom: 8px; }
.service-band__copy p:last-child { margin: 0; }
.service-band__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--grad-btn); color: #fff; }
.service-band__icon .i { width: 30px; height: 30px; }
.service-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* =========================================================
   Landings locales
   ========================================================= */
.city-card { padding: 26px; display: grid; gap: 20px; }
.city-card__map { position: relative; display: grid; place-items: center; }
.city-card__map svg { width: min(260px, 70%); }
.city-card__pulse { transform-origin: 100px 100px; animation: cityPulse 2.4s ease-out infinite; }
@keyframes cityPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(4); opacity: 0; } }
.city-card__name { position: absolute; bottom: 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; padding: 6px 14px; border-radius: 999px; background: rgba(7, 7, 13, .7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); text-align: center; }
.city-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.city-card__facts div { padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.city-card__facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 600; }
.city-card__facts dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.city-card__src { margin: 0; font-size: .74rem; color: var(--dim); }
.local-context { padding: clamp(24px, 4vw, 44px); border-radius: 26px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.local-context p { color: #cfd0e3; font-size: 1.05rem; }
.local-context p:last-child { margin: 0; }
.local-context a { text-decoration: underline; text-underline-offset: 3px; }
.feature__link { margin-top: 14px; font-size: .88rem; color: var(--violet-2); }
.why__grid--3 { grid-template-columns: repeat(3, 1fr); }
.city-links { display: flex; flex-wrap: wrap; gap: 10px; }
.city-links .pill { transition: border-color .25s, background .25s; }
.city-links .pill:hover { border-color: var(--teal); background: rgba(46, 230, 200, .06); }
.city-links .pill[hidden] { display: none; }
.zone { padding: 26px 0; border-bottom: 1px solid var(--line); }
.zone[hidden] { display: none; }
.zone .h3 { margin-bottom: 16px; }
.zone small { font-size: .9rem; font-family: var(--font); font-weight: 500; }
.footer__cities { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.footer__cities div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__cities a { color: var(--muted); font-size: .88rem; }
.footer__cities a:hover { color: #fff; }

@media (max-width: 1080px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; max-height: none; overflow: visible; }
  .aside-cta { display: none; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-cover--big { aspect-ratio: 16 / 9; }
  .service-band { flex-direction: column; align-items: flex-start; }
  .why__grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .post-grid, .why__grid--3 { grid-template-columns: 1fr; }
  .prose { font-size: 1.02rem; }
  .service-band__copy { flex-direction: column; }
  .toc { display: none; }
}

/* =========================================================
   Artículo · estructura de la casa (header, stats, autor, TOC, componentes)
   ========================================================= */
.post-hero { padding: clamp(20px, 3vw, 32px) 0 0; }
.blog-post { padding-bottom: clamp(40px, 6vw, 80px); }
.blog-post .container--post { width: min(860px, 100% - 40px); }
.blog-post__header { padding: 8px 0 28px; }
.blog-post__header .badge { margin-bottom: 18px; }
.blog-post__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--dim); font-size: .9rem; margin: 0; }
.blog-post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-post__stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.blog-post__stats-bar .stat-item { padding: 20px 14px; text-align: center; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); }
.blog-post__stats-bar .stat-number { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blog-post__stats-bar .stat-label { margin-top: 6px; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.blog-post__author-box { display: flex; gap: 18px; align-items: flex-start; padding: 22px; margin-bottom: 26px; border-radius: 20px; border: 1px solid var(--line-2); border-left: 3px solid var(--violet); background: rgba(255, 255, 255, .03); }
.blog-post__author-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(124, 92, 255, .6); box-shadow: 0 0 0 4px rgba(124, 92, 255, .15); }
.blog-post__author-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 4px; }
.blog-post__author-name small { display: block; font-family: var(--font); font-weight: 500; font-size: .82rem; color: var(--teal); }
.blog-post__author-info p { color: var(--muted); font-size: .93rem; margin: 0 0 10px; }
.blog-post__author-info a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px; font-size: .82rem; font-weight: 600; color: #8fc3ff; background: rgba(79, 168, 255, .12); border: 1px solid rgba(79, 168, 255, .3); }
.blog-post__author-info a:hover { background: rgba(79, 168, 255, .22); }
.blog-post__toc { padding: 24px; margin-bottom: 36px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.blog-post__toc-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 14px; }
.blog-post__toc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.blog-post__toc a { display: flex; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: .92rem; color: #cfd0e6; line-height: 1.35; transition: background .2s, color .2s; }
.blog-post__toc a:hover, .blog-post__toc a.is-active { background: rgba(124, 92, 255, .12); color: #fff; }
.toc-num { color: var(--teal); font-weight: 700; flex: none; }
.prose h2 .section-num { color: var(--teal); margin-right: 4px; }
.blog-post__content { max-width: none; }

/* Cajas */
.prose :is(.highlight-box, .info-box, .warning-box, .success-box, .danger-box, .purple-box) {
  --c: 124, 92, 255; position: relative; padding: 20px 22px 20px 24px; border-radius: 16px; border: 1px solid rgba(var(--c), .35); background: linear-gradient(135deg, rgba(var(--c), .13), rgba(var(--c), .04)); overflow: hidden;
}
.prose :is(.highlight-box, .info-box, .warning-box, .success-box, .danger-box, .purple-box)::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: rgb(var(--c)); }
.prose .highlight-box { --c: 46, 230, 200; }
.prose .info-box { --c: 79, 168, 255; }
.prose .warning-box { --c: 245, 180, 40; }
.prose .success-box { --c: 34, 197, 94; }
.prose .danger-box { --c: 255, 107, 129; }
.prose .purple-box { --c: 155, 133, 255; }
.prose :is(.highlight-box, .info-box, .warning-box, .success-box, .danger-box, .purple-box) h4 { font-family: var(--font-display); font-size: 1.08rem; color: rgb(var(--c)); margin: 0 0 6px; filter: brightness(1.15); }
.prose :is(.highlight-box, .info-box, .warning-box, .success-box, .danger-box, .purple-box) > * + * { margin-top: .6em; }
.prose :is(.highlight-box, .info-box, .warning-box, .success-box, .danger-box, .purple-box) p { margin: 0; font-size: 1rem; }

/* Stat cards */
.prose .stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prose .stat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.prose .stat-card { padding: 22px 16px; text-align: center; border-radius: 18px; border: 1px solid var(--line-2); background: radial-gradient(160px 100px at 50% 0%, rgba(124, 92, 255, .18), transparent 70%), rgba(255, 255, 255, .03); }
.prose .stat-number { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose .stat-label { margin-top: 8px; font-size: .88rem; color: var(--muted); line-height: 1.4; }

/* Grid de tarjetas */
.prose .content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.prose .content-card { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); transition: transform .4s var(--ease), border-color .3s; }
.prose .content-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.prose .content-card h4 { font-family: var(--font-display); font-size: 1.08rem; color: #fff; margin: 12px 0 6px; }
.prose .content-card p { font-size: .95rem; color: var(--muted); margin: 0; }
.prose .card-icon { --c: 124, 92, 255; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: rgb(var(--c)); background: rgba(var(--c), .15); border: 1px solid rgba(var(--c), .3); }
.prose .card-icon--accent { --c: 46, 230, 200; }
.prose .card-icon--blue { --c: 79, 168, 255; }
.prose .card-icon--green { --c: 34, 197, 94; }
.prose .card-icon--purple { --c: 155, 133, 255; }
.prose .card-icon--amber { --c: 245, 180, 40; }

/* Tabla, pasos, checklist, cita */
.prose table.styled-table th { background: linear-gradient(90deg, rgba(124, 92, 255, .3), rgba(79, 168, 255, .2)); }
.prose table.styled-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
.prose table.styled-table tbody tr:hover td { background: rgba(124, 92, 255, .07); }
.prose ol.step-list { counter-reset: st; gap: 12px; }
.prose ol.step-list > li { counter-increment: st; padding: 16px 18px 16px 66px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.prose ol.step-list > li::before { content: counter(st); left: 16px; top: 16px; width: 34px; height: 34px; font-size: .95rem; background: var(--grad-btn); box-shadow: 0 6px 18px -6px rgba(124, 92, 255, .8); }
.prose ol.step-list strong { font-family: var(--font-display); font-size: 1.05rem; }
.prose ul.checklist { gap: 10px; }
.prose ul.checklist > li { padding-left: 34px; }
.prose ul.checklist > li::before { left: 0; top: .2em; width: 22px; height: 22px; border-radius: 7px; background: rgba(46, 230, 200, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232EE6C8' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.prose .quote-card { position: relative; padding: 26px 28px 22px 64px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.prose .quote-card::before { content: "“"; position: absolute; left: 20px; top: 4px; font-family: var(--font-display); font-size: 4.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose .quote-card p { font-size: 1.15rem; font-style: italic; color: #fff; margin: 0 0 10px; }
.prose .quote-author { font-size: .9rem; color: var(--muted); font-weight: 600; }

/* CTAs del artículo */
.blog-post__cta { position: relative; overflow: hidden; margin: 2.4em 0; padding: clamp(24px, 4vw, 40px); border-radius: 24px; text-align: center; border: 1px solid rgba(124, 92, 255, .4); background: radial-gradient(500px 240px at 50% 0%, rgba(124, 92, 255, .3), transparent 70%), radial-gradient(400px 200px at 100% 100%, rgba(46, 230, 200, .12), transparent 70%), var(--surface); }
.prose .blog-post__cta h3 { margin: 0 0 10px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose .blog-post__cta p { color: #c9cae0; max-width: 56ch; margin: 0 auto 20px; }
.prose .blog-post__cta a { text-decoration: none; color: inherit; }
.prose .blog-post__cta .btn--primary { color: #fff; }
.prose .blog-post__cta .btn--lime { color: #0a0a0f; }
.blog-post__cta .badge { margin-bottom: 14px; }
.blog-post__cta-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 14px; border-radius: 18px; background: var(--grad-btn); color: #fff; }
.blog-post__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.blog-post__cta--mid { text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding: 24px 28px; }
.prose .blog-post__cta--mid h3 { font-size: 1.3rem; margin: 0; }
.prose .blog-post__cta--mid p { margin: 0; grid-column: 1; max-width: none; font-size: .98rem; }
.blog-post__cta--mid .btn { grid-column: 2; grid-row: 1 / span 2; }
.page-post .footer__cta { display: none; }

@media (max-width: 720px) {
  .blog-post__stats-bar, .prose .stat-grid, .prose .stat-grid--4 { grid-template-columns: 1fr 1fr; }
  .blog-post__toc ul { grid-template-columns: 1fr; }
  .blog-post__author-box { flex-direction: column; }
  .blog-post__cta--mid { grid-template-columns: 1fr; }
  .blog-post__cta--mid .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .prose ol.step-list > li { padding-left: 58px; }
}

/* H1 SEO en formato "eyebrow" (pequeño) sobre el titular visual */
h1.eyebrow { font-family: var(--font); font-size: .8rem; font-weight: 600; line-height: 1.4; letter-spacing: .06em; }
@media (max-width: 720px) { h1.eyebrow { font-size: .7rem; letter-spacing: .04em; } }
.features--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .features--2 { grid-template-columns: 1fr; } }
