@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/geist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Gestyo — hoja de estilos. Colores de marca del logo: pizarra #3E4E4E y menta #56D295. */

:root {
  --ink: #0B1514;
  --ink-2: #102220;
  --ink-3: #17302C;
  --ink-line: rgb(255 255 255 / .09);
  --ink-text: #E8F1ED;
  --ink-muted: #A7BCB5;

  --paper: #F3F6F4;
  --white: #FFFFFF;
  --text: #13201F;
  --muted: #536663;
  --line: #DCE5E0;
  --slate: #3E4E4E;

  --mint: #56D295;
  --mint-2: #9AF5C8;
  --mint-ink: #157048;
  --amber: #F5B841;

  --font: "Geist", "Helvetica Neue", system-ui, sans-serif;

  --t-base: clamp(1rem, .97rem + .15vw, 1.08rem);
  --t-lg: clamp(1.12rem, 1.05rem + .35vw, 1.3rem);
  --t-h3: clamp(1.25rem, 1.1rem + .6vw, 1.55rem);
  --t-h2: clamp(2rem, 1.45rem + 2.4vw, 3.4rem);
  --t-h1: clamp(2.7rem, 1.6rem + 4.8vw, 5.6rem);

  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: #9DB3AC transparent; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 var(--t-base)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .45em; font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: var(--t-h1); letter-spacing: -0.04em; line-height: .98; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.15; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.lede { font-size: var(--t-lg); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.dark .lede { color: var(--ink-muted); }
.mint { color: var(--mint); }
.synthetic { font-size: .78rem; color: var(--ink-muted); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--mint); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 1.6em; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s;
  isolation: isolate; overflow: hidden;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px color-mix(in srgb, var(--bg) 80%, transparent); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 28%, transparent); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-sm { min-height: 42px; padding: 0 1.15em; font-size: .93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-link { color: var(--mint-ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.text-link .ico { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease); }
.text-link:hover .ico, .tile:hover .text-link .ico { transform: translateX(4px); }
.dark .text-link, .tile .text-link { color: var(--mint); }

/* ---------- Cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: 14px; transition: transform .45s var(--ease); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 10px 0 22px; border-radius: 999px;
  background: rgb(255 255 255 / .86); color: var(--text);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 12px 40px -18px rgb(0 0 0 / .45);
  transition: background-color .3s;
}
.site-header.is-scrolled .header-inner { background: rgb(255 255 255 / .96); }
.site-header.is-hidden { transform: translateY(-110%); }
.brand { display: block; }
.brand img { width: 136px; height: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 500; font-size: .95rem; color: var(--muted); transition: color .2s, background-color .2s;
}
.nav-list a:not(.btn):hover, .nav-list a[aria-current="page"] { color: var(--text); background: var(--paper); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }
@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), background-color .2s; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-list {
    position: fixed; left: var(--gutter); right: var(--gutter); top: 90px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: var(--r-lg);
    background: var(--white); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .5);
    opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-list.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-list a:not(.btn) { padding: 14px; font-size: 1.1rem; color: var(--text); }
  .nav-cta { margin: 8px 0 0; } .nav-cta .btn { width: 100%; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section-sm { padding-block: clamp(56px, 7vw, 96px); position: relative; }
.dark { background: var(--ink); color: var(--ink-text); }
.white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.pt-0 { padding-top: 0; }

/* Fondo de brillo y cuadrícula para zonas oscuras */
.glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(38% 34% at 70% 30%, rgb(86 210 149 / .30), transparent 70%),
    radial-gradient(30% 30% at 15% 80%, rgb(86 210 149 / .12), transparent 70%),
    radial-gradient(25% 25% at 95% 90%, rgb(245 184 65 / .10), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%);
}
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.glow canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.dark > :not(.glow) { position: relative; z-index: 1; }

/* ---------- Hero portada ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { margin-bottom: 2em; font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--ink-muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { color: var(--mint); width: 18px; height: 18px; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.word > span { display: inline-block; }
.js .word > span { transform: translateY(110%); }
.js.is-loaded .word > span { transform: none; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js .rise { opacity: 0; transform: translateY(18px); }
.js.is-loaded .rise { opacity: 1; transform: none; transition: opacity .9s var(--ease) .45s, transform .9s var(--ease) .45s; }

/* Escaparate de producto */
.stage { position: relative; height: 560px; perspective: 1400px; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.panel {
  position: absolute; border-radius: var(--r-lg);
  background: rgb(16 34 32 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 40px 80px -30px rgb(0 0 0 / .7);
  color: var(--ink-text);
}
.js .panel { opacity: 0; translate: 0 30px; }
.js.is-loaded .panel { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease) .4s, translate 1s var(--ease) .4s; }
.js.is-loaded .panel:nth-child(2) { transition-delay: .55s; }
.js.is-loaded .panel:nth-child(3) { transition-delay: .7s; }
.js.is-loaded .panel:nth-child(4) { transition-delay: .85s; }

.invoice {
  left: 0; top: 30px; width: 300px; padding: 22px 22px 18px; transform: translateZ(40px) rotate(-3deg);
  background: #FBFCFB; color: #1d2b29; box-shadow: 0 50px 90px -30px rgb(0 0 0 / .8); overflow: hidden;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.inv-head strong { font-size: 1.3rem; letter-spacing: -0.03em; }
.inv-head span { font-size: .78rem; color: #55655f; text-align: right; line-height: 1.35; }
.inv-meta { display: grid; gap: 4px; font-size: .82rem; color: #3a4744; }
.inv-lines { display: grid; gap: 8px; margin: 14px 0; }
.inv-lines i { display: block; height: 7px; border-radius: 4px; background: #E5ECE8; }
.inv-lines i:nth-child(2) { width: 80%; } .inv-lines i:nth-child(3) { width: 62%; } .inv-lines i:nth-child(4) { width: 72%; }
.inv-total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px dashed #cfdad5; font-weight: 700; }
.inv-field { border-radius: 4px; padding: 0 3px; margin: 0 -3px; transition: background-color .3s, box-shadow .3s; }
.inv-field.is-hit { background: rgb(86 210 149 / .25); box-shadow: 0 0 0 3px rgb(86 210 149 / .2); }
.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 70px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgb(86 210 149 / .28) 70%, var(--mint) 100%);
  border-bottom: 2px solid var(--mint); opacity: 0;
}
.scan.is-on { animation: scan 2.2s var(--ease) forwards; }
@keyframes scan { 0% { opacity: 0; transform: translateY(-70px); } 10% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(330px); } }

.extract { right: 0; top: 0; width: 290px; padding: 18px; transform: translateZ(90px); }
.panel-title { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-muted); margin-bottom: 12px; }
.panel-title .ico { width: 16px; height: 16px; color: var(--mint); }
.extract dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: .9rem; }
.extract dt { color: var(--ink-muted); }
.extract dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; opacity: .12; transition: opacity .35s; }
.extract dd.is-in { opacity: 1; }
.status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 12px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; background: rgb(245 184 65 / .14); color: var(--amber); transition: background-color .4s, color .4s;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.is-done { background: rgb(86 210 149 / .16); color: var(--mint); }

