/* FuelBackup — sitio comercial
   Identidad «Aguja en F» · Instrument Sans + Geist Mono
   Breakpoints: escritorio ≥ 1100 · tableta 700–1099 · móvil < 700 */

/* ---------- Fuentes (autoalojadas, licencia OFL) ---------- */
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/instrument-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/instrument-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/instrument-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/geist-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/geist-mono-latin-500-normal.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --noche: #07090D;
  --carbon: #10141B;
  --grafito: #1A2029;
  --trazo: #2A313D;
  --bruma: #9BA4B3;
  --bruma-2: #C9CFD9;
  --faint: #6B7483;
  --hielo: #F2F4F7;
  --papel: #FFFFFF;
  --niebla: #DDE2E9;
  --linea: #EEF1F5;
  --acero: #556070;
  --tinta: #0B0E13;
  --tinta-2: #3B4452;
  --lumen: #58D5FF;
  --lumen-p: #08779E;
  --ok: #1E7A4A; --ok-d: #6BE3A3; --ok-dot: #2FB86E;
  --warn: #8A5200; --warn-d: #F2B248;
  --err: #A62626; --err-d: #FF8A8A;

  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 6.6vw, 96px);
  --maxw: 1248px;
  --sec-pad: clamp(88px, 11vw, 140px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--noche); color: var(--tinta); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hp { left: -9999px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lumen); color: #04121A; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--lumen); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--lumen-p); }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-motor { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-motor .needle { stroke: var(--lumen); }

/* Logotipo */
.mark { width: 28px; height: 28px; flex: none; color: var(--hielo); }
.mark-arc { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mark-needle { fill: none; stroke: var(--needle, var(--lumen)); stroke-width: 5; stroke-linecap: round; }
.mark-pivot { fill: currentColor; }
.ink-mark { color: var(--tinta); --needle: var(--lumen-p); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--hielo); }
.wordmark { font-size: 20px; letter-spacing: -0.025em; font-weight: 400; line-height: 1; }
.wordmark b { font-weight: 600; }
.wordmark.ink { color: var(--tinta); font-size: 16px; }

