:root {
  --bg: #09090b;
  --surface: #111114;
  --surface-2: #18181c;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f4f5;
  --text-2: #c4c4cc;
  --muted: #8b8b95;
  --lime: #c6f432;
  --mint: #5eead4;
  --violet: #8b5cf6;
  --grad: linear-gradient(100deg, var(--lime) 0%, var(--mint) 45%, var(--violet) 100%);
  --radius: 22px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--lime); color: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.04; margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.grad {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--lime); margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 60ch; }
.note { color: var(--muted); font-size: .85rem; margin-top: 28px; }

/* Fondo animado */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .55;
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.blob--1 { width: 520px; height: 520px; background: var(--violet); top: -160px; right: -80px; animation: drift 18s ease-in-out infinite; }
.blob--2 { width: 420px; height: 420px; background: var(--lime); top: 120px; left: -160px; opacity: .18; animation: drift 22s ease-in-out infinite reverse; }
.blob--3 { width: 360px; height: 360px; background: var(--mint); top: 520px; right: 30%; opacity: .14; animation: drift 26s ease-in-out infinite; }
@keyframes drift { 33% { transform: translate(60px, 40px) scale(1.1); } 66% { transform: translate(-40px, 70px) scale(.95); } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--text); color: var(--bg); font-weight: 600; font-size: 1rem; font-family: inherit;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--glow { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 0 rgba(198, 244, 50, .5), 0 10px 40px -10px rgba(198, 244, 50, .6); }
.btn--glow:hover { box-shadow: 0 0 0 6px rgba(198, 244, 50, .15), 0 14px 50px -10px rgba(198, 244, 50, .8); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--small { padding: 10px 20px; font-size: .92rem; }
.btn--full { width: 100%; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.04em; }
.logo__mark { width: 28px; height: 28px; border-radius: 8px; background: var(--lime); position: relative; flex-shrink: 0; }
.logo__mark::before { content: ""; position: absolute; left: 9px; top: 7px; width: 4px; height: 14px; background: var(--bg); border-radius: 1px; }
.logo__mark::after { content: ""; position: absolute; left: 16px; top: 15px; width: 6px; height: 6px; background: var(--bg); border-radius: 50%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(9, 9, 11, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav__links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--text-2); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links .btn { background: var(--lime); border-color: var(--lime); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.lang button { border: 0; background: none; color: var(--muted); font: 600 .8rem var(--font-body); padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 6px 0; transition: transform .25s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: 56px 0 90px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: .88rem; color: var(--text-2); margin-bottom: 28px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198, 244, 50, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(198, 244, 50, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 244, 50, 0); } }
.hero .lead { margin-top: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__demo { margin: 14px 0 0; color: var(--text-2); font-size: .88rem; }
.hero__demo b { color: var(--text); font-weight: 600; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 30px 0 0; color: var(--text-2); font-size: .93rem; }
.hero__checks li::before { content: "✓"; color: var(--lime); font-weight: 700; margin-right: 8px; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: rgba(255, 255, 255, .015); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--text-2); padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; font-size: 1rem; color: var(--lime); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Secciones */
.section { padding: 120px 0; }
.section__head { max-width: 780px; margin-bottom: 60px; }
.section__head .lead { margin-top: 20px; }

/* Efecto foco que sigue al ratón */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(198, 244, 50, .09), transparent 45%);
}
.spot:hover::before { opacity: 1; }

/* Bento de servicios */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .3s;
}
.tile:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tile p { color: var(--text-2); }
.tile__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--lime); margin-bottom: 8px; }
.tile__icon svg { width: 24px; height: 24px; }
.tile__badge { position: absolute; top: 24px; right: 24px; font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: var(--lime); color: var(--bg); }
.tile__big { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.tile__big span { opacity: .4; margin: 0 4px; }
.chips { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.chips li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255, 255, 255, .03); }

/* Proceso */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: rgba(255, 255, 255, .02); }
.steps__n { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; display: block; margin-bottom: 22px; color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--text-2); font-size: .97rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq__list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; background: rgba(255, 255, 255, .02); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(198, 244, 50, .35); background: rgba(198, 244, 50, .03); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; color: var(--lime); transition: transform .25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--text-2); }

