/* ==========================================================================
   ZOMAVIC Digital Solutions — sistema de diseño
   Concepto: "mapa de operación". Las líneas y nodos del logo se vuelven el
   lenguaje visual del sitio: cada color es un área del negocio que se conecta.
   Rojo = Ventas · Amarillo = Marketing · Azul = Operaciones · Verde = Finanzas
   ========================================================================== */

:root {
  /* Marca (tomados del logo) */
  --red: #F5141C;
  --yellow: #F8B800;
  --blue: #0068F0;
  --green: #00B048;
  --blue-deep: #0052C2;

  /* Neutros con sesgo azul */
  --night: #070E1C;
  --night-2: #0D1830;
  --night-3: #16233F;
  --night-line: #22314F;
  --on-night: #EEF3FB;
  --on-night-muted: #93A3BF;

  --paper: #F4F6FA;
  --white: #FFFFFF;
  --ink: #0A1428;
  --muted: #56637C;
  --line: #DCE3ED;
  --blue-soft: #E6EFFE;

  /* Tokens de bandas oscuras / tema */
  --hi: #FFFFFF;
  --tint: rgba(255,255,255,.04);
  --hdr: rgba(7, 14, 28, .82);
  --dot: rgba(147,163,191,.22);
  --glass: rgba(13, 24, 48, .7);

  /* Tipografía */
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Onest", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Escala */
  --t-hero: clamp(42px, 6vw, 82px);
  --t-h1: clamp(40px, 5.4vw, 72px);
  --t-h2: clamp(32px, 4.2vw, 54px);
  --t-h3: clamp(21px, 1.9vw, 25px);

  --maxw: 1200px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.04; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Etiquetas ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .node { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--blue); background: transparent; flex: none; }
.on-night .eyebrow, .eyebrow.light { color: var(--on-night-muted); }
.hl-red { color: var(--red); } .hl-yellow { color: var(--yellow); } .hl-blue { color: var(--blue); } .hl-green { color: var(--green); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-weight: 600; font-size: 15.5px; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 104, 240, .65); }
.btn:hover::after { transform: translateX(120%); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-light { --bg: #fff; --fg: #0A1428; }
.btn-light:hover { box-shadow: 0 14px 30px -12px rgba(255,255,255,.45); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-ghost-light { --bg: transparent; --fg: var(--on-night); border-color: var(--night-line); }
.btn-ghost-light:hover { border-color: var(--on-night); box-shadow: none; }
.btn-sm { padding: 11px 18px; font-size: 14.5px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blue);
}
.link span { transition: transform .3s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--hdr);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-bottom-color: var(--night-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; transition: height .35s var(--ease); }
.site-header.scrolled .nav { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-night); }
.brand img { width: 40px; height: 40px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: .03em; line-height: 1; display: block; }
.brand-sub { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-night-muted); display: block; margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.menu a {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--on-night-muted); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color .25s, background .25s;
}
.menu a:hover { color: var(--on-night); background: var(--tint); }
.menu a[aria-current="page"] { color: var(--on-night); }
.menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--yellow);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu .menu-cta { display: none; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--night-line);
  background: transparent; color: var(--on-night); cursor: pointer; place-items: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Secciones nocturnas (hero, bandas) ---------- */
.on-night { background: var(--night); color: var(--on-night); position: relative; isolation: isolate; }
.on-night p { color: var(--on-night-muted); }
.dots::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 25%, transparent 75%);
}
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.glow.g-blue { width: 520px; height: 520px; background: radial-gradient(circle, rgba(0,104,240,.55), transparent 70%); right: -120px; top: -80px; animation: drift 18s ease-in-out infinite alternate; }
.glow.g-red { width: 360px; height: 360px; background: radial-gradient(circle, rgba(245,20,28,.32), transparent 70%); left: -140px; bottom: -120px; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }

/* ---------- Hero de inicio ---------- */
.hero { padding-top: calc(76px + env(safe-area-inset-top, 0px)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 4vw, 56px); align-items: center; padding-block: clamp(28px, 6svh, 64px) clamp(40px, 8svh, 88px); }
.hero h1 { font-size: clamp(38px, min(5.3vw, 8.6svh), 80px); font-weight: 800; color: var(--hi); margin-top: 20px; }
.hero h1 .swash { position: relative; white-space: nowrap; color: var(--hi); }
.hero h1 .swash svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .34em; overflow: visible; }
.hero h1 .swash path { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s .9s var(--ease) forwards; }
.hero .lede { font-size: clamp(16.5px, 1.35vw, 19px); max-width: 52ch; margin-top: clamp(16px, 2.6svh, 26px); color: var(--on-night-muted); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.4svh, 34px); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: clamp(20px, 3.4svh, 36px); font-size: 14.5px; color: var(--on-night-muted); list-style: none; }
.hero-proof li { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof i { width: 9px; height: 9px; border-radius: 50%; flex: none; }

.split-in > * { animation: rise .9s var(--ease) both; }
.split-in > *:nth-child(2) { animation-delay: .08s; }
.split-in > *:nth-child(3) { animation-delay: .16s; }
.split-in > *:nth-child(4) { animation-delay: .24s; }
.split-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flow { to { stroke-dashoffset: -22; } }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* Antes / Después — demo interactiva del hero */
.ba { position: relative; min-width: 0; display: grid; gap: 12px; width: 100%; max-width: clamp(300px, calc((100svh - 370px) / .82), 500px); justify-self: center; }
.ba-win {
  position: relative; border-radius: 22px; overflow: hidden;
  background: rgba(13, 24, 48, .72); border: 1px solid var(--night-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.9);
}
.ba-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--night-line); font-family: var(--f-mono); font-size: 11.5px; color: var(--on-night-muted); }
.ba-bar .dots3 { display: flex; gap: 6px; } .ba-bar .dots3 i { width: 9px; height: 9px; border-radius: 50%; background: var(--night-3); }
.ba-state { margin-left: auto; position: relative; display: inline-grid; }
.ba-state span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; font-weight: 500; white-space: nowrap; transition: opacity .4s, transform .4s var(--ease); justify-self: end; }
.ba-state span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ba-state .s-b { color: #FF7377; background: rgba(245,20,28,.12); }
.ba-state .s-a { color: #4BE08F; background: rgba(0,176,72,.14); opacity: 0; transform: translateY(6px); }
.is-after .ba-state .s-b { opacity: 0; transform: translateY(-6px); }
.is-after .ba-state .s-a { opacity: 1; transform: none; }

.ba-stage { position: relative; aspect-ratio: 1 / .82; container-type: inline-size; overflow: hidden; }
.ba-stage::before { /* rejilla que aparece al ordenar */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .8s .3s;
  background-image: linear-gradient(rgba(147,163,191,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(147,163,191,.07) 1px, transparent 1px);
  background-size: 8.333% 8.333%;
}
.is-after .ba-stage::before { opacity: 1; }
.ba-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ba-lines path { fill: none; vector-effect: non-scaling-stroke; }
.ba-lines .mess { stroke: #FF5A5F; stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .55; transition: opacity .5s; animation: flow 2.4s linear infinite; }
.is-after .ba-lines .mess { opacity: 0; }
.ba-lines .link { stroke-width: 4; stroke-linecap: round; stroke-dasharray: 800; stroke-dashoffset: 800; transition: stroke-dashoffset 1.1s var(--ease); }
.is-after .ba-lines .link { stroke-dashoffset: 0; transition-delay: calc(.55s + var(--i) * .12s); }
.ba-lines .pulse { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 26; opacity: 0; transition: opacity .4s; animation: flowp 1.6s linear infinite; }
.is-after .ba-lines .pulse { opacity: .75; transition-delay: 1.6s; }
@keyframes flowp { to { stroke-dashoffset: -29; } }

.ba-hub {
  position: absolute; left: 50%; top: 50%; width: 19cqi; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: #fff; display: grid; place-items: center; z-index: 3;
  box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 0 50px rgba(0,104,240,.6);
  scale: 0; transition: scale .7s var(--ease) .35s;
}
.ba-hub img { width: 62%; height: auto; }
.ba-hub::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); animation: ripple 2.6s ease-out infinite; opacity: 0; }
.is-after .ba-hub { scale: 1; }
.is-after .ba-hub::after { opacity: 1; }
.ba-hub-label { position: absolute; left: 50%; top: calc(50% + 12.5cqi); translate: -50% 0; z-index: 3; font-family: var(--f-mono); font-size: max(9px, 2.1cqi); letter-spacing: .14em; color: var(--on-night); white-space: nowrap; opacity: 0; transition: opacity .5s .9s; background: var(--night-2); border: 1px solid var(--night-line); padding: 3px 8px; border-radius: 999px; }
.is-after .ba-hub-label { opacity: 1; }

.ba-item {
  position: absolute; width: 38%; height: 25%; z-index: 2;
  left: var(--bx); top: var(--by); rotate: var(--br);
  transition: left .9s var(--ease), top .9s var(--ease), rotate .9s var(--ease);
  transition-delay: calc(var(--i) * .06s);
}
.is-after .ba-item { left: var(--ax); top: var(--ay); rotate: 0deg; transition-delay: calc(.25s + var(--i) * .12s); }
.ba-item .f { position: absolute; inset: 0; border-radius: 14px; padding: 3cqi 3.6cqi; display: flex; flex-direction: column; justify-content: center; gap: .8cqi; transition: opacity .45s, scale .45s var(--ease); line-height: 1.25; overflow: hidden; }
.ba-item .fb { animation: wobble 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.5s); }
.ba-item .fa { opacity: 0; scale: .92; background: rgba(13, 24, 48, .95); border: 1px solid var(--night-line); color: #fff; }
.is-after .ba-item .fb { opacity: 0; scale: .9; animation-play-state: paused; }
.is-after .ba-item .fa { opacity: 1; scale: 1; transition-delay: calc(.55s + var(--i) * .12s); }
@keyframes wobble { 0%,100% { translate: 0 0; } 25% { translate: 1.5px -2px; } 50% { translate: -1px 1.5px; } 75% { translate: 2px 1px; } }

/* caras "antes" */
.fb .t { font-size: max(10.5px, 2.6cqi); font-weight: 600; }
.fb .s { font-size: max(9.5px, 2.1cqi); opacity: .75; }
.fb .warn { position: absolute; top: 2.2cqi; right: 2.2cqi; font-family: var(--f-mono); font-size: max(8.5px, 1.8cqi); padding: .4cqi 1.4cqi; border-radius: 999px; background: var(--red); color: #fff; font-weight: 500; }
.fb.file { background: #F3F6F4; color: #1E3A2A; border: 1px solid #CFE0D5; }
.fb.file .ic { width: 7cqi; height: 7cqi; border-radius: 1.6cqi; background: #1D7A45; color: #fff; display: grid; place-items: center; font: 700 max(10px, 3cqi)/1 var(--f-body); }
.fb.chat { background: #DCF8C6; color: #1F3B17; border-radius: 14px 14px 14px 3px; }
.fb.chat .s { font-family: var(--f-mono); text-align: right; }
.fb.note { background: #FFE27A; color: #4A3A00; border-radius: 3px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); font-family: "Caveat", "Comic Sans MS", cursive; }
.fb.note .t { font-size: max(15px, 4.2cqi); font-weight: 600; font-family: inherit; }
.fb.mail { background: #fff; color: #0A1428; border-left: 4px solid var(--red); }
.fb.mail .t { font-size: max(10px, 2.4cqi); }
.fb.paper { background: #FAFAF7; color: #3A3A3A; border: 1px dashed #BDBDBD; font-family: "Caveat", "Comic Sans MS", cursive; }
.fb.paper .t { font-size: max(15px, 4cqi); font-family: inherit; }
.fb.paper .s { font-family: var(--f-mono); }

/* caras "después" */
.fa .h { padding-right: 5cqi; display: flex; align-items: center; gap: 1.6cqi; font-family: var(--f-mono); font-size: max(8.5px, 1.9cqi); letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); }
.fa .h i { width: 2.6cqi; height: 2.6cqi; min-width: 9px; min-height: 9px; border-radius: 50%; border: 2.5px solid var(--c); flex: none; }
.fa .v { font-family: var(--f-display); font-weight: 700; font-size: max(14px, 4.2cqi); letter-spacing: -.02em; color: var(--hi); font-variant-numeric: tabular-nums; }
.fa .v em { font-style: normal; font-size: .6em; color: #4BE08F; margin-left: 4px; }
.fa .s { font-size: max(9.5px, 2cqi); color: var(--on-night-muted); }
.fa .ok { position: absolute; top: 2.4cqi; right: 2.4cqi; width: 4.2cqi; height: 4.2cqi; min-width: 15px; min-height: 15px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: #fff; }
.fa .mini { display: flex; align-items: flex-end; gap: .8cqi; height: 4cqi; margin-top: .4cqi; }
.fa .mini b { flex: 1; border-radius: 2px; background: var(--blue); height: var(--h); }

.ba-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--night-line); }
.ba-m { padding: 12px 14px; display: grid; gap: 2px; min-width: 0; }
.ba-m + .ba-m { border-left: 1px solid var(--night-line); }
.ba-m small { font-size: 11px; color: var(--on-night-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ba-m .sw { display: grid; }
.ba-m .sw b { grid-area: 1 / 1; font-family: var(--f-display); font-size: 17px; font-weight: 700; transition: opacity .4s, transform .4s var(--ease); white-space: nowrap; }
.ba-m .sw .vb { color: #FF7377; }
.ba-m .sw .va { color: #4BE08F; opacity: 0; transform: translateY(8px); }
.is-after .ba-m .sw .vb { opacity: 0; transform: translateY(-8px); }
.is-after .ba-m .sw .va { opacity: 1; transform: none; transition-delay: 1.4s; }
.ba-note { position: absolute; right: 14px; bottom: 10px; z-index: 4; font-family: var(--f-mono); font-size: 10px; color: var(--on-night-muted); opacity: .7; }

/* controles */
.ba-ctrl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ba-toggle { position: relative; display: inline-grid; grid-template-columns: auto auto; padding: 5px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--night-line); }
.ba-toggle button {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; font: 600 14.5px/1 var(--f-body); color: var(--on-night-muted);
  transition: color .3s; white-space: nowrap;
}
.ba-toggle button[aria-pressed="true"] { color: var(--hi); }
.is-after .ba-toggle button[aria-pressed="true"] { color: #fff; }
.ba-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--night-3); transition: left .5s var(--ease), width .5s var(--ease), background .5s; }
.is-after .ba-pill { background: var(--blue); box-shadow: 0 10px 24px -10px rgba(0,104,240,.8); }
.ba-toggle .go::after { content: ""; position: absolute; inset: -3px; border-radius: 999px; border: 2px solid var(--blue); opacity: 0; animation: hint 2s 1.5s ease-out infinite; }
.is-after .ba-toggle .go::after, .ba.touched .ba-toggle .go::after { animation: none; }
@keyframes hint { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18); } }
.ba-more { font-size: 13.5px; font-weight: 600; color: var(--on-night-muted); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--night-line); }
.ba-more:hover { color: var(--hi); }
.ba-hintx { font-size: 13px; color: var(--on-night-muted); }
.steps5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.steps5 li { display: grid; gap: 6px; align-content: start; font-size: 11.5px; line-height: 1.2; color: var(--on-night-muted); transition: color .4s; min-width: 0; }
.steps5 li i { display: block; height: 4px; border-radius: 4px; background: var(--night-3); transition: background .4s; }
.is-after .steps5 li { color: var(--hi); transition-delay: calc(var(--i) * .22s); }
.is-after .steps5 li i { background: var(--c); transition-delay: calc(var(--i) * .22s); }

/* ---------- Hero de páginas interiores ---------- */
.page-hero { padding-top: calc(76px + env(safe-area-inset-top, 0px)); overflow: hidden; }
.page-hero .wrap { padding-block: 72px 88px; position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.page-hero .split-in { position: relative; z-index: 1; min-width: 0; }
.crumbs { margin: 0; padding: 0; display: flex; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: 12.5px; color: var(--on-night-muted); list-style: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--hi); }
.page-hero h1 { font-size: var(--t-h1); font-weight: 800; color: var(--hi); margin-top: 26px; max-width: 16ch; }
.page-hero .lede { font-size: 19px; max-width: 58ch; margin-top: 24px; }

/* ---------- Visuales de páginas interiores (ERP / CRM) ---------- */
.hv { position: relative; min-width: 0; width: 100%; }
.win {
  position: relative; background: rgba(13, 24, 48, .78); border: 1px solid var(--night-line); border-radius: 20px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden; animation: rise .9s .15s var(--ease) both;
}
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--night-line); font-family: var(--f-mono); font-size: 11.5px; color: var(--on-night-muted); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--night-3); flex: none; }
.win-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.win-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blinkdot 1.6s infinite; }
@keyframes blinkdot { 50% { opacity: .25; } }
.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 12px; background: #fff; color: #0A1428;
  font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 18px 36px -16px rgba(0,0,0,.6);
  animation: rise .7s var(--ease) both, bob 5s ease-in-out infinite;
}
.float-chip i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; flex: none; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Servicios: panel ERP */
.dash { padding: 16px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 12px; background: var(--tint); border: 1px solid var(--night-line); min-width: 0; }
.kpi small { display: block; font-size: 11px; color: var(--on-night-muted); white-space: nowrap; }
.kpi b { display: block; font-family: var(--f-display); font-size: 22px; color: var(--hi); margin-top: 4px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--green); }
.chart { display: grid; grid-template-columns: repeat(10, 1fr); align-items: end; gap: 7px; height: 110px; padding: 12px 12px 0; border-radius: 12px; background: var(--tint); border: 1px solid var(--night-line); position: relative; }
.chart::before { content: ""; position: absolute; left: 12px; right: 12px; top: 40%; border-top: 1px dashed var(--night-line); }
.chart span { height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #3D8BFF, rgba(0,104,240,.25)); transform-origin: bottom; animation: grow 1s var(--ease) both; animation-delay: calc(.4s + var(--i) * .07s); }
.chart span.hot { background: linear-gradient(180deg, var(--yellow), rgba(248,184,0,.25)); animation: grow 1s var(--ease) both, pulseH 2.6s 2s ease-in-out infinite; animation-delay: calc(.4s + var(--i) * .07s), 2s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pulseH { 50% { transform: scaleY(.82); } }
.pipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; }
.col { border-radius: 12px; padding: 10px; background: var(--tint); border: 1px solid var(--night-line); min-height: 104px; display: grid; align-content: start; gap: 6px; }
.col small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-muted); display: flex; align-items: center; gap: 6px; }
.col small i { width: 7px; height: 7px; border-radius: 50%; }
.deal { height: 26px; border-radius: 7px; background: var(--night-3); border-left: 3px solid var(--c, var(--blue)); }
.deal.mover { position: absolute; left: 10px; top: 32px; width: calc((100% - 16px) / 3 - 20px); background: #fff; border-left-color: var(--green); box-shadow: 0 10px 20px -8px rgba(0,0,0,.6); animation: move 6s 1.6s var(--ease) infinite both; }
@keyframes move {
  0%, 12% { transform: translateX(0); }
  32%, 48% { transform: translateX(calc(100% + 28px)); }
  68%, 92% { transform: translateX(calc(200% + 56px)); }
  100% { transform: translateX(calc(200% + 56px)); opacity: 0; }
}
.hv-dash .float-chip.c1 { left: -26px; bottom: -18px; animation-delay: 1.2s, 1.2s; }
.hv-dash .float-chip.c2 { right: -18px; top: -20px; animation-delay: 1.6s, 2.4s; }

/* Nosotros: de 20% a 100% con apps en órbita */
.hv-gauge { container-type: inline-size; position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 460px; margin-inline: auto; }
.gauge { position: relative; width: 64%; aspect-ratio: 1 / 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.gauge .bg { fill: none; stroke: var(--night-3); stroke-width: 14; }
.gauge .fg { fill: none; stroke: url(#gg); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: .8; animation: fillg 2.6s .8s var(--ease) forwards; }
@keyframes fillg { to { stroke-dashoffset: 0; } }
.gauge .old { fill: none; stroke: var(--red); stroke-width: 4; stroke-dasharray: .2 .8; opacity: .9; }
.gauge-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-c b { font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 6vw, 72px); color: var(--hi); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.gauge-c b small { font-size: .45em; color: var(--yellow); }
.gauge-c .lbl { max-width: 15ch; margin-inline: auto; line-height: 1.3; font-size: 13px; color: var(--on-night-muted); margin-top: 8px; }
.gauge-c em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: #FF8A8E; margin-top: 6px; }
.orbit { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit .app-chip { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateY(-45cqi) rotate(calc(var(--a) * -1)); }
.orbit .app-chip > span {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; translate: -50% -50%;
  background: var(--night-2); border: 1px solid var(--night-line); color: var(--hi); font-size: 12.5px; font-weight: 600; white-space: nowrap;
  animation: spin 40s linear infinite reverse; box-shadow: 0 12px 24px -12px rgba(0,0,0,.7);
}
.orbit .app-chip i { width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--c); }
@keyframes spin { to { rotate: 360deg; } }
.ring-dash { position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed var(--night-line); }

/* Contacto: conversación */
.chat { padding: 18px 16px 20px; display: grid; gap: 12px; }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.msg.me { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; animation: rise .6s .6s var(--ease) both; }
.msg.them { justify-self: start; background: var(--night-3); color: var(--on-night); border-bottom-left-radius: 5px; animation: rise .6s 2.9s var(--ease) both; }
.who { display: flex; align-items: center; gap: 8px; }
.who img { width: 28px; height: 28px; border-radius: 8px; background: #fff; padding: 3px; }
.who b { font-size: 13.5px; color: var(--hi); display: block; line-height: 1.2; }
.who small { font-size: 11px; color: var(--green); }
.typing { justify-self: start; display: inline-flex; gap: 5px; padding: 13px 14px; border-radius: 16px; border-bottom-left-radius: 5px; background: var(--night-3); animation: typing 1.7s 1.3s both; height: 0; overflow: hidden; padding-block: 0; opacity: 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--on-night-muted); animation: dotty 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dotty { 50% { transform: translateY(-4px); opacity: .5; } }
@keyframes typing { 0% { opacity: 0; height: 0; padding-block: 0; } 10%, 85% { opacity: 1; height: 33px; padding-block: 13px; } 100% { opacity: 0; height: 0; padding-block: 0; } }
.slot { justify-self: start; display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; width: 82%; padding: 12px; border-radius: 14px; background: #fff; color: #0A1428; animation: rise .6s 3.8s var(--ease) both; }
.cal { border-radius: 10px; overflow: hidden; text-align: center; border: 1px solid #DCE3ED; }
.cal small { display: block; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 2px 0; }
.cal b { display: block; font-family: var(--f-display); font-size: 19px; padding: 2px 0 3px; }
.slot strong { display: block; font-size: 14px; }
.slot span { display: block; font-size: 12.5px; color: #56637C; }
.slot .ok { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-family: var(--f-mono); font-size: 11px; color: var(--green); font-weight: 500; }
.hv-chat .float-chip.c1 { right: -14px; bottom: -18px; animation-delay: 4.4s, 4.4s; }
.hv-chat .float-chip.c2 { right: 28px; top: -20px; animation-delay: 1.4s, 2s; }

/* Aviso: datos protegidos */
.hv-shield { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 26px; }
.shield { width: 150px; animation: rise .8s .2s var(--ease) both; filter: drop-shadow(0 18px 40px rgba(248,184,0,.25)); }
.shield path.body { fill: var(--night-3); stroke: var(--yellow); stroke-width: 5; }
.shield .lock { fill: var(--yellow); }
.rows { display: grid; gap: 10px; position: relative; overflow: hidden; padding: 4px 0; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--tint); border: 1px solid var(--night-line); font-family: var(--f-mono); font-size: 12px; color: var(--on-night-muted); }
.rows div b { color: var(--hi); font-weight: 500; letter-spacing: .15em; }
.rows::after { content: ""; position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(180deg, transparent, rgba(248,184,0,.25), transparent); animation: scan 3s 1s linear infinite; }
@keyframes scan { to { top: 100%; } }

/* ---------- Marquesina de apps ---------- */
.apps { background: var(--night-2); border-block: 1px solid var(--night-line); overflow: hidden; }
.apps-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.apps:hover .apps-track { animation-play-state: paused; }
.apps-track ul { display: flex; list-style: none; }
.apps-track li {
  display: inline-flex; align-items: center; gap: 14px; padding: 22px 30px;
  font-family: var(--f-display); font-weight: 600; font-size: 22px; color: var(--on-night-muted); white-space: nowrap;
}
.apps-track li i { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Secciones genéricas ---------- */
.section { padding-block: 120px; position: relative; }
.section.tight { padding-block: 88px; }
.section.white { background: var(--white); }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 60px; }
.sec-head h2 { font-size: var(--t-h2); font-weight: 800; margin-top: 18px; }
.sec-head p { color: var(--muted); max-width: 48ch; justify-self: end; font-size: 17.5px; }
.on-night .sec-head h2 { color: var(--hi); }
.on-night .sec-head p { color: var(--on-night-muted); }

/* Reveal (visible en reposo; anima al entrar en pantalla) */
.rv.in { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }

/* ---------- El problema ---------- */
.problem { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.big-stat { font-family: var(--f-display); font-weight: 800; font-size: clamp(84px, 12vw, 170px); line-height: .85; letter-spacing: -.05em; color: var(--ink); display: flex; align-items: flex-start; }
.big-stat small { font-size: .38em; margin-top: .12em; color: var(--red); }
.big-stat .lt { font-size: .45em; margin-top: .1em; color: var(--muted); font-weight: 600; }
.problem h2 { font-size: var(--t-h2); font-weight: 800; margin-top: 18px; }
.problem .lede { color: var(--muted); margin-top: 20px; font-size: 18px; max-width: 52ch; }
.symptoms { list-style: none; display: grid; gap: 12px; margin-top: 30px; }
.symptoms li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.symptoms li svg { color: var(--red); margin-top: 2px; }
.symptoms b { display: block; font-weight: 600; }
.symptoms span { color: var(--muted); font-size: 15.5px; }


/* Widget del 20% (inicio) */
.stat-card { container-type: inline-size; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); min-width: 0; box-shadow: 0 30px 60px -44px rgba(10,20,40,.35); }
.stat-card .big-stat { font-size: clamp(72px, 36cqi, 160px); margin-top: 14px; }
.stat-card p { color: var(--muted); margin-top: 14px; max-width: 34ch; }
.stat-card .meter { margin-top: 22px; }

/* ---------- Bento de pilares ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  --c: var(--blue);
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 12%, transparent), transparent 60%);
}
.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); box-shadow: 0 30px 60px -36px rgba(10, 20, 40, .35); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: var(--t-h3); font-weight: 600; }
.tile p { color: var(--muted); font-size: 15.5px; }
.ring { width: 46px; height: 46px; border-radius: 50%; border: 7px solid var(--c); flex: none; position: relative; transition: transform .5s var(--ease); }
.tile:hover .ring { transform: scale(1.12); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; list-style: none; }
.chips li { font-family: var(--f-mono); font-size: 11.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.t-red { --c: var(--red); } .t-yellow { --c: var(--yellow); } .t-blue { --c: var(--blue); } .t-green { --c: var(--green); }

.tile.feature { grid-column: span 4; grid-row: span 2; background: var(--night); border-color: var(--night); color: var(--on-night); padding: 38px; }
.tile.feature::before { background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), rgba(0,104,240,.28), transparent 60%); }
.tile.feature h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: var(--hi); }
.tile.feature p { color: var(--on-night-muted); font-size: 17px; max-width: 52ch; }
.tile.feature .chips li { border-color: var(--night-line); color: var(--on-night-muted); }
.tile.span2 { grid-column: span 2; }
.tile.span3 { grid-column: span 3; }

.agent { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.agent-row {
  display: grid; grid-template-columns: 74px 22px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 12px; background: var(--tint); border: 1px solid var(--night-line);
  font-size: 14.5px; color: var(--on-night); transition: background .4s, border-color .4s;
}
.agent-row time { font-family: var(--f-mono); font-size: 12px; color: var(--on-night-muted); font-variant-numeric: tabular-nums; }
.agent-row .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--night-line); display: grid; place-items: center; transition: all .4s; }
.agent-row .dot svg { opacity: 0; transition: opacity .3s; }
.agent-row em { font-style: normal; font-family: var(--f-mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(0,104,240,.18); color: #8FB6FF; }
.agent-row.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.agent-row.done .dot svg { opacity: 1; }
.agent-row.now { border-color: rgba(0,104,240,.6); background: rgba(0,104,240,.1); }
.agent-row.now .dot { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(0,104,240,.2); }
.agent.playing .agent-row.wait { opacity: .4; }

.spark { width: 100%; height: 84px; margin-top: auto; overflow: visible; }
.spark .grid { stroke: var(--line); stroke-width: 1; }
.spark .area { fill: color-mix(in srgb, var(--c) 14%, transparent); }
.spark .ln { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; }
.spark .end { fill: var(--c); }
.spark .ln.drawn { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; }

/* ---------- Lista de servicios ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc {
  background: var(--white); padding: 30px 26px 28px; display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; position: relative; min-width: 0; transition: background .3s;
}
.svc:hover { background: var(--blue-soft); }
.svc svg { color: var(--blue); transition: transform .45s var(--ease); }
.svc:hover svg { transform: translateY(-3px) rotate(-6deg); }
.svc h3 { font-size: 20px; font-weight: 600; }
.svc p { color: var(--muted); font-size: 15px; }
.svc .go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--blue); display: inline-flex; gap: 6px; opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.svc:hover .go { opacity: 1; transform: none; }

/* ---------- Método (línea de metro) ---------- */
.metro { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-top: 6px; }
.metro-track { position: absolute; left: 22px; right: 22px; top: 27px; height: 8px; border-radius: 8px; background: var(--night-3); overflow: hidden; }
.metro-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 1)); background: linear-gradient(90deg, var(--red), var(--yellow) 33%, var(--blue) 66%, var(--green)); }
.stop { position: relative; min-width: 0; }
.stop .st {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--night); border: 8px solid var(--c, var(--blue));
  font-family: var(--f-mono); font-size: 12px; color: var(--hi); font-weight: 500;
  transition: transform .5s var(--ease);
}
.stop:hover .st { transform: scale(1.1); }
.stop h3 { font-size: 22px; font-weight: 600; color: var(--hi); margin-top: 22px; }
.stop p { font-size: 15px; margin-top: 8px; }
.stop .wk { display: inline-block; margin-top: 14px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--night-line); color: var(--on-night-muted); }

/* ---------- Principios (cómo trabajamos) ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 72px; }
.principle { padding: 28px; border-radius: var(--r); background: var(--night-2); border: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 10px; }
.principle .k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.principle h3 { font-size: 23px; font-weight: 600; color: var(--hi); }
.principle p { font-size: 15.5px; }

/* ---------- Código ---------- */
.dev { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.dev h2 { font-size: var(--t-h2); font-weight: 800; margin-top: 18px; }
.dev .lede { color: var(--muted); margin-top: 20px; font-size: 18px; max-width: 50ch; }
.dev-list { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.dev-list li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.dev-list li i { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--blue); flex: none; }
.editor { background: var(--night); color: var(--on-night); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(7, 14, 28, .6); min-width: 0; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease); }
.editor:hover { transform: none; }
.editor-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--night-2); border-bottom: 1px solid var(--night-line); font-family: var(--f-mono); font-size: 12px; color: var(--on-night-muted); }
.editor-bar .lights { display: flex; gap: 7px; }
.editor-bar .lights i { width: 11px; height: 11px; border-radius: 50%; }
.editor pre { margin: 0; padding: 22px 22px 26px; font-family: var(--f-mono); font-size: 13.5px; line-height: 1.8; overflow-x: auto; }
.editor .c { color: #6C7D99; } .editor .s { color: #7FE0A8; } .editor .k { color: #FF8A8E; } .editor .f { color: #8FB6FF; } .editor .n { color: #FFD35C; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--yellow); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq h2 { font-size: var(--t-h2); font-weight: 800; margin-top: 18px; }
.faq .side p { color: var(--muted); margin-top: 18px; max-width: 36ch; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 600; font-size: 18.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, border-color .3s, color .3s; color: var(--muted); }
.qa[open] .pm { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.qa .ans { color: var(--muted); padding-bottom: 24px; max-width: 64ch; }
.qa[open] .ans { animation: rise .5s var(--ease); }

/* ---------- CTA final ---------- */
.cta-wrap { padding-block: 40px 120px; }
.cta {
  border-radius: 30px; padding: clamp(40px, 6vw, 84px); overflow: hidden;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end;
}
.cta h2 { font-size: clamp(36px, 5vw, 66px); font-weight: 800; color: var(--hi); margin-top: 18px; }
.cta p { margin-top: 20px; max-width: 46ch; font-size: 18px; }
.cta-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-side small { color: var(--on-night-muted); font-size: 14px; }
.cta .mark { position: absolute; right: -40px; top: -60px; width: 340px; opacity: .14; z-index: -1; transform: rotate(-10deg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding-top: 80px; font-size: 15px; border-top: 1px solid var(--night-line); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; }
.foot-grid h4 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night); margin-bottom: 18px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; transition: color .2s; }
.foot-grid a:hover { color: var(--hi); }
.foot-about p { margin-top: 18px; max-width: 34ch; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--night-line); display: grid; place-items: center; color: var(--on-night); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }
.foot-bottom { border-top: 1px solid var(--night-line); padding-block: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.foot-bottom .bar4 { display: flex; gap: 6px; align-items: center; }
.foot-bottom .bar4 i { width: 22px; height: 4px; border-radius: 4px; }

/* ---------- Servicios (página) ---------- */
.pillar-nav { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.pillar-nav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.pillar-nav ul::-webkit-scrollbar { display: none; }
.pillar-nav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); border: 1px solid transparent; transition: all .25s; }
.pillar-nav a i { width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--c); }
.pillar-nav a:hover, .pillar-nav a.active { color: var(--ink); background: var(--white); border-color: var(--line); }