/* Tipografía */
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lumen); margin-bottom: 22px; }
.light .eyebrow { color: var(--lumen-p); }
.display { font-size: clamp(50px, 6.1vw, 88px); line-height: .98; font-weight: 600; letter-spacing: -0.045em; color: var(--hielo); }
.grad { background: linear-gradient(90deg, var(--hielo) 0%, var(--hielo) 30%, var(--lumen) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-xl { font-size: clamp(40px, 5vw, 72px); line-height: 1.03; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.h-xl2 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.03; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.h-l { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.07; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.h-m, .h-m2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--bruma); text-wrap: pretty; }
.dim { color: var(--bruma); }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; }
.label-mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--bruma); }
.light .label-mono { color: var(--acero); }
.muted { color: var(--bruma); }
.faint { color: var(--faint); }
.acero { color: var(--acero); }
.ink { color: var(--tinta); }
.ink-2 { color: var(--tinta-2); }
.ok-d { color: var(--ok-d); }
.ok { color: var(--ok); }
.err { color: var(--err); }
.lumen { color: var(--lumen); }
.lumen-p { color: var(--lumen-p); }
.light-t { color: var(--hielo); }
.fw4 { font-weight: 400; }
.sm { font-size: 13px; line-height: 1.45; }
.xs { font-size: 11.5px; line-height: 1.45; }
.grow { flex: 1; }
.min0 { min-width: 0; }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.stack-2 { display: flex; flex-direction: column; gap: 2px; }
.row-8 { display: flex; align-items: center; gap: 8px; }
.row-10 { display: flex; align-items: center; gap: 10px; }
.row-12 { display: flex; align-items: center; gap: 12px; }
.demo-note { margin-top: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.demo-note.dark-txt { color: var(--acero); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; border: 0; font-size: 16px; font-weight: 600; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; white-space: nowrap; }
.btn-primary { background: var(--lumen); color: #04121A; box-shadow: 0 10px 40px rgba(88, 213, 255, .28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 48px rgba(88, 213, 255, .4); }
.btn-ghost { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--hielo); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--hielo); font-weight: 500; text-decoration: none; }
.link-arrow .ic { width: 16px; height: 16px; stroke-width: 2; transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-arrow.dark-ink { color: var(--lumen-p); font-weight: 600; margin-top: 8px; }

/* Píldoras de estado */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pill svg .fill, .nights svg .fill { fill: currentColor; stroke: none; }
.pill-ok { background: rgba(47, 184, 110, .14); color: var(--ok); }
.pill-ok.soft { background: rgba(47, 184, 110, .10); }
.pill-ok.dark { background: rgba(69, 217, 138, .14); color: var(--ok-d); }
.pill-ok.dark.soft { background: rgba(69, 217, 138, .10); }
.pill-warn { background: rgba(217, 138, 28, .16); color: var(--warn); }
.pill-warn svg { stroke-width: 2.6; }
.pill-fail { background: rgba(217, 59, 59, .13); color: var(--err); }
.pill-acc { background: rgba(8, 119, 158, .11); color: var(--lumen-p); }

/* ---------- Encabezado ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); background: linear-gradient(180deg, rgba(7, 9, 13, .85), rgba(7, 9, 13, .4)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); color: var(--hielo); transition: background-color .3s; }
.site-header.is-scrolled { background: rgba(7, 9, 13, .86); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; margin-left: 40px; }
.main-nav ul { display: flex; gap: 30px; margin-inline: auto; }
.main-nav ul a, .nav-portal { font-size: 14.5px; color: var(--bruma); text-decoration: none; transition: color .2s; }
.main-nav ul a:hover, .nav-portal:hover { color: var(--hielo); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-portal { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; height: 40px; }
.nav-portal .ic { width: 15px; height: 15px; }
.nav-sep { width: 1px; height: 20px; background: rgba(255, 255, 255, .12); }
.header-mobile { display: none; align-items: center; gap: 4px; }
.menu-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); display: inline-flex; align-items: center; justify-content: center; color: var(--hielo); padding: 0; }
.menu-btn .ic { width: 18px; height: 18px; stroke-width: 2; }
.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded='true'] .ic-open { display: none; }
.menu-btn[aria-expanded='true'] .ic-close { display: block; }

/* ---------- Secciones ---------- */
.sec { padding-block: var(--sec-pad); position: relative; overflow: hidden; }
.dark { background-color: var(--noche); color: var(--hielo); }
.light { color: var(--tinta); }
.paper { background: var(--papel); }
.ice { background: var(--hielo); }
.glow-center { background: radial-gradient(700px 380px at 50% 34%, rgba(88, 213, 255, .10), rgba(88, 213, 255, 0) 70%), var(--noche); }
.glow-top { background: radial-gradient(640px 380px at 50% 40%, rgba(88, 213, 255, .16), rgba(88, 213, 255, 0) 70%), var(--noche); }
.glow-contact { background: radial-gradient(620px 520px at 75% 50%, rgba(88, 213, 255, .14), rgba(88, 213, 255, 0) 70%), var(--noche); }
.sec-head { max-width: 980px; margin-bottom: clamp(44px, 5vw, 64px); }
.sec-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.sec-head.split > div { max-width: 780px; }
.aside { max-width: 380px; font-size: 16px; line-height: 1.56; color: var(--bruma); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(900px, 100svh); overflow: hidden; background: radial-gradient(560px 520px at calc(50% + 320px) 520px, rgba(88, 213, 255, .13), rgba(88, 213, 255, 0) 72%), radial-gradient(900px 500px at 14% 100%, rgba(26, 32, 41, .9), rgba(7, 9, 13, 0) 70%), var(--noche); }
.grain { position: absolute; inset: 0; opacity: .05; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-inner { position: relative; min-height: inherit; }
.hero-copy { position: relative; z-index: 3; padding-top: 232px; max-width: 600px; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy .lead { margin-top: 30px; max-width: 480px; }
.cta-row { margin-top: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.micro { margin-top: 30px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.horizon { position: absolute; left: 0; right: 0; bottom: 16px; height: 1px; background: linear-gradient(90deg, rgba(88, 213, 255, 0), rgba(88, 213, 255, .35) 50%, rgba(88, 213, 255, 0)); }

.hero-stage-wrap { --k: 1; position: absolute; left: calc(50% - 80px); top: 120px; width: calc(800px * var(--k)); height: calc(800px * var(--k)); z-index: 2; }
.hero-stage { position: absolute; left: 0; top: 0; width: 800px; height: 800px; transform: scale(var(--k)); transform-origin: 0 0; }
.dial { position: absolute; inset: 0; width: 800px; height: 800px; }
.dial-num { fill: #6B7483; font-family: var(--mono); font-size: 13px; }
.dial-label { fill: var(--hielo); font-family: var(--mono); font-size: 13px; }
.dial-label.sm { font-size: 11px; }
.hub { position: absolute; left: 250px; top: 250px; width: 300px; height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.hub-time { font-family: var(--mono); font-size: 62px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.hub-days { display: flex; gap: 9px; margin-top: 4px; }
.hub-days i { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--bruma); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.hub-days i::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--lumen); }
.hub-scope { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 2px; }

.glass { background: rgba(26, 32, 41, .74); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); color: var(--hielo); }
.fl { position: absolute; border-radius: 16px; }
.fl b { font-weight: 600; }
.fl .sm { font-size: 11px; line-height: 1.4; }
.fl .mono.sm { white-space: nowrap; }
.big-time .mono { margin-left: 4px; }
.fl-a { left: 60px; top: 76px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 16px; font-size: 15px; }
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: #45D98A; box-shadow: 0 0 0 4px rgba(69, 217, 138, .16), 0 0 14px rgba(69, 217, 138, .7); }
.fl-b { left: 528px; top: 112px; width: 230px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.big-time { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.big-time .mono { font-weight: 500; letter-spacing: -0.03em; }
.fl-c { left: 10px; top: 498px; width: 340px; padding: 18px; border-radius: 18px; display: flex; flex-direction: column; gap: 12px; background: rgba(26, 32, 41, .8); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); font-size: 14px; line-height: 1.35; }
.fl-c hr, .panel-dark hr { border: 0; height: 1px; background: rgba(255, 255, 255, .07); margin: 0; }
.job-head { display: flex; align-items: center; justify-content: space-between; font-size: 16px; }
.res-row { display: flex; align-items: center; gap: 12px; }
.res-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--carbon); display: inline-flex; align-items: center; justify-content: center; color: var(--bruma-2); flex: none; }
.res-ic .ic { width: 18px; height: 18px; }
.res-ic.l { background: var(--hielo); color: var(--tinta); }
.fl-d { left: 484px; top: 552px; width: 296px; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.3; }
.fl-d .ic { width: 18px; height: 18px; }
.fl-d .fl-d-status { display: flex; flex-direction: column; gap: 2px; white-space: normal; }
.route { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--bruma); }
.route i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--lumen) 0 4px, transparent 4px 8px); }
.route .light { color: var(--hielo); }