/* Contacto */
.contact {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start;
  padding: 56px; border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(80% 100% at 0% 0%, rgba(139, 92, 246, .22), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(198, 244, 50, .1), transparent 60%), var(--surface);
}
.contact .lead { margin-top: 20px; }
.contact__info { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; }
.contact__info span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.contact__info a { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; text-decoration: none; }
.contact__info a:hover { color: var(--lime); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 500; font-size: .9rem; color: var(--text-2); }
.form small { color: var(--muted); font-weight: 400; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  font: inherit; font-size: 1rem; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .35); color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form ::placeholder { color: #5f5f68; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(198, 244, 50, .15); }
.form .is-invalid { border-color: #f87171 !important; }
.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { font-weight: 500; font-size: .9rem; color: var(--text-2); margin-bottom: 10px; padding: 0; }
.form__chips label { display: block; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { display: inline-block; padding: 9px 17px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); cursor: pointer; font-size: .9rem; transition: all .2s; }
.form__chips input:checked + span { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.form__chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(198, 244, 50, .4); }
.form__legal { display: flex !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
.form__legal input { margin-top: 5px; accent-color: var(--lime); }
.form__legal a { color: var(--lime); }
.form__status { font-size: .95rem; min-height: 1.2em; }
.form__status.ok { color: var(--lime); font-weight: 600; }
.form__status.err { color: #f87171; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0; font-size: .92rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.footer .logo { color: var(--text); }
.footer nav { display: flex; gap: 22px; margin-left: auto; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer__copy { width: 100%; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; }

/* Sobre mí */
.about { display: grid; grid-template-columns: minmax(0, 860px); justify-content: center; }
.about__copy { display: flex; flex-direction: column; gap: 18px; }
.about__copy .eyebrow { margin-bottom: 0; }
.about__copy > p:not(.eyebrow):not(.lead) { color: var(--text-2); max-width: 60ch; }
.about__facts { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.about__facts li { display: flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: .9rem; }
.about .hero__cta { margin-top: 10px; }
.wave { display: inline-block; animation: wave 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }

/* Formulario: campo trampa anti-spam y estado de envío */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form button[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wa-float svg { width: 60px; height: 60px; padding: 14px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .6); transition: transform .2s; animation: waPulse 2.8s infinite; }
.wa-float:hover svg { transform: scale(1.08); }
.wa-float__label { background: var(--text); color: var(--bg); font-weight: 600; font-size: .9rem; padding: 9px 14px; border-radius: 12px; opacity: 0; transform: translateX(10px); transition: all .25s; pointer-events: none; }
.wa-float:hover .wa-float__label, .wa-float.is-hinting .wa-float__label { opacity: 1; transform: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55), 0 12px 30px -6px rgba(37, 211, 102, .6); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 12px 30px -6px rgba(37, 211, 102, .6); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 12px 30px -6px rgba(37, 211, 102, .6); } }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
/* ===================== IAURON ERP ===================== */
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 500; }
.muted { color: var(--muted); }
.logo__erp { font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: .12em; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--lime); margin-left: 2px; align-self: center; }
.eyebrow--muted { color: var(--muted); }
.section--tight { padding: 70px 0; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }

/* Barra de progreso de lectura */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); }

/* Titular que aparece palabra a palabra */
.split .w { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(6px); animation: wordIn .8s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 55ms + 100ms); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }

/* Hero: maqueta del ERP */
.hero__visual { position: relative; perspective: 1400px; padding: 30px 0 40px; }
.app {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(139, 92, 246, .45);
  transform: rotateY(-10deg) rotateX(4deg); transition: transform .25s ease-out;
  animation: appIn 1.1s cubic-bezier(.2, .8, .2, 1) .2s backwards;
}
@keyframes appIn { from { opacity: 0; transform: rotateY(-25deg) rotateX(12deg) translateY(40px); } }
.app__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.app__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a31; }
.app__bar span { margin-left: 12px; font-size: .75rem; color: var(--muted); background: var(--surface-2); padding: 3px 12px; border-radius: 99px; }
.app__body { display: flex; }
.app__side { width: 54px; border-right: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; background: rgba(0, 0, 0, .2); }
.app__logo { width: 26px; height: 26px; border-radius: 8px; background: var(--lime); margin-bottom: 8px; }
.app__side span { width: 20px; height: 6px; border-radius: 3px; background: #26262d; }
.app__side span.on { background: var(--lime); }
.app__main { flex: 1; padding: 18px; display: grid; gap: 14px; min-width: 0; }
.app__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.app__kpis div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px; display: grid; gap: 2px; min-width: 0; }
.app__kpis small { font-size: .66rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__kpis b { font-family: var(--font-display); font-size: 1.25rem; white-space: nowrap; }
.app__kpis em { font-style: normal; font-size: .68rem; color: var(--muted); }
.app__kpis em.up { color: var(--lime); font-weight: 600; }
.app__chart { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: rgba(255, 255, 255, .015); }
.app__legend { display: flex; gap: 14px; font-size: .68rem; color: var(--muted); margin-bottom: 8px; }
.app__legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.app__legend .in::before { background: var(--lime); }
.app__legend .out::before { background: var(--violet); }
.bars { height: 118px; display: flex; align-items: flex-end; gap: 7px; }
.bars i { flex: 1; height: 100%; position: relative; }
.bars i::before, .bars i::after { content: ""; position: absolute; bottom: 0; width: 46%; border-radius: 4px 4px 0 0; transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 70ms + 500ms); }
.bars i::before { left: 0; height: var(--a); background: linear-gradient(to top, rgba(198, 244, 50, .25), var(--lime)); }
.bars i::after { right: 0; height: var(--b); background: linear-gradient(to top, rgba(139, 92, 246, .2), rgba(139, 92, 246, .75)); }
@keyframes grow { from { transform: scaleY(0); } }

