/* SURUS · Qué hacemos · dirección "cinemático"
   Recurso propio: el ∇ es un embudo. Las preguntas entran por la boca y por la punta
   salen los dos filetes del logo (cian y amarillo). Esos filetes siguen como un hilo de
   luz por toda la página, en una columna-riel, y pasan por una estación ∇ en cada escena.
   Los productos son planos del mismo caso, con claqueta arriba y subtítulo abajo. */

:root {
  --bg: #08090a;
  --bg-2: #0e1012;
  --bg-3: #14171a;
  --black: #000;
  --line: #1f2225;
  --line-2: #2c3034;
  --text: #eeece6;
  --text-2: #b6b5ad;
  --text-3: #85867f;
  --cyan: #00a3b3;
  --cyan-t: #3fc8d5;
  --yellow: #e5dd7a;
  --red: #e0654f;
  --body: #2c2e31;

  /* pantallas de producto (claras, como filmadas dentro del cuadro) */
  --paper: #f4f3ee;
  --paper-2: #ffffff;
  --ink: #16171a;
  --ink-2: #5d6065;
  --ink-3: #8b8d90;
  --pline: #e0dfd8;
  --ok: #0a7f8a;
  --ok-bg: #e2f3f4;
  --warn: #8a7a10;
  --warn-bg: #faf4cf;
  --bad: #b83c28;
  --bad-bg: #fbe7e2;

  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);

  --rail: 72px;      /* columna izquierda por donde corre el hilo */
  --pad: 48px;
  --max: 1360px;
  --sec: 72px;
  --nav: 56px;
}

@media (max-width: 1200px) { :root { --rail: 56px; --pad: 32px; --sec: 64px; } }
@media (max-width: 760px)  { :root { --rail: 0px; --pad: 16px; --sec: 52px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.5 var(--sans);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grano de película, estático */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--black); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 0 calc(var(--pad) + var(--rail));
}

/* ---------- tipografía ---------- */
h1, h2, h3, .display {
  font-family: var(--sans);
  font-stretch: 78%;
  font-weight: 620;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.15rem + 4.1vw, 4.7rem); line-height: .95; }
h2 { font-size: clamp(2.05rem, 1.2rem + 2.35vw, 3.35rem); line-height: .98; }
h3 { font-size: clamp(2.2rem, 1.35rem + 2.3vw, 3.5rem); line-height: .95; }
.lead { font-size: clamp(1.05rem, .95rem + .35vw, 1.22rem); line-height: 1.45; color: var(--text-2); max-width: 54ch; }
.txt { color: var(--text-2); max-width: 58ch; }
.txt + .txt { margin-top: .7em; }
.mono, .eyebrow { font-family: var(--mono); }

.eyebrow {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-t);
  margin-bottom: 18px;
}

/* estación: el ∇ chico que se sienta sobre el hilo, en la columna-riel */
.station {
  position: absolute;
  left: calc(-1 * var(--rail) + 24px - 9px);
  top: 50%;
  width: 18px; height: 16px;
  transform: translateY(-50%);
  color: var(--text);
}
.station svg { display: block; width: 100%; height: 100%; overflow: visible; }
@media (max-width: 760px) { .station { display: none; } }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 20px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  border: 1px solid var(--line-2);
  color: var(--text);
  background: transparent;
  transition: border-color .3s, background .3s, color .3s;
}
.btn svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.btn:hover { border-color: var(--text-3); }
.btn:hover svg { transform: translateY(2px); }
.btn--solid { background: var(--text); color: var(--black); border-color: var(--text); }
.btn--solid:hover { background: var(--yellow); border-color: var(--yellow); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav);
  background: rgba(8, 9, 10, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  height: 100%;
  display: flex; align-items: center; gap: 28px;
  padding-left: var(--pad);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 24px; height: 25px; color: var(--text); }