.hero-mobile { display: none; }
.lead-m { display: none; }

/* ---------- Tranquilidad ---------- */
.nights { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 8px; margin-bottom: 56px; }
.nights li { height: 92px; border-radius: 12px; background: var(--hielo); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--acero); }
.nights i { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.nights svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.st-ok { background: rgba(47, 184, 110, .16); color: var(--ok); }
.st-warn { background: rgba(217, 138, 28, .18); color: var(--warn); }
.st-warn svg { stroke-width: 2.6; }
.st-fail { background: rgba(217, 59, 59, .15); color: var(--err); }
.nights .warn { background: #FFF4E2; color: var(--warn); }
.nights .fail { background: #FDEBEB; color: var(--err); }
.nights .today { background: var(--tinta); color: var(--lumen); }
.nights .today .st-ok { background: rgba(69, 217, 138, .2); color: var(--ok-d); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.trio-item { border-top: 1px solid var(--niebla); padding-top: 20px; }
.trio-item h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.trio-item p { font-size: 16px; line-height: 1.56; color: var(--acero); }

/* ---------- Cómo funciona ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.steps::before { content: ''; position: absolute; left: 30px; right: 30px; top: 29px; height: 2px; background: linear-gradient(90deg, rgba(88, 213, 255, .2), var(--lumen) 50%, rgba(88, 213, 255, .2)); }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step-node { width: 60px; height: 60px; border-radius: 50%; background: var(--carbon); border: 1px solid var(--trazo); display: inline-flex; align-items: center; justify-content: center; color: var(--hielo); margin-bottom: 4px; }
.step-node .ic { width: 24px; height: 24px; }
.step-hl .step-node { background: var(--lumen); border-color: var(--lumen); color: #04121A; box-shadow: 0 0 40px rgba(88, 213, 255, .45); }
.step-n { font-family: var(--mono); font-size: 12px; color: var(--lumen); }
.step h3 { font-size: 18px; line-height: 1.33; font-weight: 600; }
.step p { font-size: 14.5px; line-height: 1.52; color: var(--bruma); }
.places { margin-top: 72px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.place { min-height: 96px; border-radius: 16px; border: 1px solid var(--trazo); padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-size: 14px; }
.place .muted { font-size: 12.5px; }
.place-wide { grid-column: span 4; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 16px 24px; font-size: 15px; }
.place-wide .muted { font-size: 13.5px; }
.place-wide .ic { color: var(--bruma); }
.place-cloud { border-color: rgba(88, 213, 255, .5); background: rgba(88, 213, 255, .06); }

.job-detail { margin-top: clamp(80px, 9vw, 120px); padding-top: clamp(56px, 6vw, 80px); border-top: 1px solid var(--grafito); display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: start; }
.jd-copy { display: flex; flex-direction: column; gap: 18px; }
.jd-copy > .muted { font-size: 17px; line-height: 1.6; }
.kv-list { margin-top: 10px; }
.kv-list > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 46px; border-top: 1px solid var(--grafito); font-size: 14px; }
.kv-list > div:last-child { border-bottom: 1px solid var(--grafito); }
.kv-list dt { color: var(--bruma); }
.mail-card { margin-top: 26px; border-radius: 20px; background: var(--papel); color: var(--tinta); overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.mail-bar { height: 44px; padding: 0 18px; background: var(--tinta); display: flex; align-items: center; gap: 8px; color: var(--hielo); }
.mail-bar .mark { width: 18px; height: 18px; }
.mail-bar .wordmark { font-size: 14px; }
.mail-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mail-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.mail-title.ok { color: var(--ok); }
.stat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st { border-radius: 12px; background: rgba(255, 255, 255, .04); padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--bruma); }
.st b { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--hielo); line-height: 1.2; }
.st.ok { background: rgba(69, 217, 138, .10); }
.st.ok b { color: var(--ok-d); }
.stat3.light .st { background: var(--hielo); color: var(--acero); font-size: 11.5px; }
.stat3.light .st b { color: var(--tinta); font-size: 20px; }
.stat3.light .st.ok { background: rgba(47, 184, 110, .10); }
.stat3.light .st.ok b { color: var(--ok); }

.jd-visual { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.panel-dark { border-radius: var(--radius); background: rgba(26, 32, 41, .6); border: 1px solid rgba(255, 255, 255, .07); padding: 24px 28px; display: flex; flex-direction: column; gap: 24px; }
.panel-dark.deep { background: rgba(16, 20, 27, .85); gap: 10px; padding: 22px 28px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 17px; }
.res-block { display: flex; flex-direction: column; gap: 18px; }
.res-title { display: flex; align-items: center; gap: 12px; font-size: 15px; min-width: 0; }
.res-title .file { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.track::before { content: ''; position: absolute; left: 6px; right: 6px; top: 5px; height: 2px; background: linear-gradient(90deg, var(--lumen), #45D98A); }
.track li { position: relative; display: flex; flex-direction: column; gap: 2px; padding-top: 22px; font-size: 12.5px; line-height: 1.36; }
.track li::before { content: ''; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--lumen); }
.track li.end::before { background: #45D98A; box-shadow: 0 0 0 4px rgba(69, 217, 138, .18); }
.track b { font-weight: 400; }
.track .mono { font-size: 11px; color: var(--bruma); }
.log li { display: grid; grid-template-columns: 84px 190px minmax(0, 1fr); align-items: center; gap: 0; min-height: 32px; border-top: 1px solid var(--grafito); font-size: 13px; line-height: 1.35; padding-block: 6px; }
.log time { font-size: 12px; color: var(--bruma); }
.log b { font-weight: 400; }
.log span { color: var(--bruma); }

/* ---------- Características ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.feat { padding: 28px; border-radius: var(--radius); background: var(--papel); display: flex; flex-direction: column; gap: 20px; }
.feat-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--tinta); color: var(--hielo); display: inline-flex; align-items: center; justify-content: center; }
.feat-ic .ic { width: 22px; height: 22px; }
.feat h3 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.feat li { padding: 12px 0; border-top: 1px solid var(--linea); font-size: 15px; line-height: 1.4; color: var(--tinta-2); }
.feat-dark { background: var(--tinta); color: var(--hielo); }
.feat-dark .feat-ic { background: var(--grafito); }
.feat-dark li { border-top-color: var(--grafito); color: var(--bruma-2); }

.dash { margin-top: clamp(96px, 10vw, 140px); }
.dash-copy { max-width: 820px; display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; }
.dash-copy .acero { font-size: 18px; line-height: 1.56; max-width: 640px; }
.dash-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 0; align-items: start; }
.win .win-top, .win .win-body { padding-right: 80px; }
.win { position: relative; z-index: 1; margin-right: -52px; border-radius: var(--radius); background: var(--papel); border: 1px solid var(--niebla); box-shadow: 0 40px 80px rgba(11, 14, 19, .10), 0 2px 6px rgba(11, 14, 19, .04); overflow: hidden; display: flex; font-size: 13.5px; }
.win-rail { width: 64px; flex: none; background: var(--tinta); display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 14px; color: var(--bruma); }
.win-rail .mark { width: 22px; height: 22px; margin-bottom: 18px; }
.rail-i { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.rail-i .ic, .rail-i .ic-motor { width: 18px; height: 18px; }
.rail-i.on { background: var(--grafito); color: var(--hielo); }
.win-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.win-top { height: 54px; padding: 0 28px; border-bottom: 1px solid var(--linea); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.live-txt { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--acero); }
.live-txt i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-dot); }
.chip-mono { font-family: var(--mono); font-size: 11px; color: var(--acero); padding: 5px 10px; border-radius: 999px; background: var(--hielo); white-space: nowrap; }
.win-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 22px; }
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.kpi { border-radius: 14px; background: #F7F8FA; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kpi .label-mono { font-size: 9.5px; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-v { font-size: 22px; font-weight: 500; display: flex; align-items: center; gap: 7px; line-height: 1.2; }
.kpi-v:not(.mono) { font-size: 18px; font-weight: 600; }
.kpi-v.smv { font-size: 18px; }
.kpi-acc { background: rgba(8, 119, 158, .07); }
.kpi-acc .label-mono, .kpi-acc .kpi-v { color: var(--lumen-p); }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--ok-dot); box-shadow: 0 0 0 3px rgba(47, 184, 110, .18); }
.win-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fake-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--niebla); background: var(--papel); color: var(--tinta); font-size: 13px; font-weight: 500; white-space: nowrap; }
.fake-btn.dark { background: var(--tinta); border-color: var(--tinta); color: #fff; font-weight: 600; }
.fake-btn .ic { width: 13px; height: 13px; stroke-width: 2.2; }
.jobs-head { font-size: 15px; padding-bottom: 10px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.jobs table { width: 100%; border-collapse: collapse; min-width: 640px; }
.jobs th { text-align: left; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--acero); font-weight: 400; height: 34px; border-bottom: 1px solid var(--linea); }
.jobs td { height: 50px; border-bottom: 1px solid var(--linea); white-space: nowrap; padding-right: 12px; }
.jobs tr:last-child td { border-bottom: 0; }
.jobs td.id { color: var(--lumen-p); }
.jobs td.mono { font-size: 12.5px; }
.dash-floats { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 24px; margin-top: -84px; }
.fl-sched { border-radius: var(--radius); padding: 22px; background: radial-gradient(200px 120px at 85% 15%, rgba(88, 213, 255, .18), rgba(88, 213, 255, 0)), var(--noche); color: var(--hielo); box-shadow: 0 40px 70px rgba(7, 9, 13, .28); display: flex; flex-direction: column; gap: 14px; }
.fl-sched .label-mono { color: var(--bruma); }
.sched-time { display: flex; align-items: baseline; gap: 12px; font-size: 14px; }
.sched-time b { font-size: 50px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.days i { font-style: normal; height: 30px; border-radius: 8px; background: rgba(88, 213, 255, .14); color: var(--lumen); font-family: var(--mono); font-size: 11px; display: flex; align-items: center; justify-content: center; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.fl-pend, .fl-note { border-radius: 20px; background: var(--papel); border: 1px solid var(--niebla); box-shadow: 0 30px 60px rgba(11, 14, 19, .12); padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.fl-pend .file { overflow-wrap: anywhere; }
.fl-note { padding: 16px 18px; line-height: 1.45; }
.fl-note .sm { font-size: 13.5px; }

/* ---------- Nube ---------- */
.journey { position: relative; height: 440px; }
.journey-arc { position: absolute; inset: 0; width: 100%; height: 100%; }
.j-node { position: absolute; width: 290px; padding: 22px; border-radius: 20px; background: rgba(26, 32, 41, .8); border: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 10px; }
.j-node h3 { font-size: 18px; font-weight: 600; }
.j-node p { font-size: 14px; line-height: 1.5; color: var(--bruma); }
.j-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bruma); }
.j-kicker .ic { color: var(--bruma-2); }
.j-station { left: 0; top: 270px; }
.j-web { right: 0; top: 270px; }
.j-cloud { left: calc(50% - 150px); top: 0; width: 300px; align-items: center; text-align: center; padding: 24px; border-radius: var(--radius); background: radial-gradient(200px 120px at 50% 0%, rgba(88, 213, 255, .22), rgba(88, 213, 255, 0)), var(--carbon); border-color: rgba(88, 213, 255, .35); box-shadow: 0 0 60px rgba(88, 213, 255, .18); }
.j-cloud .mark { width: 44px; height: 44px; }
.j-cloud h3 { font-size: 20px; }
.j-chip { align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; min-height: 30px; padding: 6px 12px; line-height: 1.35; border-radius: 999px; background: var(--carbon); border: 1px solid var(--grafito); font-size: 11.5px; color: var(--bruma); }
.j-label { position: absolute; top: 120px; width: 200px; font-size: 13px; line-height: 1.4; color: var(--bruma-2); }
.j-label .mono { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.j-l1 { left: 20%; }
.j-l2 { right: 20%; text-align: right; width: 170px; }

/* ---------- Biblioteca ---------- */
.lib { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 72px; align-items: start; }
.lib-copy { display: flex; flex-direction: column; gap: 22px; }
.lib-copy .eyebrow { margin-bottom: 0; }
.lib-copy > .acero { font-size: 17px; line-height: 1.6; }
.fn-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--niebla); font-size: 15.5px; }
.fn-list li:last-child { border-bottom: 1px solid var(--niebla); }
.fn-list .ic { color: var(--lumen-p); }
.lib-stage { position: relative; min-width: 0; padding-bottom: 150px; }
.portal { border-radius: 24px; background: var(--papel); border: 1px solid var(--niebla); box-shadow: 0 40px 80px rgba(11, 14, 19, .10); overflow: hidden; }
.portal-top { height: 56px; padding: 0 22px; border-bottom: 1px solid var(--linea); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.portal-top .mark { width: 22px; height: 22px; }
.portal-crumb { margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--niebla); font-size: 14px; color: var(--acero); white-space: nowrap; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--tinta); color: var(--hielo); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.portal-body { display: flex; }
.portal-side { width: 196px; flex: none; padding: 20px 14px; background: #F7F8FA; border-right: 1px solid var(--linea); display: flex; flex-direction: column; gap: 4px; }
.portal-side .label-mono { padding: 0 10px 10px; }
.st-btn { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 10px; border: 0; background: transparent; color: var(--tinta-2); font-size: 13.5px; text-align: left; transition: background-color .2s; }
.st-btn i { width: 6px; height: 6px; border-radius: 50%; background: #C9CFD9; flex: none; }
.st-btn:hover { background: rgba(255, 255, 255, .7); }
.st-btn.is-on { background: var(--papel); box-shadow: 0 1px 3px rgba(11, 14, 19, .08); color: var(--tinta); font-weight: 600; }
.st-btn.is-on i { background: var(--lumen-p); }
.portal-main { flex: 1; min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.pm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pm-title { font-size: 21px; letter-spacing: -0.015em; }
.month { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--niebla); font-size: 13px; white-space: nowrap; }
.month .ic { width: 15px; height: 15px; }
.month .chev { width: 12px; height: 12px; stroke-width: 2; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--niebla); background: var(--papel); color: var(--tinta); font-size: 12.5px; transition: background-color .2s, color .2s; }
.chip.is-on { background: var(--tinta); border-color: var(--tinta); color: #fff; font-weight: 600; }
.day > .label-mono { display: block; padding: 4px 0 8px; }
.file-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; min-height: 58px; border-top: 1px solid var(--linea); padding: 8px 10px; margin: 0 -10px; border-radius: 12px; transition: background-color .25s; }
.file-row b { font-size: 14px; }
.file-row em { font-style: normal; font-weight: 400; color: var(--acero); }
.file-row.is-sel { background: rgba(8, 119, 158, .07); }
.file-row.is-sel .res-ic.l { background: var(--papel); }
.file-row[hidden] { display: none; }
.sm-btn { height: 34px; padding: 0 13px; font-size: 12.5px; font-weight: 600; }
.icon-btn { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--niebla); background: var(--papel); color: var(--tinta); display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: border-color .2s, color .2s; }
.icon-btn .ic { width: 15px; height: 15px; stroke-width: 1.9; }
.icon-btn:hover, .icon-btn.is-on { border-color: var(--lumen-p); color: var(--lumen-p); }
.link-card { position: absolute; right: 28px; bottom: 30px; width: 370px; padding: 22px; border-radius: var(--radius); background: radial-gradient(220px 120px at 85% 0%, rgba(88, 213, 255, .18), rgba(88, 213, 255, 0)), var(--carbon); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px rgba(7, 9, 13, .35); color: var(--hielo); display: flex; flex-direction: column; gap: 14px; font-size: 15px; z-index: 2; }
.link-ic { width: 32px; height: 32px; border-radius: 10px; background: rgba(88, 213, 255, .14); color: var(--lumen); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.link-ic .ic { width: 16px; height: 16px; }
.link-field { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 14px; border-radius: 12px; background: var(--noche); border: 1px solid var(--trazo); font-size: 12px; color: var(--bruma-2); min-width: 0; }
.link-field .ell { flex: 1; min-width: 0; }
.lumen-btn { height: 32px; padding: 0 12px; border-radius: 9px; border: 0; background: var(--lumen); color: #04121A; font-size: 12.5px; font-weight: 600; }
.lib-stage .demo-note { position: absolute; left: 0; bottom: 0; }
.link-card.flash { animation: flash .6s var(--ease); }
@keyframes flash { 0% { transform: translateY(6px); opacity: .5; } 100% { transform: none; opacity: 1; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(48px, 6.6vw, 96px); align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 26px; }
.contact-copy .eyebrow { margin-bottom: 0; }
.contact-copy .lead { max-width: 480px; font-size: 19px; }
.contact-dial { width: min(520px, 100%); height: auto; margin-top: 30px; }
.form { border-radius: 26px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; background: rgba(26, 32, 41, .72); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.form-title { font-size: 22px; font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 13px; color: var(--bruma-2); }
.req { color: var(--lumen); }
.opt { color: var(--faint); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--trazo); background: var(--carbon); color: var(--hielo); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lumen); box-shadow: 0 0 0 4px rgba(88, 213, 255, .14); }
.field [aria-invalid='true'] { border-color: var(--err-d); box-shadow: 0 0 0 4px rgba(255, 138, 138, .12); }
.err-msg { font-size: 12.5px; color: var(--err-d); min-height: 0; }
.err-msg:empty { display: none; }
.consent { font-size: 12.5px; line-height: 1.5; color: var(--bruma); }
.consent a { color: var(--lumen); }
.form .btn { margin-top: 4px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(4, 18, 26, .25); border-top-color: #04121A; display: none; animation: spin .8s linear infinite; }
.form.is-sending .spinner { display: inline-block; }
.form.is-sending .btn { opacity: .85; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status:empty { display: none; }
.form-status { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.form-status.ok { background: rgba(69, 217, 138, .10); color: var(--ok-d); }
.form-status.error { background: rgba(255, 107, 107, .10); color: var(--err-d); }
.form-status:focus { outline: none; }
.form-status svg { width: 16px; height: 16px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Pie ---------- */
.site-footer { background: #050608; color: var(--bruma); border-top: 1px solid var(--grafito); padding: 64px 0 40px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 14px 32px; font-size: 14px; }
.foot-nav a, .foot-links a { color: var(--bruma); text-decoration: none; }
.foot-nav a:hover, .foot-links a:hover { color: var(--hielo); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--grafito); display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; font-size: 13px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* Página de resultado (sin JavaScript) */
.result-page { background: var(--noche); }
.result { min-height: 100svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; max-width: 640px; margin: 0 auto; padding: 48px 24px; }
.result .brand { margin-bottom: 24px; }

/* ---------- Movimiento ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.pulse { animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: .75; } }
.js .dial-needle, .js .contact-needle { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.6s .5s var(--ease) forwards; }
.js .dial-sweep { opacity: 0; animation: fade 1.8s .9s var(--ease) forwards; }
.js .arc-draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.js .journey.is-in .arc-draw { animation: draw 2.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.js .hero .fl, .js .m-card, .js .m-back { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
.js .hero .fl-a { animation-delay: .7s; }
.js .hero .fl-b { animation-delay: .9s; }
.js .hero .fl-c { animation-delay: 1.1s; }
.js .hero .fl-d { animation-delay: 1.3s; }
.js .m-back-2 { animation-delay: .5s; }
.js .m-back-1 { animation-delay: .65s; }
.js .m-card { animation-delay: .8s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .m-back-2 { --to: .55; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .dial-needle, .js .contact-needle, .js .arc-draw { stroke-dashoffset: 0; }
  .js .dial-sweep, .js .hero .fl, .js .m-card, .js .m-back { opacity: 1; transform: none; }
  .pulse { opacity: .5; }
}

/* ---------- Escritorio intermedio ---------- */
@media (max-width: 1359px) {
  .hero-stage-wrap { --k: .86; left: calc(50% - 60px); top: 140px; }
}
@media (max-width: 1239px) {
  .hero-stage-wrap { --k: .76; left: calc(50% - 40px); top: 170px; }
  .hero-copy { max-width: 520px; }
  .main-nav ul { gap: 22px; }
  .main-nav { margin-left: 28px; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Tableta ---------- */
@media (max-width: 1099px) {
  .main-nav ul a { font-size: 14px; }
  .hero { min-height: 0; }
  .hero-copy { padding-top: 168px; max-width: 640px; }
  .hero-stage-wrap { --k: .8; position: relative; left: auto; top: auto; margin: 40px auto 0; }
  .sec-head.split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .aside { max-width: 560px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-wide { grid-column: span 2; }
  .job-detail { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .jd-copy { max-width: 640px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-stage { grid-template-columns: minmax(0, 1fr); }
  .win { margin-right: 0; }
  .win .win-top, .win .win-body { padding-right: 28px; }
  .dash-floats { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fl-sched { grid-row: span 2; }
  .journey { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .journey-arc, .j-label { display: none; }
  .j-node { position: relative; inset: auto; width: auto; }
  .j-cloud { left: auto; }
  .j-cloud { grid-column: span 2; order: -1; }
  .lib { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lib-copy { max-width: 640px; }
  .link-card { right: 16px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact-dial { display: none; }
}
@media (max-width: 959px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; min-height: calc(100svh - var(--header-h)); background: #07090D; border-bottom: 1px solid var(--grafito); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .25s; }
  .main-nav ul { flex-direction: column; gap: 0; margin: 0; }
  .main-nav ul a { display: flex; align-items: center; min-height: 52px; font-size: 18px; color: var(--hielo); border-bottom: 1px solid var(--grafito); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
  .nav-actions .nav-portal, .nav-sep { display: none; }
  .nav-actions .btn { height: 52px; font-size: 16px; }
  .header-mobile { display: flex; }
  html.menu-open { overflow: hidden; }
}

/* ---------- Móvil ---------- */
@media (max-width: 699px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .wordmark { font-size: 18px; }
  .mark { width: 24px; height: 24px; }
  .nav-portal-m { font-size: 13px; padding: 0 10px; }
  .hero-inner { display: flex; flex-direction: column; padding-top: 96px; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; font-size: 10.5px; margin-bottom: 16px; }
  .display { order: 2; }
  .hero-copy .lead { order: 3; }
  .lead-d { display: none; }
  .hero-copy .lead-m { display: block; }
  .m-back-2 { opacity: .55; }
  .m-back-1 { opacity: .8; }
  .display { font-size: clamp(42px, 12.8vw, 54px); line-height: 1; }
  .hero-copy .lead { font-size: 16px; line-height: 1.5; margin-top: 18px; }
  .hero-stage-wrap { display: none; }
  .hero-mobile { display: block; position: relative; height: 330px; margin: 28px calc(var(--gutter) * -1) 0; }
  .m-arc { position: absolute; left: 50%; top: -46px; width: 390px; height: 360px; transform: translateX(-50%); }
  .m-stack { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; }
  .m-back { position: absolute; height: 70px; border-radius: 18px; padding: 12px 16px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--bruma); }
  .m-back-2 { left: 24px; right: 24px; top: 0; background: rgba(26, 32, 41, .5); border: 1px solid rgba(255, 255, 255, .05); }
  .m-back-1 { left: 12px; right: 12px; top: 18px; background: rgba(26, 32, 41, .7); border: 1px solid rgba(255, 255, 255, .07); }
  .js .m-back-2 { animation-name: rise-55; }
  .js .m-back-1 { animation-name: rise-80; }
  .m-card { position: absolute; left: 0; right: 0; top: 40px; padding: 16px; border-radius: 20px; display: flex; flex-direction: column; gap: 12px; background: rgba(26, 32, 41, .88); box-shadow: 0 30px 60px rgba(0, 0, 0, .55); }
  .m-app { width: 22px; height: 22px; border-radius: 6px; background: var(--noche); display: inline-flex; align-items: center; justify-content: center; }
  .m-app .mark { width: 14px; height: 14px; }
  .m-app .mark-arc, .m-app .mark-needle { stroke-width: 6; }
  .tick-ok { width: 22px; height: 22px; border-radius: 50%; background: rgba(69, 217, 138, .16); color: var(--ok-d); display: inline-flex; align-items: center; justify-content: center; flex: none; }
  .tick-ok svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .m-title { font-size: 16px; letter-spacing: -0.01em; }
  .m-card .kv { font-size: 12.5px; }
  .m-card .kv em { font-style: normal; color: var(--bruma); }
  .cta-row { margin-top: 0; flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-copy .cta-row { order: 5; margin-top: 28px; }
  .hero-copy .micro { order: 6; text-align: center; margin-top: 10px; }
  .hero-mobile { order: 4; }
  .cta-row .btn { width: 100%; }
  .cta-row .link-arrow { justify-content: center; height: 44px; }
  .horizon { display: none; }
  .hero { padding-bottom: 40px; }

  .nights { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
  .nights li { height: 72px; gap: 8px; border-radius: 10px; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .steps::before { display: block; left: 29px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(88, 213, 255, .2), var(--lumen) 60%, rgba(88, 213, 255, .2)); }
  .step { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; padding-bottom: 28px; }
  .step-node { grid-row: span 3; margin: 0; }
  .step-n { padding-top: 6px; }
  .places { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 40px; }
  .place-wide { grid-column: auto; }
  .panel-dark { padding: 20px; }
  .panel-head { flex-direction: column; gap: 4px; }
  .res-title { flex-wrap: wrap; }
  .res-title .file { flex-basis: 100%; }
  .track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .track::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--lumen), #45D98A); }
  .track li { padding: 0 0 14px 28px; flex-direction: row; flex-wrap: wrap; gap: 0 8px; }
  .track li:last-child { padding-bottom: 0; }
  .log li { grid-template-columns: 76px minmax(0, 1fr); row-gap: 2px; padding-block: 10px; }
  .log span { grid-column: 2; }

  .features { grid-template-columns: minmax(0, 1fr); }
  .win-rail { display: none; }
  .win-top { padding: 0 16px; }
  .win-top .chip-mono { display: none; }
  .win-body { padding: 18px 16px; }
  .win-actions .fake-btn:nth-child(n+2) { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-floats { grid-template-columns: minmax(0, 1fr); }
  .fl-sched { grid-row: auto; }

  .journey { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .j-cloud { grid-column: auto; order: 0; }
  .j-node { margin-bottom: 36px; }
  .j-node:not(:last-child)::after { content: ''; position: absolute; left: 50%; bottom: -37px; width: 2px; height: 36px; background: linear-gradient(180deg, var(--lumen), rgba(88, 213, 255, .2)); }
  .j-node:last-child { margin-bottom: 0; }

  .portal-body { flex-direction: column; }
  .portal-side { width: auto; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 12px; border-right: 0; border-bottom: 1px solid var(--linea); gap: 6px; }
  .portal-side .label-mono { display: none; }
  .st-btn { white-space: nowrap; flex: none; }
  .portal-main { padding: 18px 16px; }
  .pm-head { flex-wrap: wrap; }
  .portal-crumb, .hide-s { display: none; }
  .file-row { grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 10px; }
  .sm-btn { width: 36px; padding: 0; justify-content: center; }
  .link-card { position: relative; right: auto; bottom: auto; width: auto; margin-top: -28px; margin-inline: 12px; }
  .lib-stage { padding-bottom: 36px; }

  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .form { border-radius: 22px; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-bottom { flex-direction: column; }
}
@keyframes rise-55 { to { opacity: .55; transform: none; } }
@keyframes rise-80 { to { opacity: .8; transform: none; } }
@media (max-width: 380px) {
  .nav-portal-m { display: none; }
}