.invoice {
  position: absolute; right: -26px; bottom: -6px; width: 236px; padding: 16px; border-radius: 16px;
  background: #f7f7f2; color: #17171a; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9);
  font-size: .76rem; display: grid; gap: 6px;
  animation: popIn .8s cubic-bezier(.2, .9, .3, 1.3) 1.1s backwards, bob 7s ease-in-out 2s infinite;
}
.invoice__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.invoice__head b { font-family: var(--font-display); font-size: 1.05rem; }
.invoice__head span { font-family: "JetBrains Mono", monospace; font-size: .68rem; color: #6b6b73; }
.invoice__row { display: flex; justify-content: space-between; color: #4b4b52; }
.invoice__total { color: #17171a; font-weight: 700; border-top: 1px solid #e2e2da; padding-top: 6px; }
.invoice__tbai { display: flex; gap: 10px; align-items: center; margin-top: 6px; padding-top: 10px; border-top: 1px dashed #d4d4cc; }
.invoice__tbai .qr { width: 46px; height: 46px; color: #17171a; flex-shrink: 0; }
.invoice__tbai small { display: block; font-size: .62rem; color: #6b6b73; text-transform: uppercase; letter-spacing: .1em; }
.invoice__tbai b { font-size: .64rem; }
.invoice__tbai::after { content: ""; position: absolute; left: 16px; width: 46px; height: 2px; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: scan 2.4s ease-in-out 2s infinite; opacity: 0; }
@keyframes scan { 0% { opacity: 1; transform: translateY(-22px); } 50% { opacity: 1; transform: translateY(22px); } 100% { opacity: 0; transform: translateY(-22px); } }

.toast {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px;
  background: rgba(24, 24, 28, .88); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  font-size: .84rem; white-space: nowrap; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7);
}
.toast__ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--bg); font-weight: 800; font-size: .75rem; flex-shrink: 0; }
.toast--a { left: -30px; top: 6px; animation: popIn .7s cubic-bezier(.2, .9, .3, 1.3) 1.7s backwards, bob 6s ease-in-out 2.4s infinite; }
.toast--b { left: 10px; bottom: 6px; animation: popIn .7s cubic-bezier(.2, .9, .3, 1.3) 2.3s backwards, bob 5s ease-in-out 3s infinite reverse; }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.85); } }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Antes / después */
.swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.swap__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; background: rgba(255, 255, 255, .02); }
.swap__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.swap__col li { display: flex; gap: 12px; color: var(--text-2); }
.swap__col--before li { color: var(--muted); }
.swap__col--before li::before { content: "✕"; color: #f87171; font-weight: 700; flex-shrink: 0; }
.swap__col--after { border-color: rgba(198, 244, 50, .35); background: radial-gradient(120% 90% at 100% 0%, rgba(198, 244, 50, .1), transparent 60%), var(--surface); }
.swap__col--after li::before { content: "✓"; color: var(--lime); font-weight: 700; flex-shrink: 0; }
.swap__arrow { align-self: center; font-size: 2rem; color: var(--lime); animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

/* Pestañas de funciones */
.tabs { display: grid; gap: 28px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); width: fit-content; position: relative; }
.tabs__list button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer;
  padding: 11px 18px; border-radius: 999px; color: var(--text-2); font: 600 .93rem var(--font-body); transition: color .25s;
}
.tabs__list button:hover { color: var(--text); }
.tabs__list button[aria-selected="true"] { color: var(--bg); }
.tabs__list button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.tabs__ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .8rem; background: rgba(255, 255, 255, .07); }
.tabs__list button[aria-selected="true"] .tabs__ico { background: rgba(9, 9, 11, .15); }
.tabs__pill { position: absolute; z-index: 0; top: 0; left: 0; height: 0; border-radius: 999px; background: var(--lime); box-shadow: 0 8px 30px -8px rgba(198, 244, 50, .6); transition: transform .45s cubic-bezier(.3, 1.2, .4, 1), width .45s cubic-bezier(.3, 1.2, .4, 1); }
.panel { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.35fr); gap: 44px; align-items: center; padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(80% 100% at 100% 0%, rgba(139, 92, 246, .14), transparent 60%), rgba(255, 255, 255, .02); }
.panel[hidden] { display: none; }
.panel:not([hidden]) { animation: panelIn .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-14px); } }
.panel__copy { display: grid; gap: 16px; }
.panel__copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.panel__copy p { color: var(--text-2); }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--text-2); font-size: .97rem; }
.checks li::before { content: "✓"; color: var(--lime); font-weight: 700; flex-shrink: 0; }