.pillar-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; padding-block: 96px; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; align-items: start; }
.pillar-row:last-child { border-bottom: 0; }
.pillar-row .head { position: sticky; top: 150px; }
.pillar-row .idx { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pillar-row .idx .ring { width: 30px; height: 30px; border-width: 6px; }
.pillar-row h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; margin-top: 18px; }
.pillar-row .head p { color: var(--muted); margin-top: 18px; font-size: 17.5px; max-width: 46ch; }
.pillar-row .head .btn { margin-top: 28px; }
.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deliver li { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .4s var(--ease), border-color .3s; }
.deliver li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.deliver b { font-family: var(--f-display); font-weight: 600; font-size: 18.5px; letter-spacing: -.01em; display: flex; gap: 10px; align-items: center; }
.deliver b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--c); flex: none; }
.deliver span { color: var(--muted); font-size: 15px; }
.deliver .wide { grid-column: span 2; background: var(--night); border-color: var(--night); }
.deliver .wide b { color: var(--hi); }
.deliver .wide span { color: var(--on-night-muted); }
.outcome { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.outcome em { font-style: normal; font-family: var(--f-mono); font-size: 12px; padding: 5px 10px; border-radius: 8px; background: var(--tint); color: var(--on-night); }

.svc-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: grid; grid-template-columns: 52px 1fr; gap: 20px; scroll-margin-top: 140px; transition: border-color .3s, transform .4s var(--ease); }
.svc-card:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); transform: translateY(-3px); }
.svc-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.svc-card h3 { font-size: 22px; font-weight: 600; }
.svc-card p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.svc-card ul { list-style: none; display: grid; gap: 7px; margin-top: 16px; }
.svc-card li { display: flex; gap: 10px; font-size: 15px; }
.svc-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-top: 9px; flex: none; }

