/* ============================================================
   Letra Inter alojada en este mismo sitio (no se pide a Google Fonts,
   así no se envía la IP de los visitantes a terceros).
   Licencia: SIL Open Font License 1.1 (ver fonts/LICENSE-Inter-OFL.txt)
   ============================================================ */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 400; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 400; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 500; src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 500; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 600; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 600; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 700; src: url("../fonts/inter-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 700; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ============================================================
   Moldea — estilos de la landing
   Mobile-first: lo básico es para celular; los @media (min-width)
   ajustan para pantallas más grandes.
   ============================================================ */

:root {
  --violet: #6D5DFC;
  --violet-1: #8B7BFF;
  --violet-2: #5B49F0;
  --amber: #D97706;
  --blue: #2563EB;
  --green: #16A34A;
  --ink: #1D1D1F;
  --bg: #FBFBFD;
  --grey: #6E6E73;
  --line: #ECECF1;
  --card: #FFFFFF;

  --r-lg: 32px;
  --r-xl: 44px;
  --shadow: 0 1px 2px rgba(29,29,31,.04), 0 12px 40px -12px rgba(109,93,252,.22);
  --shadow-sm: 0 1px 2px rgba(29,29,31,.05), 0 6px 18px -8px rgba(109,93,252,.25);
  --shadow-dev: 0 30px 60px -28px rgba(40,30,120,.55), 0 8px 20px -10px rgba(29,29,31,.35);
  --gutter: 20px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Fondo continuo: luces suaves y rejilla de puntos que acompañan toda la página */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70vmax 70vmax at 100% 0%, rgba(139,123,255,.18), transparent 60%),
    radial-gradient(60vmax 60vmax at 0% 55%, rgba(37,99,235,.08), transparent 60%),
    radial-gradient(60vmax 60vmax at 100% 100%, rgba(139,123,255,.14), transparent 60%),
    radial-gradient(rgba(109,93,252,.15) 1.2px, transparent 1.5px) 0 0 / 26px 26px;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--violet-1); outline-offset: 3px; border-radius: 8px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--font); letter-spacing: -0.01em; text-decoration: none;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); box-shadow: 0 10px 28px -10px rgba(91,73,240,.7); }
