/* Vertiq · landing pública. Colores y letra de vertiq/marca/MARCA.md */
:root {
  --tinta: #14161B;
  --tinta-2: #1D2027;
  --verde: #0E9F6E;
  --verde-l: #34D399;
  --fondo: #F3F4F2;
  --blanco: #FFFFFF;
  --texto: #14161B;
  --dim: #4A4F59;
  --mute: #7A7F88;
  --linea: rgba(20, 22, 27, .10);
  --linea-2: rgba(20, 22, 27, .18);
  --sora: 'Sora', system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--fondo); color: var(--texto); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }

h1, h2, h3 { font-family: var(--sora); font-weight: 600; letter-spacing: -.03em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; margin-top: 26px; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; margin-top: 18px; }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
em { font-style: normal; color: var(--verde); }
.dark em { color: var(--verde-l); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--dim); max-width: 560px; margin: 24px 0 0; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--verde); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--verde-l); }
.label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }

/* botones */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-family: var(--sora); font-weight: 500; font-size: 15px; letter-spacing: -.01em; transition: background .25s, color .25s, border-color .25s, transform .25s; white-space: nowrap; }
.btn .arr { width: 16px; height: 16px; transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-green { background: var(--verde); color: #fff; }
.btn-green:hover { background: #0B8A5F; }
.dark .btn-green { background: var(--verde-l); color: var(--tinta); }
.dark .btn-green:hover { background: #5EE0AE; }
.btn-ink { background: var(--tinta); color: #fff; }
.btn-ghost { border: 1px solid var(--linea-2); color: var(--texto); }
.btn-ghost:hover { border-color: var(--tinta); }
.btn-ghost-l { border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.btn-ghost-l:hover { border-color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav.scrolled { background: rgba(243, 244, 242, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea); }
.brand img { height: 30px; width: auto; }
.brand .logo-l { display: none; }
.nav.on-dark .brand .logo-d { display: none; }
.nav.on-dark .brand .logo-l { display: block; }
.nav.on-dark.scrolled { background: rgba(20, 22, 27, .82); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav.on-dark .nav-links { color: rgba(255, 255, 255, .6); }
.nav.on-dark .nav-links a:hover { color: #fff; }
.nav.on-dark .btn-ink { background: #fff; color: var(--tinta); }
h1, h2 { text-wrap: balance; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--dim); }
.nav-links a:hover { color: var(--texto); }

/* aparición */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.rv.in { opacity: 1; transform: none; }
.d2 { transition-delay: .08s; } .d3 { transition-delay: .16s; } .d4 { transition-delay: .24s; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .wi { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * 55ms); }
[data-split].in .wi { transform: none; }
html.no-js .rv, html.reduce .rv { opacity: 1; transform: none; }
html.reduce [data-split] .wi { transform: none; transition: none; }

/* portada */
.hero { padding: 140px 0 90px; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.card { background: var(--blanco); border: 1px solid var(--linea); border-radius: 22px; box-shadow: 0 30px 80px -40px rgba(20, 22, 27, .35); }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--linea); font-size: 14px; }
.card-head b { font-family: var(--sora); font-weight: 600; }
.live { font-family: var(--mono); font-size: 11px; color: var(--verde); display: inline-flex; align-items: center; gap: 7px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 0 rgba(14, 159, 110, .5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(14, 159, 110, .45); } 80%, 100% { box-shadow: 0 0 0 9px rgba(14, 159, 110, 0); } }

.flow { position: relative; height: 400px; margin: 0 8px; }
.flow svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow path { fill: none; stroke: var(--linea-2); stroke-width: 1.3; stroke-dasharray: 3 4; transition: stroke .4s; }
.flow path.live { stroke: var(--verde); stroke-dasharray: none; }
.pulse { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 5px rgba(14, 159, 110, .16); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 0; }
.node { position: absolute; transform: translate(-50%, -50%); min-width: 160px; padding: 10px 14px; border-radius: 12px; background: var(--fondo); border: 1px solid var(--linea); font-size: 13.5px; font-weight: 600; font-family: var(--sora); letter-spacing: -.01em; line-height: 1.25; transition: border-color .4s, box-shadow .4s, background .4s; z-index: 1; }
.node small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--mute); margin-top: 3px; letter-spacing: 0; }
.node.hit { border-color: var(--verde); background: #fff; box-shadow: 0 0 0 4px rgba(14, 159, 110, .12), 0 12px 30px -14px rgba(14, 159, 110, .6); }
.node.hit small { color: var(--verde); }
.node .tag { position: absolute; top: -9px; right: 10px; font-family: var(--mono); font-size: 10px; font-weight: 400; padding: 1px 8px; border-radius: 999px; background: var(--verde); color: #fff; letter-spacing: 0; }
.flow-log { border-top: 1px solid var(--linea); padding: 14px 20px; display: grid; gap: 7px; min-height: 96px; align-content: start; }
.flow-log div { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--mute); animation: logIn .45s ease; }
.flow-log b { color: var(--dim); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-log .hot { color: var(--verde); }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } }

/* escenas fijas */
.scene { position: relative; }
html.fx .scene { height: var(--len, 200vh); }
html.fx .scene > .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.scene > .pin { padding: 110px 0; }
html.fx .scene > .pin { padding: 72px 0 0; }
.dark { background: var(--tinta); color: #fff; }
.pad { padding: 130px 0; }
.pad.tight { padding: 40px 0 130px; }

/* frase que se ilumina */
.statement { font-family: var(--sora); font-weight: 500; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.16; letter-spacing: -.025em; max-width: 1080px; margin: 34px 0 0; }
.fill .fw { color: rgba(255, 255, 255, .16); transition: color .35s ease; }
.fill .fw.on { color: #fff; }
.fill em .fw.on { color: var(--verde-l); }
html:not(.fx) .fill .fw { color: #fff; }
html:not(.fx) .fill em .fw { color: var(--verde-l); }

/* números que corren */
.numgrid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 54px; border-top: 1px solid var(--linea); }
.nb { padding: 30px 26px 10px 0; transition: opacity .5s; }
.nb + .nb { padding-left: 26px; border-left: 1px solid var(--linea); }
html.fx .nb { opacity: .28; }
html.fx .nb.on { opacity: 1; }
.nb .n { font-family: var(--sora); font-weight: 600; font-size: clamp(46px, 5vw, 72px); line-height: .95; letter-spacing: -.04em; white-space: nowrap; }
.nb .n small { font-size: .32em; color: var(--mute); margin-left: 6px; letter-spacing: -.01em; font-weight: 500; }
.nb .line { height: 2px; background: var(--linea); margin-top: 24px; position: relative; border-radius: 2px; }
.nb .line i { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--verde); border-radius: 2px; }
html:not(.fx) .nb .line i { width: 100%; }
.nb p { margin: 16px 0 0; color: var(--dim); font-size: 15px; max-width: 230px; }

/* pista horizontal */
.hhead { margin-bottom: 40px; }
.htrack { display: flex; gap: 18px; flex-wrap: wrap; }
html.fx .htrack { flex-wrap: nowrap; width: max-content; will-change: transform; }
.hcard { flex: 1 1 280px; padding: 30px; border-radius: 22px; background: var(--blanco); border: 1px solid var(--linea); min-height: 320px; display: flex; flex-direction: column; transition: border-color .4s, box-shadow .4s; }
html.fx .hcard { flex: 0 0 auto; width: min(400px, 78vw); }
.hcard.on { border-color: rgba(14, 159, 110, .5); box-shadow: 0 24px 60px -34px rgba(14, 159, 110, .55); }
.hcard .num { font-family: var(--sora); font-weight: 600; font-size: 56px; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px var(--linea-2); transition: color .4s, -webkit-text-stroke-color .4s; }
.hcard.on .num { color: var(--verde); -webkit-text-stroke-color: var(--verde); }
.hcard .k { font-family: var(--mono); font-size: 11.5px; color: var(--verde); text-transform: uppercase; letter-spacing: .05em; margin-top: auto; padding-top: 30px; }
.hcard h3 { margin: 10px 0 10px; }
.hcard p { margin: 0; color: var(--dim); font-size: 15px; }
.hbar { height: 2px; background: var(--linea); margin-top: 34px; border-radius: 2px; display: none; }
.hbar i { display: block; height: 2px; width: 0; background: var(--verde); border-radius: 2px; }
.hcount { display: none; justify-content: space-between; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.hcount b { color: var(--texto); font-weight: 500; }
html.fx .hbar { display: block; }
html.fx .hcount { display: flex; }

/* panel que se asienta */
.st-title { text-align: center; margin-bottom: 36px; }
.st-title .eyebrow::before { display: none; }
.st-stage { perspective: 1600px; display: grid; place-items: center; }
.dash { width: min(1000px, 100%); background: var(--tinta); color: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 60px 120px -50px rgba(20, 22, 27, .7); transform-origin: 50% 0%; will-change: transform; }
.dash .label { color: rgba(255, 255, 255, .5); }
.dash-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.dash-top b { font-family: var(--sora); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tile { background: var(--tinta-2); border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 104px; }
.tile b { font-family: var(--sora); font-size: 34px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.tile.hi { border-color: rgba(52, 211, 153, .45); }
.tile.hi b { color: var(--verde-l); }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.box { background: var(--tinta-2); border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; padding: 16px; }
.box > .label { display: block; margin-bottom: 12px; }
.src { display: grid; grid-template-columns: 78px 1fr 26px; gap: 12px; align-items: center; font-size: 13px; padding: 6px 0; color: rgba(255, 255, 255, .8); }
.src b { text-align: right; font-family: var(--mono); font-weight: 400; }
.src .bar { height: 6px; background: rgba(255, 255, 255, .07); border-radius: 6px; overflow: hidden; }
.src .bar i { display: block; height: 100%; width: var(--w); background: var(--verde-l); border-radius: 6px; transform-origin: left; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
html.fx .settle .src .bar i { transform: scaleX(var(--k, 0)); transition: none; }
.conv { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.conv:last-child { border-bottom: 0; }
.conv small { display: block; color: rgba(255, 255, 255, .45); font-size: 11.5px; }
.av { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-family: var(--sora); font-size: 12px; font-weight: 600; }
.badge { font-family: var(--mono); font-size: 10.5px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .7); white-space: nowrap; }
.badge.g { background: rgba(52, 211, 153, .16); color: var(--verde-l); }
.st-cap { text-align: center; margin: 26px 0 0; color: var(--mute); font-size: 14px; }

/* cómo empezamos */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.split > div:first-child { position: sticky; top: 120px; }
.rail { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.ri { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 0 0 44px; position: relative; z-index: 1; }
.ri:last-of-type { padding-bottom: 0; }
.ri-n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--sora); font-weight: 600; background: var(--fondo); border: 1px solid var(--linea-2); color: var(--mute); transition: background .4s, color .4s, border-color .4s; }
.ri.lit .ri-n { background: var(--verde); border-color: var(--verde); color: #fff; }
.ri h3 { margin-top: 11px; }
.ri p { margin: 8px 0 0; color: var(--dim); }
.rail-bar { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--linea); z-index: 0; }
.rail-bar i { display: block; width: 100%; height: var(--p, 100%); background: var(--verde); }

/* qué no hacemos / quiénes somos */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card.plain { padding: 34px; box-shadow: none; }
.card.plain p { margin: 18px 0 0; font-size: 17px; color: var(--dim); }

/* contacto */
.cta { text-align: center; padding: 150px 0 140px; }
.cta .eyebrow::before { display: none; }
.cta h2 { max-width: 820px; margin-left: auto; margin-right: auto; }
.cta .lead { margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, .66); }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.cta-tel { margin: 22px 0 0; color: rgba(255, 255, 255, .55); font-size: 15px; }
.cta-tel a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }

.foot { background: var(--tinta); color: rgba(255, 255, 255, .5); font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.foot .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); }
.foot img { height: 26px; width: auto; margin-right: auto; }
.foot a:hover { color: #fff; }

@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 50px; }
  .split > div:first-child { position: static; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .numgrid { grid-template-columns: 1fr 1fr; }
  .nb:nth-child(3) { padding-left: 0; border-left: 0; }
  .nb:nth-child(n+3) { border-top: 1px solid var(--linea); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile:nth-child(n+4) { display: none; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 110px 0 60px; }
  .nb { padding: 22px 12px 8px 0; }
  .nb + .nb { padding-left: 12px; }
  .nb .n { font-size: 40px; }
  .nb p { font-size: 13.5px; }
  .numgrid { margin-top: 36px; }
  .node { min-width: 0; width: 152px; font-size: 12.5px; padding: 9px 11px; }
  .node small { font-size: 11px; }
  .flow { height: 380px; margin: 0 4px; }
  .flow-log div { grid-template-columns: 62px 1fr auto; font-size: 10.5px; }
  .flow-log { padding: 12px 14px; }
  .hcard { padding: 24px; min-height: 290px; }
  .hcard p { font-size: 14px; }
  .hhead { margin-bottom: 26px; }
  .dash { padding: 14px; }
  .dash-top { flex-direction: column; gap: 4px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(3) { display: none; }
  .tile:nth-child(5) { display: flex; }
  .tile { min-height: 84px; }
  .tile b { font-size: 28px; }
  .dash-row { grid-template-columns: 1fr; }
  .dash-row .box:last-child { display: none; }
  .st-title { margin-bottom: 24px; }
  .pad { padding: 90px 0; }
  .pad.tight { padding: 20px 0 90px; }
  .card.plain { padding: 26px; }
  .cta { padding: 110px 0; }
  .btn { height: 48px; padding: 0 20px; }
  .foot .wrap { gap: 10px 22px; }
  .foot img { width: 100%; max-width: 92px; margin-right: 0; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* pantallas bajas (portátil de 720 px): que el panel quepa entero en su escena fija */
@media (max-height: 800px) and (min-width: 641px) {
  .st-title { margin-bottom: 18px; }
  .st-title h2 { font-size: clamp(30px, 3.4vw, 44px); }
  .dash { padding: 16px; }
  .tile { min-height: 82px; }
  .tile b { font-size: 28px; }
  .src, .conv { padding: 4px 0; }
  .st-cap { margin-top: 12px; }
  .numgrid { margin-top: 36px; }
  .hhead { margin-bottom: 26px; }
  .hcard { min-height: 290px; }
}

/* contacto con formulario */
.cta.pad { text-align: left; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta .cta-copy .eyebrow::before { display: inline-block; }
.cta .cta-copy h2, .cta .cta-copy .lead { margin-left: 0; margin-right: 0; }
.cta .cta-row { justify-content: flex-start; margin-top: 14px; }
.cta-alt { margin: 40px 0 0; color: rgba(255, 255, 255, .55); font-size: 15px; }
.form { background: var(--tinta-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; padding: 30px; }
.form-t { display: block; font-family: var(--sora); font-weight: 600; font-size: 20px; letter-spacing: -.02em; margin-bottom: 20px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.f i { font-style: normal; color: rgba(255, 255, 255, .38); }
.f-full { grid-column: 1 / -1; }
.f input, .f textarea { font: inherit; font-size: 16px; color: #fff; background: var(--tinta); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; resize: vertical; }
.f input:focus, .f textarea:focus { border-color: var(--verde-l); box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }
.f.err input, .f.err textarea { border-color: #F87171; }
.f-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .62); cursor: pointer; }
.f-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--verde-l); }
.f-check a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.f-check.err span { color: #FCA5A5; }
.f-send { margin-top: 22px; border: 0; cursor: pointer; }
.f-send[disabled] { opacity: .6; cursor: wait; }
.f-msg { margin: 14px 0 0; font-size: 14.5px; min-height: 1em; color: rgba(255, 255, 255, .7); }
.f-msg.ok { color: var(--verde-l); }
.f-msg.ko { color: #FCA5A5; }
.form.sent .f-grid, .form.sent .f-check, .form.sent .f-send { display: none; }
.form.sent .f-msg { font-size: 17px; margin-top: 4px; }
@media (max-width: 1000px) {
  .cta-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 640px) {
  .f-grid { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .cta-alt { margin-top: 30px; }
}