.tag { font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: var(--text-2); justify-self: end; }
.tag--g { background: rgba(198, 244, 50, .14); color: var(--lime); }
.tag--y { background: rgba(250, 204, 21, .14); color: #fde047; }
.tag--v { background: rgba(139, 92, 246, .2); color: #c4b5fd; }


@keyframes growX { from { transform: scaleX(0); } }


/* TicketBAI: flujo */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.flow::before, .flow::after { content: ""; position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; }
.flow::before { background: var(--line-2); }
.flow::after { background: var(--grad); transform-origin: left; transform: scaleX(var(--p)); box-shadow: 0 0 12px rgba(198, 244, 50, .5); }
.flow__step { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 0 8px; }
.flow__dot { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; background: var(--surface); border: 2px solid var(--line-2); color: var(--muted); transition: all .5s cubic-bezier(.3, 1.4, .5, 1); margin-bottom: 10px; }
.flow__step.is-on .flow__dot { background: var(--lime); border-color: var(--lime); color: var(--bg); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(198, 244, 50, .12), 0 10px 40px -6px rgba(198, 244, 50, .6); }
.flow__step p { color: var(--text-2); font-size: .95rem; max-width: 26ch; }

/* Libro diario */
.ledger { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.ledger__copy { display: grid; gap: 20px; }
.ledger__copy .eyebrow { margin: 0; }
.journal { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 10px; font-size: .9rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 70px -30px rgba(198, 244, 50, .35); }
.journal__head, .journal__row { display: grid; grid-template-columns: 1fr 100px 100px; gap: 10px; padding: 12px 14px; }
.journal__head { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); border-bottom: 1px solid var(--line); }
.journal__row { border-radius: 10px; color: var(--text-2); }
.journal__row > span:not(:first-child) { text-align: right; font-family: "JetBrains Mono", monospace; color: var(--text); }
.journal__row b { color: var(--lime); margin-right: 6px; }
.journal__row--sep { border-top: 1px dashed var(--line-2); border-radius: 0; margin-top: 4px; padding-top: 16px; }
.journal__foot { display: flex; gap: 10px; align-items: center; padding: 14px; margin-top: 6px; border-radius: 12px; background: rgba(198, 244, 50, .08); color: var(--lime); font-weight: 600; font-size: .88rem; }
.journal__row, .journal__foot { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1), background .4s; }
.journal.is-visible .journal__row, .journal.is-visible .journal__foot { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 260ms + 200ms); }
.journal.is-visible .journal__row { animation: flash 1s ease calc(var(--i, 0) * 260ms + 300ms); }
@keyframes flash { 30% { background: rgba(198, 244, 50, .12); } }

