/* =========================================================
   XISEKI · Landing comercial · v2
   Paleta y tipografía: especificación 3.1. Movimiento: GUIA-ESTILO.md
   Idea central: «el hilo». Una línea recorre la página por el margen
   izquierdo; cada sección es un punto de control de ese recorrido.
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca (especificación 3.1) */
  --navy: #07121f;
  --navy-2: #0c2135;
  --blue: #237bfb;
  --blue-2: #06a9ed;
  --cyan: #38e5fb;
  --ink: #162638;
  --muted: #617184;
  --line: #dde6ed;
  --off: #f6f9fc;
  --white: #fff;

  /* Tonos derivados de la paleta (texto pequeño con contraste AA) */
  --blue-ink: #1766d9;
  --on-dark: #afc3d5;
  --on-dark-label: #b9cee0;
  --tint: #e8f3ff;

  --grad: linear-gradient(115deg, var(--blue) 0%, var(--blue-2) 55%, var(--cyan) 100%);
  --grad-text: linear-gradient(110deg, #72e8ff 0%, var(--cyan) 30%, #3798ff 100%);

  --max: 1180px;
  --gutter: 72px;
  --lane: 64px;          /* carril del hilo, a la izquierda del contenido */
  --thread-x: 14px;      /* posición del hilo dentro del carril */
  --radius: 9px;
  --section: 128px;
  --header: 84px;
  --overhang: 63px;      /* lo que la composición de portada invade la sección siguiente */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Inter", system-ui, "Segoe UI", Arial, sans-serif;

  /* Hilo en secciones claras */
  --track: #d3dee8;
  --thread-color: var(--blue-2);
  --node-bg: var(--white);
  --node-line: #b3c4d4;
}

.is-dark {
  --track: #ffffff24;
  --thread-color: var(--cyan);
  --node-bg: var(--navy);
  --node-line: #3d5a74;
  color: var(--white);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.045em; line-height: 1.05; text-wrap: balance; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 4px; }
.is-dark :focus-visible, .topnav :focus-visible, .footer :focus-visible { outline-color: var(--cyan); }