.brand span { font: 600 15px/1 var(--sans); font-stretch: 112%; letter-spacing: .26em; }
.nav ul { display: flex; gap: 26px; margin-left: auto; }
.nav ul a { font-size: 14.5px; color: var(--text-2); text-decoration: none; transition: color .2s; }
.nav ul a:hover { color: var(--text); }
.nav .btn { height: 36px; padding: 0 16px; font-size: 14.5px; }
@media (max-width: 1100px) { .nav ul li:nth-child(n+4) { display: none; } }
@media (max-width: 760px) { .nav ul { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- hilo ---------- */
main { position: relative; }
.thread {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.thread path { fill: none; stroke-linecap: butt; }
.thread .t-c { stroke: var(--cyan); }
.thread .t-y { stroke: var(--yellow); }
.thread .t-p { stroke: #fff; opacity: .55; mix-blend-mode: screen; }
main > section, main > .sec { position: relative; z-index: 1; }

/* ---------- secciones ---------- */
.sec { padding: var(--sec) 0; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--top { align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.head { margin-bottom: 40px; }
.head h2 { max-width: 24ch; }
.head .txt { margin-top: 18px; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* animaciones de pantalla: definidas en estado final; con JS arrancan en pausa y corren al entrar en cuadro */
.js [data-a] { animation: var(--an) var(--dur, .6s) var(--ease) var(--d, 0s) both paused; }
.js .play [data-a] { animation-play-state: running; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes typeIn { from { clip-path: inset(0 100% 0 0); } }
@keyframes popIn { from { opacity: 0; transform: scale(.85); } 60% { transform: scale(1.04); } }
@keyframes markIn { from { background-color: transparent; box-shadow: none; } }
@keyframes lowBlink { 0% { opacity: 0; } 14% { opacity: 1; } 84% { opacity: 1; } 100% { opacity: 0; } }
@keyframes warnField { 0% { background: #fff; } 12% { background: var(--warn-bg); border-color: #d6c24a; } 84% { background: var(--warn-bg); border-color: #d6c24a; } }
@keyframes spinOut { 0% { opacity: 1; } 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes strike { from { opacity: 1; filter: none; } }
@keyframes pressBtn { 0% { background: #fff; color: var(--ink); border-color: var(--pline); } 60% { transform: scale(.94); } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav) + 40px) 0 56px;
}
.hero .wrap { width: 100%; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero .eyebrow { color: var(--text-2); }
.hero .eyebrow svg { width: 16px; height: 16px; flex: none; }
.hero h1 { max-width: 15.5ch; }
.hero .lead { margin-top: 26px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* índice de productos dentro del hero: qué hacemos, de un vistazo */
.qbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 52px;
  margin-top: 44px;
  border-top: 1px solid var(--line-2);
  max-width: 640px;
}
.qbar li { padding: 12px 12px 0 0; }
.qbar li + li { padding-left: 12px; border-left: 1px solid var(--line); }
.qbar a { text-decoration: none; display: block; }
.qbar b { display: block; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.qbar span { font-size: 16px; font-weight: 550; white-space: nowrap; }
.qbar a:hover b { color: var(--cyan-t); }
.qbar .more span { letter-spacing: .2em; color: var(--text-3); }

/* marca del hero: el logo oficial sin modificar, grande */
.hero-mark { margin: 0; justify-self: end; width: min(100%, 560px); }
.hero-mark svg { display: block; width: 100%; height: auto; aspect-ratio: 200 / 203; color: #303030; overflow: visible; }
@media (max-width: 960px) { .hero-mark { justify-self: start; width: min(100%, 360px); margin-top: 16px; } }
@media (max-width: 760px) { .hero-mark { width: 240px; justify-self: center; } }

/* "El punto de partida": texto y embudo compactos, uno al lado del otro */
.sec--ask { padding-top: 0; padding-bottom: calc(var(--sec) * .4); }
.ask {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
/* el titular queda a la altura de la boca del ∇ */
.ask > div:first-child { padding-top: 104px; }
.ask .funnel {
  --nw: clamp(190px, 16vw, 236px);
  --ntop: 132px;
  height: calc(var(--ntop) + var(--nw) * 1.015 + 104px);
  max-width: 440px;
}
.ask .txt { max-width: 46ch; }
@media (max-width: 960px) {
  .ask { grid-template-columns: 1fr; gap: 20px; }
  .ask > div:first-child { padding-top: 24px; }
  .ask .funnel { justify-self: center; margin: 0; }
}

/* el embudo */
.funnel {
  --nw: clamp(220px, 21vw, 300px);
  --ntop: 176px;
  position: relative;
  height: calc(var(--ntop) + var(--nw) * 1.015 + 150px);
  max-width: 480px;
  width: 100%;
  justify-self: center;
}
.funnel__nabla {
  position: absolute; z-index: 2;
  left: 50%; top: var(--ntop);
  width: var(--nw); height: calc(var(--nw) * 1.015);
  transform: translateX(-50%);
  color: var(--body);
  overflow: visible;
}
.funnel__glow {
  position: absolute; z-index: 0;
  left: 50%; top: calc(var(--ntop) - 40px);
  width: calc(var(--nw) * 1.5); height: calc(var(--nw) * 1.1);
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 163, 179, .13), transparent);
  pointer-events: none;
}
.funnel__tip {
  position: absolute; z-index: 1;
  left: calc(50% + var(--nw) * -.049);
  top: calc(var(--ntop) + var(--nw) * 1.014);
  width: 0; height: 0;
}
/* tramo corto del hilo bajo la punta: siempre visible (el hilo completo lo dibuja JS) */
.funnel__tip::before {
  content: ""; position: absolute; left: -1.5px; top: 0;
  width: 6px; height: 132px;
  background: linear-gradient(90deg, var(--cyan) 50%, var(--yellow) 50%);
  -webkit-mask: linear-gradient(#000 60%, transparent);
          mask: linear-gradient(#000 60%, transparent);
}
.has-thread .funnel__tip::before { display: none; }

.q {
  position: absolute; z-index: 1;
  left: 50%; top: 0;
  width: min(100%, 360px);
  padding: 11px 14px 12px;
  background: #111316;
  border: 1px solid #25282c;
  transform: translate(-50%, calc(var(--ntop) - 62px));
  transition: transform 1s var(--ease), opacity .8s var(--ease);
}
.q b { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--text-3); margin-bottom: 6px; text-transform: uppercase; }
.q span span { display: inline; }
.q .caret { display: inline-block; }
.q > span { display: block; font-size: 16.5px; line-height: 1.25; color: #d5d3cb; }
.q[data-k="1"] { transform: translate(-50%, calc(var(--ntop) - 124px)) scale(.94); opacity: .45; }
.q[data-k="2"] { transform: translate(-50%, calc(var(--ntop) - 178px)) scale(.88); opacity: .16; }
.q[data-k="hi"] { transform: translate(-50%, calc(var(--ntop) - 220px)) scale(.84); opacity: 0; }
.q[data-k="in"] { transform: translate(-50%, calc(var(--ntop) + var(--nw) * .36)) scale(.42); opacity: 0; transition: transform 1.1s cubic-bezier(.55, 0, .7, .4), opacity 1s ease-in; }
.no-anim .q[data-k="hi"], .no-anim .q[data-k="in"] { display: none; }

.answer {
  position: absolute; z-index: 1;
  left: calc(50% + var(--nw) * -.049 + 22px);
  top: calc(var(--ntop) + var(--nw) * 1.014 + 34px);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.answer::before {
  content: ""; position: absolute; left: -16px; top: 14px; width: 10px; height: 1px; background: var(--yellow);
}
.answer b { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--cyan-t); text-transform: uppercase; margin-bottom: 7px; }
.answer span { display: block; font-size: 21px; font-weight: 600; font-stretch: 86%; line-height: 1.15; max-width: 11em; }
.answer.out { opacity: 0; transform: translateY(-8px); }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .funnel { --nw: 220px; --ntop: 176px; max-width: 420px; justify-self: start; margin-left: max(0px, calc(50% - 300px)); }
}
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--nav) + 28px); padding-bottom: 32px; }
  .funnel { --nw: 196px; --ntop: 136px; justify-self: center; margin: 0; }
  .funnel .q[data-k="2"] { opacity: 0; }
  .q { width: min(100%, 320px); }
  .q span { font-size: 15.5px; }
  .answer span { font-size: 18px; }
  .qbar { grid-template-columns: 1fr 1fr; }
  .qbar li, .qbar li + li { padding: 11px 10px 10px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .qbar li:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .qbar .more { display: none; }
}

/* =========================================================
   DESAFÍO
   ========================================================= */
.asks { border-top: 1px solid var(--line-2); }
.asks li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.asks span { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); font-weight: 500; color: var(--text); }
.asks b { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.who {
  display: flex; align-items: center; gap: 12px;
  margin-top: 26px;
  font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3);
}
.who i { display: inline-flex; gap: 5px; }
.who i::before, .who i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--text-2); }

/* =========================================================
   PRODUCTOS · planos del caso
   ========================================================= */
.synopsis {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  padding: 20px 22px;
  max-width: 520px;
}
.synopsis b { display: block; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.synopsis p { color: var(--text); font-size: 17px; }
.synopsis p + p { margin-top: 6px; color: var(--text-2); font-size: 15.5px; }

.frames { display: grid; gap: 30px; margin-top: 44px; }
.frame {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav) + 16px);
}
/* claqueta: caso + producto + timecode */
.slate {
  position: relative;
  display: flex; align-items: center; gap: 18px;
  height: 42px; padding: 0 20px;
  background: var(--black);
  font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.slate .station { left: calc(-1 * var(--rail) + 24px - 9px - 1px); }
/* ramal: del hilo al cuadro */
.slate::before {
  content: ""; position: absolute; top: 50%; right: 100%;
  width: calc(var(--rail) - 24px - 10px); height: 1px;
  background: linear-gradient(90deg, rgba(229, 221, 122, .0), rgba(229, 221, 122, .7));
}
@media (max-width: 760px) { .slate::before { display: none; } }
.slate .prod { color: var(--cyan-t); }
.slate .case { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; }
.slate .tc { margin-left: auto; color: var(--text-2); }
.slate .tc::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 9px; vertical-align: 1px; }

.frame__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.4vw, 48px);
  background: radial-gradient(120% 90% at 70% 50%, #121519, var(--bg-2) 70%);
}
.frame__copy .pname {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 600; margin-bottom: 14px;
}
.frame__copy .pname svg { width: 20px; height: 21px; color: var(--text); }
.frame__copy h3 { margin-bottom: 18px; }
.frame__copy .txt { font-size: 16.5px; max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span { font: 500 12px/1 var(--mono); letter-spacing: .04em; padding: 7px 9px; border: 1px solid var(--line-2); color: var(--text-2); }

/* Entra → ∇ → Sale */
.io {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 8px 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font: 500 12px/1 var(--mono);
}
.io dt { color: var(--text-3); letter-spacing: .12em; text-transform: uppercase; font-size: 10.5px; }
.io dd { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 2 / -1; }
.io dd span { padding: 6px 8px; border: 1px solid var(--line-2); color: var(--text-2); }
.io .via { grid-column: 2 / -1; display: flex; align-items: center; gap: 8px; color: var(--text); font-family: var(--sans); font-size: 14px; font-weight: 600; }
.io .via svg { width: 16px; height: 16px; }
.io .via::before { content: ""; width: 18px; height: 1px; background: var(--line-2); }
.io .via::after { content: ""; width: 18px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--yellow)); }
.io .out span { border-color: rgba(63, 200, 213, .45); color: var(--text); }

/* subtítulo de cine */
.subtitle {
  background: var(--black);
  padding: 15px 20px 17px;
  text-align: center;
}
.subtitle p {
  display: inline-block;
  font-size: clamp(17px, 1.1rem + .3vw, 21px);
  font-weight: 500; font-stretch: 92%;
  color: var(--yellow);
  letter-spacing: .005em;
}

@media (max-width: 1200px) {
  .frame__body { grid-template-columns: 1fr; }
  .frame__copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .frame__copy > .pname, .frame__copy > h3 { grid-column: 1; }
  .frame__copy > .txt, .frame__copy > .tags, .frame__copy > .io { grid-column: 2; }
  .frame__copy > .txt { grid-row: 1 / span 2; align-self: end; }
  .frame__copy > .io { margin-top: 18px; }
  .frame .scr { max-width: 760px; width: 100%; justify-self: center; }
}
@media (max-width: 760px) {
  .frame__copy { display: block; }
  .frame__copy > .io { margin-top: 22px; }
}
@media (max-width: 760px) {
  .slate { gap: 12px; padding: 0 14px; font-size: 11px; }
  .slate .case { display: none; }
  .frame__body { padding: 24px 16px 20px; gap: 24px; }
}

/* ···: el plano que sigue */
.frame--more { border: 1px dashed var(--line-2); background: transparent; }
.frame--more .frame__body { background: none; grid-template-columns: auto minmax(0, 1fr); align-items: center; padding-block: 28px; }
.frame--more .dots { width: 74px; height: 75px; color: var(--text-3); }
.frame--more p.big { font-size: clamp(1.35rem, 1.05rem + .9vw, 1.9rem); font-stretch: 84%; font-weight: 560; line-height: 1.15; max-width: 34ch; }
.frame--more p.big em { font-style: normal; color: var(--text-3); }
@media (max-width: 760px) { .frame--more .frame__body { grid-template-columns: 1fr; } .frame--more .dots { width: 52px; height: 53px; } }

/* ---------- pantallas claras ---------- */
.scr {
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 13px/1.35 var(--sans);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .05), 0 0 80px -20px rgba(0, 163, 179, .16);
}
.scr__bar {
  display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--pline);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.scr__bar svg { width: 14px; height: 14px; color: #303030; flex: none; }
.scr__bar .t { overflow: hidden; text-overflow: ellipsis; }
.scr__bar .m { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--ink-3); }
.scr__body { padding: 16px; }
.scr .k { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* Carga */
.carga { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
.wa { background: #e9e6dc; padding: 12px; display: grid; gap: 8px; align-content: start; }
.wa .from { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12.5px; }
.wa .from i { width: 22px; height: 22px; border-radius: 50%; background: #c7c2b3; }
.bubble { background: #fff; padding: 10px 11px; font-size: 13.5px; line-height: 1.5; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); border-radius: 0 8px 8px 8px; }
.bubble mark {
  color: inherit; padding: 0 1px;
  background-image: linear-gradient(rgba(0, 163, 179, .17), rgba(0, 163, 179, .17)), linear-gradient(var(--cyan), var(--cyan));
  background-size: 100% 100%, 100% 2px; background-position: 0 0, 0 100%; background-repeat: no-repeat; background-color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  --an: hlIn; --dur: .45s;
}
@keyframes hlIn { from { background-size: 0 100%, 0 2px; } }
.bubble time { display: block; text-align: right; font: 500 10px/1 var(--mono); color: var(--ink-3); margin-top: 4px; }
.fields { display: grid; gap: 6px; align-content: start; }
.field { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.field .k { font-size: 10px; }
.field .v {
  min-width: 0; padding: 6px 8px;
  background: #fff; border: 1px solid var(--pline);
  font: 500 12.5px/1.2 var(--mono);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.field .v span { display: inline-block; --an: typeIn; --dur: .5s; }
.field.is-warn .v { --an: warnField; --dur: 2.2s; }
.conf { display: grid; font: 600 10px/1 var(--mono); letter-spacing: .04em; white-space: nowrap; }
.conf > * { grid-area: 1 / 1; padding: 4px 6px; }
.conf .ok { background: var(--ok-bg); color: var(--ok); }
.conf .low { background: var(--warn-bg); color: var(--warn); opacity: 0; --an: lowBlink; --dur: 2.2s; }
.saved {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; padding: 9px 10px;
  background: var(--ok-bg); color: var(--ok);
  font-weight: 600; font-size: 13px;
  --an: riseIn;
}
.saved .m { margin-left: auto; font: 500 10.5px/1 var(--mono); }
.tick { width: 16px; height: 16px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; flex: none; }
@media (max-width: 560px) { .carga { grid-template-columns: 1fr; } }

/* Auditoría */
.audit { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px; align-items: stretch; }
.checks { display: grid; gap: 6px; align-content: start; }
.check {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; background: #fff; border: 1px solid var(--pline);
  font-size: 13.5px; font-weight: 500;
}
.check .r { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; flex: none; --an: popIn; --dur: .4s; }
.check .r.ok { background: var(--ok); }
.check .r.no { background: var(--bad); }
.check.is-bad { background: var(--bad-bg); border-color: #efc2b8; --an: markIn; --dur: .4s; }
.check.is-bad em { font: 500 10.5px/1 var(--mono); font-style: normal; color: var(--bad); }
.verdict {
  display: grid; align-content: center; justify-items: start; gap: 10px;
  padding: 16px; background: #fff; border: 1px solid var(--pline);
  --an: riseIn;
}
.stamp { font: 700 15px/1 var(--mono); letter-spacing: .14em; color: var(--bad); border: 2px solid var(--bad); padding: 7px 10px; transform: rotate(-3deg); --an: popIn; --dur: .5s; }
.verdict p { font-size: 13.5px; color: var(--ink-2); }
.opts { display: flex; gap: 4px; font: 500 10.5px/1 var(--mono); }
.opts span { padding: 5px 6px; border: 1px solid var(--pline); color: var(--ink-3); }
.opts .on { border-color: var(--bad); color: var(--bad); background: var(--bad-bg); }
@media (max-width: 560px) { .audit { grid-template-columns: 1fr; } }

/* Chasers: registro de acciones */
.log { display: grid; }
.log li {
  display: grid; grid-template-columns: 92px 156px minmax(0, 1fr); gap: 10px; align-items: center;
  padding: 9px 4px; border-bottom: 1px solid var(--pline);
  --an: riseIn; --dur: .5s;
}
.log time { font: 500 11.5px/1 var(--mono); color: var(--ink-3); }
.log .ty { font: 600 10.5px/1 var(--mono); letter-spacing: .08em; color: var(--ink-2); }
.log .ty::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border: 1.5px solid currentColor; border-radius: 50%; vertical-align: 0; }
.log .d { font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log .is-in .ty { color: var(--ok); }
.log .is-in .ty::before { background: currentColor; }
.log .is-done { background: var(--ok-bg); border-bottom-color: transparent; }
.log .is-done .ty { color: var(--ok); }
.log .is-done .ty::before { background: currentColor; }
.log .is-done .d { font-weight: 600; color: var(--ok); }
@media (max-width: 560px) {
  .log li { grid-template-columns: 1fr auto; row-gap: 5px; }
  .log time { grid-column: 2; grid-row: 1; text-align: right; }
  .log .ty { grid-column: 1; grid-row: 1; }
  .log .d { grid-column: 1 / -1; white-space: normal; }
}

/* Decisión */
.decide { display: grid; gap: 6px; }
.alt {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 10px; background: #fff; border: 1px solid var(--pline);
}
.alt .n { font-weight: 600; font-size: 14px; }
.alt .why { display: block; font: 500 11px/1.3 var(--mono); color: var(--ink-3); margin-top: 3px; }
.alt .mk { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.alt.is-out { opacity: .5; --an: strike; --dur: .5s; }
.alt.is-out .n { text-decoration: line-through; text-decoration-color: var(--bad); }
.alt.is-out .mk { background: var(--bad); }
.alt.is-pick { border-color: var(--ok); box-shadow: inset 3px 0 0 var(--ok); --an: markIn; --dur: .5s; }
.alt.is-pick .mk { background: var(--ok); }
.alt .badge { font: 600 10.5px/1.25 var(--mono); color: var(--ok); text-align: right; --an: fadeIn; }
.acts { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.acts span { padding: 8px 12px; border: 1px solid var(--pline); background: #fff; font-size: 13px; font-weight: 600; }
.acts .on { background: var(--ink); color: #fff; border-color: var(--ink); --an: pressBtn; --dur: .6s; }
.acts .who2 { border: 0 !important; background: none !important; padding: 0 !important; margin-left: auto; font: 500 10.5px/1.2 var(--mono); color: var(--ink-3); text-align: right; }
@media (max-width: 560px) { .alt { grid-template-columns: 22px minmax(0, 1fr); } .alt .badge { grid-column: 2; text-align: left; } .acts .who2 { display: none; } }

/* =========================================================
   PERSONAS Y SISTEMAS
   ========================================================= */
.statement .split { grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); }
.statement h2 { font-size: clamp(2.1rem, 1.2rem + 2.5vw, 3.5rem); max-width: 19ch; }
@media (max-width: 960px) { .statement .split { grid-template-columns: 1fr; } }
.statement h2 span { color: var(--text-3); }
.statement .txt { margin-top: 22px; }
.flow { width: 100%; max-width: 560px; height: auto; justify-self: center; overflow: visible; }
.flow text { font-family: var(--sans); fill: var(--text-2); font-size: 15px; }
.flow .lbl { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; fill: var(--text-3); }
.flow .strong { fill: var(--text); font-weight: 600; font-size: 17px; }

/* =========================================================
   INTEGRACIÓN
   ========================================================= */
.mesh {
  position: relative;
  border: 1px dashed #3a3f44;
  padding: 44px clamp(16px, 2.4vw, 32px) 28px;
}
.mesh__tag {
  position: absolute; top: -9px; left: 18px;
  padding: 0 10px; background: var(--bg);
  font: 500 11px/18px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
}
.mesh__grid { position: relative; display: grid; grid-template-columns: 1fr minmax(76px, 120px) 1fr; align-items: center; gap: 0 12px; }
.mesh__col { display: grid; gap: 10px; position: relative; z-index: 1; }
.mesh__col span {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; background: var(--bg-3); border: 1px solid var(--line-2);
  font-size: 15px; color: var(--text-2);
}
.mesh__col span::before { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--text-3); flex: none; }
.mesh__col.out span { justify-content: flex-end; }
.mesh__col.out span::before { order: 2; }
.mesh__col b { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; margin-bottom: 2px; }
.mesh__col.out b { text-align: right; }
.mesh__core { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.mesh__core svg { width: 100%; max-width: 92px; height: auto; color: var(--body); }
.mesh__wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.mesh__wires path { fill: none; stroke: #343a3f; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.mesh__wires .pl { stroke: var(--cyan-t); stroke-width: 2; stroke-dasharray: 6 94; stroke-dashoffset: 100; opacity: 0; }
.mesh__wires .pl.y { stroke: var(--yellow); }
.js .mesh.play .mesh__wires .pl { opacity: 1; animation: wire 2.8s linear infinite; animation-delay: var(--d, 0s); }
@keyframes wire { to { stroke-dashoffset: 0; } }
@media (max-width: 560px) {
  .mesh__grid { grid-template-columns: 1fr 64px 1fr; gap: 0 8px; }
  .mesh__col span { font-size: 13.5px; padding: 8px; gap: 6px; }
  .mesh__core { font-size: 12px; }
}

/* =========================================================
   RESULTADOS
   ========================================================= */
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric { background: var(--bg); padding: 26px clamp(18px, 2.4vw, 32px) 28px; display: grid; gap: 14px; align-content: start; }
.metric__what { font-size: 17px; font-weight: 550; color: var(--text); max-width: 34ch; }
.metric__what small { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.metric__fig { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.metric__fig strong { font-size: clamp(2.2rem, 1.6rem + 1.4vw, 3rem); font-weight: 600; font-stretch: 80%; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.metric__fig span { font: 500 12.5px/1.3 var(--mono); color: var(--text-3); }
.cmp { display: grid; gap: 7px; }
.cmp div { display: grid; grid-template-columns: 104px minmax(0, 1fr) 64px; align-items: center; gap: 10px; font: 500 11.5px/1 var(--mono); color: var(--text-3); }
.cmp i { display: block; height: 10px; width: calc(var(--v) * 100%); background: #2e3236; }
.cmp b { font-weight: 500; text-align: right; color: var(--text-2); }
.cmp .now { color: var(--text); }
.cmp .now i { background: linear-gradient(90deg, var(--cyan), var(--cyan-t)); }
.cmp .now b { color: var(--text); }
.cmp .track { position: relative; height: 10px; background: #1a1d20; }
.cmp .track i { position: absolute; inset: 0 auto 0 0; }
.cmp .track em { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--yellow); left: calc(var(--v) * 100% - 1px); }
.metrics__note { margin-top: 14px; font: 500 11.5px/1.4 var(--mono); color: var(--text-3); }
@media (max-width: 760px) { .metrics { grid-template-columns: 1fr; } .cmp div { grid-template-columns: 72px minmax(0, 1fr) 56px; } }

/* =========================================================
   MEJORA CONTINUA
   ========================================================= */
.loopviz { width: 100%; max-width: 500px; height: auto; justify-self: center; overflow: visible; }
.loopviz text { font-family: var(--sans); font-size: 15px; fill: var(--text-2); }
.loopviz .ver { font-family: var(--sans); font-stretch: 80%; font-weight: 600; font-size: 30px; fill: var(--text); }
.loopviz .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; fill: var(--text-3); }
.steps5 { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line-2); max-width: 560px; }
.steps5 li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.steps5 b { font-weight: 600; }
.steps5 span { color: var(--text-2); }
@media (max-width: 560px) { .steps5 li { grid-template-columns: 1fr; gap: 2px; } }

/* =========================================================
   CONTROL · ficha técnica
   ========================================================= */
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.spec > div { padding: 18px 20px 4px 0; }
.spec > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.spec dt { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.spec dt::before { content: ""; width: 7px; height: 7px; background: var(--cyan-t); transform: rotate(45deg); flex: none; }
.spec dd { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 1100px) { .spec { grid-template-columns: 1fr 1fr; } .spec > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .spec { grid-template-columns: 1fr; } .spec > div, .spec > div + div { padding: 14px 0 6px; border-left: 0; border-bottom: 1px solid var(--line); } }

/* =========================================================
   CAPA
   ========================================================= */
.layer { display: grid; gap: 0; }
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 56px; gap: 10px; }
.area {
  position: relative;
  padding: 14px 12px 34px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  font-size: 16px; font-weight: 600;
  --an: areaOn; --dur: .8s;
}
.area small { display: block; font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; font-weight: 500; }
.area::after {
  content: ""; position: absolute; left: 50%; bottom: -27px; width: 1px; height: 26px;
  background: var(--line-2);
}
.area.on { border-color: rgba(63, 200, 213, .55); }
.area.on small { color: var(--cyan-t); }
.area.on::after { background: var(--cyan-t); }
.area.more { border-style: dashed; background: none; color: var(--text-3); text-align: center; letter-spacing: .2em; --an: none; }
@keyframes areaOn { from { border-color: var(--line-2); } }
.slab {
  position: relative;
  margin-top: 26px;
  height: 58px;
  display: flex; align-items: center; gap: 14px; padding: 0 18px;
  background: linear-gradient(180deg, #24272a, #1b1d20);
  font-weight: 600; font-size: 16px;
}
.slab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--cyan); }
.slab::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 3px; background: var(--yellow); }
.slab svg { width: 20px; height: 21px; color: var(--text); }
.slab .m { margin-left: auto; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 760px) {
  .areas { grid-template-columns: 1fr 1fr; }
  .area.more { display: none; }
  .area::after { display: none; }
  .slab { margin-top: 12px; }
  .slab .m { display: none; }
}

/* =========================================================
   SECTORES + LAB
   ========================================================= */
.sectors { border-top: 1px solid var(--line-2); }
.sectors li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.sectors b { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 600; font-stretch: 88%; }
.sectors span { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 560px) { .sectors li { grid-template-columns: 1fr; gap: 4px; } }

.lab {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
}
.lab__bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--black); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.lab__bar span:first-child { color: var(--cyan-t); }
.lab ul { padding: 8px 18px; }
.lab li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.lab li:last-child { border-bottom: 0; }
.lab li svg { width: 14px; height: 14px; margin-top: 5px; color: var(--text); }
.textlink { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--yellow); padding-bottom: 3px; }

/* =========================================================
   CÓMO EMPEZAMOS
   ========================================================= */
.start { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.start::before { content: ""; position: absolute; left: 9px; right: 0; top: 8px; height: 1px; background: var(--line-2); }
.start li { position: relative; padding: 34px 24px 0 0; }
.start li svg { position: absolute; left: 0; top: 0; width: 18px; height: 16px; color: var(--text); }
.start li:last-child svg { color: var(--text-3); }
.start b { display: block; font-size: 19px; font-weight: 600; font-stretch: 90%; margin-bottom: 6px; }
.start span { color: var(--text-2); font-size: 15.5px; display: block; max-width: 28ch; }
@media (max-width: 860px) {
  .start { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}
@media (max-width: 560px) {
  .start { grid-template-columns: 1fr; row-gap: 0; }
  .start::before { left: 8px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .start li { padding: 0 0 22px 36px; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta { padding-bottom: calc(var(--sec) + 12px); }
.cta h2 { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.4rem); max-width: 14ch; }
.cta .lead { margin-top: 22px; }
.cta .ctas { margin-top: 30px; }
.funnel--end { --nw: clamp(170px, 16vw, 230px); --ntop: 96px; height: calc(var(--ntop) + var(--nw) * 1.015 + 24px); max-width: 420px; }
.funnel--end .q { transform: translate(-50%, calc(var(--ntop) - 64px)); border-color: var(--line-2); }
.funnel--end .q span { color: var(--text); }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--yellow); vertical-align: -3px; margin-left: 3px; }
.js:not(.no-anim) .caret { animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
@media (max-width: 960px) { .funnel--end { justify-self: start; margin-left: 0; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 22px 0 28px; }
.foot .wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.foot svg { width: 16px; height: 16px; color: var(--text-2); }
.foot a { text-decoration: none; color: var(--text-2); }
.foot .r { margin-left: auto; }

@media (max-width: 1200px) and (min-width: 761px) { .qbar { grid-template-columns: repeat(4, minmax(0, 1fr)); } .qbar .more { display: none; } }

/* ---------- modo captura (?shot) ---------- */
.shot .nav { position: absolute; }
.shot .hero { min-height: 0; }

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