/* Cifras */
.stats { padding: 20px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: rgba(255, 255, 255, .02); }
.stats__grid > div { padding: 40px 30px; display: grid; gap: 6px; border-right: 1px solid var(--line); }
.stats__grid > div:last-child { border-right: 0; }
.stats__grid b { font-family: var(--font-display); font-size: clamp(2.6rem, 4.5vw, 3.8rem); line-height: 1; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats__grid span { color: var(--text-2); font-size: .95rem; }

/* Módulos: anillos */
.mods { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.mods__copy { display: grid; gap: 22px; justify-items: start; }
.mods__copy .eyebrow { margin: 0; }
.rings { display: grid; gap: 10px; }
.ring { border: 1px solid var(--line-2); border-radius: 22px; padding: 22px 26px; background: rgba(255, 255, 255, .02); display: grid; gap: 6px; transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), border-color .3s; }
.ring:hover { transform: translateX(-8px); border-color: var(--lime); }
.ring__t { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.ring__t::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: currentColor; }
.ring__d { color: var(--text-2); font-size: .95rem; }
.ring--4 { margin-inline: 0; border-style: dashed; }
.ring--4 .ring__t { color: #f0abfc; }
.ring--3 { margin-inline: 18px; }
.ring--3 .ring__t { color: var(--mint); }
.ring--2 { margin-inline: 36px; }
.ring--2 .ring__t { color: #c4b5fd; }
.ring--1 { margin-inline: 54px; background: var(--lime); border-color: var(--lime); color: var(--bg); box-shadow: 0 20px 60px -20px rgba(198, 244, 50, .55); }
.ring--1 .ring__d { color: rgba(9, 9, 11, .75); font-weight: 500; }
.ring--1:hover { transform: scale(1.02); }
.chips--tight { margin: 4px 0 0; padding: 0; }
.chips--tight li { font-size: .8rem; padding: 5px 11px; }

/* Bento de seguridad */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile--wide { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; column-gap: 26px; row-gap: 8px; align-items: center; background: radial-gradient(80% 120% at 100% 0%, rgba(139, 92, 246, .22), transparent 60%), var(--surface); }
.tile--wide .tile__icon { grid-row: span 2; margin: 0; width: 64px; height: 64px; }
.tile--wide .tile__icon svg { width: 30px; height: 30px; }
.backups { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 18px; }
.backups i { flex: 1; height: 34px; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); position: relative; overflow: hidden; }
.backups i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(198, 244, 50, .55), rgba(198, 244, 50, .15)); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 80ms + 200ms); }
.tile.is-visible .backups i::after { transform: none; }
.backups i:last-child::after { animation: blink 1.6s ease-in-out infinite 2s; }
@keyframes blink { 50% { opacity: .3; } }

