/* ============================================================
   ECOSISTEMAS SCORPION — página de ventas (diseño 2026-11)
   Enfoque comercial: claro y cálido, tarjetas grandes, ilustraciones
   propias del sistema funcionando (no capturas), llamados claros
   a WhatsApp y a la demo. Claro por defecto, botón ☀/☾ arriba.
   ============================================================ */
:root{
  --bg:#FBF8F3; --surface:#FFFFFF; --surface-2:#F5F1EA; --surface-3:#ECE6DC;
  --line:#E8E1D6; --line-soft:#F0EBE3;
  --text:#1B1726; --muted:#5E5869; --faint:#958E9E;
  --ink:#16121F; --on-ink:#FBF8F3;
  --c:#7C6CF2; --c2:#FF7849; --wa:#25D366;
  --f-tit:'Bricolage Grotesque', system-ui, sans-serif;
  --f-ui:'Plus Jakarta Sans', system-ui, sans-serif;
  --sh-1:0 1px 2px rgba(27,23,38,.05), 0 12px 32px rgba(27,23,38,.07);
  --sh-2:0 34px 90px rgba(27,23,38,.18);
  --ease:cubic-bezier(.2,.8,.2,1);
  --vidrio:rgba(251,248,243,.84);
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#110E18; --surface:#1A1624; --surface-2:#211C2D; --surface-3:#2B2539;
  --line:#2F2940; --line-soft:#241F31;
  --text:#F4F0F8; --muted:#B9B1C6; --faint:#8C849B;
  --sh-1:0 1px 0 rgba(255,255,255,.03) inset, 0 12px 32px rgba(0,0,0,.35);
  --sh-2:0 34px 90px rgba(0,0,0,.6);
  --vidrio:rgba(17,14,24,.84);
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-tap-highlight-color:transparent; }
body{ background:var(--bg); color:var(--text); font-family:var(--f-ui); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:clip; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button, input, select{ font-family:inherit; color:inherit; }
button{ cursor:pointer; }
:focus-visible{ outline:2.5px solid var(--c); outline-offset:3px; }
@media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
.contenedor{ width:100%; max-width:1180px; margin:0 auto; padding:0 20px; }
h1,h2,h3{ font-family:var(--f-tit); letter-spacing:-.03em; line-height:1.04; }
h2{ font-size:clamp(32px, 4.6vw, 54px); font-weight:800; }
h3{ font-size:20px; font-weight:750; letter-spacing:-.015em; }
.k{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--c); }
.k::before{ content:''; width:18px; height:2.5px; border-radius:2px; background:currentColor; }
.sub{ color:var(--muted); font-size:18px; max-width:640px; }
.sec{ padding:100px 0; }
@media(max-width:640px){ .sec{ padding:68px 0; } }
.cab-sec{ display:flex; flex-direction:column; gap:14px; margin-bottom:44px; }
.cab-sec.centro{ align-items:center; text-align:center; }
.cab-sec.centro .sub{ margin:0 auto; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:9px; border:0; border-radius:16px; padding:15px 24px; font-weight:800; font-size:15.5px; white-space:nowrap; transition:transform .15s var(--ease), box-shadow .2s, background .2s; }
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:scale(.97); }
.btn-p{ background:var(--ink); color:var(--on-ink); box-shadow:0 14px 30px rgba(22,18,31,.22); }
:root[data-theme="dark"] .btn-p{ background:#F4F0F8; color:#16121F; }
.btn-c{ background:var(--c); color:#fff; box-shadow:0 14px 30px color-mix(in srgb, var(--c) 35%, transparent); }
.btn-wa{ background:var(--wa); color:#052E14; box-shadow:0 14px 30px rgba(37,211,102,.3); }
.btn-g{ background:var(--surface); color:var(--text); border:1.5px solid var(--line); }
.btn-g:hover{ border-color:var(--c); }
.btn-sm{ padding:10px 16px; font-size:14px; border-radius:13px; }
.ico-wa{ width:19px; height:19px; flex-shrink:0; }
.fila{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
@media(max-width:480px){ .fila.llena .btn{ width:100%; } }

/* ---------- cabecera */
.cab{ position:sticky; top:0; z-index:50; background:var(--vidrio); backdrop-filter:blur(16px) saturate(1.4); -webkit-backdrop-filter:blur(16px) saturate(1.4); border-bottom:1px solid var(--line-soft); }
.cab-in{ display:flex; align-items:center; gap:18px; height:70px; }
.marca{ display:flex; align-items:center; gap:10px; font-family:var(--f-tit); font-weight:800; font-size:19px; letter-spacing:-.02em; white-space:nowrap; min-width:0; }
.marca > span:last-child{ overflow:hidden; text-overflow:ellipsis; }
.marca-ico{ width:38px; height:38px; border-radius:12px; background:transparent; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.marca-ico svg{ width:23px; height:23px; }
.marca-ico img{ width:38px; height:38px; display:block; border-radius:12px; }
.marca small{ display:block; font-family:var(--f-ui); font-size:10.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--faint); margin-top:-2px; }
.cab nav{ display:flex; gap:2px; margin-left:auto; }
.cab nav a{ padding:9px 13px; border-radius:11px; font-weight:700; font-size:14.5px; color:var(--muted); }
.cab nav a:hover{ background:var(--surface-2); color:var(--text); }
.cab-acc{ display:flex; gap:8px; align-items:center; flex-shrink:0; }
.btn-tema{ width:44px; height:44px; border-radius:13px; border:1.5px solid var(--line); background:var(--surface); font-size:16px; }
@media(max-width:920px){ .cab nav{ display:none; } .cab-acc{ margin-left:auto; } }
@media(max-width:480px){ .cab-acc .btn-wa span{ display:none; } .cab-acc .btn-wa{ padding:11px 13px; } .marca small{ display:none; } .marca{ font-size:15.5px; gap:8px; } .cab-in{ gap:10px; } }
.wa-flota{ position:fixed; right:18px; bottom:18px; z-index:60; width:60px; height:60px; border-radius:50%; background:var(--wa); color:#052E14; display:flex; align-items:center; justify-content:center; box-shadow:0 16px 40px rgba(37,211,102,.45); transition:transform .2s; }
.wa-flota:hover{ transform:scale(1.08); }
.wa-flota svg{ width:30px; height:30px; }
.wa-flota::after{ content:''; position:absolute; inset:-6px; border-radius:50%; border:2px solid var(--wa); opacity:.6; animation:latido 2.2s ease-out infinite; }
@keyframes latido{ from{ transform:scale(.9); opacity:.7; } to{ transform:scale(1.35); opacity:0; } }

/* ---------- portada */
.portada{ position:relative; overflow:hidden; padding:70px 0 90px; isolation:isolate; }
.portada::before{ content:''; position:absolute; z-index:-1; width:900px; height:900px; right:-280px; top:-320px; border-radius:50%;
  background:radial-gradient(circle, color-mix(in srgb, var(--c) 28%, transparent), transparent 62%); transition:background 1s; }
.portada::after{ content:''; position:absolute; z-index:-1; width:700px; height:700px; left:-260px; bottom:-380px; border-radius:50%;
  background:radial-gradient(circle, color-mix(in srgb, var(--c2) 22%, transparent), transparent 62%); transition:background 1s; }
@media(max-width:640px){ .portada{ padding:44px 0 70px; } }
.portada-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:54px; align-items:center; }
@media(max-width:980px){ .portada-grid{ grid-template-columns:1fr; gap:40px; } }
.etiqueta{ display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:99px; background:var(--surface); border:1px solid var(--line); font-size:13.5px; font-weight:750; box-shadow:var(--sh-1); }
.etiqueta i{ width:9px; height:9px; border-radius:50%; background:#22C55E; box-shadow:0 0 0 4px rgba(34,197,94,.2); }
.portada h1, .titulo-portada{ font-size:clamp(38px, 5.4vw, 66px); font-weight:800; margin:22px 0 18px; }
.titulo-portada .marcador{ position:relative; white-space:nowrap; }
.titulo-portada .marcador::after{ content:''; position:absolute; left:-2%; right:-2%; bottom:.06em; height:.32em; z-index:-1; border-radius:6px; background:color-mix(in srgb, var(--c2) 45%, transparent); transform:rotate(-1.2deg); }
.portada .sub{ font-size:19px; }
.portada .fila{ margin-top:30px; }
.confianza{ display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:24px; font-size:14px; font-weight:700; color:var(--muted); }
.confianza span::before{ content:'✓'; color:#16A34A; font-weight:900; margin-right:7px; }

/* ilustración: panel + celular + aviso (todo dibujado, no capturas) */
.escena{ position:relative; min-height:440px; }
@media(max-width:560px){ .escena{ min-height:360px; } }
.app{ position:relative; width:92%; border-radius:22px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--sh-2); overflow:hidden; display:grid; grid-template-columns:62px 1fr; transition:transform .5s var(--ease); }
.app-lado{ background:linear-gradient(180deg, color-mix(in srgb, var(--c) 92%, #000), color-mix(in srgb, var(--c) 70%, #000)); padding:14px 0; display:flex; flex-direction:column; align-items:center; gap:12px; transition:background .6s; }
.app-logo{ width:36px; height:36px; border-radius:11px; background:rgba(255,255,255,.22); color:#fff; font-family:var(--f-tit); font-weight:800; display:flex; align-items:center; justify-content:center; font-size:17px; }
.app-lado i{ width:28px; height:7px; border-radius:4px; background:rgba(255,255,255,.28); }
.app-lado i.on{ background:#fff; }
.app-cuerpo{ padding:16px 18px 18px; min-width:0; }
.app-cab{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; }
.app-cab b{ font-family:var(--f-tit); font-size:17px; letter-spacing:-.02em; }
.app-cab span{ font-size:11px; font-weight:800; color:var(--faint); white-space:nowrap; }
.app-kpis{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; margin-bottom:12px; }
.app-kpi{ padding:10px; border-radius:12px; background:var(--surface-2); min-width:0; }
.app-kpi small{ display:block; font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-kpi b{ font-family:var(--f-tit); font-size:clamp(14px, 1.6vw, 18px); letter-spacing:-.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; }
.app-kpi:first-child b{ color:var(--c); }
.app-fila{ display:flex; align-items:center; gap:10px; padding:9px 0; border-top:1px dashed var(--line); }
.app-fila .dot{ width:30px; height:30px; flex-shrink:0; border-radius:9px; background:color-mix(in srgb, var(--c) 14%, transparent); }
.app-fila div{ min-width:0; flex:1; }
.app-fila b{ display:block; font-size:12.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-fila span{ display:block; font-size:11px; color:var(--faint); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-fila em{ font-style:normal; font-size:10.5px; font-weight:800; padding:3px 8px; border-radius:99px; background:color-mix(in srgb, var(--c) 14%, transparent); color:color-mix(in srgb, var(--c) 80%, var(--text)); white-space:nowrap; }
.tel{ position:absolute; right:0; bottom:0; width:clamp(150px, 38%, 210px); border-radius:30px; background:#16121F; padding:8px; box-shadow:0 34px 80px rgba(0,0,0,.35); transition:transform .5s var(--ease); }
.tel-in{ border-radius:23px; overflow:hidden; background:var(--surface); }
.tel-cab{ padding:22px 14px 14px; color:#fff; background:linear-gradient(135deg, var(--c), var(--c2)); transition:background .6s; position:relative; }
.tel-cab::before{ content:''; position:absolute; top:7px; left:50%; width:44px; height:5px; margin-left:-22px; border-radius:4px; background:rgba(0,0,0,.25); }
.tel-cab small{ display:block; font-size:9.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; opacity:.85; }
.tel-cab b{ font-family:var(--f-tit); font-size:16px; letter-spacing:-.02em; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tel-item{ display:flex; align-items:center; gap:8px; padding:9px 12px; border-bottom:1px solid var(--line-soft); }
.tel-item > span{ width:30px; height:30px; flex-shrink:0; border-radius:9px; background:var(--surface-2); display:flex; align-items:center; justify-content:center; font-size:15px; }
.tel-item div{ min-width:0; }
.tel-item b{ display:block; font-size:11px; line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tel-item small{ display:block; font-size:10.5px; font-weight:800; color:var(--c); white-space:nowrap; }
.tel-btn{ margin:10px 12px 14px; padding:9px; border-radius:11px; text-align:center; font-size:11px; font-weight:800; color:#fff; background:var(--c); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.aviso{ position:absolute; left:4%; bottom:46px; z-index:3; display:flex; align-items:center; gap:11px; padding:12px 16px 12px 12px; border-radius:16px; background:var(--surface); border:1px solid var(--line); box-shadow:var(--sh-2); max-width:min(300px, 72%); animation:salta 4.6s var(--ease) infinite; }
.aviso > span{ width:40px; height:40px; flex-shrink:0; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; background:color-mix(in srgb, var(--c) 15%, transparent); }
.aviso b{ display:block; font-size:13.5px; }
.aviso small{ display:block; font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.aviso div{ min-width:0; }
@keyframes salta{ 0%{ opacity:0; transform:translateY(16px) scale(.96); } 10%,82%{ opacity:1; transform:none; } 100%{ opacity:0; transform:translateY(-6px); } }
.escena .rotulo{ position:absolute; top:-14px; right:6%; z-index:3; padding:7px 13px; border-radius:99px; background:var(--ink); color:var(--on-ink); font-size:12.5px; font-weight:800; box-shadow:var(--sh-1); }
.escena.cambia .app, .escena.cambia .tel{ transform:translateY(8px); }

/* ---------- rubros */
.rubros{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; }
@media(max-width:420px){ .rubros{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
.rubro{ display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:16px; border-radius:18px; background:var(--surface); border:1.5px solid var(--line); text-align:left; transition:transform .15s var(--ease), border-color .15s, box-shadow .15s; }
.rubro:hover{ transform:translateY(-3px); border-color:var(--c); box-shadow:var(--sh-1); }
.rubro.sel{ border-color:var(--c); box-shadow:0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.rubro span{ font-size:28px; line-height:1; }
.rubro b{ font-size:14.5px; line-height:1.25; }
.buscar{ display:flex; align-items:center; gap:10px; max-width:560px; margin:0 auto 22px; background:var(--surface); border:1.5px solid var(--line); border-radius:18px; padding:6px 6px 6px 18px; box-shadow:var(--sh-1); }
.buscar:focus-within{ border-color:var(--c); }
.buscar svg{ width:22px; height:22px; color:var(--faint); flex-shrink:0; }
.buscar input{ flex:1; min-width:0; border:0; outline:0; background:transparent; font-size:17px; font-weight:600; padding:11px 0; }
.reco{ margin-top:22px; }
.reco-caja{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:30px; align-items:center; padding:30px; border-radius:28px; color:#fff; position:relative; overflow:hidden; isolation:isolate;
  background:linear-gradient(135deg, color-mix(in srgb, var(--c) 92%, #000), color-mix(in srgb, var(--c2) 85%, #000)); animation:entra .35s var(--ease); }
@keyframes entra{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
@media(max-width:820px){ .reco-caja{ grid-template-columns:1fr; padding:24px; } }
.reco-caja h3{ font-size:clamp(24px, 3vw, 32px); margin:8px 0 10px; }
.reco-caja .k{ color:rgba(255,255,255,.8); }
.reco-caja p{ opacity:.9; }
.reco-caja ul{ list-style:none; display:grid; gap:8px; margin:16px 0 20px; }
.reco-caja li{ display:flex; gap:10px; font-weight:650; }
.reco-caja li::before{ content:'✓'; width:22px; height:22px; flex-shrink:0; border-radius:7px; background:rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:900; }
.reco-caja .btn-g{ background:rgba(255,255,255,.14); color:#fff; border-color:rgba(255,255,255,.3); }
.reco-caja .btn-p{ background:#fff; color:#16121F; }
.reco-nada{ text-align:center; padding:26px; border-radius:22px; border:1.5px dashed var(--line); background:var(--surface); }

/* ---------- problemas */
.dolores{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:14px; }
.dolor{ padding:22px; border-radius:22px; background:var(--surface); border:1px solid var(--line-soft); box-shadow:var(--sh-1); position:relative; }
.dolor > span{ display:flex; width:48px; height:48px; border-radius:15px; align-items:center; justify-content:center; font-size:24px; background:#FEE2E2; margin-bottom:14px; }
:root[data-theme="dark"] .dolor > span{ background:rgba(239,68,68,.16); }
.dolor p{ color:var(--muted); font-size:15px; margin-top:6px; }
.flecha{ display:flex; justify-content:center; margin:30px 0; }
.flecha span{ display:inline-flex; align-items:center; gap:10px; padding:10px 18px; border-radius:99px; background:var(--ink); color:var(--on-ink); font-weight:800; }
.logros{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:14px; }
.logro{ display:flex; gap:12px; align-items:flex-start; padding:20px; border-radius:20px; background:color-mix(in srgb, var(--c) 8%, var(--surface)); border:1px solid color-mix(in srgb, var(--c) 22%, var(--line)); font-weight:700; }
.logro::before{ content:'✓'; width:28px; height:28px; flex-shrink:0; border-radius:9px; background:var(--c); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:900; }

/* ---------- tu marca */
.marca-sec{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:54px; align-items:center; }
@media(max-width:980px){ .marca-sec{ grid-template-columns:1fr; } }
.marca-form{ display:grid; gap:16px; margin-top:24px; max-width:460px; }
.campo label{ display:block; font-size:13.5px; font-weight:800; margin-bottom:8px; }
.inp{ width:100%; padding:14px 16px; border-radius:14px; border:1.5px solid var(--line); background:var(--surface); font-size:16.5px; font-weight:600; outline:0; }
.inp:focus{ border-color:var(--c); box-shadow:0 0 0 4px color-mix(in srgb, var(--c) 16%, transparent); }
.colores{ display:flex; gap:10px; flex-wrap:wrap; }
.color{ width:42px; height:42px; border-radius:13px; border:3px solid var(--surface); box-shadow:0 0 0 1.5px var(--line); }
.color.sel{ box-shadow:0 0 0 3px var(--text); }

/* ---------- sistemas */
.grilla{ display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:16px; }
.sis{ position:relative; display:flex; flex-direction:column; gap:10px; padding:24px; border-radius:26px; background:var(--surface); border:1px solid var(--line-soft); box-shadow:var(--sh-1); overflow:hidden; transition:transform .25s var(--ease), box-shadow .25s; isolation:isolate; }
.sis::before{ content:''; position:absolute; z-index:-1; right:-60px; top:-60px; width:190px; height:190px; border-radius:50%; background:radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 68%); transition:transform .4s var(--ease); }
.sis:hover{ transform:translateY(-6px); box-shadow:var(--sh-2); }
.sis:hover::before{ transform:scale(1.25); }
.sis-ico{ width:56px; height:56px; border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:28px; background:linear-gradient(135deg, var(--c), var(--c2)); box-shadow:0 12px 26px color-mix(in srgb, var(--c) 35%, transparent); }
.sis h3{ font-size:21px; margin-top:6px; }
.sis p{ color:var(--muted); font-size:14.5px; }
.sis .ver{ margin-top:auto; padding-top:8px; font-weight:800; color:var(--c); display:inline-flex; gap:6px; align-items:center; }
.sis .ver::after{ content:'→'; transition:transform .2s; }
.sis:hover .ver::after{ transform:translateX(4px); }
.nuevo{ position:absolute; right:18px; top:18px; font-size:11px; font-weight:850; letter-spacing:.08em; padding:4px 10px; border-radius:99px; background:var(--ink); color:var(--on-ink); }

/* ---------- pasos y promesas */
.pasos{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; counter-reset:p; }
@media(max-width:820px){ .pasos{ grid-template-columns:1fr; } }
.paso{ position:relative; padding:28px 24px; border-radius:24px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }
.paso::before{ counter-increment:p; content:counter(p); display:flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:15px; margin-bottom:16px; font-family:var(--f-tit); font-weight:800; font-size:21px; color:#16121F; background:linear-gradient(135deg, #FFD089, #FF7849); }
.paso p{ color:rgba(251,248,243,.72); margin-top:6px; }
.oscura{ background:var(--ink); color:var(--on-ink); position:relative; overflow:hidden; isolation:isolate; }
.oscura::before{ content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(50% 70% at 0% 0%, rgba(124,108,242,.32), transparent 70%), radial-gradient(45% 65% at 100% 100%, rgba(255,120,73,.26), transparent 70%); }
.oscura .sub{ color:rgba(251,248,243,.72); }
.oscura .k{ color:#FFB37E; }
.promesas{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; margin-top:20px; }
@media(max-width:900px){ .promesas{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media(max-width:480px){ .promesas{ grid-template-columns:1fr; } }
.promesa{ padding:20px; border-radius:20px; background:var(--surface); border:1px solid var(--line-soft); }
.promesa span{ font-size:28px; }
.promesa h3{ font-size:17px; margin:8px 0 4px; }
.promesa p{ color:var(--muted); font-size:14px; }

/* ---------- preguntas */
.faq{ max-width:820px; margin:0 auto; display:grid; gap:10px; }
.faq details{ background:var(--surface); border:1px solid var(--line-soft); border-radius:18px; padding:0 22px; }
.faq summary{ list-style:none; cursor:pointer; padding:19px 0; font-weight:800; font-size:16.5px; display:flex; justify-content:space-between; gap:14px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:'+'; font-size:24px; line-height:1; color:var(--c); transition:transform .2s; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq p{ color:var(--muted); padding:0 0 19px; }

/* ---------- cierre con formulario */
.cierre{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; align-items:center; padding:48px; border-radius:34px; color:var(--on-ink); background:var(--ink); position:relative; overflow:hidden; isolation:isolate; }
.cierre::before{ content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%), radial-gradient(55% 75% at 0% 100%, color-mix(in srgb, var(--c2) 45%, transparent), transparent 70%); }
@media(max-width:900px){ .cierre{ grid-template-columns:1fr; padding:30px 22px; border-radius:26px; } }
.cierre h2{ font-size:clamp(30px, 4vw, 46px); }
.cierre p{ color:rgba(251,248,243,.78); margin-top:12px; font-size:17px; }
.cierre form{ display:grid; gap:12px; padding:22px; border-radius:22px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); }
.cierre .inp{ background:rgba(255,255,255,.95); color:#16121F; border-color:transparent; }
.cierre select.inp{ appearance:none; background-image:linear-gradient(45deg, transparent 50%, #16121F 50%), linear-gradient(135deg, #16121F 50%, transparent 50%); background-position:calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size:6px 6px; background-repeat:no-repeat; }
.cierre .btn-wa{ width:100%; }
footer{ padding:40px 0 90px; color:var(--faint); font-size:14px; }
.pie{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; border-top:1px solid var(--line); padding-top:26px; }
.pie a{ color:var(--muted); font-weight:700; }

/* ---------- página de un sistema */
.s-portada{ position:relative; overflow:hidden; padding:34px 0 80px; isolation:isolate; }
.s-portada::before{ content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), radial-gradient(50% 70% at 0% 100%, color-mix(in srgb, var(--c2) 16%, transparent), transparent 70%); }
.volver{ display:inline-flex; gap:6px; align-items:center; font-weight:750; font-size:14px; color:var(--muted); margin-bottom:28px; }
.volver:hover{ color:var(--text); }
.s-nombre{ display:inline-flex; align-items:center; gap:12px; font-weight:800; font-size:15px; }
.s-nombre span{ width:46px; height:46px; border-radius:15px; display:flex; align-items:center; justify-content:center; font-size:24px; background:linear-gradient(135deg, var(--c), var(--c2)); }
.s-portada h1{ font-size:clamp(36px, 5vw, 62px); font-weight:800; margin:18px 0 16px; }
.s-portada .para{ margin-top:14px; font-size:14.5px; color:var(--faint); max-width:560px; }
.s-portada .fila{ margin-top:28px; }
.subnav{ position:sticky; top:70px; z-index:40; background:var(--vidrio); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--line-soft); border-top:1px solid var(--line-soft); }
.subnav .contenedor{ display:flex; gap:2px; overflow-x:auto; scrollbar-width:none; padding-top:8px; padding-bottom:8px; align-items:center; }
.subnav .contenedor::-webkit-scrollbar{ display:none; }
.subnav a{ padding:8px 13px; border-radius:11px; font-weight:700; font-size:14px; color:var(--muted); white-space:nowrap; }
.subnav a:hover{ background:var(--surface-2); color:var(--text); }
.subnav .btn{ margin-left:auto; color:#fff; }
[id^="s-"]{ scroll-margin-top:140px; }
.modulos{ display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:14px; }
.mod{ padding:22px; border-radius:22px; background:var(--surface); border:1px solid var(--line-soft); transition:transform .2s, border-color .2s; }
.mod:hover{ transform:translateY(-3px); border-color:color-mix(in srgb, var(--c) 40%, var(--line)); }
.mod > span{ display:flex; width:48px; height:48px; border-radius:15px; align-items:center; justify-content:center; font-size:24px; background:color-mix(in srgb, var(--c) 13%, transparent); margin-bottom:14px; }
.mod p{ color:var(--muted); font-size:14.5px; margin-top:6px; }
.dia{ position:relative; display:grid; grid-template-columns:repeat(var(--n, 5), minmax(0,1fr)); gap:14px; }
.dia::before{ content:''; position:absolute; left:4%; right:4%; top:27px; height:3px; border-radius:3px; background:linear-gradient(90deg, var(--c), var(--c2)); opacity:.35; }
@media(max-width:900px){ .dia{ grid-template-columns:1fr; } .dia::before{ left:27px; right:auto; top:10px; bottom:10px; width:3px; height:auto; } }
.hora{ position:relative; }
.hora b.h{ position:relative; z-index:1; display:inline-flex; align-items:center; justify-content:center; height:56px; padding:0 14px; border-radius:16px; background:var(--surface); border:2px solid var(--c); font-family:var(--f-tit); font-size:17px; color:var(--c); }
.hora h3{ font-size:17px; margin:14px 0 4px; }
.hora p{ color:var(--muted); font-size:14.5px; }
@media(max-width:900px){ .hora{ display:grid; grid-template-columns:auto 1fr; gap:4px 16px; } .hora b.h{ grid-row:span 2; height:56px; min-width:56px; } .hora h3{ margin:4px 0 0; } }
.cliente-grid{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:50px; align-items:center; }
@media(max-width:900px){ .cliente-grid{ grid-template-columns:1fr; } }
.pasos-cli{ display:grid; gap:10px; margin-top:22px; counter-reset:pc; }
.pc{ display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:16px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); font-weight:700; }
.pc::before{ counter-increment:pc; content:counter(pc); width:32px; height:32px; flex-shrink:0; border-radius:10px; display:flex; align-items:center; justify-content:center; background:var(--c); color:#fff; font-family:var(--f-tit); }
.tel.suelto{ position:relative; margin:0 auto; width:min(280px, 78%); }
.roles{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:14px; }
.rol{ padding:22px; border-radius:20px; background:var(--surface); border:1px solid var(--line-soft); border-top:4px solid var(--c); }
.rol p{ color:var(--muted); font-size:14.5px; margin-top:6px; }
.demo{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:30px; padding:34px; border-radius:30px; background:var(--surface); border:1px solid var(--line-soft); box-shadow:var(--sh-1); }
@media(max-width:860px){ .demo{ grid-template-columns:1fr; padding:24px; } }
.usuarios{ width:100%; border-collapse:collapse; font-size:14.5px; }
.usuarios th{ text-align:left; font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--faint); padding:8px 0; border-bottom:1.5px solid var(--line); }
.usuarios td{ padding:11px 6px 11px 0; border-bottom:1px solid var(--line-soft); }
.usuarios code{ font-family:ui-monospace, monospace; background:var(--surface-2); padding:3px 8px; border-radius:8px; font-weight:700; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.chips a{ padding:9px 13px; border-radius:99px; border:1.5px solid var(--line); background:var(--surface-2); font-weight:700; font-size:13.5px; }
.chips a:hover{ border-color:var(--c); }
.planes{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; }
@media(max-width:900px){ .planes{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media(max-width:480px){ .planes{ grid-template-columns:1fr; } }
.plan{ position:relative; padding:24px; border-radius:22px; background:var(--surface); border:1.5px solid var(--line); }
.plan.dest{ border-color:var(--c); box-shadow:0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.plan .tag{ position:absolute; top:-12px; left:20px; background:var(--c); color:#fff; font-size:11px; font-weight:850; letter-spacing:.08em; padding:4px 10px; border-radius:99px; }
.plan .n{ font-size:12.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--faint); }
.plan .monto{ font-family:var(--f-tit); font-weight:800; font-size:31px; letter-spacing:-.02em; margin:8px 0 2px; }
.plan .mes{ color:var(--muted); font-size:14px; }
.plan .ahorro{ display:inline-block; margin-top:10px; font-size:12.5px; font-weight:800; color:#15803D; background:rgba(34,197,94,.12); padding:3px 9px; border-radius:99px; }
.vitalicia{ margin-top:14px; display:flex; flex-wrap:wrap; gap:20px; align-items:center; justify-content:space-between; padding:26px; border-radius:22px; color:#fff; background:linear-gradient(120deg, var(--ink), color-mix(in srgb, var(--c) 60%, var(--ink))); }
.vitalicia .monto{ font-family:var(--f-tit); font-weight:800; font-size:36px; }
.consultar{ display:flex; flex-wrap:wrap; gap:20px; align-items:center; justify-content:space-between; padding:32px; border-radius:26px; background:var(--surface); border:1.5px dashed var(--line); }
.otros{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:10px; }
.otro{ display:flex; align-items:center; gap:12px; padding:14px; border-radius:18px; background:var(--surface); border:1px solid var(--line-soft); font-weight:750; transition:transform .15s; }
.otro:hover{ transform:translateY(-2px); }
.otro span{ width:42px; height:42px; border-radius:13px; display:flex; align-items:center; justify-content:center; font-size:21px; background:linear-gradient(135deg, var(--c), var(--c2)); flex-shrink:0; }

/* MODO-REVENDEDOR: quién atiende, y sin vendedor válido no se muestra ningún contacto */
.asesor{ display:inline-flex; align-items:center; gap:7px; padding:8px 12px; border-radius:12px; background:var(--surface-2); font-size:13px; font-weight:650; white-space:nowrap; }
.asesor i{ width:8px; height:8px; border-radius:50%; background:#22C55E; box-shadow:0 0 0 3px rgba(34,197,94,.2); }
@media(max-width:700px){ .asesor{ display:none !important; } }
body.sin-contacto .btn-wa, body.sin-contacto .wa-flota, body.sin-contacto #cab-wa, body.sin-contacto #form-contacto{ display:none !important; }
.aviso-asesor{ padding:22px; border-radius:22px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); font-size:16px; line-height:1.5; }

/* PRECIOS: versiones (Completo / Esencial) y "desde" en las tarjetas */
.hidden{ display:none !important; }
.desde{ font-size:13.5px; color:var(--muted); } .desde b{ color:var(--text); }
.versiones{ display:inline-flex; gap:6px; padding:6px; border-radius:18px; background:var(--surface); border:1px solid var(--line); margin-bottom:16px; max-width:100%; flex-wrap:wrap; }
.versiones button{ border:0; background:transparent; border-radius:13px; padding:10px 18px; text-align:left; display:flex; flex-direction:column; }
.versiones button b{ font-size:15px; } .versiones button span{ font-size:12.5px; color:var(--faint); }
.versiones button.sel{ background:var(--c); color:#fff; box-shadow:0 10px 24px color-mix(in srgb, var(--c) 30%, transparent); }
.versiones button.sel span{ color:rgba(255,255,255,.85); }
.version-desc{ color:var(--muted); font-size:15.5px; margin:0 0 16px; }

/* aparecer al bajar */
.aparece{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.aparece.visto{ opacity:1; transform:none; }
@media print{
  .cab, .subnav, .wa-flota, footer, .no-imprimir{ display:none !important; }
  .aparece{ opacity:1 !important; transform:none !important; }
  .sec{ padding:24px 0; }
  .mod, .rol, .plan, .dolor, .hora{ break-inside:avoid; }
  *{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}

/* ---------- DEMOS: sección animada para que den ganas de entrar */
@property --giro{ syntax:'<angle>'; initial-value:0deg; inherits:false; }
.demos-sec{ position:relative; overflow:hidden; isolation:isolate; background:var(--ink); color:var(--on-ink); }
.demos-sec::before{ content:''; position:absolute; inset:-30%; z-index:-1; opacity:.55;
  background:conic-gradient(from var(--giro), #7C6CF2, #FF7849, #22D3EE, #DB2777, #16A34A, #7C6CF2); filter:blur(90px); animation:gira 14s linear infinite; }
.demos-sec::after{ content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(70% 60% at 50% 40%, rgba(22,18,31,.55), rgba(22,18,31,.92)); }
@keyframes gira{ to{ --giro:360deg; } }
.demos-sec .sub{ color:rgba(251,248,243,.78); }
.demos-sec .k{ color:#FFB37E; }
.en-vivo{ display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:99px; background:rgba(239,68,68,.16); border:1px solid rgba(239,68,68,.45); color:#FCA5A5; font-size:12.5px; font-weight:850; letter-spacing:.14em; }
.en-vivo i{ width:9px; height:9px; border-radius:50%; background:#EF4444; animation:pulso 1.4s ease-out infinite; }
@keyframes pulso{ 0%{ box-shadow:0 0 0 0 rgba(239,68,68,.7); } 100%{ box-shadow:0 0 0 12px rgba(239,68,68,0); } }
.demos{ display:grid; grid-template-columns:repeat(auto-fill, minmax(255px, 1fr)); gap:16px; }
.demo-t{ position:relative; display:block; border-radius:26px; padding:2px; color:var(--text);
  background:conic-gradient(from var(--giro), var(--c), var(--c2), transparent 40%, var(--c)); animation:gira 4s linear infinite; transition:transform .25s var(--ease); }
.demo-t:nth-child(2n){ animation-duration:5s; } .demo-t:nth-child(3n){ animation-duration:6s; animation-direction:reverse; }
.demo-t:hover{ transform:translateY(-8px) rotate(-.6deg); }
.demo-in{ position:relative; height:100%; border-radius:24px; background:var(--surface); padding:22px; display:flex; flex-direction:column; gap:10px; overflow:hidden; isolation:isolate; }
.demo-in::before{ content:''; position:absolute; z-index:-1; right:-50px; top:-50px; width:170px; height:170px; border-radius:50%; background:radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 68%); animation:respira-d 5s ease-in-out infinite alternate; }
@keyframes respira-d{ to{ transform:scale(1.35) translate(-14px, 10px); } }
.demo-top{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.demo-ico{ width:54px; height:54px; border-radius:17px; display:flex; align-items:center; justify-content:center; font-size:27px; background:linear-gradient(135deg, var(--c), var(--c2)); animation:flota-d 3.2s ease-in-out infinite alternate; }
.demo-t:nth-child(2n) .demo-ico{ animation-delay:-1.4s; }
@keyframes flota-d{ to{ transform:translateY(-6px) rotate(-4deg); } }
.vivo-mini{ display:inline-flex; align-items:center; gap:6px; font-size:10.5px; font-weight:850; letter-spacing:.12em; color:#DC2626; }
.vivo-mini i{ width:7px; height:7px; border-radius:50%; background:#EF4444; animation:pulso 1.4s ease-out infinite; }
.demo-in h3{ font-size:19px; margin-top:4px; }
.demo-in p{ color:var(--muted); font-size:14px; }
.demo-noti{ display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:12px; background:var(--surface-2); font-size:12px; font-weight:700; min-height:38px; overflow:hidden; }
.demo-noti span{ animation:noti 3.6s var(--ease) infinite; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.demo-t:nth-child(2n) .demo-noti span{ animation-delay:-1.2s; } .demo-t:nth-child(3n) .demo-noti span{ animation-delay:-2.3s; }
@keyframes noti{ 0%{ opacity:0; transform:translateY(12px); } 12%,78%{ opacity:1; transform:none; } 100%{ opacity:0; transform:translateY(-10px); } }
.demo-cred{ font-size:12.5px; color:var(--faint); }
.demo-cred code{ font-family:ui-monospace, monospace; background:var(--surface-2); padding:2px 6px; border-radius:6px; font-weight:700; color:var(--text); }
.demo-btn{ position:relative; overflow:hidden; margin-top:auto; display:flex; align-items:center; justify-content:center; gap:8px; padding:13px; border-radius:14px; font-weight:850; color:#fff; background:linear-gradient(135deg, var(--c), var(--c2)); }
.demo-btn::after{ content:''; position:absolute; top:0; bottom:0; width:45%; left:-60%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform:skewX(-20deg); animation:brillo 2.8s ease-in-out infinite; }
.demo-t:nth-child(2n) .demo-btn::after{ animation-delay:.7s; } .demo-t:nth-child(3n) .demo-btn::after{ animation-delay:1.4s; }
@keyframes brillo{ 0%,55%{ left:-60%; } 100%{ left:130%; } }
.demo-btn b{ transition:transform .2s; } .demo-t:hover .demo-btn b{ transform:translateX(5px); }
.demos-pie{ text-align:center; margin-top:26px; color:rgba(251,248,243,.7); font-size:14.5px; }
/* acceso en el menú y botón de la portada */
.nav-demo{ position:relative; color:var(--text) !important; }
.nav-demo::before{ content:''; display:inline-block; width:8px; height:8px; margin-right:7px; border-radius:50%; background:#EF4444; vertical-align:1px; animation:pulso 1.4s ease-out infinite; }
.btn-demo{ position:relative; overflow:hidden; background:linear-gradient(135deg, #7C6CF2, #FF7849); color:#fff; box-shadow:0 14px 34px rgba(124,108,242,.4); }
.btn-demo::after{ content:''; position:absolute; top:0; bottom:0; width:40%; left:-60%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform:skewX(-20deg); animation:brillo 2.6s ease-in-out infinite; }
.btn-demo i{ width:8px; height:8px; border-radius:50%; background:#fff; animation:pulso-b 1.4s ease-out infinite; }
@keyframes pulso-b{ 0%{ box-shadow:0 0 0 0 rgba(255,255,255,.8); } 100%{ box-shadow:0 0 0 10px rgba(255,255,255,0); } }
/* la caja de demo de cada sistema también se mueve */
.demo{ position:relative; border:0; isolation:isolate; }
.demo::before{ content:''; position:absolute; inset:-2px; z-index:-2; border-radius:32px; background:conic-gradient(from var(--giro), var(--c), var(--c2), transparent 45%, var(--c)); animation:gira 5s linear infinite; }
.demo::after{ content:''; position:absolute; inset:0; z-index:-1; border-radius:30px; background:var(--surface); }
@media (prefers-reduced-motion: reduce){ .demo-t, .demos-sec::before, .demo::before{ animation:none; } }

/* DEMOS-ARRIBA: lo primero que ve el visitante son las demos para entrar */
.demos-arriba{ padding:46px 0 60px; }
.demos-arriba h1, .demos-arriba .titulo-demos{ font-size:clamp(32px, 4.6vw, 56px); font-weight:800; max-width:900px; }
.demos-arriba .ya{ background:linear-gradient(100deg, #FFD089, #FF7849 45%, #F472B6); -webkit-background-clip:text; background-clip:text; color:transparent; }
.demos-arriba .cab-sec{ margin-bottom:30px; }
.demos-arriba .demo-in{ animation:entra-d .6s var(--ease) both; }
.demos-arriba .demo-t:nth-child(1) .demo-in{ animation-delay:0.05s; }
.demos-arriba .demo-t:nth-child(2) .demo-in{ animation-delay:0.12s; }
.demos-arriba .demo-t:nth-child(3) .demo-in{ animation-delay:0.19s; }
.demos-arriba .demo-t:nth-child(4) .demo-in{ animation-delay:0.26s; }
.demos-arriba .demo-t:nth-child(5) .demo-in{ animation-delay:0.33s; }
.demos-arriba .demo-t:nth-child(6) .demo-in{ animation-delay:0.40s; }
.demos-arriba .demo-t:nth-child(7) .demo-in{ animation-delay:0.47s; }
.demos-arriba .demo-t:nth-child(8) .demo-in{ animation-delay:0.54s; }
@keyframes entra-d{ from{ opacity:0; transform:translateY(22px) scale(.96); } to{ opacity:1; transform:none; } }
.portada{ padding-top:70px; }
.demos-arriba{ padding:70px 0 76px; }
@media(max-width:640px){
  .demos-arriba{ padding:26px 0 40px; }
  .demos-arriba .cab-sec{ margin-bottom:20px; gap:10px; }
  .demos-arriba .sub{ font-size:15.5px; }
  .demos{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
  .demo-in{ padding:13px; gap:7px; border-radius:20px; }
  .demo-t{ border-radius:22px; }
  .demo-ico{ width:42px; height:42px; font-size:21px; border-radius:13px; }
  .vivo-mini{ font-size:0; gap:0; } .vivo-mini i{ width:9px; height:9px; }
  .demo-in h3{ font-size:14.5px; line-height:1.15; margin-top:2px; }
  .demo-noti, .demo-cred{ display:none; }
  .demo-btn{ padding:10px 8px; font-size:12.5px; border-radius:12px; }
  .demo-t:hover{ transform:none; }
}

/* MARCAR-SECCION: la pestaña de la sección en la que estás queda marcada */
.cab nav a, .subnav a{ position:relative; transition:background .2s, color .2s; }
.cab nav a.activo, .subnav a.activo{ background:color-mix(in srgb, var(--c, #7C6CF2) 13%, var(--surface)); color:var(--text); }
.cab nav a.activo::after, .subnav a:not(.btn).activo::after{ content:''; position:absolute; left:13px; right:13px; bottom:3px; height:3px; border-radius:3px; background:linear-gradient(90deg, #7C6CF2, #FF7849); animation:raya .3s var(--ease); }
.subnav a:not(.btn).activo::after{ background:linear-gradient(90deg, var(--c), var(--c2)); }
@keyframes raya{ from{ transform:scaleX(0); } to{ transform:none; } }
.cab nav a.nav-demo.activo{ background:rgba(239,68,68,.12); }

/* PÁGINA OCULTA DE REVENDEDORES (/gana-con-nosotros) */
.rv-escena{ display:flex; align-items:center; justify-content:center; }
.rv-chat{ width:min(360px, 100%); border-radius:26px; overflow:hidden; background:#ECE5DD; box-shadow:var(--sh-2); border:8px solid #16121F; padding-bottom:14px; }
.rv-chat-cab{ display:flex; align-items:center; gap:10px; padding:14px; background:#075E54; color:#fff; margin-bottom:10px; }
.rv-chat-cab > span{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; }
.rv-chat-cab b{ display:block; font-size:15px; } .rv-chat-cab small{ font-size:12px; opacity:.8; }
.rv-msj{ position:relative; max-width:82%; margin:6px 12px; padding:9px 12px 18px; border-radius:12px 12px 12px 4px; background:#fff; color:#16121F; font-size:14px; box-shadow:0 1px 1px rgba(0,0,0,.08); opacity:0; animation:rv-entra .5s var(--ease) forwards; }
.rv-msj small{ position:absolute; right:10px; bottom:3px; font-size:10.5px; color:#8696A0; }
.rv-msj.yo{ margin-left:auto; background:#D9FDD3; border-radius:12px 12px 4px 12px; }
.rv-msj:nth-child(2){ animation-delay:.4s; } .rv-msj:nth-child(3){ animation-delay:1.3s; } .rv-msj:nth-child(4){ animation-delay:2.2s; } .rv-msj:nth-child(5){ animation-delay:3.1s; }
@keyframes rv-entra{ from{ opacity:0; transform:translateY(10px) scale(.96); } to{ opacity:1; transform:none; } }
.rv-escena .aviso{ left:0; bottom:10px; }
.rv-pasos{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:14px; counter-reset:p; }
@media(max-width:980px){ .rv-pasos{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media(max-width:560px){ .rv-pasos{ grid-template-columns:1fr; } }
.rv-dos{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:50px; align-items:center; }
@media(max-width:900px){ .rv-dos{ grid-template-columns:1fr; } }
.rv-preview{ border-radius:20px; overflow:hidden; background:var(--surface); border:1px solid var(--line); box-shadow:var(--sh-2); }
.rv-barra{ display:flex; align-items:center; gap:6px; padding:10px 14px; background:var(--surface-2); border-bottom:1px solid var(--line-soft); }
.rv-barra i{ width:10px; height:10px; border-radius:50%; background:#FF5F57; } .rv-barra i:nth-child(2){ background:#FEBC2E; } .rv-barra i:nth-child(3){ background:#28C840; }
.rv-barra span{ margin-left:10px; flex:1; min-width:0; padding:6px 12px; border-radius:99px; background:var(--surface); font-family:ui-monospace, monospace; font-size:12.5px; font-weight:700; color:#16A34A; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rv-pag{ padding:22px; }
.rv-top{ display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; font-size:14px; }
.rv-atiende{ display:inline-flex; align-items:center; gap:7px; padding:7px 12px; border-radius:12px; background:var(--surface-2); font-size:13px; }
.rv-atiende i{ width:8px; height:8px; border-radius:50%; background:#22C55E; }
.rv-pag h3{ font-size:clamp(20px, 2.4vw, 26px); margin:16px 0; }
.rv-mini{ display:flex; gap:8px; margin-bottom:16px; }
.rv-mini span{ width:44px; height:44px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:22px; background:linear-gradient(135deg, var(--c), var(--c2)); }
.rv-wa{ display:flex; align-items:center; justify-content:center; gap:8px; padding:13px; border-radius:14px; background:var(--wa); color:#052E14; font-weight:800; font-size:14px; text-align:center; }
.rv-plantillas{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:14px; }
.rv-plant{ display:flex; flex-direction:column; gap:10px; padding:20px; border-radius:20px; background:var(--surface); border:1px solid var(--line-soft); }
.rv-plant p{ flex:1; padding:12px 14px; border-radius:12px; background:#D9FDD3; color:#16121F; font-size:14px; }
.rv-plant .btn{ align-self:flex-start; }
.rv-rubros{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.rv-rubros span{ padding:10px 15px; border-radius:99px; background:var(--surface); border:1px solid var(--line); font-weight:700; font-size:14.5px; }

.rv-tabla{ overflow-x:auto; border-radius:20px; border:1px solid var(--line-soft); background:var(--surface); }
.rv-tabla table{ width:100%; border-collapse:collapse; font-size:15px; min-width:760px; }
.rv-tabla th{ text-align:left; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); padding:14px 16px; border-bottom:1.5px solid var(--line); }
.rv-tabla td{ padding:13px 16px; border-bottom:1px solid var(--line-soft); white-space:nowrap; }
.rv-tabla td b{ color:#15803D; }
.rv-ejemplo{ margin-top:16px; padding:16px 18px; border-radius:16px; background:color-mix(in srgb, #16A34A 9%, var(--surface)); border:1px solid color-mix(in srgb, #16A34A 25%, var(--line)); }
@media(max-width:640px){ .rv-tabla table{ min-width:0; } .rv-tabla thead{ display:none; } .rv-tabla tr{ display:grid; grid-template-columns:1fr 1fr; gap:4px 12px; padding:12px 14px; border-bottom:1px solid var(--line-soft); }
  .rv-tabla td{ border:0; padding:2px 0; white-space:normal; font-size:13.5px; } .rv-tabla td:first-child{ grid-column:1/-1; font-weight:800; font-size:15px; }
  .rv-tabla td[data-l]::before{ content:attr(data-l); display:block; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); } }

/* Lista de precios (solo en la página oculta de revendedores) */
.rv-precios{ display:grid; gap:18px; }
.rv-lista{ overflow-x:auto; border-radius:20px; border:1px solid var(--line-soft); background:var(--surface); }
.rv-lista table{ width:100%; border-collapse:collapse; font-size:15px; }
.rv-lista th{ text-align:left; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); padding:14px 16px; border-bottom:1.5px solid var(--line); }
.rv-lista th:first-child{ font-size:15px; letter-spacing:0; text-transform:none; color:var(--text); }
.rv-lista td{ padding:12px 16px; border-bottom:1px solid var(--line-soft); vertical-align:top; }
.rv-lista td b{ color:#15803D; display:block; }
.rv-lista td small{ color:var(--faint); font-size:12.5px; }
.rv-ver{ font-size:13.5px; color:var(--faint); margin:0; padding:12px 16px 16px; line-height:1.6; }
@media(max-width:640px){ .rv-lista thead tr th:not(:first-child){ display:none; } .rv-lista tbody tr{ display:grid; grid-template-columns:1fr 1fr; gap:4px 12px; padding:12px 14px; border-bottom:1px solid var(--line-soft); }
  .rv-lista td{ border:0; padding:2px 0; font-size:13.5px; } .rv-lista td:first-child{ grid-column:1/-1; font-weight:800; font-size:14.5px; }
  .rv-lista td[data-v]::before{ content:attr(data-v); display:block; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); } }

/* Lista de precios desplegable: cada sistema se abre al tocarlo */
.rv-precios{ gap:12px; }
.rv-lista > summary{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:18px 20px; font-weight:800; font-size:17px; }
.rv-lista > summary::-webkit-details-marker{ display:none; }
.rv-lista > summary .rv-sis{ flex:1 1 auto; }
.rv-lista > summary .rv-desde{ font-size:13.5px; font-weight:500; color:var(--faint); }
.rv-lista > summary .rv-desde b{ display:inline; color:#15803D; }
.rv-lista > summary i{ width:30px; height:30px; flex:none; border-radius:50%; background:var(--line-soft); position:relative; transition:transform .25s; }
.rv-lista > summary i::before{ content:''; position:absolute; left:50%; top:45%; width:8px; height:8px; border-right:2.5px solid currentColor; border-bottom:2.5px solid currentColor; transform:translate(-50%,-50%) rotate(45deg); }
.rv-lista[open] > summary i{ transform:rotate(180deg); }
.rv-lista[open] > summary{ border-bottom:1.5px solid var(--line); }
.rv-lista > summary:hover{ background:var(--line-soft); }
@media(max-width:640px){ .rv-lista thead{ display:none; } .rv-lista > summary{ padding:16px; font-size:16px; } .rv-lista > summary .rv-desde{ order:3; flex-basis:100%; } }
.rv-tit{ font-size:16px; margin:0 0 12px; }
.rv-tabla td{ vertical-align:top; } .rv-tabla td b{ display:block; } .rv-tabla td small{ display:block; color:var(--faint); font-size:12px; white-space:normal; margin-top:2px; }

/* Títulos destacados de la página de revendedores: comisiones (verde) y precios (naranja) */
.rv-banner{ position:relative; overflow:hidden; align-items:flex-start; gap:10px; padding:30px 26px 26px; border-radius:26px; color:#fff; margin-bottom:22px;
  background:linear-gradient(135deg, var(--b1), var(--b2)); box-shadow:0 18px 40px -16px var(--b1); animation:rv-latido 3.2s ease-in-out infinite; }
.rv-b-gana{ --b1:#15803D; --b2:#22C55E; }
.rv-b-precios{ --b1:#EA580C; --b2:#F59E0B; }
.rv-banner::after{ content:''; position:absolute; inset:0; background:linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%); transform:translateX(-120%); animation:rv-brillo 3.6s ease-in-out infinite; pointer-events:none; }
.rv-banner h2{ color:#fff; font-size:clamp(34px, 7vw, 54px); line-height:1.02; margin:0; text-shadow:0 2px 14px rgba(0,0,0,.18); }
.rv-b-k{ font-size:12.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; background:rgba(255,255,255,.22); padding:6px 12px; border-radius:99px; }
.rv-b-ico{ position:absolute; right:18px; top:14px; font-size:64px; filter:drop-shadow(0 6px 12px rgba(0,0,0,.25)); animation:rv-flota 2.6s ease-in-out infinite; }
.rv-b-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; }
.rv-b-chips span{ background:#fff; color:var(--b1); font-weight:800; font-size:14px; padding:7px 13px; border-radius:99px; }
@keyframes rv-brillo{ 0%,55%{ transform:translateX(-120%); } 100%{ transform:translateX(120%); } }
@keyframes rv-latido{ 0%,100%{ box-shadow:0 18px 40px -16px var(--b1); } 50%{ box-shadow:0 22px 56px -10px var(--b1); } }
@keyframes rv-flota{ 0%,100%{ transform:translateY(0) rotate(-6deg); } 50%{ transform:translateY(-8px) rotate(6deg); } }
.rv-saltos{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.rv-saltos a{ font-weight:800; font-size:15px; padding:11px 16px; border-radius:14px; color:#fff; text-decoration:none; }
.rv-s-gana{ background:linear-gradient(135deg, #15803D, #22C55E); } .rv-s-precios{ background:linear-gradient(135deg, #EA580C, #F59E0B); }
@media(max-width:640px){ .rv-banner{ padding:26px 20px 22px; } .rv-b-ico{ font-size:50px; right:12px; top:10px; } .rv-banner h2{ padding-right:56px; } }
@media(prefers-reduced-motion:reduce){ .rv-banner, .rv-banner::after, .rv-b-ico{ animation:none; } }

/* Página oculta de precios para clientes */
.pc-acc{ display:flex; flex-wrap:wrap; gap:10px; padding:0 16px 18px; }
.pc-tag{ display:inline-block; font-size:10.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; background:#F59E0B; color:#fff; padding:2px 8px; border-radius:99px; margin-left:4px; vertical-align:middle; }
.pc-nota{ margin-top:22px; padding:20px; border-radius:20px; background:var(--surface); border:1px solid var(--line-soft); display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; }
.pc-nota p{ margin:0; flex:1 1 320px; color:var(--muted, inherit); line-height:1.6; }

/* Comparación de versiones con tildes */
.pc-comp{ margin:16px 16px 12px; border:1px solid var(--line-soft); border-radius:16px; overflow:hidden; }
.pc-fila{ display:grid; grid-template-columns:1fr repeat(var(--n), 86px); align-items:center; gap:8px; padding:10px 14px; border-top:1px solid var(--line-soft); font-size:14.5px; }
.pc-fila > span:not(:first-child){ text-align:center; }
.pc-cab{ border-top:0; background:var(--line-soft); font-size:11.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); }
.pc-dif{ background:color-mix(in srgb, #F59E0B 7%, transparent); }
.pc-si, .pc-no{ display:inline-grid; place-items:center; width:26px; height:26px; border-radius:50%; font-weight:900; font-size:14px; margin:0 auto; }
.pc-si{ background:#16A34A; color:#fff; }
.pc-no{ background:var(--line-soft); color:var(--faint); }
@media(max-width:640px){ .pc-comp{ margin:14px 12px 10px; } .pc-fila{ grid-template-columns:1fr repeat(var(--n), 64px); padding:9px 10px; font-size:13.5px; } }
.pc-cab > span:not(:first-child){ letter-spacing:.02em; font-size:11px; overflow-wrap:anywhere; }
@media(max-width:640px){ .pc-fila{ grid-template-columns:1fr repeat(var(--n), 70px); gap:4px; } .pc-cab > span:not(:first-child){ font-size:10px; letter-spacing:0; } }

/* Sistema abierto: marco de color para que no se mezcle con los cerrados (naranja precios, verde comisiones) */
.rv-lista{ --ac:#EA580C; --ac2:#F59E0B; transition:box-shadow .3s, border-color .3s, transform .3s; }
#rv-gana .rv-lista{ --ac:#15803D; --ac2:#22C55E; }
.rv-lista[open]{ border:2.5px solid var(--ac); box-shadow:0 0 0 5px color-mix(in srgb, var(--ac) 16%, transparent), 0 22px 44px -18px var(--ac); margin:10px 0 14px; }
.rv-lista[open] > summary{ background:linear-gradient(135deg, var(--ac), var(--ac2)); color:#fff; border-bottom:0; }
.rv-lista[open] > summary .rv-desde, .rv-lista[open] > summary .rv-desde b{ color:#fff; }
.rv-lista[open] > summary i{ background:rgba(255,255,255,.25); color:#fff; }
.rv-lista[open] > summary:hover{ background:linear-gradient(135deg, var(--ac), var(--ac2)); }
.rv-lista[open] > *:not(summary){ animation:rv-abre .35s ease; }
.rv-precios:has(.rv-lista[open]) .rv-lista:not([open]){ opacity:.6; }
.rv-precios:has(.rv-lista[open]) .rv-lista:not([open]):hover{ opacity:1; }
@keyframes rv-abre{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }

/* Planes en cápsulas: cada plan es una tarjeta redondeada y cada versión una píldora de dos tonos
   (Completo = tono fuerte, Esencial = tono claro). Naranja en precios, verde en comisiones. */
.rv-lista > table{ display:block; width:auto; margin:6px 14px 14px; }
.rv-lista > table thead{ display:none; }
.rv-lista > table tbody{ display:grid; gap:12px; }
.rv-lista > table tbody tr{ display:grid; grid-template-columns:repeat(auto-fit, minmax(140px, 1fr)); gap:8px; padding:12px; border-radius:24px; border:0;
  background:color-mix(in srgb, var(--ac2) 10%, var(--surface)); box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--ac) 22%, transparent); }
.rv-lista > table tbody td{ border:0 !important; padding:0; white-space:normal; }
.rv-lista > table tbody td:first-child{ grid-column:1/-1; font-weight:800; font-size:16px; padding:2px 6px 2px; }
.rv-lista > table tbody td[data-v]{ border-radius:999px; padding:11px 18px; font-size:13.5px; }
.rv-lista > table tbody td[data-v]::before{ content:attr(data-v); display:block; font-size:10.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; margin-bottom:1px; }
.rv-lista > table tbody td[data-v]:nth-child(2){ background:linear-gradient(135deg, var(--ac), var(--ac2)); color:#fff; box-shadow:0 8px 18px -10px var(--ac); }
.rv-lista > table tbody td[data-v]:nth-child(2)::before, .rv-lista > table tbody td[data-v]:nth-child(2) small{ color:rgba(255,255,255,.88); }
.rv-lista > table tbody td[data-v]:nth-child(2) b{ color:#fff; }
.rv-lista > table tbody td[data-v]:nth-child(3){ background:color-mix(in srgb, var(--ac2) 24%, var(--surface)); color:var(--text); }
.rv-lista > table tbody td[data-v]:nth-child(3)::before{ color:var(--ac); }
.rv-lista > table tbody td[data-v]:nth-child(3) b{ color:var(--ac); }
.rv-lista > table tbody td[data-v] b{ font-size:18px; display:block; }
.rv-lista > table tbody td[data-v] small{ display:block; font-size:12px; line-height:1.4; }
@media(max-width:640px){ .rv-lista > table{ margin:6px 10px 12px; } .rv-lista > table tbody tr{ padding:10px; border-radius:22px; } .rv-lista > table tbody td[data-v]{ padding:10px 14px; border-radius:20px; } }

/* ================= SECCIONES SEPARADAS: cada parte de la página es su propio bloque ================= */
#app > section.sec{ position:relative; }
#app > section.sec:not(.oscura):nth-of-type(even){ background:var(--surface-2); }
#app > section.sec:not(:first-child){ border-radius:44px 44px 0 0; margin-top:-28px; box-shadow:0 -14px 30px -24px rgba(20,16,30,.35); }
#app > section.oscura{ border-radius:44px 44px 0 0; }
/* el título de cada sección arranca con una etiqueta tipo píldora */
.cab-sec .k{ align-self:flex-start; background:color-mix(in srgb, currentColor 13%, transparent); padding:7px 14px; border-radius:99px; }
.cab-sec.centro .k{ align-self:center; }
.oscura .cab-sec .k{ background:rgba(255,255,255,.1); }
.cab-sec h2{ text-wrap:balance; }

/* Rubros más compactos y con "Ver todos" en el celular */
.ver-rubros{ display:none; margin:14px auto 0; }
@media(max-width:640px){
  .sec{ padding:72px 0; }
  #app > section.sec:not(:first-child){ border-radius:30px 30px 0 0; margin-top:-22px; }
  #app > section.oscura{ border-radius:30px 30px 0 0; }
  .rubro{ flex-direction:row; align-items:center; gap:8px; padding:11px 12px; border-radius:14px; }
  .rubro span{ font-size:20px; } .rubro b{ font-size:13.5px; line-height:1.2; }
  .rubros.corto .rubro:nth-child(n+11){ display:none; }
  .rubros.corto + .ver-rubros{ display:flex; }

  /* Problemas, promesas y logros: tarjetas que se deslizan de costado en vez de una lista larga */
  .dolores, .promesas{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; margin:0 -20px; padding:4px 20px 14px; scrollbar-width:none; }
  .dolores::-webkit-scrollbar, .promesas::-webkit-scrollbar{ display:none; }
  .dolores > *, .promesas > *{ flex:0 0 80%; scroll-snap-align:start; }
  .logros{ grid-template-columns:1fr; gap:8px; }
  .logro{ padding:14px 16px; }
  .desliza{ display:flex !important; }

  /* Sistemas de a dos, más compactos */
  #sistemas .grilla{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
  #sistemas .sis{ padding:16px 14px; border-radius:20px; gap:6px; }
  #sistemas .sis h3{ font-size:16px; line-height:1.2; } #sistemas .sis p{ font-size:12.5px; line-height:1.4; } #sistemas .sis .nuevo{ font-size:9px; top:10px; right:10px; padding:3px 7px; }
  #sistemas .sis .sis-ico{ width:42px; height:42px; font-size:22px; }
}
.desliza{ display:none; align-items:center; gap:6px; font-size:13px; font-weight:700; color:var(--faint); margin:-4px 0 10px; }
.desliza::after{ content:'→'; animation:desliza 1.4s ease-in-out infinite; }
@keyframes desliza{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(6px); } }