.chat { left: 40px; bottom: 0; width: 330px; padding: 16px; transform: translateZ(70px); }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.4; margin-bottom: 8px; }
.bubble.in { background: rgb(255 255 255 / .08); border-bottom-left-radius: 4px; }
.bubble.out { margin-left: auto; background: var(--mint); color: var(--ink); border-bottom-right-radius: 4px; font-weight: 500; }
.bubble[hidden] { display: none; }
.bubble.pop { animation: toastIn .5s var(--ease); }
.typing { display: flex; gap: 4px; width: max-content; padding: 13px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .5; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-3px); opacity: 1; } }

.toasts { right: -10px; bottom: 70px; width: 270px; display: grid; gap: 8px; transform: translateZ(120px); background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgb(23 48 44 / .94); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 20px 40px -20px #000; font-size: .88rem;
  animation: toastIn .6s var(--ease);
}
.toast b { display: block; font-weight: 600; }
.toast small { color: var(--ink-muted); }
.toast-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgb(86 210 149 / .16); color: var(--mint); flex: none; }
.toast-ico .ico { width: 16px; height: 16px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.stage-note { position: absolute; right: 0; bottom: -34px; margin: 0; }

@media (max-width: 1020px) {
  .hero { min-height: 0; padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; }
  .stage { height: 540px; max-width: 580px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .stage { height: 500px; }
  .invoice { width: 250px; top: 0; }
  .extract { width: 232px; top: 250px; right: 0; }
  .chat, .toasts { display: none; }
}

/* ---------- Cinta de herramientas ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--ink-line); padding: 24px 0; background: var(--ink); color: var(--ink-muted); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 1.05rem; font-weight: 500; }
.marquee .ico { color: var(--mint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Antes / después ---------- */
.compare { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgb(19 32 31 / .5); user-select: none; touch-action: pan-y; }
.compare-side { padding: clamp(22px, 4vw, 48px); }
.compare-after { position: absolute; inset: 0; background: var(--ink); color: var(--ink-text); clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 1.2em; }
.compare-tag { font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; letter-spacing: 0; }
.compare-before .compare-tag { background: #FDE8E2; color: #A23A22; }
.compare-after .compare-tag { background: rgb(86 210 149 / .16); color: var(--mint); }
.task-list { display: grid; gap: 10px; }
.task { display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.compare-after .task { background: rgb(255 255 255 / .05); }
.task .ico { width: 20px; height: 20px; color: #C0573C; }
.compare-after .task .ico { color: var(--mint); }
.task-time { font-variant-numeric: tabular-nums; font-weight: 600; color: #A23A22; white-space: nowrap; }
.compare-after .task-time { color: var(--mint); }
.compare-total { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 0 16px; font-weight: 700; font-size: 1.15rem; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 0; z-index: 3; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--mint); }
.compare-knob {
  position: absolute; top: 50%; left: 0; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mint); color: var(--ink); border: 0; cursor: ew-resize;
  box-shadow: 0 0 0 8px rgb(86 210 149 / .25), 0 10px 30px -8px rgb(0 0 0 / .5);
}
.compare-knob .ico { width: 26px; height: 26px; }
.compare-hint { text-align: center; margin-top: 16px; color: var(--muted); font-size: .92rem; }
@media (max-width: 560px) { .task { grid-template-columns: 20px 1fr; } .task-time { grid-column: 2; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  min-height: 340px; padding: 28px; border-radius: var(--r-xl); text-decoration: none;
  background: var(--ink-2); color: var(--ink-text); box-shadow: inset 0 0 0 1px var(--ink-line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(86 210 149 / .16), transparent 60%);
}
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgb(86 210 149 / .35), 0 30px 60px -30px #000; }
.tile:hover::before { opacity: 1; }
.tile h3 { margin-bottom: .3em; }
.tile p { color: var(--ink-muted); margin: 0; max-width: 42ch; }
.tile .text-link { margin-top: 14px; }
.tile-viz { flex: 1; display: grid; align-items: end; margin-top: 24px; min-height: 120px; }
.t-4 { grid-column: span 4; } .t-2 { grid-column: span 2; } .t-3 { grid-column: span 3; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-4, .t-2, .t-3 { grid-column: span 1; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }

.v-rows { display: grid; gap: 8px; }
.v-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; background: rgb(255 255 255 / .05); font-size: .88rem; }
.v-row b { font-weight: 600; display: block; } .v-row small { color: var(--ink-muted); }
.v-chip { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgb(86 210 149 / .16); color: var(--mint); white-space: nowrap; }
.v-chip.wait { background: rgb(245 184 65 / .14); color: var(--amber); }
.js .v-row { opacity: 0; transform: translateX(-14px); }
.in-view .v-row { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.in-view .v-row:nth-child(2) { transition-delay: .12s; } .in-view .v-row:nth-child(3) { transition-delay: .24s; }
.v-sign { width: 100%; height: 60px; }
.v-sign path { fill: none; stroke: var(--mint-ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; }
.in-view .v-sign path { transition: stroke-dashoffset 2.6s var(--ease) .3s; stroke-dashoffset: 0; }
.v-doc { padding: 18px; border-radius: 14px; background: #FBFCFB; color: #1d2b29; }
.v-doc strong { display: block; margin-bottom: 10px; letter-spacing: -0.02em; }
.v-doc i { display: block; height: 6px; border-radius: 3px; background: #E2EAE6; margin-bottom: 7px; }
.v-doc i:nth-of-type(2) { width: 70%; } .v-doc i:nth-of-type(3) { width: 85%; }
.v-doc footer { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid #dbe3df; margin-top: 10px; padding-top: 4px; font-size: .78rem; color: #55655f; }
.v-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; }
.v-bars span { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(var(--mint), rgb(86 210 149 / .3)); height: 4%; transition: height 1.2s var(--ease); }
.in-view .v-bars span { height: var(--h); }
.in-view .v-bars span:nth-child(2) { transition-delay: .06s; } .in-view .v-bars span:nth-child(3) { transition-delay: .12s; }
.in-view .v-bars span:nth-child(4) { transition-delay: .18s; } .in-view .v-bars span:nth-child(5) { transition-delay: .24s; }
.in-view .v-bars span:nth-child(6) { transition-delay: .3s; } .in-view .v-bars span:nth-child(7) { transition-delay: .36s; }
.v-meter { display: grid; gap: 7px; font-size: .86rem; }
.v-meter + .v-meter { margin-top: 14px; }
.v-meter header { display: flex; justify-content: space-between; color: var(--ink-muted); }
.v-meter header b { color: var(--ink-text); font-weight: 600; }
.v-meter div { height: 8px; border-radius: 4px; background: rgb(255 255 255 / .08); overflow: hidden; }
.v-meter div span { display: block; height: 100%; width: 100%; border-radius: 4px; background: var(--mint); transition: width 1.6s var(--ease) .2s; }
.in-view .v-meter div span { width: var(--w); }
.v-meter.low div span { background: var(--amber); }

/* ---------- Apps a medida ---------- */
.apps { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.devices { position: relative; height: 480px; }
.laptop { position: absolute; right: 0; top: 10px; width: 88%; }
.laptop-screen { aspect-ratio: 16 / 10; border-radius: 14px 14px 0 0; padding: 10px; background: #0E1A19; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.laptop-base { height: 14px; margin: 0 -5%; border-radius: 0 0 14px 14px; background: linear-gradient(#2B3B39, #1A2524); }
.phone { position: absolute; left: 0; bottom: 0; width: 34%; aspect-ratio: 9 / 19; border-radius: 30px; padding: 9px; background: #0E1A19; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .14), 0 40px 80px -20px #000; }
.app { height: 100%; border-radius: 8px; background: #F4F7F5; color: #13201F; overflow: hidden; display: grid; grid-template-columns: 20% 1fr; font-size: 11px; line-height: 1.3; }
.app-side { background: #13201F; padding: 12px 8px; display: grid; align-content: start; gap: 6px; }
.app-side i { display: block; height: 18px; border-radius: 5px; background: rgb(255 255 255 / .07); }
.app-side i:first-child { background: var(--mint); }
.app-main { padding: 12px; display: grid; gap: 8px; align-content: start; }
.app-main strong { font-size: 13px; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.app-kpis div { background: #fff; border-radius: 6px; padding: 8px; color: #536663; }
.app-kpis b { display: block; font-size: 16px; letter-spacing: -0.03em; color: #13201F; }
.app-table { background: #fff; border-radius: 6px; padding: 4px 8px; }
.app-table div { display: grid; grid-template-columns: 1.4fr 1fr .9fr; gap: 6px; padding: 5px 0; border-bottom: 1px solid #EDF2EF; }
.app-table div:last-child { border: 0; }
.app-table em { font-style: normal; color: var(--mint-ink); font-weight: 600; }
.app-table em.wait { color: #A06A00; }
.app-phone { height: 100%; border-radius: 22px; background: #F4F7F5; color: #13201F; padding: 26px 10px 10px; display: grid; gap: 7px; align-content: start; font-size: 11px; }
.app-phone strong { font-size: 15px; letter-spacing: -0.02em; margin-bottom: 2px; }
.app-phone .card-row { background: #fff; border-radius: 10px; padding: 9px; display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.app-phone .go { background: var(--mint); color: #0B1514; border-radius: 10px; padding: 10px; text-align: center; font-weight: 700; margin-top: 4px; }
.apps-list { display: grid; gap: 16px; margin: 26px 0 34px; }
.apps-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-muted); }
.apps-list .ico { color: var(--mint); margin-top: 3px; }
.apps-list b { color: var(--ink-text); font-weight: 600; }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr; } .devices { height: 400px; } }
@media (max-width: 520px) { .devices { height: 300px; } .app { font-size: 8px; } .app-phone { font-size: 8px; } .app-phone strong { font-size: 11px; } }

/* ---------- Proceso ---------- */
.process { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-head { position: sticky; top: 120px; }
.steps { display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px;
  border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .6s var(--ease);
}
.step-num { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; background: var(--paper); color: var(--muted); transition: background-color .5s, color .5s; }
.step.is-reached { box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgb(21 112 72 / .6); }
.step.is-reached .step-num { background: var(--mint); color: var(--ink); }
.step h3 { margin-top: 12px; }
.step ul { display: grid; gap: 6px; color: var(--muted); }
.step li { display: flex; gap: 10px; }
.step li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .65em; border-radius: 50%; background: var(--mint); }
.step .btn { margin-top: 18px; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process-head { position: static; } }
@media (max-width: 480px) { .step { grid-template-columns: 1fr; } }

/* ---------- Empezar ---------- */
.start-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.start { display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-xl); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.start p { color: var(--muted); flex: 1; margin: 0; }
.start .btn { align-self: flex-start; }
.start-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); color: var(--mint-ink); }
.start-ico .ico { width: 24px; height: 24px; }
.start.is-main { background: var(--ink); color: var(--ink-text); }
.start.is-main p { color: var(--ink-muted); }
.start.is-main .start-ico { background: rgb(86 210 149 / .14); color: var(--mint); }
.calc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.calc.is-open { grid-template-rows: 1fr; }
.calc-inner { overflow: hidden; }
.calc-frame { margin-top: 18px; border-radius: var(--r-xl); overflow: hidden; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.calc-frame iframe { display: block; width: 100%; height: min(900px, 85vh); border: 0; }
.calc-frame.is-inline { margin-top: 0; }
.calc-frame.is-inline iframe { height: 640px; }
@media (max-width: 900px) { .start-grid { grid-template-columns: 1fr; } }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r-xl); background: var(--white); box-shadow: 0 1px 0 var(--line); position: relative; }
.plan h2, .plan h3 { font-size: 1.5rem; margin-bottom: .3em; }
.plan-for { color: var(--muted); min-height: 3.2em; margin: 0; }
.plan-price { font-size: 2.7rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin: 22px 0 6px; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-vat { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 28px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; }
.plan li .ico { color: var(--mint-ink); width: 18px; height: 18px; margin-top: 3px; }
.plan .btn { width: 100%; }
.plan.is-featured { background: var(--ink); color: var(--ink-text); box-shadow: 0 40px 80px -40px rgb(21 112 72 / .8); }
.plan.is-featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(160deg, var(--mint), transparent 45%, rgb(86 210 149 / .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan.is-featured .plan-for, .plan.is-featured .plan-vat, .plan.is-featured .plan-price small { color: var(--ink-muted); }
.plan.is-featured li .ico { color: var(--mint); }
.plan-badge { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: .8rem; font-weight: 600; margin-bottom: 16px; }
.plan-trial { margin: -14px 0 18px; font-size: .9rem; color: var(--mint-ink); font-weight: 600; }
.plans-notes { margin-top: 22px; color: var(--muted); font-size: .92rem; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Preguntas ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 26px; cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; border-radius: var(--r-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313201F' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--mint); }
.faq-body { padding: 0 26px 24px; color: var(--muted); max-width: 70ch; }
.faq-body p:last-child { margin: 0; }

/* ---------- CTA final ---------- */
.final { overflow: hidden; }
.final-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-lines { display: grid; gap: 10px; margin-top: 30px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); text-decoration: none; font-weight: 600; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--ink-line); transition: background-color .3s, transform .4s var(--ease); }
.contact-lines a:hover { background: rgb(255 255 255 / .09); transform: translateX(4px); }
.contact-lines span { display: block; font-weight: 400; font-size: .86rem; color: var(--ink-muted); }
.contact-lines .ico { color: var(--mint); }
@media (max-width: 900px) { .final-grid { grid-template-columns: 1fr; } }

/* ---------- Formularios ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(22px, 3.4vw, 40px); border-radius: var(--r-xl); background: var(--white); color: var(--text); box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgb(0 0 0 / .6); }
.field { display: grid; gap: 6px; }
.is-wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .93rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--text); font: inherit; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #c3d1ca; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mint-ink); background: #fff; box-shadow: 0 0 0 4px rgb(86 210 149 / .25); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C4472E; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span { display: block; padding: 10px 14px; border-radius: 999px; font-size: .92rem; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .2s, color .2s, box-shadow .2s; }
.option input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.option input:focus-visible + span { outline: 2px solid var(--mint-ink); outline-offset: 2px; }
.option input:disabled + span { opacity: .4; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--mint-ink); flex: none; }
.form .btn { justify-self: start; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-ok { background: #DDF3E7; color: #14583A; }
.form-status.is-error { background: #FBE3DC; color: #8A2A16; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Páginas interiores ---------- */
.page-hero { padding: 170px 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.8rem); max-width: 16ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 920px) { .page-hero-grid { grid-template-columns: 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--ink-line); color: var(--ink-text); font-size: .92rem; }
.pill .ico { width: 16px; height: 16px; color: var(--mint); }

.mock { padding: 24px; border-radius: var(--r-xl); background: rgb(16 34 32 / .85); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 50px 100px -40px #000; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mock-head { margin: 0 0 16px; font-size: 1.05rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mock-grid span { aspect-ratio: 1; border-radius: 9px; background: rgb(255 255 255 / .06); display: grid; place-items: center; font-size: .82rem; color: var(--ink-muted); }
.mock-grid span.on { background: rgb(86 210 149 / .2); color: var(--mint); font-weight: 600; }
.mock-grid span.now { background: var(--mint); color: var(--ink); font-weight: 700; }
.mock .v-rows { margin-top: 14px; }

/* Catálogo */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.filter-label { margin: 0 6px 0 0; font-size: .9rem; color: var(--muted); min-width: 3.4em; }
.chip { border: 0; cursor: pointer; padding: 10px 16px; border-radius: 999px; background: var(--white); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); font: 500 .94rem var(--font); transition: background-color .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip-count { opacity: .55; margin-left: 5px; font-variant-numeric: tabular-nums; }
.catalog-count { margin: 26px 0 16px; color: var(--muted); font-size: .92rem; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.auto {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.auto:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -36px rgb(19 32 31 / .5); }
.auto[hidden] { display: none; }
.auto-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.auto-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--ink); color: var(--mint); transition: transform .5s var(--ease); }
.auto:hover .auto-ico { transform: rotate(-6deg) scale(1.06); }
.auto-ico .ico { width: 24px; height: 24px; }
.auto-trial { padding: 5px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: #DDF3E7; color: var(--mint-ink); }
.auto-cat { font-size: .84rem; color: var(--muted); margin: 6px 0 0; }
.auto h3 { font-size: 1.2rem; margin: 0; }
.auto p { color: var(--muted); font-size: .96rem; margin: 0; }
.auto .auto-desc { flex: 1; }
.level { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--slate); margin-top: 4px; }
.level-bars { display: inline-flex; gap: 3px; }
.level-bars i { width: 6px; height: 15px; border-radius: 3px; background: var(--line); }
.level[data-level="1"] .level-bars i:nth-child(-n+1), .level[data-level="2"] .level-bars i:nth-child(-n+2), .level[data-level="3"] .level-bars i:nth-child(-n+3) { background: var(--mint); }
.catalog-empty { padding: 40px; text-align: center; color: var(--muted); }
.catalog-empty[hidden] { display: none; }
.level-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.level-legend div { padding: 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.level-legend p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .level-legend { grid-template-columns: 1fr; } }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }

/* Bloques de texto con visual */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.split.is-flipped > :first-child { order: 2; }
.split p { color: var(--muted); }
.viz-box { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); background: var(--ink-2); color: var(--ink-text); box-shadow: 0 40px 80px -50px rgb(0 0 0 / .7); min-height: 280px; display: grid; align-content: center; }
.ticks { display: grid; gap: 10px; margin-top: 8px; }
.ticks li { display: flex; gap: 10px; }
.ticks .ico { color: var(--mint-ink); width: 20px; height: 20px; margin-top: 3px; }
.dark .ticks .ico { color: var(--mint); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.is-flipped > :first-child { order: 0; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { padding: clamp(24px, 3vw, 32px); border-radius: var(--r-xl); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.card .start-ico { margin-bottom: 18px; }
.card p { color: var(--muted); margin: 0; }
.dark .card { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--ink-line); }
.dark .card p { color: var(--ink-muted); }
.dark .card .start-ico { background: rgb(86 210 149 / .14); color: var(--mint); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: t; }
.timeline.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.timeline li { counter-increment: t; padding: 26px 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.timeline li::before { content: counter(t); display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px; background: var(--ink); color: var(--mint); font-weight: 700; }
.timeline h3 { font-size: 1.12rem; margin-bottom: .35em; }
.timeline p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 1000px) { .timeline, .timeline.is-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .timeline, .timeline.is-5 { grid-template-columns: 1fr; } }

/* Legal */
.prose { max-width: 70ch; }
.legal h2 { font-size: 1.7rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }

/* ---------- Pie ---------- */
.site-footer { background: var(--white); color: var(--muted); padding-top: clamp(64px, 8vw, 100px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; }
.footer-title { font-size: 1rem; letter-spacing: 0; color: var(--text); margin-bottom: 14px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a, .footer-links .link-btn { text-decoration: none; color: var(--muted); transition: color .2s; }
.footer-links a:hover, .footer-links .link-btn:hover { color: var(--mint-ink); }
.footer-big { font-size: clamp(5rem, 1rem + 19vw, 17rem); font-weight: 800; letter-spacing: -0.06em; line-height: .78; color: transparent; -webkit-text-stroke: 1px rgb(19 32 31 / .12); text-align: center; margin: 0 0 -.06em; user-select: none; }
.footer-legal { position: relative; background: var(--white); border-top: 1px solid var(--line); font-size: .9rem; }
.footer-legal-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 28px; }
.footer-legal p { margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a, .footer-legal .link-btn { color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookies ---------- */
.cookie { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto; display: grid; gap: 14px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--ink-2); color: var(--ink-text); box-shadow: inset 0 0 0 1px var(--ink-line), 0 30px 60px -20px #000; font-size: .9rem; animation: toastIn .6s var(--ease); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--ink-muted); }
.cookie .btn-ghost { color: var(--ink-text); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Apariciones al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-stagger].is-visible > *:nth-child(2) { transition-delay: .08s; }
.js [data-stagger].is-visible > *:nth-child(3) { transition-delay: .16s; }
.js [data-stagger].is-visible > *:nth-child(4) { transition-delay: .24s; }
.js [data-stagger].is-visible > *:nth-child(5) { transition-delay: .32s; }
.js [data-stagger].is-visible > *:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .word > span, .js .rise, .js .panel, .js [data-reveal], .js [data-stagger] > *, .js .v-row { transform: none; opacity: 1; translate: none; }
  .marquee-track { animation: none; }
}
.section-head.center .btn-row { justify-content: center; margin-top: 8px; }
.mock-meter { margin-top: 18px; }

/* ---------- Maquetas de apps a medida ---------- */
.mk { position: relative; color: #13201F; }
.mk-win { border-radius: 16px; overflow: hidden; background: #F4F7F5; box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 50px 100px -40px #000; }
.mk-titlebar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #E4EBE7; font-size: .8rem; color: #536663; }
.mk-titlebar i { width: 11px; height: 11px; border-radius: 50%; background: #C9D4CE; }
.mk-titlebar i:first-child { background: #F28B74; } .mk-titlebar i:nth-child(2) { background: #F5C451; } .mk-titlebar i:nth-child(3) { background: #6FD49E; }
.mk-titlebar span { margin-left: 10px; font-weight: 500; }
.mk-body { padding: 16px; display: grid; gap: 12px; font-size: .84rem; }
.mk-table-h { margin: 0; font-weight: 700; font-size: .88rem; }
.mk-go { background: var(--mint); color: var(--ink); border-radius: 10px; padding: 11px; text-align: center; font-weight: 700; font-size: .85rem; }
.mk .app-table { font-size: .8rem; }
.mk .app-kpis b { font-size: 1.05rem; }
.mk .app-kpis div { font-size: .76rem; }

.mk-albaran { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: center; color: var(--ink-text); }
.mk-phone { border-radius: 34px; padding: 10px; background: #0E1A19; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .14), 0 40px 80px -20px #000; }
.mk-phone-screen { border-radius: 26px; background: #F4F7F5; color: #13201F; padding: 26px 12px 14px; display: grid; gap: 8px; font-size: .8rem; }
.mk-bar { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.mk-bar b { font-size: 1rem; letter-spacing: -0.02em; } .mk-bar span { color: #536663; font-size: .75rem; }
.mk-field { background: #fff; border-radius: 10px; padding: 8px 10px; display: grid; gap: 2px; }
.mk-field small, .mk-sign small { color: #536663; font-size: .7rem; }
.mk-field span { font-weight: 600; }
.mk-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-sign { background: #fff; border-radius: 10px; padding: 8px 10px 2px; }
.mk-sign .v-sign { height: 54px; }
.mk-side { display: grid; gap: 8px; }
@media (max-width: 640px) { .mk-albaran { grid-template-columns: 1fr; } .mk-phone { max-width: 260px; margin-inline: auto; } }

.mk-plan { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; }
.mk-plan-svg { width: 100%; height: auto; background: #FBFCFB; padding: 12px; }
.plan-walls path { fill: none; stroke: #2B3B39; stroke-width: 6; stroke-linejoin: round; }
.plan-door path { fill: none; stroke: #9AABA6; stroke-width: 1.5; stroke-dasharray: 3 3; }
.plan-area { fill: rgb(86 210 149 / 0); stroke: none; transition: fill 1s var(--ease) 1.6s; }
.in-view .plan-area { fill: rgb(86 210 149 / .22); }
.plan-measure { fill: none; stroke: var(--mint-ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.in-view .plan-measure { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.plan-dots circle { fill: #fff; stroke: var(--mint-ink); stroke-width: 2.5; opacity: 0; transition: opacity .4s; }
.in-view .plan-dots circle { opacity: 1; transition-delay: 1.4s; }
.plan-tags rect { fill: var(--ink); } .plan-tags text { fill: var(--mint); font: 600 12px var(--font); text-anchor: middle; }
.plan-tags { opacity: 0; transition: opacity .5s 2s; } .in-view .plan-tags { opacity: 1; }
.mk-table { padding: 14px; display: grid; gap: 7px; align-content: start; font-size: .8rem; border-left: 1px solid #DCE5E0; }
.mk-table > div:not(.mk-go) { display: flex; justify-content: space-between; gap: 8px; padding: 7px 9px; background: #fff; border-radius: 8px; }
.mk-table .mk-go { margin-top: 6px; }
@media (max-width: 560px) { .mk-plan { grid-template-columns: 1fr; } .mk-table { border-left: 0; border-top: 1px solid #DCE5E0; } }

.mk-kpis div { background: #fff; }
.mk-progress { display: grid; gap: 6px; }
.mk-progress div { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; font-size: .76rem; color: #536663; font-weight: 600; }
.mk-progress i { display: block; height: 10px; border-radius: 5px; background: #E2EAE6; position: relative; overflow: hidden; }
.mk-progress i::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: 5px; background: linear-gradient(90deg, #2E9E6A, var(--mint)); transition: width 1.4s var(--ease); }
.in-view .mk-progress i::after { width: var(--w); }
.mk-pay em { color: #13201F; }

.mk-quote { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
.mk-price { display: grid; gap: 8px; align-content: center; padding: 14px; border-radius: 12px; background: var(--ink); color: var(--ink-text); }
.mk-price small { color: var(--ink-muted); }
.mk-price b { font-size: 2.2rem; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.mk-states { display: flex; flex-wrap: wrap; gap: 4px; }
.mk-states span { font-size: .7rem; padding: 3px 8px; border-radius: 999px; background: rgb(255 255 255 / .08); color: var(--ink-muted); }
.mk-states .on { background: rgb(86 210 149 / .16); color: var(--mint); }
.mk-states .now { background: var(--mint); color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .mk-quote { grid-template-columns: 1fr; } }

/* Escaparate con pestañas (portada) */
.showcase { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.show-tabs { display: grid; gap: 8px; margin: 28px 0 30px; }
.show-tab {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; text-align: left;
  width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; cursor: pointer; font: inherit;
  background: rgb(255 255 255 / .03); color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--ink-line);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.show-tab b { display: block; color: var(--ink-text); font-weight: 600; font-size: 1.02rem; }
.show-tab small { font-size: .88rem; }
.show-tab .start-ico { width: 44px; height: 44px; border-radius: 13px; background: rgb(255 255 255 / .06); color: var(--ink-muted); transition: background-color .3s, color .3s; }
.show-tab[aria-selected="true"] { background: rgb(86 210 149 / .08); box-shadow: inset 0 0 0 1px rgb(86 210 149 / .4); }
.show-tab[aria-selected="true"] .start-ico { background: var(--mint); color: var(--ink); }
.show-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--mint); }
.show-tab[aria-selected="true"].is-timing::after { width: 100%; transition: width var(--dur, 7s) linear; }
.show-panels { position: relative; }
.show-panel[hidden] { display: none; }
.show-panel { animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.show-note { margin-top: 14px; }
@media (max-width: 960px) { .showcase { grid-template-columns: 1fr; } }

/* Página de apps */
.app-block { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.app-block + .app-block { margin-top: clamp(80px, 11vw, 150px); }
.app-block.is-flipped > :first-child { order: 2; }
.app-sector { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .9rem; color: var(--mint); font-weight: 600; }
.app-sector .ico { width: 18px; height: 18px; }
.app-block .ticks { margin: 18px 0 0; }
.app-block .ticks li { color: var(--ink-muted); }
.app-block .ticks b { color: var(--ink-text); font-weight: 600; }
@media (max-width: 900px) { .app-block { grid-template-columns: 1fr; } .app-block.is-flipped > :first-child { order: 0; } }
.footer-legal p:first-child { display: block; }

/* ---------- Aviso legal y privacidad ---------- */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: 110px; padding: 20px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.legal-toc-title { margin: 0 0 10px; font-weight: 600; font-size: .9rem; }
.legal-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.legal-toc a { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: .94rem; transition: background-color .2s, color .2s; }
.legal-toc a:hover { background: var(--paper); color: var(--text); }
.legal-toc a.is-active { background: var(--ink); color: #fff; }
.legal { max-width: 78ch; }
.legal > section { scroll-margin-top: 110px; }
.legal > section + section { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.legal h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin: 0 0 .6em; }
.legal h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.legal p, .legal li, .legal td { color: var(--muted); }
.legal a { color: var(--mint-ink); text-underline-offset: 3px; }
.legal-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.legal-summary-grid > div { padding: 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.legal-summary-grid .start-ico { margin-bottom: 14px; }
.legal-summary-grid h3 { margin: 0 0 .3em; }
.legal-summary-grid p { margin: 0; }
.legal-card { padding: 20px 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); margin: 14px 0; }
.legal-card ul { display: grid; gap: 6px; }
.legal-card li { color: var(--text); }
.legal-card p:last-child { margin-bottom: 0; }
.legal-table-wrap { overflow-x: auto; margin: 14px 0 18px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.legal-table thead th { font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--paper); }
.legal-table tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
.legal-table tbody tr:last-child > * { border-bottom: 0; }
.legal-rights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; margin: 10px 0 18px; }
.legal-rights li { display: flex; gap: 10px; }
.legal-rights li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .62em; border-radius: 50%; background: var(--mint); }
.legal-rights b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .legal-summary-grid, .legal-rights { grid-template-columns: 1fr; } }
.legal .legal-card ul, .legal .legal-rights { list-style: none; padding-left: 0; margin-bottom: 0; }
.legal .legal-rights { margin-bottom: 18px; }