/* También a medida */
.also { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 34px 38px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255, 255, 255, .02); }
.also .eyebrow { margin-bottom: 10px; }
.also h3 { font-size: 1.5rem; margin-bottom: 8px; }
.also p:not(.eyebrow) { color: var(--text-2); max-width: 54ch; }
.also__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Responsive */
@media (max-width: 1020px) {
  .hero__grid, .faq, .contact, .ledger, .mods { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 580px; width: 100%; margin: 10px auto 20px; }
  .app { transform: none; }
  .panel { grid-template-columns: 1fr; padding: 28px; }
  .tabs__list { border-radius: 22px; width: 100%; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow::before, .flow::after { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid > div:nth-child(2) { border-right: 0; }
  .stats__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact { padding: 40px; }
    .swap { grid-template-columns: 1fr; }
  .swap__arrow { transform: rotate(90deg); justify-self: center; animation: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__right { margin-left: auto; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; background: rgba(9, 9, 11, .97); backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links .btn { margin-top: 18px; }
  .hero { padding: 32px 0 60px; }
  .section { padding: 80px 0; }
  .section--tight { padding: 50px 0; }
  .app__side { display: none; }
  .app__kpis b { font-size: .95rem; }
  .app__kpis em { display: none; }
  .invoice { width: 190px; right: -6px; bottom: -40px; font-size: .68rem; padding: 12px; }
  .invoice__tbai .qr { width: 36px; height: 36px; }
  .toast { font-size: .74rem; padding: 8px 12px; }
  .toast--a { left: -4px; top: 0; }
  .toast--b { display: none; }
  .tabs__list { display: grid; grid-template-columns: 1fr 1fr; }
  .tabs__list button { padding: 10px 12px; font-size: .85rem; }
  .panel { padding: 18px; gap: 28px; border-radius: 22px; }
  .flow { grid-template-columns: 1fr; }
  .journal__head, .journal__row { grid-template-columns: 1fr 74px 74px; padding: 10px; font-size: .78rem; }
  .ring--3 { margin-inline: 8px; }
  .ring--2 { margin-inline: 16px; }
  .ring--1 { margin-inline: 24px; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .tile--wide .tile__icon { grid-row: auto; }
  .tile { padding: 28px 22px; }
  .steps, .form__row { grid-template-columns: 1fr; }
  .stats__grid > div { padding: 26px 20px; }
  .contact { padding: 26px 18px; border-radius: 24px; }
  .footer nav { margin-left: 0; }
  .marquee__track span { font-size: 1.25rem; }
  .also { padding: 26px 22px; }
  .wa-float { right: 14px; bottom: 14px; }
  .wa-float svg { width: 54px; height: 54px; padding: 12px; }
  .wa-float__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .w, .journal__row, .journal__foot { opacity: 1; transform: none; filter: none; }
  .backups i::after { transform: none; }
}
.tile.reveal.is-visible:hover { transform: translateY(-4px); }
.stats__grid b span { font-size: inherit; color: inherit; }

/* Territorios disponibles */
.terr { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.terr li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 99px; border: 1px dashed var(--line-2); font-size: .85rem; color: var(--muted); }
.terr li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .6; }
.terr b { color: var(--text-2); font-weight: 600; }
.terr span { font-size: .75rem; }
.terr--on { border-style: solid !important; border-color: rgba(198, 244, 50, .4) !important; background: rgba(198, 244, 50, .06); }
.terr--on::before { background: var(--lime) !important; opacity: 1 !important; box-shadow: 0 0 8px var(--lime); }
.terr--on span { color: var(--lime); }

/* Capturas reales del ERP */
.shot { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0b0d; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 60px -25px rgba(139, 92, 246, .5); cursor: zoom-in; transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.shot img { width: 100%; height: auto; display: block; }
.shot:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 70px -20px rgba(198, 244, 50, .35); }
.shot::after { content: "⤢"; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(9, 9, 11, .8); border: 1px solid var(--line-2); color: var(--text); font-size: .95rem; opacity: 0; transform: scale(.8); transition: all .25s; }
.shot:hover::after { opacity: 1; transform: none; }
.panel:not([hidden]) .shot { animation: shotIn .7s cubic-bezier(.2, .8, .2, 1) .08s backwards; }
@keyframes shotIn { from { opacity: 0; transform: translateX(30px) scale(.97); } }
.shot figcaption { padding: 14px 16px; font-size: .9rem; color: var(--text-2); border-top: 1px solid var(--line); background: var(--surface); }

/* Gremios */
.sector { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.4fr); gap: 40px; align-items: center; padding: 34px; border-radius: 28px; border: 1px solid rgba(198, 244, 50, .3); background: radial-gradient(70% 100% at 0% 0%, rgba(198, 244, 50, .1), transparent 60%), var(--surface); }
.sector__copy { display: grid; gap: 16px; align-content: start; }
.sector__copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.sector__copy .btn { justify-self: start; margin-top: 4px; }
.sector__tag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 12px; border-radius: 99px; background: rgba(198, 244, 50, .12); color: var(--lime); font-size: .8rem; font-weight: 600; }
.trades { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 18px; }
.trade { border: 1px solid var(--line); border-radius: 20px; padding: 24px 20px; background: rgba(255, 255, 255, .02); display: grid; gap: 8px; align-content: start; transition: border-color .3s, transform .3s; text-decoration: none; }
.trade:hover { border-color: var(--line-2); transform: translateY(-4px); }
.trade h3 { font-size: 1.08rem; }
.trade p { color: var(--muted); font-size: .9rem; }
.trade__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: var(--mint); font-size: 1.1rem; margin-bottom: 6px; }
.trade--cta { border-style: dashed; border-color: rgba(198, 244, 50, .4); }
.trade--cta .trade__ico { background: var(--lime); color: var(--bg); border-color: var(--lime); font-weight: 800; }
.trade--cta p { color: var(--lime); }
.trade--live { border-color: rgba(198, 244, 50, .35); }
.trade--live .trade__demo { color: var(--lime); font-weight: 600; }
.trade.reveal.is-visible:hover { transform: translateY(-4px); }
.extras { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 30px; color: var(--text-2); font-weight: 500; }
.extras .chips { margin: 0; padding: 0; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }

/* Visor de capturas */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1500px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 5, 7, .85); backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0, 0, 0, .8); }
.lightbox[open] img { animation: popIn .35s cubic-bezier(.2, .9, .3, 1.2); }
.lightbox__close { position: absolute; top: -16px; right: -16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--text); color: var(--bg); font-size: 1.4rem; cursor: pointer; }

@media (max-width: 1020px) {
  .sector { grid-template-columns: 1fr; padding: 26px; }
  .trades { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .sector { padding: 18px; border-radius: 22px; }
  .trades { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .lightbox__close { top: 8px; right: 8px; }
}
.gallery .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