.wrap { width: min(100% - var(--gutter), var(--max)); margin-inline: auto; }
main .wrap { padding-left: var(--lane); }
main > section { position: relative; }
.section { padding: var(--section) 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 12px 18px; border-radius: var(--radius);
  background: var(--white); color: var(--navy); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Tipografía ---------- */
/* Escala: 15 · 17 · 19 · 24 · 32 · 44 · 64 · 96 (≈ 1,35–1,5) */
.display { font-size: clamp(38px, 5.4vw, 80px); line-height: 1; letter-spacing: -.055em; margin: 22px 0 28px; }
.lead { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 600px; }
.section-head { max-width: 1000px; }

/* Rótulo de sección = punto de control del hilo */
.label {
  position: relative;
  font-size: 15px; font-weight: 650; letter-spacing: -.005em; line-height: 1.4;
  color: var(--ink);
}
.is-dark .label { color: var(--on-dark-label); }
.label::before, .label::after {
  content: ""; position: absolute; top: .7em; width: 13px; height: 13px; border-radius: 50%;
  left: calc(var(--thread-x) - var(--lane) - 6.5px);
  translate: 0 -50%;
}
.label::before { background: var(--node-bg); border: 2px solid var(--node-line); z-index: 2; }
.label::after { z-index: 3; background: var(--thread-color); box-shadow: 0 0 0 5px color-mix(in srgb, var(--thread-color) 22%, transparent), 0 0 14px var(--thread-color); opacity: 0; transition: opacity .5s var(--ease); }
.label.is-reached::after { opacity: 1; }

.hero-title em, .text-gradient {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- El hilo ---------- */
.thread {
  position: absolute; z-index: 1; top: 0; bottom: 0; width: 2px;
  left: calc((100% - min(100% - var(--gutter), var(--max))) / 2 + var(--thread-x) - 1px);
  background: var(--track);
  pointer-events: none;
}
.thread-fill {
  position: absolute; inset: 0;
  background: var(--thread-color);
  transform-origin: top; transform: scaleY(0);
}
.is-dark .thread-fill { box-shadow: 0 0 10px #38e5fb99; }
.thread-glow .thread-fill { box-shadow: 0 0 16px #38e5fb, 0 0 4px #38e5fb; }
/* En «El problema» el hilo se rompe */
.thread-broken { background: repeating-linear-gradient(to bottom, var(--track) 0 9px, transparent 9px 20px); }
.thread-broken .thread-fill { background: repeating-linear-gradient(to bottom, var(--thread-color) 0 9px, transparent 9px 20px); }

/* ---------- Botones ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 15px 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 15px; font-weight: 720; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn .arrow { font-size: 18px; line-height: 0; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -1px); }
/* Texto marino sobre degradado: contraste ≥ 4,5:1 también en el extremo azul */
.btn-primary { background: var(--grad); color: var(--navy); box-shadow: 0 12px 34px #0075df45; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(115deg, #ffffff45, transparent 60%); opacity: 0; transition: opacity .3s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px #0075df5c; }
.btn-primary:hover::after { opacity: 1; }
.btn-ghost { border-color: #ffffff40; color: var(--white); background: #ffffff0a; }
.btn-ghost:hover { transform: translateY(-2px); border-color: #ffffff8c; background: #ffffff14; }

/* ---------- Cabecera ---------- */
.topnav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.topnav.is-scrolled {
  background: #07121fe8;
  border-bottom-color: #d8ecff1a;
  box-shadow: 0 10px 30px #0004;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.nav-inner { height: var(--header); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; text-decoration: none; flex: none; }
/* Isologo con claim original (PNG aprobado, sin modificar): solo se escala */
.brand-logo { width: 200px; height: auto; }
.nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: 14.5px; font-weight: 600; color: #d0dbe8; text-decoration: none;
  transition: color .3s var(--ease);
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links-cta { display: none; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border: 1px solid #5b7896; border-radius: 8px;
  font-size: 13.5px; font-weight: 720; color: var(--white); text-decoration: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav-cta:hover { border-color: var(--cyan); background: #38e5fb14; }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid #ffffff3a; border-radius: 8px; background: #ffffff0e;
}
.nav-toggle-icon { position: relative; width: 20px; height: 14px; }
.nav-toggle-icon i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle-icon i:nth-child(1) { top: 0; }
.nav-toggle-icon i:nth-child(2) { top: 6px; }
.nav-toggle-icon i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   02 · Portada
   ========================================================= */
.hero {
  z-index: 2;                       /* la composición pisa la sección siguiente */
  padding: calc(var(--header) + 72px) 0 0;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 85% 62%, #123c64a6 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 0 100%, #103e6055, transparent 70%),
    linear-gradient(170deg, var(--navy) 30%, var(--navy-2) 100%);
}
.hero-bg::before { /* retícula técnica */
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: linear-gradient(#79a9d3 1px, transparent 1px), linear-gradient(90deg, #79a9d3 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 70% 55%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 75% at 70% 55%, #000 15%, transparent 75%);
}
.hero-bg::after { /* anillos de luz */
  content: ""; position: absolute; width: 760px; height: 760px; right: -280px; top: 18%; border-radius: 50%;
  border: 1px solid #34beed1f;
  box-shadow: 0 0 0 110px #2caaf007, 0 0 0 240px #2caaf004;
}
.hero-title {
  margin: 26px 0 56px;
  font-size: clamp(46px, 6.9vw, 104px); font-weight: 820; line-height: .94; letter-spacing: -.062em;
}
.hero-title em { display: inline-block; padding-bottom: .08em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.hero-desc { font-size: 19px; line-height: 1.7; color: var(--on-dark); max-width: 470px; margin-bottom: 36px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-foot { position: relative; margin-top: 48px; padding-bottom: 72px; font-size: 14px; color: #a3b7c9; max-width: 380px; }
/* Origen del hilo: el punto cian, colocado sobre el carril */
.status-dot {
  position: absolute; top: .7em; width: 13px; height: 13px; border-radius: 50%;
  left: calc(var(--thread-x) - var(--lane) - 6.5px); translate: 0 -50%;
  background: var(--cyan); box-shadow: 0 0 0 6px #38e5fb26, 0 0 16px var(--cyan); z-index: 3;
}

/* Entrada escalonada de portada (solo CSS: no depende de JS) */
@media (prefers-reduced-motion: no-preference) {
  .hero-in { animation: hero-in .75s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
  .hero-in[data-i="1"] { --i: 1; } .hero-in[data-i="2"] { --i: 2; }
  .hero-in[data-i="3"] { --i: 3; } .hero-in[data-i="4"] { --i: 4; }
  .hero-art.hero-in { animation-duration: 1s; animation-delay: .3s; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } }

/* Composición de producto: ventana de la aplicación de oficina + tablet de planta (todo en em; escala con el ancho) */
.hero-art { position: relative; align-self: end; container-type: inline-size; margin-bottom: calc(-1 * var(--overhang)); }
.hero-art::before { /* foco de luz */
  content: ""; position: absolute; width: 70%; height: 60%; left: 10%; top: 15%; z-index: -1;
  background: #037cf938; filter: blur(70px); border-radius: 50%;
}
.art-note {
  position: absolute; left: -5.2%; top: 78%;
  font-size: 12px; font-weight: 600; color: #c3e6ffa6;
}
.stage {
  --s: clamp(6.4px, 2.15cqi, 14.5px);
  position: relative; margin: 0 -2.8% 0 -5.2%; font-size: var(--s); color: #1c3449; line-height: 1.35;
}
.stage::before { /* sombra de contacto bajo los dispositivos */
  content: ""; position: absolute; left: 45%; right: 0; bottom: -2%; height: 14%; z-index: 0;
  background: radial-gradient(closest-side, #0009, transparent); filter: blur(1.4em);
}
/* Lienzo WebP transparente con la tablet fotográfica (pantalla recortada, cristal horneado) por encima;
   la interfaz HTML va debajo, encajada por JS (matrix3d): la de oficina en la zona libre del lienzo
   como ventana sin carcasa, la de planta en la pantalla de la tablet. */
.devices { position: relative; z-index: 2; display: block; width: 100%; height: auto; pointer-events: none; }
.screens { position: absolute; inset: 0; z-index: 1; }
.screen-fill { position: absolute; inset: 0; background: #0b1724; }
.screen-fill-plant { clip-path: polygon(43.18% 61.15%, 98.13% 61.15%, 98.13% 97.96%, 43.18% 97.96%); }
.screen-ui { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; visibility: hidden; display: flex; flex-direction: column; }
.screens.is-mapped .screen-ui { visibility: visible; }
.os-bar { display: flex; justify-content: space-between; align-items: center; flex: none; font-size: .6em; font-weight: 700; font-variant-numeric: tabular-nums; }
.os-icons { display: flex; align-items: center; gap: .5em; }
.os-signal { width: 1.3em; height: .8em; background: linear-gradient(90deg, currentColor 0 19%, transparent 0 27%, currentColor 0 46%, transparent 0 54%, currentColor 0 73%, transparent 0 81%, currentColor 0); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.os-battery { width: 1.9em; height: .85em; padding: .12em; border: .1em solid currentColor; border-radius: .28em; background: linear-gradient(90deg, currentColor 72%, transparent 0) content-box; opacity: .9; }

.dash { width: 52em; height: 36.6em; border-radius: .9em; background: #f4f8fc; font-size: .92em; box-shadow: 0 0 0 1px #ffffff1f, 0 2.4em 5em #0009, 0 0 6em #1980e626; }
.dash-body { flex: 1; }
.dash-bar { height: 3.3em; display: flex; align-items: center; gap: .9em; padding: 0 1.3em; background: #102b46; color: #d9e8f5; }
.dash-bar strong { font-size: 1.05em; font-weight: 850; letter-spacing: .1em; color: var(--white); }
.win-dots { display: flex; gap: .45em; margin-right: .5em; }
.win-dots i { width: .8em; height: .8em; border-radius: 50%; background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }
.dash-bar small { margin-left: auto; font-size: .75em; letter-spacing: .06em; text-transform: uppercase; color: #a7c0d3; }
.dash-body { display: grid; grid-template-columns: 8.6em 1fr; }
.dash-aside { display: flex; flex-direction: column; gap: .6em; padding: 1.2em .8em; background: var(--white); border-right: 1px solid #e1e9f0; }
.dash-link { display: flex; align-items: center; gap: .55em; padding: .7em .55em; border-radius: .4em; font-size: .78em; color: #70889d; }
.dash-link i { width: .75em; height: .75em; border: .14em solid #9db4c6; border-radius: .18em; flex: none; }
.dash-link.is-active { background: #e7f2ff; color: #155eb3; font-weight: 760; }
.dash-link.is-active i { background: #1980e6; border-color: #1980e6; }
.dash-main { padding: 1.6em 1.9em; }
.dash-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; }
.dash-title span { font-size: 1.4em; font-weight: 780; letter-spacing: -.03em; }
.dash-updated { font-size: .72em; font-weight: 700; color: #1980e6; }
.dash-sub { margin-top: .4em; font-size: .78em; color: #8294a3; }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; margin: 1.4em 0; }
.dash-metrics span { padding: 1.15em .9em; background: var(--white); border: 1px solid #e1e9ef; border-radius: .6em; font-size: .92em; font-weight: 750; }
.dash-metrics small { display: block; margin-bottom: .45em; font-size: .75em; font-weight: 650; letter-spacing: .06em; color: #6d8497; }
.dash-table { background: var(--white); border: 1px solid #e3ebf1; border-radius: .7em; overflow: hidden; }
.dash-row { position: relative; display: grid; grid-template-columns: 1.1fr .9fr .8fr; gap: .3em; align-items: center; padding: 1.15em 1em; border-top: 1px solid #edf1f5; font-size: .85em; font-weight: 700; color: #244057; font-variant-numeric: tabular-nums; }
.dash-row small { font-weight: 500; color: #7c90a1; }
.dash-head { border-top: 0; background: #f0f5f9; font-size: .68em; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: #73899c; }
.dash-row-live::before { content: ""; position: absolute; inset: 0; background: #38e5fb24; opacity: 0; pointer-events: none; }
.chip { display: inline-flex; align-items: center; padding: .38em .75em; border-radius: 2em; font-size: .78em; font-weight: 800; white-space: nowrap; }
.chip-blue { color: #146bb5; background: #e6f2ff; }
.chip-amber { color: #8a5e0f; background: #fff4da; }
.chip-green { color: #1f7462; background: #e5f6ee; }

.swap { display: inline-grid; justify-items: start; }
.swap > * { grid-area: 1 / 1; }
.swap-from { opacity: 0; }

/* Tablet de planta (horizontal): interfaz oscura, como una app nativa */
.tablet {
  width: 31em; height: 18.3em; z-index: 1; color: #e6f1fa;
  background: radial-gradient(120% 55% at 85% 0%, #1a5d93 0%, #0f2f4d 45%, transparent 75%), #08131f;
}
.tablet .os-bar { padding: .9em 1.8em .1em; color: #fff; }
.tablet-top { display: flex; justify-content: space-between; align-items: center; padding: .6em 2.4em .2em; color: #cfe3f2; font-size: .72em; font-weight: 780; letter-spacing: .04em; }
.tablet-sync { width: .6em; height: .6em; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 .3em #38e5fb33; }
.tablet-main { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; align-items: start; padding: .5em 1.8em; }
.tablet-col { display: flex; flex-direction: column; align-items: flex-start; }
.tablet-col .tablet-card:first-child { margin-top: 0; }
.tablet-id { font-size: .78em; font-weight: 650; color: #8fb3cc; letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.tablet-title { margin: .2em 0 .5em; font-size: 1.35em; line-height: 1.1; font-weight: 820; letter-spacing: -.03em; color: #fff; }
.tablet-card { align-self: stretch; margin-top: .55em; padding: .7em .85em; background: #ffffff0d; border: 1px solid #ffffff1c; border-radius: .7em; }
.tablet-card small { display: block; font-size: .65em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fb3cc; }
.tablet-card strong { display: block; margin-top: .35em; font-size: .88em; font-weight: 750; }
.checks { display: flex !important; flex-wrap: wrap; gap: .2em 1em; color: #6fe3bd; }
.check { white-space: nowrap; }
.tablet-action {
  align-self: stretch; margin-top: .9em; padding: .85em .6em; border-radius: 2em;
  background: var(--grad); color: var(--navy); font-size: .8em; font-weight: 800; justify-items: center; text-align: center;
  box-shadow: 0 .6em 1.6em #0a8ff04d;
}
.tablet-foot { margin-top: auto; display: flex; justify-content: space-between; padding: .7em 2.8em 1.1em; border-top: 1px solid #ffffff14; font-size: .6em; color: #7f9db3; }

/* Línea de conexión móvil → oficina (posicionada por JS; sin JS no se muestra) */
.link { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: none; }
.link.is-ready { display: block; }
.link-v { position: absolute; background: var(--cyan); box-shadow: 0 0 .8em #38e5fbaa; border-radius: 2px; }
.link-v { width: 2px; transform-origin: bottom; }
.link-node { position: absolute; width: .9em; height: .9em; margin: -.45em 0 0 -.45em; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 .35em #38e5fb33, 0 0 1em #38e5fb; }

/* Secuencia de portada: el estado final es el estado por defecto.
   JS aplica .seq-init (estado inicial) y luego .seq-run, que vuelve al final con retardos. */
.stage.seq-init .check,
.stage.seq-init .swap-to,
.stage.seq-init .dash-updated,
.stage.seq-init .link-node { opacity: 0; }
.stage.seq-init .swap-from { opacity: 1; }
.stage.seq-init .check { transform: translateY(.4em); }
.stage.seq-init .link-v { transform: scaleY(0); }

.stage.seq-run .check { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.stage.seq-run .check:nth-child(1) { transition-delay: .15s; }
.stage.seq-run .check:nth-child(2) { transition-delay: .45s; }
.stage.seq-run .tablet .swap > * { transition: opacity .35s var(--ease) .95s; }
.stage.seq-run .link-node-start { transition: opacity .3s var(--ease) 1.25s; }
.stage.seq-run .link-v { transition: transform .6s var(--ease) 1.4s; }
.stage.seq-run .link-node-end { transition: opacity .3s var(--ease) 2.15s; }
.stage.seq-run .dash .swap > * { transition: opacity .4s var(--ease) 2.25s; }
.stage.seq-run .dash-updated { transition: opacity .4s var(--ease) 2.4s; }
.stage.seq-run .dash-row-live::before { animation: row-flash 1.1s var(--ease) 2.2s both; }
@keyframes row-flash { 30% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Aparición al hacer scroll (solo con JS y sin movimiento reducido) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* =========================================================
   03 · Problema: el hilo se rompe
   ========================================================= */
.problem { padding-top: calc(var(--section) + var(--overhang)); }
.problem-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; margin-top: 64px; }
.paper-graphic {
  position: relative; overflow: hidden; display: grid; place-items: center;
  min-height: 540px; border-radius: 20px;
  background: linear-gradient(160deg, #eef3f6, #e2eaf1);
}
.paper-graphic::before { /* trama tenue */
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(#c5d3de 1px, transparent 1px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 75%); mask-image: linear-gradient(120deg, #000, transparent 75%);
}
.paper {
  position: relative; display: flex; flex-direction: column;
  width: 330px; height: 430px; padding: 28px;
  background: var(--white); border: 1px solid #dce4eb; box-shadow: 0 26px 50px #354b6845, 0 2px 6px #354b6814;
  rotate: -7deg;
}
.paper-title { margin-bottom: 20px; font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; color: #435b71; }
.paper-row { display: flex; align-items: center; gap: 10px; height: 31px; border-bottom: 1px solid #dce6ec; }
.paper-row::before { content: ""; width: 66px; height: 7px; border-radius: 8px; background: #e8eef3; }
.paper-row::after { content: ""; width: 104px; height: 6px; border-radius: 8px; background: #c9e0f3; }
.scribble { position: absolute; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 23px; color: #316ab4; rotate: -10deg; }
.scribble-1 { right: 22px; top: 128px; }
.scribble-2 { right: 30px; top: 282px; }
.paper-sticker {
  position: absolute; left: 28px; bottom: 30px; rotate: 2deg;
  padding: 14px 18px; border-radius: 10px;
  background: var(--white); border: 1px solid #dae5ec; box-shadow: 0 12px 30px #324f6a26;
  font-size: 15px; font-weight: 700; color: #30516d;
}
.problem-text h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.12; letter-spacing: -.04em; margin-bottom: 22px; }
.problem-text > p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.problem-list { margin-top: 30px; border-top: 1px solid var(--line); }
.problem-list li { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.problem-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: #edf3f8; color: #376188; }
.problem-icon svg, .sector-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.problem-icon svg { width: 20px; height: 20px; }

/* =========================================================
   04 · Propuesta: el hilo vuelve, a pantalla completa
   ========================================================= */
.statement { overflow: hidden; isolation: isolate; padding: 168px 0; background: var(--navy-2); }
.statement::before { /* retícula */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .07;
  background-image: linear-gradient(#79a9d3 1px, transparent 1px), linear-gradient(90deg, #79a9d3 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 70%); mask-image: linear-gradient(90deg, transparent 10%, #000 70%);
}
.statement-mark { position: absolute; z-index: -1; width: 980px; max-width: none; right: -260px; top: 50%; margin-top: -346px; opacity: .085; pointer-events: none; }
.statement-title { margin-top: 28px; max-width: 13.5ch; font-size: clamp(44px, 7.8vw, 116px); line-height: .95; letter-spacing: -.062em; }
.statement-text { max-width: 540px; margin: 64px 0 0 auto; font-size: 19px; line-height: 1.75; color: var(--on-dark); }

/* =========================================================
   05 · Cómo funciona: el hilo atraviesa los cinco pasos
   ========================================================= */
.process { background: var(--off); }
.process-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.process-head .display { margin-bottom: 0; }
.process-head > p { max-width: 360px; font-size: 17px; color: var(--muted); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 72px; }
/* La pista nace en el hilo vertical y llega al último paso */
.steps-track { position: absolute; top: 30px; height: 2px; left: calc(var(--thread-x) - var(--lane) - 1px); right: calc(20% - 45px); background: var(--track); }
.steps-fill { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 0 4px 6px; border: 0; background: none; text-align: left; color: var(--ink);
  border-radius: 10px;
}
.step-num {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--white); border: 1px solid #cbd9e5; color: #5f7890; font-size: 14px; font-weight: 850;
  font-variant-numeric: tabular-nums;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover .step-num { transform: translateY(-2px); border-color: var(--blue); }
.step.is-active .step-num { color: var(--white); border-color: transparent; background: linear-gradient(135deg, var(--blue-ink), #1597d6); box-shadow: 0 8px 24px #167ce445, 0 0 0 7px #237bfb17; }
.step.is-done .step-num { color: var(--blue-ink); border-color: #9cc5f5; }
.step strong { margin-top: 22px; font-size: 18px; font-weight: 780; letter-spacing: -.02em; }
.step small { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.step-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin-top: 48px; padding: 56px;
  background: var(--white); border: 1px solid #dae7f0; border-radius: 20px; box-shadow: 0 30px 80px #0c213514;
}
.step-count { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.step-copy h3 { margin: 16px 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; }
.step-copy p:last-child { font-size: 17px; color: var(--muted); }
/* Registros del trabajo: un hilo pequeño que los une */
.flow { position: relative; display: flex; flex-direction: column; gap: 14px; padding-left: 34px; }
.flow::before { content: ""; position: absolute; left: 9px; top: 26px; bottom: 26px; width: 2px; background: var(--blue-2); opacity: .5; }
.flow-box {
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: var(--off); border: 1px solid #dfeaf2; border-radius: 10px;
  font-size: 16px; font-weight: 720;
}
.flow-box::before { content: ""; position: absolute; left: -31px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue-2); }
.flow-box.is-highlight { background: var(--white); border-color: #b9dcf2; box-shadow: 0 10px 24px #0c21350f; }
.flow-box.is-highlight::before { background: var(--blue-2); box-shadow: 0 0 0 4px #06a9ed26; }
.flow-box small { font-size: 14px; font-weight: 560; color: var(--muted); text-align: right; }
.step-copy.is-changing, .flow.is-changing { opacity: 0; transform: translateY(6px); }
.step-copy, .flow { transition: opacity .3s var(--ease), transform .3s var(--ease); }

/* =========================================================
   06 · Oficina y planta: pantalla partida a sangre
   ========================================================= */
.audience { padding-top: var(--section); }
.audience-head .display { margin-bottom: 0; }
.split {
  position: relative; container-type: inline-size;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 72px;
}
.split-half { display: flex; flex-direction: column; gap: 56px; padding-top: 88px; min-height: 640px; }
.split-office {
  background: var(--off);
  padding-left: calc((100cqw - min(100cqw - var(--gutter), var(--max))) / 2 + var(--lane));
  padding-right: clamp(32px, 5cqw, 80px);
}
.split-plant {
  background: var(--navy-2);
  padding-left: clamp(32px, 5cqw, 80px);
  padding-right: calc((100cqw - min(100cqw - var(--gutter), var(--max))) / 2);
}
.split-copy { max-width: 460px; }
.split-nr { font-size: 15px; font-weight: 700; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.split-plant .split-nr { color: #74d6fc; }
.split-copy h3 { margin: 18px 0 16px; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.04; letter-spacing: -.05em; }
.split-copy p:last-child { font-size: 17px; color: #56697b; }
.split-plant .split-copy p:last-child { color: var(--on-dark); }
.screen {
  margin-top: auto; overflow: hidden;
  background: var(--white); color: #213c53;
  border: 1px solid #ccdeea; border-bottom: 0; border-radius: 16px 16px 0 0;
  box-shadow: 0 30px 60px #062d482e;
}
.screen-tablet { border: 10px solid #172c3d; border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: 0 30px 70px #0008, 0 0 0 1px #617d8a; }
.screen-head { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 24px; background: #193d5a; color: #eaf4fc; font-size: 14px; font-weight: 760; }
.screen-tablet .screen-head { background: #1a6dbb; }
.screen-dots { display: flex; gap: 6px; }
.screen-dots i { width: 8px; height: 8px; border-radius: 50%; background: #6d8ca8; }
.screen li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 19px 24px; border-bottom: 1px solid #e3eaf0; font-size: 16px; font-weight: 720; }
.screen li span { font-size: 14.5px; font-weight: 520; color: #5f7486; text-align: right; }
.screen li .pill { padding: 5px 12px; border-radius: 20px; background: #e1f6ec; color: #1f7462; font-weight: 700; }
/* La misma información cruza de oficina a planta (posicionado por JS) */
.split-bridge { position: absolute; z-index: 3; height: 2px; background: var(--cyan); box-shadow: 0 0 10px #38e5fb; pointer-events: none; display: none; transform-origin: left; }
.split-bridge.is-ready { display: block; }
.split-bridge i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px #38e5fb33; }
.split-bridge i:last-child { left: 100%; }

/* =========================================================
   07 · Beneficios: tres paradas unidas por un tramo del hilo
   ========================================================= */
.benefit-list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; margin-top: 80px; }
.benefit-list::before { /* el tramo que une las tres paradas */
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px;
  background: var(--grad); box-shadow: 0 0 12px #38e5fb66; transform-origin: left;
}
.benefit { position: relative; }
.benefit-node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid #9fd8f7; color: var(--blue-ink);
  box-shadow: 0 0 0 10px var(--white), 0 12px 28px #237bfb29;
}
.benefit-node svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { margin: 34px 0 14px; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -.04em; color: var(--blue-ink); }
.benefit p { max-width: 340px; font-size: 17px; line-height: 1.65; color: var(--muted); }
/* Entrada: el tramo se dibuja y las paradas aparecen a su paso (el bloque en sí no se desplaza) */
@media (prefers-reduced-motion: no-preference) {
  .js .benefit-list[data-reveal] { opacity: 1; transform: none; }
  .js .benefit-list::before { transform: scaleX(0); transition: transform 1.1s var(--ease) .1s; }
  .js .benefit-list .benefit { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .benefit-list .benefit:nth-child(2) { transition-delay: .4s; }
  .js .benefit-list .benefit:nth-child(3) { transition-delay: .75s; }
  .js .benefit-list.is-visible::before,
  .js .benefit-list.is-visible .benefit { opacity: 1; transform: none; }
}

/* =========================================================
   08 · Sectores
   ========================================================= */
.sectors { background: var(--off); }
.sector-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 88px; align-items: end; }
.sectors .display { font-size: clamp(38px, 4.6vw, 66px); }
.sector-list { border-top: 1px solid #d5e1eb; }
.sector-list li { display: flex; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid #d5e1eb; font-size: clamp(19px, 1.8vw, 24px); font-weight: 760; letter-spacing: -.025em; }
.sector-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--tint); color: var(--blue-ink); }
.sector-icon svg { width: 22px; height: 22px; }
.sector-note { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* =========================================================
   09 · Origen
   ========================================================= */
.origin .display { margin-bottom: 0; }
.quote { margin: 72px 0 40px; }
/* La cita en peso ligero: contrasta con el titular sin competir con él */
.quote p { max-width: 22ch; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -.04em; font-weight: 380; color: var(--ink); }
.origin-text { max-width: 600px; font-size: 18px; color: var(--muted); }

/* =========================================================
   10 · Contacto: el hilo termina en la solicitud
   ========================================================= */
.contact { background: radial-gradient(ellipse 55% 100% at 100% 0%, #0f4c73 0%, transparent 70%), var(--navy); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 88px; align-items: start; }
.contact-text { max-width: 500px; font-size: 18px; color: #b2c5d8; }
.contact-points { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; font-size: 16px; color: #c4d5e4; }
.contact-points li { display: flex; align-items: center; gap: 12px; }
.contact-points li::before {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: #38e5fb1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%2338e5fb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.formbox { padding: 34px; border: 1px solid #ffffff20; border-radius: 20px; background: #ffffff0d; box-shadow: 0 24px 70px #0004; }
.formbox h3 { margin-bottom: 8px; font-size: 24px; letter-spacing: -.03em; }
.formhint { margin-bottom: 24px; font-size: 15px; line-height: 1.6; color: #b2c5d8; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 650; color: #deedfa; }
.optional { font-weight: 500; color: #82a4c0; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid #4d687e; border-radius: 8px; background: #10283d; color: var(--white); font-size: 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8aa4b8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px #38e5fb33; }
.field [aria-invalid="true"] { border-color: #ffd98a !important; }
.field-error { font-size: 14px; font-weight: 600; color: #ffd98a; }
.field-error::before { content: "⚠ "; }
.field-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-check { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin: 6px 0 20px; }
.field-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--blue); cursor: pointer; }
.field-check label { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.55; color: #c4d5e4; cursor: pointer; }
.field-check label a, .form-legal a { color: #9fe9ff; text-underline-offset: 2px; }
.field-check .field-error { flex-basis: 100%; }
.btn-submit { width: 100%; }
.btn-submit[aria-disabled="true"] { opacity: .7; cursor: progress; transform: none; }
.form-result { margin-top: 16px; padding: 14px 16px; border-radius: 9px; font-size: 15px; line-height: 1.55; }
.form-result:focus { outline: none; }
.form-result.is-ok { background: #0d4f61; border: 1px solid #4b9ab0; color: #dbffff; }
.form-result.is-error { background: #3a2c12; border: 1px solid #8a6a2c; color: #ffe7b3; }
.form-legal { margin-top: 18px; font-size: 13px; line-height: 1.6; color: #93afc4; }

/* ---------- 11 · Pie ---------- */
.footer { padding: 44px 0; background: #050d16; border-top: 1px solid #2a3c50; color: #8ea4b6; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-meta { text-align: right; font-size: 14px; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 20px; margin-top: 6px; }
.footer-links a { display: inline-block; padding: 6px 0; color: #b9cad8; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--white); }

/* ---------- Páginas legales y 404 ---------- */
.page-header { padding: calc(var(--header) + 56px) 0 56px; background: linear-gradient(170deg, var(--navy) 30%, var(--navy-2) 100%); color: var(--white); }
.page-header h1 { margin-top: 14px; font-size: clamp(36px, 5vw, 56px); }
.page-header .eyebrow { font-size: 15px; font-weight: 650; color: var(--on-dark-label); }
.prose { padding-top: 64px; padding-bottom: 96px; }
.prose > * { max-width: 760px; }
main .prose { padding-left: 0; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -.03em; }
.prose p, .prose li { color: #3b4e62; font-size: 16.5px; line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.prose a { color: var(--blue-ink); }
.prose .note { margin-bottom: 32px; padding: 14px 18px; border-radius: 9px; background: #fff4da; color: #6b4a0c; font-size: 14px; }
main .page-header .wrap { padding-left: 0; }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
main.notfound .wrap { padding-left: 0; }
.notfound .brand { justify-content: center; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); margin: 28px 0 16px; }
.notfound p { color: var(--on-dark); margin-bottom: 30px; }

/* =========================================================
   Adaptación
   ========================================================= */
@media (max-width: 1080px) {
  :root { --lane: 48px; --thread-x: 10px; --section: 112px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; }
  .sector-grid { gap: 56px; }
  .step-detail { padding: 40px; gap: 40px; }
}

@media (max-width: 790px) {
  :root { --gutter: 38px; --section: 88px; --header: 70px; --lane: 34px; --thread-x: 6px; --overhang: 48px; }
  .brand-logo { width: 170px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: calc(var(--header) - 4px); left: 19px; right: 19px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 14px; border: 1px solid #31516b; border-radius: 14px;
    background: #0d2539; box-shadow: 0 24px 40px #0006;
    max-height: calc(100vh - var(--header) - 16px); overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: 14px 12px; font-size: 16px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links-cta { display: block; margin-top: 10px; }
  .nav-links-cta .btn { width: 100%; }

  .hero { padding-top: calc(var(--header) + 48px); }
  .hero-title { margin-bottom: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-desc { font-size: 17px; }
  .hero-foot { margin-top: 32px; padding-bottom: 48px; }
  .hero-art { max-width: 600px; width: 100%; }
  .stage { margin: 0; }
  .art-note { left: 0; }

  .problem-grid, .sector-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .paper-graphic { min-height: 440px; }
  .statement { padding: 112px 0; }
  .statement-mark { width: 620px; margin-top: -220px; right: -240px; }
  .statement-text { margin: 40px 0 0; font-size: 17.5px; }
  .process-head { display: block; }
  .process-head > p { margin-top: 24px; }
  .steps { gap: 4px; margin-top: 56px; }
  .steps-track { top: 25px; right: calc(20% - 33px); }
  .step-num { width: 50px; height: 50px; font-size: 13px; }
  .step strong { font-size: 15px; }
  .step small { font-size: 12.5px; }
  .step-detail { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .split { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .split-half { min-height: 0; gap: 40px; padding-top: 64px; }
  .split-office, .split-plant {
    padding-left: calc((100cqw - min(100cqw - var(--gutter), var(--max))) / 2 + var(--lane));
    padding-right: calc((100cqw - min(100cqw - var(--gutter), var(--max))) / 2);
  }
  .split-bridge { display: none !important; }
  .benefit-list { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .benefit-list::before { display: none; }
  .benefit { padding-left: 84px; }
  .benefit:not(:last-child)::before { /* tramo vertical hasta la parada siguiente */
    content: ""; position: absolute; left: 27px; top: 56px; bottom: -40px; width: 2px; background: var(--grad); box-shadow: 0 0 12px #38e5fb66;
  }
  .benefit-node { position: absolute; left: 0; top: 0; }
  .benefit h3 { margin: 10px 0 10px; }
  .quote { margin-top: 48px; }
}

@media (max-width: 570px) {
  :root { --section: 72px; --lane: 28px; --thread-x: 5px; --overhang: 36px; }
  .display { font-size: clamp(34px, 9.6vw, 46px); margin: 16px 0 20px; }
  .lead { font-size: 17px; }
  .hero-title { font-size: clamp(40px, 11.4vw, 56px); }
  .hero-title em { display: inline; }
  .hero-buttons .btn { width: 100%; }
  .art-note { position: static; display: block; margin-bottom: 12px; }
  .problem-grid { margin-top: 36px; }
  .paper-graphic { min-height: 360px; }
  .paper { scale: .78; }
  .problem-list li { font-size: 16.5px; padding: 16px 0; }
  .statement-title { font-size: clamp(40px, 11.4vw, 56px); }
  .steps { margin-top: 40px; gap: 0; }
  .steps-track { top: 20px; right: 10%; }
  .step { align-items: center; text-align: center; padding: 0 1px 4px; }
  .step-num { width: 40px; height: 40px; font-size: 11.5px; }
  .step strong { margin-top: 12px; font-size: 11.5px; letter-spacing: -.02em; }
  .step small { display: none; }
  .step-detail { margin-top: 28px; padding: 22px; }
  .flow { padding-left: 26px; }
  .flow::before { left: 5px; }
  .flow-box { padding: 14px 15px; font-size: 14.5px; }
  .flow-box::before { left: -27px; }
  .flow-box small { font-size: 13px; }
  .split-half { padding-top: 52px; }
  .screen li { padding: 15px 16px; font-size: 14.5px; }
  .screen li span { font-size: 13px; }
  .screen-head { padding: 0 16px; }
  .sector-list li { padding: 20px 0; gap: 16px; }
  .formbox { padding: 24px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 370px) {
  .brand-logo { width: 150px; }
  .step strong { font-size: 10.5px; }
}

/* Movimiento reducido: sin animaciones ni transiciones; todo visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