.btn--primary:hover { box-shadow: 0 14px 32px -10px rgba(91,73,240,.85); }
.btn--ghost { color: var(--ink); background: rgba(255,255,255,.8); border-color: var(--line); }
.btn--ghost:hover { background: #fff; box-shadow: var(--shadow-sm); }
.btn--white { color: var(--violet-2); background: #fff; box-shadow: 0 14px 34px -12px rgba(0,0,0,.35); }
.btn--sm { padding: 11px 16px; font-size: 14px; }
.btn--lg { padding: 18px 28px; font-size: 18px; }

/* ---------- Barra superior ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,251,253,.72); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav--scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(29,29,31,.25); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: none; gap: 28px; font-size: 15px; font-weight: 500; color: var(--grey); }
.nav__links a { text-decoration: none; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }

/* ---------- Botón flotante ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); box-shadow: 0 16px 36px -12px rgba(91,73,240,.85); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s; }
.fab--on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 719px) { .fab { padding: 16px; } .fab span { display: none; } }
.fab:hover { transform: translateY(-2px); }

/* ---------- Anillos decorativos ---------- */
.ring { position: absolute; border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%; border-style: solid; pointer-events: none; }
.ring--1 { width: 120vw; height: 120vw; max-width: 1100px; max-height: 1100px; border-width: 64px; border-color: rgba(139,123,255,.11); right: -45%; top: -22%; }
.ring--2 { width: 80vw; height: 80vw; max-width: 760px; max-height: 760px; border-width: 44px; border-color: rgba(91,73,240,.08); right: -22%; top: 0%; transform: rotate(18deg); }
.ring--3 { width: 70vw; height: 70vw; max-width: 600px; max-height: 600px; border-width: 36px; border-color: rgba(37,99,235,.06); left: -35%; bottom: -30%; transform: rotate(-24deg); }
@media (prefers-reduced-motion: no-preference) {
  .ring--1 { animation: girar 90s linear infinite; }
  .ring--2 { animation: girar 120s linear infinite reverse; }
}
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Marco de dispositivo (el mismo para computadora, tablet y celular) ---------- */
.device {
  position: relative; background: linear-gradient(150deg, #2B2B31, #131316);
  border-radius: 22px; padding: 9px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), var(--shadow-dev);
}
.device img { width: 100%; border-radius: 14px; background: #fff; }
.device--tablet { border-radius: 28px; padding: 11px; }
.device--tablet img { aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; border-radius: 18px; }
.device--phone { border-radius: 32px; padding: 7px; }
.device--phone img { aspect-ratio: 560 / 1212; object-fit: cover; object-position: top; border-radius: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 36px 0 40px; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; transition: transform .25s ease-out; pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; gap: 44px; }
.hero__mark { width: 52px; height: 52px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(46px, 13vw, 84px); }
.hero__lead { margin-top: 20px; font-size: clamp(19px, 5vw, 24px); line-height: 1.35; color: var(--grey); font-weight: 500; letter-spacing: -0.02em; max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__actions .btn { flex: 1 1 auto; }
.hint { margin-top: 16px; font-size: 14px; color: var(--grey); }

.hero__visual { position: relative; padding: 0 0 36px; margin-right: 12%; transition: transform .25s ease-out; }
.hero__phone { position: absolute; width: 33%; right: -12%; bottom: 0; transform: rotate(4deg); }

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.section h2 { font-size: clamp(34px, 8.5vw, 56px); }
.lead { margin-top: 18px; font-size: 19px; line-height: 1.45; color: var(--grey); letter-spacing: -0.01em; }

.card { background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.icon-box { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c2, var(--violet-1)), var(--c, var(--violet-2))); box-shadow: 0 10px 20px -10px var(--c, var(--violet-2)); flex: none; transition: background .4s, box-shadow .4s; }
.icon-box .ico { width: 24px; height: 24px; }

/* ---------- Píldoras ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 11px 18px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgba(29,29,31,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pills li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(109,93,252,.4); }
.pills .pill--more { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); font-weight: 600; }
.pills--small li { font-size: 15px; padding: 9px 15px; }

/* ---------- Visor de negocios ---------- */
.showcase { --c: var(--violet-2); --c2: var(--violet-1); padding: 14px; border-radius: var(--r-xl); position: relative; overflow: hidden; }
.showcase::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); transition: background .5s; }
.showcase > * { position: relative; }
.showcase__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 14px; border: 1.5px solid transparent; border-radius: 22px; background: transparent; color: var(--grey); font-size: 15px; font-weight: 600; cursor: pointer; overflow: hidden; transition: background .25s, border-color .25s, color .25s, transform .2s; }
.stab:hover { background: rgba(255,255,255,.7); transform: translateY(-2px); }
.stab .icon-box { width: 42px; height: 42px; border-radius: 14px; opacity: .55; filter: saturate(.7); transition: opacity .25s, filter .25s, transform .25s; }
.stab.is-on { background: #fff; color: var(--ink); border-color: color-mix(in srgb, var(--c) 35%, #fff); box-shadow: 0 10px 26px -14px var(--c); }
.stab.is-on .icon-box { opacity: 1; filter: none; transform: scale(1.06); }
.stab__bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: transparent; overflow: hidden; }
.stab__bar::after { content: ""; position: absolute; inset: 0; background: var(--c); transform: scaleX(0); transform-origin: left; border-radius: 3px; }
.is-auto .stab.is-on .stab__bar::after { animation: llenar 5s linear forwards; }
.is-auto.is-paused .stab.is-on .stab__bar::after { animation-play-state: paused; }
@keyframes llenar { to { transform: scaleX(1); } }