.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.app { padding: 22px; border-radius: 16px; background: var(--night-2); border: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease), border-color .3s; }
.app:hover { transform: translateY(-3px); border-color: var(--c); }
.app b { font-family: var(--f-display); font-size: 20px; color: var(--hi); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.app b i { width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--c); }
.app span { font-size: 14.5px; color: var(--on-night-muted); }

/* ---------- Nosotros ---------- */
.manifesto { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -.02em; max-width: 24ch; }
.manifesto .mute { color: #A4AFC2; }
.mission { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.mission-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 36px; }
.mission-card .big-stat { font-size: clamp(90px, 11vw, 150px); }
.mission-card p { color: var(--muted); margin-top: 18px; }
.meter { margin-top: 26px; height: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; position: relative; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--red); border-radius: 14px; transition: width 1.6s var(--ease); }
.meter-labels { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { --c: var(--blue); background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; transition: transform .45s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-5px); border-color: var(--c); }
.value .ring { width: 54px; height: 54px; border-width: 8px; }
.value h3 { font-size: 23px; font-weight: 600; color: var(--hi); }
.value p { font-size: 15.5px; }
.value .line { position: absolute; right: -30px; bottom: 30px; width: 140px; height: 9px; border-radius: 9px; background: var(--c); opacity: .2; transform: rotate(-45deg); transition: opacity .3s; }
.value:hover .line { opacity: .6; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare > div { border-radius: var(--r); padding: 34px; }
.compare .them { background: var(--white); border: 1px solid var(--line); }
.compare .us { background: var(--blue); color: #fff; }
.compare h3 { font-size: 24px; font-weight: 600; }
.compare .us h3 { color: #fff; }
.compare ul { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.compare li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.compare .them li { color: var(--muted); }
.compare .us li { color: #E6EFFE; }

/* ---------- Contacto ---------- */
.contact-hero .wrap { display: grid; grid-template-columns: .95fr 1.05fr; grid-template-areas: "intro form" "steps form" "chan form"; grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 4vw, 56px); row-gap: 26px; align-items: start; padding-block: clamp(16px, 3svh, 48px) 72px; }
.contact-hero .split-in { grid-area: intro; }
.contact-hero h1 { font-size: clamp(36px, min(4.4vw, 7svh), 60px); margin-top: 18px; }
.contact-hero .lede { font-size: 17.5px; margin-top: 16px; }
.contact-hero .next-steps { grid-area: steps; }
.contact-hero .chan { grid-area: chan; }
.form-card { grid-area: form; background: #fff; color: #0A1428; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); scroll-margin-top: 84px; position: relative; z-index: 1; }
.form-card .top { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid #E3E8F0; }
.form-card .top .eyebrow { color: #56637C; }
.form-card .top a { font-size: 13.5px; font-weight: 600; color: var(--blue); text-decoration: none; }
.form-embed { --form-h: clamp(600px, calc(100svh - 150px), 720px); position: relative; background: #fff; }
.form-embed iframe { position: relative; z-index: 1; width: 100%; height: var(--form-h); border: 0; display: block; background: transparent; transition: height .3s; }
.form-embed .fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; text-align: center; padding: 30px; color: #56637C; }
.form-embed .fallback .btn { justify-self: center; }
.chan { display: flex; flex-wrap: wrap; gap: 10px; }
.chan a, .chan span { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--night-line); color: var(--on-night); font-size: 14px; text-decoration: none; transition: border-color .25s, background .25s; }
.chan a:hover { border-color: var(--on-night); background: var(--tint); }
.chan svg { flex: none; }
.next-steps { background: var(--glass); border: 1px solid var(--night-line); color: var(--on-night); border-radius: 18px; padding: 24px; }
.next-steps h3 { font-size: 21px; color: var(--hi); font-weight: 600; }
.next-steps ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.next-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.next-steps li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 4px; border-radius: 4px; background: var(--night-3); }
.next-steps li .n { width: 30px; height: 30px; border-radius: 50%; border: 5px solid var(--c); background: var(--night-2); position: relative; }
.next-steps li b { color: var(--hi); display: block; font-weight: 600; }
.next-steps li span { color: var(--on-night-muted); font-size: 14.5px; }

/* ---------- Texto legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 26px; font-weight: 700; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .note { background: #FFF6DB; border: 1px solid #F2D27A; color: #5B4500; border-radius: 14px; padding: 16px 18px; font-size: 15px; }
.fill { background: #FFF1B8; padding: 0 4px; border-radius: 4px; }

/* ---------- 404 ---------- */
.nf { overflow: hidden; min-height: 100vh; display: grid; place-items: center; text-align: center; padding-block: 140px 80px; }
.nf h1 { font-size: clamp(90px, 16vw, 200px); font-weight: 800; color: var(--hi); letter-spacing: -.05em; }
.nf p { margin: 14px auto 30px; max-width: 40ch; }


/* ==========================================================================
   Temas: oscuro y claro (data-theme en <html>)
   ========================================================================== */
[data-theme="dark"] {
  --paper: #0C1629;
  --white: #111D35;
  --ink: #E8EEF7;
  --muted: #9AA9C3;
  --line: #24345A;
  --blue-soft: #16274F;
  color-scheme: dark;
}
[data-theme="dark"] .link, [data-theme="dark"] .svc .go, [data-theme="dark"] .svc svg, [data-theme="dark"] .svc-card .ico { color: #5B9BFF; }
[data-theme="dark"] .manifesto .mute { color: #6F80A0; }
[data-theme="light"] :is(.on-night, .site-header, .site-footer, .apps) {
  --night: #EEF2F8;
  --night-2: #FFFFFF;
  --night-3: #DFE6F1;
  --night-line: #D2DBE8;
  --on-night: #0A1428;
  --on-night-muted: #56637C;
  --hi: #0A1428;
  --tint: rgba(10, 20, 40, .035);
  --hdr: rgba(255, 255, 255, .86);
  --dot: rgba(86, 99, 124, .2);
  --glass: rgba(255, 255, 255, .85);
}
[data-theme="light"] .on-night { background: var(--night); }
[data-theme="light"] .site-footer { background: #E9EEF6; }
[data-theme="light"] :is(.cta, .win, .ba-win) {
  --night: #070E1C;
  --night-2: #0D1830;
  --night-3: #16233F;
  --night-line: #22314F;
  --on-night: #EEF3FB;
  --on-night-muted: #93A3BF;
  --hi: #FFFFFF;
  --tint: rgba(255,255,255,.04);
  --dot: rgba(147,163,191,.22);
  --glass: rgba(13, 24, 48, .7);
}
[data-theme="light"] .cta { background: #070E1C; color: #EEF3FB; }
[data-theme="light"] .glow { opacity: .28; }
[data-theme="light"] .hero .lede, [data-theme="light"] .page-hero .lede { color: var(--on-night-muted); }
[data-theme="light"] .ba-win, [data-theme="light"] .win { background: #0D1830; box-shadow: 0 50px 90px -50px rgba(10,20,40,.55); }

/* Botón de tema */
.theme-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--night-line); background: transparent;
  color: var(--on-night); cursor: pointer; display: grid; place-items: center; flex: none;
  transition: background .25s, border-color .25s, transform .4s var(--ease);
}
.theme-btn:hover { background: var(--tint); border-color: var(--on-night-muted); }
.theme-btn:active { transform: rotate(-25deg) scale(.94); }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }

/* Pilares simplificados (inicio) */
.bento.simple { grid-template-columns: repeat(3, 1fr); }
a.tile { text-decoration: none; color: inherit; }
.tile .more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14.5px; color: var(--blue); display: inline-flex; gap: 6px; }
.tile .more span { transition: transform .3s var(--ease); }
.tile:hover .more span { transform: translateX(4px); }
[data-theme="dark"] .tile .more { color: #5B9BFF; }
.metro-cta { display: flex; justify-content: center; margin-top: 56px; }

/* Metodología: entregables por etapa */
.stop .deliv { display: block; margin-top: 12px; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.5; color: var(--on-night-muted); }
.stop .deliv b { color: var(--hi); font-weight: 500; }

/* Metodología: gantt del hero */
.gantt { padding: 16px; display: grid; gap: 9px; }
.g-row { display: grid; grid-template-columns: 104px 1fr; gap: 10px; align-items: center; font-size: 12.5px; color: var(--on-night); }
.g-row.head { font-family: var(--f-mono); font-size: 10px; color: var(--on-night-muted); }
.g-weeks { display: grid; grid-template-columns: repeat(10, 1fr); text-align: center; }
.g-body { position: relative; display: grid; gap: 9px; }
.g-track { position: relative; height: 24px; border-radius: 7px; background: var(--tint); border: 1px solid var(--night-line); }
.g-bar { position: absolute; top: 3px; bottom: 3px; left: var(--l); width: var(--w); border-radius: 5px; background: var(--c); transform-origin: left; animation: growx .9s var(--ease) both; animation-delay: calc(.4s + var(--i) * .16s); display: flex; align-items: center; padding-inline: 7px; font-family: var(--f-mono); font-size: 10px; color: #fff; white-space: nowrap; overflow: hidden; }
.g-bar.dash { background: repeating-linear-gradient(90deg, var(--c) 0 6px, transparent 6px 10px); }
@keyframes growx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.g-now { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--yellow); left: calc(114px + (100% - 114px) * .64); box-shadow: 0 0 12px var(--yellow); animation: rise .6s 1.6s var(--ease) both; }
.g-now::before { content: "HOY"; position: absolute; top: -16px; left: 50%; translate: -50% 0; font-family: var(--f-mono); font-size: 9px; color: var(--yellow); letter-spacing: .1em; }
.g-foot { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--night-line); font-size: 12.5px; color: var(--on-night-muted); }
.g-foot b { color: var(--hi); font-family: var(--f-display); font-size: 16px; }
.g-prog { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--night-3); overflow: hidden; }
.g-prog i { display: block; height: 100%; width: 64%; border-radius: 6px; background: linear-gradient(90deg, var(--red), var(--yellow), var(--blue), var(--green)); transform-origin: left; animation: growx 1.6s .6s var(--ease) both; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .bento.simple { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: span 2; }
}
@media (max-width: 960px) {
  .menu, .nav-cta .btn { display: none; }
  .theme-btn { width: 44px; }
  .burger { display: grid; }
  .menu-open .menu {
    display: flex; position: fixed; left: 0; right: 0; top: calc(64px + env(safe-area-inset-top, 0px)); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 24px max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    background: var(--night); animation: rise .4s var(--ease);
  }
  .menu-open .menu a { font-family: var(--f-display); font-size: 30px; font-weight: 600; color: var(--hi); padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--night-line); }
  .menu-open .menu a[aria-current="page"]::after { left: auto; right: 10px; top: 50%; bottom: auto; margin-top: -4px; width: 9px; height: 9px; }
  .menu-open .menu .menu-cta { display: block; margin-top: 20px; }
  .menu-open .site-header { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open body { overflow: hidden; }
  .menu-open .menu .menu-cta a { font-family: var(--f-body); font-size: 16px; color: #fff; text-align: center; border: 0; padding: 16px; border-radius: 999px; background: var(--blue); }
  .menu-open .menu .menu-cta a::after { display: none; }

  .hero-grid, .problem, .dev, .faq, .cta, .sec-head, .mission, .pillar-row { grid-template-columns: 1fr; }
  .contact-hero .wrap { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "steps" "chan"; grid-template-rows: auto; }
  .hero h1 { font-size: clamp(38px, 7.2vw, 64px); }
  .hero-grid { justify-items: stretch; }
  .hero-grid { padding-block: 40px 64px; gap: 48px; }
  .sec-head p { justify-self: start; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.feature, .tile.span3 { grid-column: span 2; grid-row: auto; }
  .tile.span2 { grid-column: span 1; }
  .metro { grid-template-columns: 1fr; gap: 34px; }
  .metro-track { left: 22px; right: auto; top: 26px; bottom: 26px; width: 8px; height: auto; }
  .metro-fill { transform-origin: top; transform: scaleY(var(--p, 1)); background: linear-gradient(180deg, var(--red), var(--yellow) 33%, var(--blue) 66%, var(--green)); }
  .stop { display: grid; grid-template-columns: 52px 1fr; column-gap: 22px; }
  .stop > :not(.st) { grid-column: 2; }
  .stop h3 { margin-top: 10px; }
  .stop .wk { justify-self: start; }
  .principles { grid-template-columns: 1fr; }
  .pillar-row { gap: 32px; padding-block: 72px; }
  .pillar-row .head { position: static; }
  .page-hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-block: 56px 72px; }
  .hv-dash .float-chip.c1 { left: -6px; } .hv-dash .float-chip.c2 { right: -6px; }
  .hv-chat .float-chip.c1 { right: -4px; } .hv-chat .float-chip.c2 { right: 12px; }
  .hv { max-width: 520px; }
  .editor { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: 80px; }
  .section.tight { padding-block: 64px; }
  .hero h1 .swash { white-space: normal; }
  .bento, .bento.simple, .svc-grid, .deliver, .svc-detail, .values, .compare, .app-grid { grid-template-columns: 1fr; }
  .g-row { grid-template-columns: 84px 1fr; font-size: 11.5px; }
  .g-now { left: calc(94px + (100% - 94px) * .64); }
  .tile.feature, .tile.span2, .tile.span3, .deliver .wide { grid-column: auto; }
  .tile, .tile.feature { padding: 24px; }
  .agent-row { grid-template-columns: 22px 1fr; }
  .agent-row time, .agent-row em { display: none; }
  .svc .go { opacity: 1; transform: none; }
  .svc-card { grid-template-columns: 1fr; padding: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-about { grid-column: auto; }
  .brand-sub { display: none; }
  .ba-stage { aspect-ratio: 1 / 1.25; }
  .steps5 { gap: 5px; } .steps5 li { font-size: 9.5px; overflow-wrap: anywhere; hyphens: auto; }
  .ba { max-width: clamp(300px, calc((100svh - 290px) / 1.25), 540px); }
  .ba-m { padding: 10px; } .ba-m .sw b { font-size: 14.5px; } .ba-m small { font-size: 10px; }
  .ba-toggle button { padding: 10px 13px; font-size: 13.5px; }
  .gauge { width: 56%; }
  .orbit .app-chip { transform: rotate(var(--a)) translateY(-39cqi) rotate(calc(var(--a) * -1)); }
  .orbit .app-chip > span { font-size: 11.5px; padding: 7px 10px; }
  .hv-shield { grid-template-columns: 1fr; justify-items: center; } .rows { width: 100%; }
  .kpi b { font-size: 18px; }
  .float-chip { font-size: 12px; }
  .form-embed { --form-h: 860px; }
  .contact-hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .contact-hero .lede { font-size: 16px; }
  .cta-wrap { padding-block: 24px 80px; }
  .cta { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .apps-track { animation: none !important; }
}
