/* =========================================================
   DATAVALLE — estilos principales
   ========================================================= */
:root {
  --green: #16c172;
  --green-2: #22e38a;
  --green-d: #0b8f53;
  --cyan: #22d3ee;
  --ink: #050a0e;
  --ink-2: #0a141b;
  --ink-3: #111e27;
  --text: #0e1a21;
  --muted: #5b6b73;
  --line: #e5ecea;
  --soft: #f4f8f7;
  --white: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(5, 20, 15, .18), 0 2px 6px rgba(5, 20, 15, .05);
  --shadow-lg: 0 30px 60px -20px rgba(5, 20, 15, .35);
  --glass: rgba(255, 255, 255, .06);
  --glass-b: rgba(255, 255, 255, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------- Logo ---------- */
.logo { height: 40px; width: auto; object-fit: contain; }
.logo--sm { height: 30px; }
.logo--lg { height: 64px; }
.logo-placeholder { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; color: #fff; height: auto; border: 1px dashed rgba(22,193,114,.6); padding: 2px 10px; border-radius: 8px; }
.logo-placeholder b { color: var(--green); }
.logo--lg.logo-placeholder { font-size: 2rem; }
.modules__hub .logo-placeholder { font-size: .9rem; }

/* ---------- Botones ---------- */
.btn { --bg: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--sm { padding: .6em 1.1em; font-size: .88rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--green-2), var(--green)); color: #03150c; box-shadow: 0 8px 24px -8px rgba(22, 193, 114, .65), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary:hover { box-shadow: 0 14px 34px -10px rgba(22, 193, 114, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--glass { background: var(--glass); color: #fff; border-color: var(--glass-b); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.2); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-2); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.25); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn--dark:hover { background: var(--ink-3); }
.btn--wa { background: #25d366; color: #052e16; box-shadow: 0 8px 24px -8px rgba(37, 211, 102, .6); }
.btn--shine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s var(--ease) infinite 1.5s; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.btn-row--center { justify-content: center; }
.center-cta { text-align: center; margin-top: 2.5rem; }

/* ---------- Tipografía auxiliar ---------- */
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); margin-bottom: .9rem; }
.eyebrow--light { color: var(--green-2); }
.grad { background: linear-gradient(100deg, var(--green) 10%, #3ee0a0 50%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--soft .grad, .section:not(.section--dark):not(.hero):not(.cta):not(.tiktok) .grad { background: linear-gradient(100deg, var(--green-d), var(--green) 55%, #0ea5a4); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: rgba(255,255,255,.72); max-width: 58ch; }
.lead--dark { color: var(--muted); }
.muted { color: var(--muted); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.sec-head .lead { margin-inline: auto; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 120px) 0; }
.section--soft { background: var(--soft); }
.section--dark, .hero, .cta { background: var(--ink); color: #fff; overflow: hidden; }
.section--dark h3 { color: #fff; }

/* ---------- Fondos decorativos ---------- */
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb--1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(22,193,114,.55), transparent 65%); top: -180px; right: -120px; }
.orb--2 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(34,211,238,.28), transparent 65%); bottom: -220px; left: -160px; }
.orb--3 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(22,193,114,.4), transparent 65%); top: 10%; left: 40%; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 16px 0; transition: padding .35s var(--ease), background .35s, box-shadow .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 10, 14, .72); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); border-bottom: 1px solid rgba(255,255,255,.06); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.nav.is-scrolled { padding: 10px 0; }
.nav.is-scrolled::before { opacity: 1; }
.nav__brand, .nav__toggle { position: relative; z-index: 2; }
.nav .container { width: min(100% - 32px, 1360px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand { flex: none; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu ul { display: flex; gap: 4px; }
.nav__menu ul a { position: relative; display: block; white-space: nowrap; padding: 8px 11px; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.78); border-radius: 8px; transition: color .2s; }
.nav__menu ul a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__menu ul a:hover, .nav__menu ul a.active { color: #fff; }
.nav__menu ul a:hover::after, .nav__menu ul a.active::after { transform: scaleX(1); }
.nav__cta { display: flex; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); cursor: pointer; position: relative; z-index: 2; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 15px; } .nav__toggle span:nth-child(2) { top: 21px; } .nav__toggle span:nth-child(3) { top: 27px; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1280px) {
  .nav__menu ul a { padding: 8px 7px; font-size: .86rem; }
  .nav__menu ul { gap: 0; }
}
@media (max-width: 1140px) {
  .nav__menu { gap: 14px; }
  .nav__cta .btn--ghost { display: none; }
}
@media (max-width: 1279px) {
  .nav__toggle { display: block; }
  .nav__menu { position: fixed; inset: 0; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; z-index: 1; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 24px; padding: 90px 24px max(32px, env(safe-area-inset-bottom)); background: rgba(5, 10, 14, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .nav__menu ul { flex-direction: column; gap: 2px; text-align: center; margin-top: auto; }
  .nav__cta { margin-bottom: auto; width: 100%; max-width: 420px; align-self: center; }
  .nav__menu ul a { font-size: 1.3rem; font-weight: 600; padding: 10px; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s; }
  .nav__menu ul a::after { display: none; }
  .nav__cta { flex-direction: column; }
  .nav__cta .btn--ghost { display: inline-flex; }
  .nav__cta .btn { padding: 1em; font-size: 1rem; }
  .nav-open .nav__menu { opacity: 1; visibility: visible; }
  .nav-open .nav__menu ul a { opacity: 1; transform: none; }
  .nav-open .nav__menu li:nth-child(2) a { transition-delay: .04s; } .nav-open .nav__menu li:nth-child(3) a { transition-delay: .08s; }
  .nav-open .nav__menu li:nth-child(4) a { transition-delay: .12s; } .nav-open .nav__menu li:nth-child(5) a { transition-delay: .16s; }
  .nav-open .nav__menu li:nth-child(6) a { transition-delay: .2s; } .nav-open .nav__menu li:nth-child(7) a { transition-delay: .24s; }
  body.nav-open { overflow: hidden; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 140px 0 90px; min-height: min(100vh, 940px); display: flex; align-items: center; background: radial-gradient(1200px 600px at 80% 0%, #0b2a1f 0%, transparent 60%), linear-gradient(180deg, #050a0e, #07131a); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 1.1rem; }
.hero h1 em, .hero .lead strong { font-style: normal; }
.hero h1 em { background: linear-gradient(100deg, var(--green-2), #5ef0b6 60%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.hero .lead strong { color: var(--green-2); font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); background: rgba(22,193,114,.1); border: 1px solid rgba(22,193,114,.3); margin-bottom: 1.4rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,193,114,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(22,193,114,0); } 100% { box-shadow: 0 0 0 0 rgba(22,193,114,0); } }
.hero__note { margin-top: 1.4rem; font-size: .9rem; color: rgba(255,255,255,.55); }
.hero__note i { color: var(--green); font-style: normal; margin: 0 .4em; }

/* Composición hero */
.hero__visual { position: relative; aspect-ratio: 1 / .86; width: 100%; max-width: 620px; justify-self: end; will-change: transform; }
.laptop { position: absolute; left: 4%; top: 12%; width: 84%; }
.laptop__screen { background: #0d161c; border: 10px solid #1a252c; border-bottom-width: 14px; border-radius: 16px 16px 4px 4px; aspect-ratio: 16 / 10.2; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06), 0 0 80px -20px rgba(22,193,114,.35); }
.laptop__base { height: 14px; margin: 0 -7%; background: linear-gradient(#2a363d, #11191e); border-radius: 0 0 16px 16px; position: relative; }
.laptop__base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: #0b1216; border-radius: 0 0 6px 6px; }

.app { display: grid; grid-template-columns: 7% 1fr 32%; height: 100%; background: #f5f8f7; font-size: 7px; }
.app__side { background: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 9%; padding-top: 30%; }
.app__side i { width: 44%; aspect-ratio: 1; border-radius: 30%; background: rgba(255,255,255,.15); }
.app__side i.on { background: var(--green); }
.app__main { padding: 5%; display: flex; flex-direction: column; gap: 6%; min-width: 0; }
.app__top { display: flex; gap: 6px; align-items: center; }
.app__search { flex: 1; height: 12px; border-radius: 6px; background: #e3ebe8; }
.app__chip { padding: 2px 6px; border-radius: 6px; background: rgba(22,193,114,.15); color: var(--green-d); font-weight: 700; white-space: nowrap; }
.app__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; flex: 1; }
.prod { background: #fff; border-radius: 6px; padding: 5px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.prod span { flex: 1; border-radius: 4px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 40%, #fff)); opacity: .85; }
.prod b { height: 4px; width: 80%; background: #d8e1de; border-radius: 2px; }
.prod small { height: 4px; width: 45%; background: var(--green); border-radius: 2px; }
.app__ticket { background: #fff; border-left: 1px solid #e3ebe8; padding: 8% 7%; display: flex; flex-direction: column; gap: 5px; color: #334; }
.t-title { font-weight: 800; margin: 0 0 4px; font-size: 8px; color: var(--text); }
.t-line { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.t-line span { height: 4px; flex: 1; background: #e3ebe8; border-radius: 2px; }
.t-line b { font-weight: 600; white-space: nowrap; }
.t-total { margin-top: auto; display: flex; justify-content: space-between; font-weight: 800; font-size: 8.5px; border-top: 1px dashed #d2dcd8; padding-top: 6px; color: var(--text); }
.t-pay { background: var(--green); color: #03150c; text-align: center; border-radius: 5px; padding: 5px; font-weight: 800; }

/* Phone */
.phone { position: absolute; background: #0b1216; border-radius: 28px; padding: 8px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.1), 0 0 60px -20px rgba(22,193,114,.5); }
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 12px; background: #000; border-radius: 10px; z-index: 2; }
.phone__screen { background: linear-gradient(180deg, #0e1c24, #0a1419); border-radius: 21px; height: 100%; padding: 30px 12px 12px; color: #fff; overflow: hidden; display: flex; flex-direction: column; gap: 6px; }
.phone--hero { width: 29%; aspect-ratio: 9 / 18.5; right: 0; bottom: 4%; z-index: 3; }
.phone--hero .phone__screen { padding-top: 26px; gap: 4px; }
.ph-label { font-size: 9px; color: rgba(255,255,255,.55); margin: 0; }
.ph-big { white-space: nowrap; font-size: 15px; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.ph-up { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; font-weight: 700; color: var(--green-2); margin: 0 0 4px; }
.ph-up .icon { width: 11px; height: 11px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 34%; padding: 6px 0; }
.bars span { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--green-2), rgba(22,193,114,.25)); transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.bars span:nth-child(2) { animation-delay: .1s } .bars span:nth-child(3) { animation-delay: .2s } .bars span:nth-child(4) { animation-delay: .3s } .bars span:nth-child(5) { animation-delay: .4s } .bars span:nth-child(6) { animation-delay: .5s } .bars span:nth-child(7) { animation-delay: .6s }
@keyframes grow { from { transform: scaleY(0); } }
.ph-row { display: flex; justify-content: space-between; padding: 7px; background: rgba(255,255,255,.05); border-radius: 8px; }
.ph-row span { height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); width: 45%; }
.ph-row span + span { width: 25%; background: var(--green); }

/* Printer */
.printer { position: absolute; left: 0; bottom: 2%; width: 23%; z-index: 2; }
.printer__paper { width: 64%; margin: 0 auto -8px; background: #fff; padding: 10px 8px 16px; border-radius: 3px 3px 0 0; display: flex; flex-direction: column; gap: 5px; box-shadow: 0 6px 20px rgba(0,0,0,.25); position: relative; animation: paper 5s var(--ease) infinite; }
.printer__paper::before { content: ""; position: absolute; left: 0; right: 0; top: -5px; height: 6px; background: radial-gradient(circle at 4px 0, transparent 4px, #fff 4.5px) 0 0 / 8px 6px repeat-x; }
.printer__paper i { height: 3px; background: #cdd6d3; border-radius: 2px; }
.printer__paper i.short { width: 55%; background: var(--green); }
.printer__body { aspect-ratio: 1.6; background: linear-gradient(160deg, #26343c, #0c1419); border-radius: 18px; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.1); position: relative; }
.printer__body::before { content: ""; position: absolute; top: 10%; left: 16%; right: 16%; height: 6%; background: #050a0e; border-radius: 4px; }
.led { position: absolute; right: 14%; bottom: 18%; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
@keyframes paper { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.scanner { position: absolute; width: 18%; right: 23%; top: 0; z-index: 2; filter: drop-shadow(0 20px 25px rgba(0,0,0,.45)); }
.scan-beam { animation: beam 2.4s ease-in-out infinite; transform-origin: 94px 38px; }
@keyframes beam { 0%, 100% { opacity: .1; } 50% { opacity: .45; } }

/* Tarjetas flotantes */
.fcard { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(12, 22, 28, .7); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -14px rgba(0,0,0,.6); color: #fff; z-index: 4; white-space: nowrap; }
.fcard small { display: block; font-size: .7rem; color: rgba(255,255,255,.55); line-height: 1.2; }
.fcard b { font-size: .88rem; font-weight: 700; }
.fcard__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(22,193,114,.15); color: var(--green-2); }
.fcard__ic .icon { width: 18px; height: 18px; }
.fcard__ic.up { background: rgba(34,211,238,.14); color: var(--cyan); }
.hero .fcard { opacity: 0; animation: pop .8s var(--ease) forwards, float 6s ease-in-out infinite; }
.fcard--a { top: 2%; left: 0; animation-delay: .5s, 1.3s !important; }
.fcard--b { top: 33%; right: -3%; animation-delay: .8s, 1.6s !important; }
.fcard--c { bottom: 30%; left: -6%; animation-delay: 1.1s, 1.9s !important; }
.fcard--d { top: 4%; right: 0; animation-delay: 1.4s, 2.2s !important; }
.fcard--e { bottom: -2%; left: 26%; animation-delay: 1.7s, 2.5s !important; }
.toast .fcard__ic { background: var(--green); color: #03150c; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 8s ease-in-out infinite; }
.float-alt { animation: float 7s ease-in-out infinite reverse; }

/* =========================================================
   QUÉ ES
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin-top: 1.6rem; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .96rem; }
.checks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(22,193,114,.14); color: var(--green-d); stroke-width: 3; }

.modules { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.module { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.module:nth-child(even) { transform: translateY(28px); }
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.module:nth-child(even):hover { transform: translateY(22px); }
.module h3 { margin: 12px 0 4px; }
.module p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.module__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), #0ea5a4); color: #fff; box-shadow: 0 8px 20px -8px rgba(22,193,114,.7); }
.meter { height: 6px; border-radius: 6px; background: #e8efed; overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.is-in .meter span, .meter.is-in span { transform: scaleX(1); }
.modules__hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%); width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); box-shadow: 0 0 0 8px #fff, 0 20px 40px -10px rgba(0,0,0,.4); padding: 14px; }
.modules__hub::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(22,193,114,.5); animation: ring 2.8s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.modules__hub .logo { height: auto; max-width: 100%; }

/* =========================================================
   FUNCIONALIDADES
   ========================================================= */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(22,193,114,.09), transparent 45%); opacity: 0; transition: opacity .35s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(22,193,114,.35); }
.feature:hover::before { opacity: 1; }
.feature__ic { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(22,193,114,.1); color: var(--green-d); margin-bottom: 18px; transition: background .35s, color .35s, transform .35s var(--ease); flex: none; }
.feature__ic .icon { width: 24px; height: 24px; }
.feature:hover .feature__ic { background: var(--green); color: #03150c; transform: rotate(-6deg) scale(1.05); }
.feature h3, .feature p { position: relative; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; }

/* =========================================================
   MÓVIL
   ========================================================= */
.mobile { background: radial-gradient(900px 500px at 70% 50%, #0b2a1f, transparent 60%), var(--ink); }
.split--rev .mobile__copy { order: 2; }
.mobile__visual { position: relative; min-height: 580px; display: grid; place-items: center; }
.phone--big { position: relative; width: min(300px, 70vw); aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 38px; }
.phone--big .phone__notch { top: 16px; height: 18px; }
.phone--big .phone__screen { border-radius: 30px; padding: 44px 16px 16px; gap: 12px; font-size: .8rem; }
.ph-head span { display: block; font-weight: 800; font-size: 1.05rem; }
.ph-head small { color: rgba(255,255,255,.5); }
.ph-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-kpis div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 10px; }
.ph-kpis small { display: block; color: rgba(255,255,255,.55); font-size: .7rem; }
.ph-kpis b { font-size: .92rem; white-space: nowrap; }
.ph-chart { background: rgba(255,255,255,.04); border-radius: 12px; padding: 8px 0 0; height: 90px; overflow: hidden; }
.ph-chart svg { width: 100%; height: 100%; }
.draw { stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 2s var(--ease) .3s; }
.is-in .draw { stroke-dashoffset: 0; }
.ph-sub { margin: 4px 0 0; font-weight: 700; font-size: .78rem; color: rgba(255,255,255,.7); }
.ph-top { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 8px; font-size: .72rem; color: rgba(255,255,255,.7); }
.ph-top .meter { background: rgba(255,255,255,.08); }
.ph-caja { margin-top: auto; display: flex; align-items: center; gap: 6px; padding: 10px; border-radius: 12px; background: rgba(22,193,114,.14); color: var(--green-2); font-weight: 700; font-size: .75rem; }
.ph-caja .icon { width: 16px; height: 16px; }
.fcard--m1 { top: 8%; left: 0; } .fcard--m2 { top: 26%; right: 0; } .fcard--m3 { bottom: 26%; left: 2%; } .fcard--m4 { bottom: 8%; right: 2%; }
.mobile__visual .fcard { animation: float 6s ease-in-out infinite; }
.mobile__visual .fcard--m2 { animation-delay: -1.5s; } .mobile__visual .fcard--m3 { animation-delay: -3s; } .mobile__visual .fcard--m4 { animation-delay: -4.5s; }

/* =========================================================
   NEGOCIOS
   ========================================================= */
.biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.biz__card { position: relative; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.biz__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.biz__art { position: relative; height: 170px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c1) 55%, #fff), transparent 55%), linear-gradient(135deg, var(--c1), var(--c2)); transition: transform .6s var(--ease); }
.biz__art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1.4px); background-size: 16px 16px; opacity: .5; }
.biz__card:hover .biz__art { transform: scale(1.06); }
.biz__ring { position: absolute; width: 130px; height: 130px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); }
.biz__ring--2 { width: 200px; height: 200px; border-color: rgba(255,255,255,.18); }
.biz__ic { position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; box-shadow: 0 16px 30px -10px rgba(0,0,0,.35); transition: transform .5s var(--ease); }
.biz__ic .icon { width: 36px; height: 36px; stroke-width: 1.6; }
.biz__card:hover .biz__ic { transform: translateY(-4px) rotate(-4deg); }
.biz__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; }
.biz__body h3 { margin: 0; }
.biz__more { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--green-d); padding: 6px 12px; border-radius: 999px; background: rgba(22,193,114,.1); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease), background .3s; white-space: nowrap; }
.biz__more .icon { width: 15px; height: 15px; }
.biz__card:hover .biz__more, .biz__more:focus-visible { opacity: 1; transform: none; }
.biz__more:hover { background: var(--green); color: #03150c; }
@media (hover: none) { .biz__more { opacity: 1; transform: none; } }

/* =========================================================
   HARDWARE
   ========================================================= */
.hw-list { display: grid; gap: 12px; margin: 1.6rem 0 2rem; }
.hw-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .3s var(--ease), border-color .3s; }
.hw-list li:hover { transform: translateX(6px); border-color: rgba(22,193,114,.4); }
.hw-list .icon { color: var(--green-d); }
.hw-stage { position: relative; aspect-ratio: 1 / .9; border-radius: 28px; background: linear-gradient(160deg, #0b1a22, #050a0e); overflow: hidden; box-shadow: var(--shadow-lg); }
.hw-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, rgba(22,193,114,.35), transparent 55%); }
.hw-stage::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 14%; height: 18%; border-radius: 50%; background: radial-gradient(ellipse, rgba(22,193,114,.25), transparent 70%); }
.hw { position: absolute; filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); transition: transform .5s var(--ease); }
.hw--pos { width: 48%; left: 26%; top: 14%; }
.hw--printer { width: 32%; left: 5%; bottom: 12%; }
.hw--scan { width: 22%; right: 7%; top: 12%; transform: rotate(12deg); }
.hw--drawer { width: 38%; right: 5%; bottom: 10%; }
.hw-stage:hover .hw--pos { transform: translateY(-6px); }
.hw-stage:hover .hw--scan { transform: rotate(4deg) translateY(-6px); }
.hw-tag { position: absolute; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: float 6s ease-in-out infinite; }
.hw-tag--1 { left: 6%; top: 8%; } .hw-tag--2 { right: 6%; top: 50%; animation-delay: -2s; } .hw-tag--3 { left: 38%; bottom: 4%; animation-delay: -4s; }

/* =========================================================
   BENEFICIOS
   ========================================================= */
.benefits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.benefit { grid-column: span 2; position: relative; padding: 32px 28px; border-radius: 24px; background: linear-gradient(180deg, #fff, var(--soft)); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.benefit:nth-child(4), .benefit:nth-child(5) { grid-column: span 3; }
.benefit::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(22,193,114,.18), transparent 70%); transition: transform .5s var(--ease); }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.benefit:hover::after { transform: scale(1.6); }
.benefit__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--green-2); margin-bottom: 20px; box-shadow: 0 12px 24px -10px rgba(5,10,14,.5); }
.benefit__ic .icon { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.2rem; }
.benefit p { color: var(--muted); margin: 0; }

/* =========================================================
   PRECIOS
   ========================================================= */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 24px; position: relative; }
.plan { position: relative; padding: 36px 32px; border-radius: 26px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .35s var(--ease), border-color .35s; display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.plan--featured { background: linear-gradient(180deg, rgba(22,193,114,.16), rgba(22,193,114,.03)); border-color: rgba(22,193,114,.5); box-shadow: 0 30px 70px -30px rgba(22,193,114,.6); }
.plan--featured:hover { border-color: var(--green); }
.plan h3 { color: rgba(255,255,255,.8); font-weight: 600; font-size: 1rem; }
.plan__price { font-size: 3.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 8px 0 8px; display: flex; align-items: baseline; gap: 6px; }
.plan__price .cur { font-size: 1.4rem; color: var(--green-2); }
.plan__price small { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.55); letter-spacing: 0; }
.plan__save { color: var(--green-2); font-weight: 600; font-size: .9rem; margin: 0; }
.plan ul { display: grid; gap: 11px; margin: 26px 0 30px; flex: 1; }
.plan li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); font-size: .95rem; }
.plan li .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(22,193,114,.18); color: var(--green-2); stroke-width: 3; }
.plan__badge { position: absolute; top: -14px; right: 26px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--green-2), var(--green)); color: #03150c; font-weight: 800; font-size: .78rem; letter-spacing: .06em; box-shadow: 0 8px 20px -6px rgba(22,193,114,.7); }
.invoice-note { margin: 32px auto 0; max-width: 824px; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.18); }
.invoice-note .feature__ic { margin: 0; background: rgba(22,193,114,.15); color: var(--green-2); }
.invoice-note div { flex: 1; }
.invoice-note p { margin: 0; color: rgba(255,255,255,.65); font-size: .92rem; }

/* =========================================================
   DEMO
   ========================================================= */
.demo { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 32px; color: #fff; background: radial-gradient(700px 400px at 90% 10%, rgba(34,211,238,.18), transparent 60%), radial-gradient(700px 500px at 10% 100%, rgba(22,193,114,.35), transparent 60%), var(--ink); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.demo h2 { color: #fff; }
.win { position: relative; border-radius: 16px; background: #0d171d; border: 1px solid rgba(255,255,255,.1); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ease); }
.demo:hover .win { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .win__bar i:nth-child(2) { background: #febc2e; } .win__bar i:nth-child(3) { background: #28c840; }
.win__bar span { margin-left: 10px; font-size: .75rem; color: rgba(255,255,255,.45); padding: 3px 10px; border-radius: 6px; background: rgba(255,255,255,.05); }
.win__body { padding: 18px; display: grid; gap: 14px; }
.win__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.win__kpis div { background: rgba(255,255,255,.05); border-radius: 10px; padding: 10px 12px; }
.win__kpis small { display: block; font-size: .7rem; color: rgba(255,255,255,.5); }
.win__kpis b { font-size: 1rem; white-space: nowrap; }
.win__bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.03); }
.win__bars span { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--green-2), rgba(22,193,114,.2)); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.is-in .win__bars span { transform: scaleY(1); }
.win__bars span:nth-child(12) { animation: barPulse 2.5s ease-in-out infinite 2s; }
@keyframes barPulse { 50% { filter: brightness(1.4); } }
.win__rows { display: grid; gap: 8px; }
.win__rows span { height: 24px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); position: relative; overflow: hidden; }
.win__rows span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(22,193,114,.18), transparent); transform: translateX(-100%); animation: sweep 3s ease-in-out infinite; }
.win__rows span:nth-child(2)::after { animation-delay: .4s; } .win__rows span:nth-child(3)::after { animation-delay: .8s; }
@keyframes sweep { to { transform: translateX(100%); } }
.win__cursor { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 0 0 6px rgba(22,193,114,.35); animation: cursor 7s ease-in-out infinite; top: 40%; left: 30%; }
@keyframes cursor { 0%, 100% { top: 40%; left: 30%; } 30% { top: 68%; left: 78%; } 55% { top: 30%; left: 60%; } 80% { top: 80%; left: 20%; } }

/* =========================================================
   PROCESO
   ========================================================= */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps__line { position: absolute; top: 40px; left: 16.66%; right: 16.66%; height: 2px; background: #dbe5e2; border-radius: 2px; overflow: hidden; }
.steps__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--green), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.is-in .steps__line span { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 16px; }
.step__n { position: relative; z-index: 1; width: 80px; height: 80px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 24px; font-size: 1.5rem; font-weight: 800; color: var(--green-2); background: var(--ink); box-shadow: 0 0 0 8px var(--soft), 0 20px 40px -14px rgba(5,10,14,.55); transition: transform .35s var(--ease); }
.step:hover .step__n { transform: translateY(-4px) rotate(-4deg); }
.step h3 { font-size: 1.15rem; max-width: 24ch; margin-inline: auto; }

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { position: relative; margin: 0; padding: 30px 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; transition: transform .35s var(--ease); }
.testi:hover { transform: translateY(-4px); }
.testi--placeholder { border-style: dashed; border-color: #c9d6d2; background: repeating-linear-gradient(135deg, #fff 0 14px, #fbfdfc 14px 28px); }
.testi__tag { position: absolute; top: -11px; left: 22px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: #fff7e0; color: #8a6100; border: 1px solid #f3dc9b; }
.testi__q { color: var(--green); } .testi__q .icon { width: 30px; height: 30px; }
.testi blockquote { margin: 0; color: var(--muted); font-style: italic; flex: 1; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption b { display: block; font-size: .95rem; } .testi figcaption small { color: var(--muted); }
.testi__tag--ok { display: inline-flex; align-items: center; gap: 4px; background: #e8f8ef; color: var(--green-d); border-color: #bfe9d2; }
.testi__tag--ok .icon { width: 12px; height: 12px; stroke-width: 3; }
.testi__text { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.65; flex: 1; }
.testi__av--co { background: linear-gradient(135deg, var(--green), #0ea5a4) !important; color: #fff !important; border: 0 !important; font-weight: 800; font-size: 1.1rem; }
.testi figcaption b { line-height: 1.3; }
.testis__more { text-align: center; margin: 2.2rem 0 0; color: var(--muted); }
.testis__more a { display: inline-flex; align-items: center; gap: 6px; color: var(--green-d); font-weight: 700; }
.testis__more .icon { width: 16px; height: 16px; }
.testi__av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: #9fb0aa; border: 1px dashed #c9d6d2; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta { text-align: center; background: radial-gradient(900px 500px at 50% 120%, rgba(22,193,114,.45), transparent 60%), linear-gradient(180deg, #06121a, #050a0e); }
.cta__inner { position: relative; }
.cta__logo { display: flex; justify-content: center; margin-bottom: 28px; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; margin-inline: auto; }
.cta .lead { margin-inline: auto; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #03070a; color: rgba(255,255,255,.65); padding: 72px 0 28px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__brand p { margin: 16px 0 18px; max-width: 30ch; }
.footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer ul a:hover { color: var(--green-2); }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.footer__contact .icon { width: 16px; height: 16px; color: var(--green); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: rgba(255,255,255,.45); }
.footer__legal p { margin: 0; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }

/* =========================================================
   MODAL
   ========================================================= */
.modal { border: 0; padding: 0; background: transparent; max-width: 560px; width: calc(100% - 32px); color: var(--text); }
.modal::backdrop { background: rgba(3, 7, 10, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] .modal__box { animation: pop .4s var(--ease); }
.modal__box { position: relative; background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); }
.modal h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; color: var(--text); }
.modal__close:hover { background: #e7efec; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 22px; }
.fields label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; }
.fields .full { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1px solid #d7e1de; background: #fbfdfc; color: var(--text); transition: border-color .2s, box-shadow .2s; width: 100%; resize: vertical; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,193,114,.15); }
.fields .invalid { border-color: #e5484d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 12px 0 0; text-align: center; font-weight: 600; font-size: .92rem; min-height: 1.4em; }
.form-msg.ok { color: var(--green-d); } .form-msg.err { color: #c62828; }

/* =========================================================
   TIKTOK
   ========================================================= */
.tiktok { background: linear-gradient(180deg, #050a0e, #07131a); color: #fff; overflow: hidden; }
.tiktok__orb--c { width: 520px; height: 520px; background: radial-gradient(circle, rgba(37,244,238,.3), transparent 65%); top: -160px; right: 8%; }
.tiktok__orb--p { width: 480px; height: 480px; background: radial-gradient(circle, rgba(254,44,85,.22), transparent 65%); bottom: -200px; right: -120px; }
.tiktok .grad { background: linear-gradient(100deg, #25f4ee, #e9fffe 50%, #fe2c55); -webkit-background-clip: text; background-clip: text; }
.tiktok__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); margin-bottom: 1.2rem; }
.tiktok__badge .icon { color: #25f4ee; filter: drop-shadow(1.5px 1px 0 #fe2c55); }
.btn--tiktok { background: #000; color: #fff; border-color: rgba(255,255,255,.18); box-shadow: -3px -2px 0 -1px rgba(37,244,238,.85), 3px 2px 0 -1px rgba(254,44,85,.85), 0 12px 28px -10px rgba(0,0,0,.7); }
.btn--tiktok:hover { box-shadow: -4px -3px 0 -1px #25f4ee, 4px 3px 0 -1px #fe2c55, 0 16px 34px -10px rgba(0,0,0,.8); }
.tiktok__stack { position: relative; display: block; height: 460px; }
.tk-card { position: absolute; top: 50%; left: 50%; width: 190px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); background: radial-gradient(circle at 30% 20%, rgba(22,193,114,.55), transparent 55%), linear-gradient(160deg, #0f2a22, #050a0e); transition: transform .5s var(--ease); }
.tk-card--1 { transform: translate(-125%, -46%) rotate(-9deg); background: radial-gradient(circle at 70% 25%, rgba(37,244,238,.45), transparent 55%), linear-gradient(160deg, #0b2230, #050a0e); }
.tk-card--2 { transform: translate(-50%, -54%); z-index: 2; width: 210px; }
.tk-card--3 { transform: translate(25%, -46%) rotate(9deg); background: radial-gradient(circle at 40% 25%, rgba(254,44,85,.4), transparent 55%), linear-gradient(160deg, #2a0f1a, #050a0e); }
.tiktok__stack:hover .tk-card--1 { transform: translate(-135%, -48%) rotate(-12deg); }
.tiktok__stack:hover .tk-card--2 { transform: translate(-50%, -58%) scale(1.03); }
.tiktok__stack:hover .tk-card--3 { transform: translate(35%, -48%) rotate(12deg); }
.tk-card__ui { position: absolute; top: 18%; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.tk-card__ui .icon { width: 30px; height: 30px; }
.tk-card__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -20%); color: rgba(255,255,255,.9); }
.tk-card__play .icon { width: 46px; height: 46px; stroke-width: 1.4; }
.tk-card--2 .tk-card__play { animation: pulsePlay 2.4s ease-in-out infinite; }
@keyframes pulsePlay { 50% { transform: translate(-50%, -20%) scale(1.12); } }
.tk-card__side { position: absolute; right: 10px; bottom: 26%; display: grid; gap: 10px; }
.tk-card__side i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.22); }
.tk-card__cap { position: absolute; left: 12px; right: 40px; bottom: 14px; font-size: .78rem; color: rgba(255,255,255,.85); line-height: 1.35; }
.tk-card__cap b { display: block; color: #fff; }
.tk-handle { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 800; background: rgba(12,22,28,.8); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); white-space: nowrap; }
.tk-handle .icon { filter: drop-shadow(1.2px .8px 0 #fe2c55) drop-shadow(-1.2px -.8px 0 #25f4ee); }
.footer__brand .btn + .btn { margin-left: 8px; }
@media (max-width: 980px) {
  .tiktok__copy { text-align: center; }
  .tiktok__copy .lead { margin-inline: auto; }
  .tiktok__copy .btn-row { justify-content: center; }
}
@media (max-width: 560px) {
  .tiktok__stack { height: 380px; }
  .tk-card { width: 140px; } .tk-card--2 { width: 158px; }
  .tk-card--1 { transform: translate(-115%, -46%) rotate(-9deg); }
  .tk-card--3 { transform: translate(15%, -46%) rotate(9deg); }
  .tk-card__ui { width: 48px; height: 48px; } .tk-card__ui .icon { width: 22px; height: 22px; }
}

/* ---------- TikTok (logo relleno) ---------- */
.tt-logo { width: 1.3em; height: 1.3em; flex: none; display: inline-block; }
.nav__tt { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #fff; background: #000; border: 1px solid rgba(255,255,255,.18); transition: transform .25s var(--ease), box-shadow .25s; }
.nav__tt:hover { transform: translateY(-2px); box-shadow: -3px -2px 0 -1px #25f4ee, 3px 2px 0 -1px #fe2c55; }
.nav__tt .tt-logo { width: 18px; height: 18px; }
@media (min-width: 1280px) { .nav__tt { width: 38px; height: 38px; padding: 0; justify-content: center; } .nav__tt span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.hero__tt { display: inline-flex; align-items: center; gap: 8px; margin-top: 1rem; padding: 8px 16px 8px 10px; border-radius: 999px; background: #000; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 600; transition: transform .25s var(--ease), box-shadow .25s; }
.hero__tt b { color: #fff; }
.hero__tt .tt-logo { width: 22px; height: 22px; }
.hero__tt:hover { transform: translateY(-2px); box-shadow: -3px -2px 0 -1px #25f4ee, 3px 2px 0 -1px #fe2c55; }
.tt-float { position: fixed; right: 20px; bottom: 90px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #000; border: 1px solid rgba(255,255,255,.2); box-shadow: -3px -2px 0 -1px rgba(37,244,238,.9), 3px 2px 0 -1px rgba(254,44,85,.9), 0 12px 30px -8px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.tt-float .tt-logo { width: 28px; height: 28px; }
.tt-float:hover { transform: scale(1.08); }
.tiktok__badge .tt-logo { width: 18px; height: 18px; }
.btn .tt-logo { width: 1.35em; height: 1.35em; }
.tk-handle .tt-logo { width: 20px; height: 20px; }
.footer__contact .tt-logo { width: 16px; height: 16px; }
@media (max-width: 1279px) { .nav__tt { justify-content: center; padding: 1em; font-size: 1rem; } .nav__tt .tt-logo { width: 22px; height: 22px; } }
@media (max-width: 560px) { .tt-float { width: 52px; height: 52px; right: 14px; bottom: 78px; } .tt-float .tt-logo { width: 25px; height: 25px; } }

/* =========================================================
   REVEAL (animaciones de entrada)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-scale { opacity: 0; transform: scale(.95); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in, .js .reveal-scale.is-in { opacity: 1; transform: none; }
.js .mobile__visual .fcard.reveal { transform: translateY(26px) scale(.9); }
.js .mobile__visual .fcard.reveal.is-in { transform: none; }

/* =========================================================
   ANIMACIONES DE TEXTO E ICONOS
   ========================================================= */
/* Reveal más suave con desenfoque */
.js .reveal { filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { filter: none; }

/* Títulos palabra por palabra */
.js .split-text, .js .split-text.reveal { opacity: 1; transform: none; filter: none; }
.w { display: inline-block; white-space: nowrap; }
.w__i { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(2deg); filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0s) + var(--wi) * 60ms); will-change: transform, opacity; }
.split-text.is-in .w__i { opacity: 1; transform: none; filter: blur(0); }

/* Brillo en las palabras destacadas del hero */
.hero h1 em { background-size: 220% 100%; background-image: linear-gradient(100deg, var(--green-2) 0%, #5ef0b6 25%, #e8fff5 40%, var(--cyan) 55%, var(--green-2) 100%); }
.hero h1.is-in em { animation: textShine 6s ease-in-out 1.6s infinite; }
@keyframes textShine { 0% { background-position: 100% 0; } 35%, 100% { background-position: -20% 0; } }

/* Subrayado animado bajo "crecer" */
.hero h1 .w:last-child em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .08em; border-radius: 99px; background: linear-gradient(90deg, var(--green), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) 1.2s; }
.hero h1.is-in .w:last-child em::after { transform: scaleX(1); }

/* Iconos: la caja aparece y el trazo se dibuja */
.js .ic-pop { opacity: 0; scale: .6; rotate: -14deg; transition: opacity .7s var(--ease), scale .7s cubic-bezier(.34, 1.56, .64, 1), rotate .7s var(--ease); transition-delay: calc(var(--d, 0s) + .15s); }
.is-in .ic-pop, .is-in.ic-pop { opacity: 1; scale: 1; rotate: 0deg; }
.js .ic-draw :is(path, circle, rect) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); transition-delay: calc(var(--d, 0s) + .35s); }
.is-in .ic-draw :is(path, circle, rect) { stroke-dashoffset: 0; }
.ic-pop::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(22,193,114,.45); pointer-events: none; }
.is-in .ic-pop::after { animation: icRing 1.2s var(--ease) calc(var(--d, 0s) + .5s) 1 both; }
@keyframes icRing { from { box-shadow: 0 0 0 0 rgba(22,193,114,.45); } to { box-shadow: 0 0 0 14px rgba(22,193,114,0); } }
.feature__ic, .benefit__ic, .module__ic, .biz__ic { position: relative; }

/* Entrada de los equipos del hero */
.laptop { animation: devIn 1.1s var(--ease) .25s both, float 8s ease-in-out 1.4s infinite; }
.phone--hero { animation: devInR 1.1s var(--ease) .55s both, float 6s ease-in-out 1.7s infinite; }
.printer { animation: devInL 1.1s var(--ease) .75s both, float 7s ease-in-out 1.9s infinite reverse; }
.scanner { animation: devInT 1.1s var(--ease) .9s both, float 6s ease-in-out 2s infinite; }
@keyframes devIn { from { opacity: 0; transform: translateY(40px) scale(.94); filter: blur(8px); } }
@keyframes devInR { from { opacity: 0; transform: translateX(60px) rotate(6deg); filter: blur(8px); } }
@keyframes devInL { from { opacity: 0; transform: translateX(-50px); filter: blur(8px); } }
@keyframes devInT { from { opacity: 0; transform: translateY(-40px) rotate(-20deg); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hero { padding-top: 120px; min-height: 0; }
  .hero__inner, .split, .demo { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__copy .lead { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero__visual { justify-self: center; max-width: 600px; margin-top: 10px; }
  .split--rev .mobile__copy { order: 0; text-align: center; }
  .mobile__copy .lead { margin-inline: auto; }
  .mobile__copy .btn-row { justify-content: center; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit, .benefit:nth-child(4) { grid-column: span 1; }
  .benefit:nth-child(5) { grid-column: 1 / -1; }
  .biz { grid-template-columns: repeat(2, 1fr); }
  .testis { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .hw-stage { max-width: 560px; width: 100%; justify-self: center; }
}
@media (max-width: 720px) {
  .features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature { padding: 20px 16px; }
  .pricing { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps__line { top: 40px; bottom: 40px; left: 50%; right: auto; width: 2px; height: auto; }
  .steps__line span { transform: scaleY(0); transform-origin: top; }
  .steps.is-in .steps__line span { transform: scaleY(1); }
  .invoice-note { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .fields { grid-template-columns: 1fr; }
  .modal__box { padding: 26px 20px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .hero__visual { aspect-ratio: 1 / 1; }
  .laptop { width: 92%; left: 0; top: 14%; }
  .phone--hero { width: 32%; }
  .printer { width: 26%; bottom: 6%; }
  .scanner { width: 20%; right: 28%; }
  .fcard { padding: 7px 10px 7px 7px; gap: 7px; border-radius: 11px; }
  .fcard b { font-size: .74rem; } .fcard small { font-size: .62rem; }
  .fcard__ic { width: 26px; height: 26px; border-radius: 8px; }
  .fcard__ic .icon { width: 14px; height: 14px; }
  .fcard--b { right: 0; } .fcard--c { left: 0; bottom: 36%; } .fcard--e { left: 18%; bottom: -3%; } .fcard--d { display: none; }
  .checks { grid-template-columns: 1fr; }
  .modules { gap: 12px; }
  .module { padding: 16px; }
  .module:nth-child(even) { transform: none; } .module:nth-child(even):hover { transform: translateY(-4px); }
  .modules__hub { display: none; }
  .features { grid-template-columns: 1fr; }
  .feature { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: start; }
  .feature__ic { margin: 0; grid-row: span 2; }
  .feature h3 { margin-bottom: 4px; }
  .steps__line { display: none; }
  .mobile__visual { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; place-items: stretch; }
  .mobile__visual .phone--big { grid-column: 1 / -1; justify-self: center; margin-bottom: 14px; }
  .mobile__visual .fcard { position: relative; inset: auto; animation: none; white-space: normal; }
  .phone--hero .ph-big { font-size: 11px; }
  .win__kpis b { font-size: .78rem; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .phone--big { width: 230px; }
  .biz, .benefits { grid-template-columns: 1fr; }
  .benefit:nth-child(n) { grid-column: auto; }
  .biz__art { height: 140px; }
  .plan { padding: 30px 22px; }
  .plan__price { font-size: 3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer__legal { flex-direction: column; text-align: center; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero .fcard { opacity: 1; }
  .js .reveal, .js .reveal-scale { opacity: 1; transform: none; filter: none; }
  .w__i, .js .ic-pop { opacity: 1 !important; transform: none !important; filter: none !important; scale: 1 !important; rotate: 0deg !important; }
  .js .ic-draw :is(path, circle, rect) { stroke-dashoffset: 0 !important; }
  .hero__visual { transform: none !important; }
}