.showcase__body { display: grid; gap: 26px; padding: 22px 8px 8px; align-items: center; }
.showcase__info h3 { font-size: clamp(34px, 8vw, 46px); margin: 14px 0 8px; }
.showcase__info > p:not(.hint):not(.showcase__label) { font-size: 18px; color: var(--grey); }
.showcase__label { margin-top: 22px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: color-mix(in srgb, var(--c) 50%, #fff); transform: translateY(-2px); }
.chip.is-on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--c2), var(--c)); box-shadow: 0 10px 20px -10px var(--c); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 25%, #fff); white-space: nowrap; transition: all .3s; }
.tag--real { color: #fff; background: var(--c); border-color: var(--c); }

.showcase__stage { position: relative; padding-bottom: 30px; margin-right: 10%; }
.showcase__phone { position: absolute; width: 28%; right: -10%; bottom: 0; }
img.swap { transition: opacity .17s ease, transform .17s ease; }
img.swap.is-out { opacity: 0; transform: scale(.985); }

.more { margin-top: 48px; text-align: center; }
.more h3 { font-size: 22px; margin-bottom: 20px; }
.more .pills { justify-content: center; }
.more__big { margin-top: 28px; font-size: clamp(32px, 9vw, 52px); font-weight: 700; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Dispositivos ---------- */
.devices { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 18px; align-items: end; }
.dev { position: relative; margin: 0; cursor: pointer; transition: transform .3s ease, filter .3s; }
.dev:hover { transform: translateY(-6px); }
.dev figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--grey); }
.dev--pc { grid-column: 1 / -1; }
.dev--phone .device { width: 62%; margin: 0 auto; }
.dev .device { transition: box-shadow .35s; }
.dev__badge { position: absolute; z-index: 2; top: -14px; right: 8%; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: #fff; background: var(--green); border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(22,163,74,.8); opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .3s, transform .3s; pointer-events: none; }
.dev__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.dev.is-sync .dev__badge { opacity: 1; transform: none; }
.dev.is-sync .device { box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 0 0 4px rgba(139,123,255,.45), 0 0 50px -4px rgba(109,93,252,.65); }
.devices__cta { margin-top: 36px; text-align: center; }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 18px; }
.step { position: relative; padding: 26px; transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -22px rgba(91,73,240,.45); }
.step h3 { font-size: 24px; margin: 18px 0 8px; }
.step p { color: var(--grey); font-size: 16px; }
.step__n { position: absolute; right: 22px; top: 14px; font-size: 64px; font-weight: 700; letter-spacing: -0.05em; color: rgba(109,93,252,.12); line-height: 1; }

/* ---------- WhatsApp ---------- */
.wa { display: grid; gap: 40px; align-items: center; }
.wa__visual { margin: 0; justify-self: center; width: min(280px, 72%); }
.wa__visual figcaption { margin-top: 16px; text-align: center; font-size: 14px; color: var(--grey); }

/* ---------- Planes (se llenan desde js/planes.js) ---------- */
.billing { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 26px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.billing__opt { position: relative; z-index: 1; padding: 12px 22px; border: 0; background: none; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--grey); cursor: pointer; transition: color .25s; white-space: nowrap; }
.billing__opt em { display: block; font-style: normal; font-size: 11px; font-weight: 600; opacity: .85; }
.billing__opt.is-on { color: #fff; }
.billing__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); box-shadow: 0 8px 18px -8px rgba(91,73,240,.8); transition: transform .35s cubic-bezier(.3,.8,.3,1); }
.billing.is-anual .billing__thumb { transform: translateX(100%); }

.plans { display: grid; gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; cursor: pointer; border: 2px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:hover { transform: translateY(-5px); }
.plan.is-on { border-color: var(--violet); box-shadow: 0 0 0 5px rgba(109,93,252,.14), 0 26px 50px -24px rgba(91,73,240,.55); }
.plan:has(input:focus-visible) { outline: 3px solid var(--violet-1); outline-offset: 3px; }
.plan h3 { font-size: 28px; }
.plan__sub { color: var(--grey); font-size: 15px; margin-top: 4px; }
.plan__flag { position: absolute; top: -13px; left: 28px; padding: 5px 12px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); border-radius: 999px; }
.plan__check { position: absolute; top: 22px; right: 22px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); color: transparent; transition: all .25s; }
.plan__check .ico { width: 16px; height: 16px; stroke-width: 3; }
.plan.is-on .plan__check { color: #fff; background: var(--violet); border-color: var(--violet); }
.plan__price { margin-top: 22px; }
.plan__price strong { font-size: 54px; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--grey); margin-left: 4px; }
.plan__note { min-height: 1.5em; font-size: 13px; color: var(--grey); margin-top: 4px; }
.plan__setup { font-size: 14px; font-weight: 600; color: var(--violet-2); margin: 14px 0 18px; }
.plan ul { display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 16px; line-height: 1.4; }
.plan li .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--violet); stroke-width: 3; }

.plan-extra { display: grid; gap: 18px; margin-top: 24px; align-items: start; }
.addon { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; cursor: pointer; border: 2px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.addon.is-on { border-color: var(--violet); box-shadow: 0 0 0 5px rgba(109,93,252,.14); }
.addon__txt { display: grid; gap: 4px; font-size: 15px; color: var(--grey); }
.addon__txt strong { font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.addon__price { font-weight: 600; color: var(--violet-2); }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; flex: none; width: 56px; height: 32px; border-radius: 999px; background: #D8D8E0; transition: background .25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .3s cubic-bezier(.3,.8,.3,1); }
.addon input:checked ~ .switch { background: var(--violet); }
.addon input:checked ~ .switch::after { transform: translateX(24px); }
.addon:has(input:focus-visible) { outline: 3px solid var(--violet-1); outline-offset: 3px; }

.summary { padding: 28px; }
.summary h3 { font-size: 24px; margin-bottom: 14px; }
.summary__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.summary__list dt { color: var(--grey); }
.summary__list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; font-weight: 600; }
.summary__total strong { font-size: 44px; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.summary__after { margin: 4px 0 20px; font-size: 14px; color: var(--grey); }
.summary .btn { width: 100%; }
.summary .hint { text-align: center; }

.plan-extra__left { display: grid; gap: 18px; }
.plan-extra__left .faq summary { font-size: 16px; padding: 16px 0; }
.plan-extra__left .faq details p { font-size: 15px; }

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 24px; padding: 4px 24px; box-shadow: 0 1px 2px rgba(29,29,31,.04); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 20px; color: var(--grey); }

/* ---------- Cierre ---------- */
.cta-wrap { padding: 24px 0 56px; }
.cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 64px 22px; border-radius: var(--r-xl); background: linear-gradient(160deg, #7B6CFF 0%, #5B49F0 55%, #4634D6 100%); box-shadow: 0 40px 80px -40px rgba(70,52,214,.8); }
.cta__bg { position: absolute; inset: 0; overflow: hidden; }
.cta .ring { border-color: rgba(255,255,255,.1); }
.cta .ring--1 { right: auto; left: -40%; top: -50%; }
.cta .ring--2 { right: -30%; top: auto; bottom: -45%; border-color: rgba(255,255,255,.08); }
.cta__in { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(42px, 11vw, 76px); }
.cta__lead { margin: 22px 0 32px; font-size: clamp(19px, 5vw, 24px); line-height: 1.5; }
.cta__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.cta__social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); transition: background .2s, transform .2s; }
.cta__social a:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); }

/* ---------- Pie ---------- */
.footer { padding: 28px 0 52px; }
.footer__in { display: grid; gap: 22px; justify-items: start; }
.footer__in img { height: 28px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; }
.footer__links a:hover { color: var(--violet); }
.footer__copy { font-size: 14px; color: var(--grey); line-height: 1.6; }

/* ---------- Aparecer al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2) { transition-delay: .08s; }
.js .steps .reveal:nth-child(3) { transition-delay: .16s; }
.js .steps .reveal:nth-child(4) { transition-delay: .24s; }
.js .plans .reveal:nth-child(2) { transition-delay: .08s; }
.js .plans .reveal:nth-child(3) { transition-delay: .16s; }

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

/* ============================================================
   Pantallas más grandes
   ============================================================ */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  body { font-size: 18px; }
  .nav__in { height: 72px; }
  .nav__logo img { height: 34px; }
  .nav__links { display: flex; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan-extra { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 0 0 auto; }
  .devices { grid-template-columns: 1.8fr 1.1fr .7fr; gap: 32px; }
  .dev--pc { grid-column: auto; }
  .dev--phone .device { width: 100%; }
  .showcase { padding: 22px; }
  .showcase__tabs { max-width: 640px; }
  .stab { flex-direction: row; justify-content: center; gap: 12px; padding: 14px 10px 18px; font-size: 16px; }
  .stab .icon-box { width: 40px; height: 40px; }
  .footer__in { grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: start; }
  .footer__links { justify-self: center; }
  .footer__copy { justify-self: end; text-align: right; }
  .cta { padding: 88px 40px; }
}

@media (min-width: 960px) {
  .hero { padding: 64px 0 56px; }
  .hero__in { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px; }
  .hero h1 { font-size: clamp(52px, 5.4vw, 78px); white-space: nowrap; }
  .hero__visual { margin-right: 8%; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .wa { grid-template-columns: 1.2fr 1fr; gap: 80px; }
  .wa__visual { justify-self: center; width: 300px; }
  .showcase__body { grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 30px 14px 14px; }
  .plan-extra { grid-template-columns: 1fr 1.1fr; gap: 22px; }
}

/* En celular los 3 botones del visor llevan solo el ícono + nombre cortito */
@media (max-width: 400px) {
  .stab { font-size: 14px; }
}

/* ============================================================
   Parte legal: aviso de cookies, pie legal y páginas de términos
   ============================================================ */

/* ---------- Aviso de cookies ---------- */
.cc { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-dev); padding: 18px 20px; }
.cc[hidden] { display: none; }
.cc__title { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; margin-bottom: 6px; }
.cc__txt { font-size: 14.5px; line-height: 1.5; color: #3B3B40; }
.cc__txt a { color: var(--violet-2); text-underline-offset: 3px; }
.cc__estado { margin-top: 8px; font-size: 13px; color: var(--grey); }
.cc__estado:empty { display: none; }
.cc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
/* Los dos botones son idénticos a propósito: rechazar es tan fácil como aceptar */
.cc__btn { padding: 13px 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; transition: background .15s, color .15s; }
.cc__btn:hover { background: var(--ink); color: #fff; }
.cc-open .fab { opacity: 0; pointer-events: none; }
@media (min-width: 720px) { .cc { left: 24px; right: auto; bottom: 24px; } }
@media (prefers-reduced-motion: no-preference) {
  .cc { animation: cc-in .35s ease-out both; }
  @keyframes cc-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Pie con enlaces legales ---------- */
.footer__legal, .footer__id { grid-column: 1 / -1; }
@media (min-width: 720px) { .footer__in > .footer__copy { grid-column: 3; } }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; font-size: 14px; }
.footer__legal a, .linklike { color: var(--grey); text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.footer__legal a:hover, .linklike:hover { color: var(--violet-2); }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer__id { font-size: 13px; line-height: 1.6; color: var(--grey); }
.footer__id a { color: inherit; }
.legal-note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--grey); }
.legal-note a { color: inherit; text-underline-offset: 3px; }
.cta .legal-note { color: rgba(255,255,255,.88); margin-top: 18px; }
.cta .legal-note a { color: #fff; }
.legal-pending { color: var(--grey); font-style: italic; }

/* ---------- Páginas legales ---------- */
/* (en celular las tablas se vuelven tarjetas para leerse sin deslizar de lado) */
.legal-page main { padding: 28px 0 72px; }
.legal { max-width: 760px; margin: 0 auto; }
.legal__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.legal h1 { font-size: clamp(34px, 8vw, 54px); margin: 10px 0 14px; }
.legal__meta { color: var(--grey); font-size: 15px; margin-bottom: 22px; }
.legal h2 { font-size: clamp(23px, 5.5vw, 31px); line-height: 1.15; letter-spacing: -0.03em; margin: 44px 0 12px; scroll-margin-top: 84px; }
.legal h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: #2C2C30; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; list-style: revert; }
.legal li { margin: 0 0 6px; padding-left: 2px; }
.legal a { color: var(--violet-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.legal .tablewrap { overflow-x: auto; margin: 6px 0 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; -webkit-overflow-scrolling: touch; }
.legal table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; line-height: 1.5; }
.legal th, .legal td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal tr:last-child td { border-bottom: 0; }
.legal th { background: #F6F5FF; font-weight: 600; white-space: nowrap; }
.legal td { color: #2C2C30; }
@media (max-width: 639px) {
  .legal .tablewrap { border: 0; background: none; overflow: visible; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; min-width: 0; width: 100%; }
  .legal thead { position: absolute; left: -9999px; }
  .legal tr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 14px; margin-bottom: 12px; }
  .legal td { border: 0; padding: 8px 0; }
  .legal td + td { border-top: 1px dashed var(--line); }
  .legal td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-bottom: 2px; }
  .cc { padding: 14px 16px; }
  .cc__txt { font-size: 13.5px; }
}
.callout { border: 1px solid rgba(109,93,252,.3); background: rgba(109,93,252,.06); border-radius: 20px; padding: 14px 18px; margin: 18px 0; }
.callout p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.callout p + p { margin-top: 8px; }
.callout--soft { border-color: var(--line); background: rgba(255,255,255,.85); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 4px 18px; margin: 18px 0 6px; }
.toc summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 16px; }
.toc ol { margin: 0 0 12px; padding-left: 20px; list-style: decimal; }
.toc li { font-size: 15.5px; margin-bottom: 4px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.err404 { text-align: center; padding: 72px 0 96px; }
.err404 h1 { font-size: clamp(64px, 20vw, 132px); background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err404 p { margin: 14px auto 28px; max-width: 34ch; color: var(--grey); font-size: 19px; }

@media print {
  .nav, .cc, .fab, .footer, .legal-nav { display: none !important; }
  body::before { display: none; }
}
