/* ==========================================================================
   Jarvis Digital Factory — estilos
   Mundo: azul marino profundo; solo brilla lo que está vivo (J, ojos, "en línea").
   Porcelana = material de la carcasa del robot (fichas). Visor = pantallas de chat.
   ========================================================================== */

:root {
  color-scheme: dark;
  /* fondos */
  --bg-0: #02050F;
  --bg-1: #030817;
  --bg-2: #071230;
  --bg-3: #0C1C45;
  --line: rgba(130, 165, 255, .14);
  --line-2: rgba(130, 165, 255, .28);
  /* tinta */
  --ink: #EEF3FF;
  --ink-2: #BAC6E4;
  --ink-3: #8C9CC4;
  /* marca */
  --blue: #1E6BFF;
  --blue-d: #1553D6;
  --blue-l: #4D8CFF;
  --cyan: #22E1FF;
  --cyan-l: #A9F1FF;
  --live: #2BE38E;
  /* materiales */
  --porcelain: #F3F6FC;
  --porcelain-2: #E2E8F4;
  --porcelain-ink: #0A1430;
  --porcelain-ink-2: #46557A;
  --visor: #03060F;
  /* tipo */
  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-label: "Michroma", "Archivo", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Fragment Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  /* ritmo */
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(88px, 12vw, 168px);
  --r: 14px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--ink-2);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, blockquote, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg-1); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- tipografía ---------- */
.h-display {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: .96;
  letter-spacing: -.03em;
  color: var(--ink);
  text-wrap: balance;
}
.h2 {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 112;
  font-weight: 750;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}
.kicker {
  font-family: var(--f-label);
  font-size: 11.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-sub { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.lead { font-size: 19px; color: var(--ink); max-width: 46ch; }

/* ---------- botones ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 0;
  font: 600 16px/1 var(--f-body);
  text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease-out), background-color .2s, box-shadow .25s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { --h: 56px; padding: 0 26px; font-size: 17px; }
.btn-primary {
  background: linear-gradient(180deg, #3D84FF, var(--blue));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 28px -10px rgba(30,107,255,.75);
  overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) {
  .btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 14px 34px -10px rgba(34,225,255,.6); }
  .btn-primary:hover::after { transform: translateX(120%); }
  .btn-ghost:hover { background: rgba(130,165,255,.1); border-color: var(--line-2); }
}
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-face { width: 30px; height: 28px; margin-left: -8px; }
.btn-face svg { width: 100%; height: 100%; }

/* ---------- barra de anuncio ---------- */
.ann { background: linear-gradient(90deg, #06143A, #0A2266 50%, #06143A); border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ann p { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 9px var(--gutter); color: var(--ink-2); text-align: center; }
.ann-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(43,227,142,.6); animation: ping 2.2s infinite; }
.ann-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--cyan); font-weight: 600; }
.ann-link .ic { width: 15px; height: 15px; transition: transform .2s var(--ease-out); }
.ann-link:hover .ic { transform: translateX(3px); }

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(43,227,142,.55); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(43,227,142,0); }
}

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(3,8,23,.78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: var(--line); }
.nav-in { width: min(1240px, 100%); margin-inline: auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-j { width: 33px; height: auto; filter: drop-shadow(0 0 10px rgba(34,225,255,.4)); }
.brand-word { display: flex; flex-direction: column; gap: 3px; }
.wm {
  display: flex; align-items: flex-end;
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 800;
  font-size: 19px; line-height: .8; letter-spacing: .02em; color: var(--ink);
}
.wm-a { display: inline-block; width: .82em; height: .72em; margin: 0 .03em 0 .06em; }
.wm-a svg { width: 100%; height: 100%; fill: currentColor; }
.wm-a .wm-tri { fill: var(--cyan); }
.brand-sub { font-family: var(--f-label); font-size: 7.2px; letter-spacing: .5em; color: var(--ink-2); line-height: 1; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; font: 600 12px/1 var(--f-body); letter-spacing: .06em; padding: 7px 10px; border-radius: 999px; color: var(--ink-3); min-width: 36px; transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg-1); }
.nav-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-burger span { width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease-out); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); background: rgba(3,8,23,.96); padding: 8px var(--gutter) 20px; }
.mnav a { display: block; padding: 14px 0; font: 600 20px/1.2 var(--f-display); font-variation-settings: "wdth" 110; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 90vh; z-index: -2;
  background: radial-gradient(closest-side, rgba(30,107,255,.34), rgba(30,107,255,0));
}
.hero-art { position: absolute; z-index: -1; right: max(-60px, calc((100vw - 1240px) / 2 - 120px)); top: -40px; bottom: -40px; width: min(720px, 58vw); }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 35% 20%;
  opacity: .95;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: end; min-height: min(78vh, 760px); }
.hero-copy { padding-top: clamp(16px, 4vh, 48px); }
.hero-copy .h-display { max-width: 12em; }
.hero-sub { margin-top: 26px; max-width: 54ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 14.5px; color: var(--ink-3); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hero-visor { justify-self: end; width: min(400px, 100%); margin-bottom: 8px; }

/* ---------- visor (pantalla de chat) ---------- */
.visor {
  position: relative;
  background: linear-gradient(180deg, #0B1226, var(--visor) 30%);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(130,165,255,.16), 0 30px 60px -20px rgba(0,0,0,.7), 0 18px 50px -24px rgba(30,107,255,.55);
  overflow: hidden;
  isolation: isolate;
  -webkit-user-select: none;
  user-select: none;
  contain: layout paint;
}
.visor::before { content: ""; position: absolute; inset: 0 0 auto; height: 60px; background: linear-gradient(180deg, rgba(255,255,255,.05), transparent); pointer-events: none; }
.visor-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(130,165,255,.12); }
.visor-av { width: 38px; height: 35px; flex: none; }
.visor-av svg { width: 100%; height: 100%; }
.visor-who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.visor-who b { color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.visor-who small { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12.5px; }
.visor-tag { margin-left: auto; font: 500 10.5px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 9px 5px; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--live); display: inline-block; flex: none; animation: ping 2.2s infinite; }
.visor-body { contain: content; display: flex; flex-direction: column; gap: 8px; padding: 18px 14px 20px; min-height: 300px; max-height: 420px; overflow-y: auto; scrollbar-width: none; }
.visor-body::-webkit-scrollbar { display: none; }
/* hero: alto fijo desde el inicio, los mensajes solo cambian de opacidad */
.hero-visor .visor-body { min-height: 0; max-height: none; overflow: hidden; }
.hero-visor .msg { animation: none; transition: opacity .5s var(--ease-out), translate .5s var(--ease-out); }
.hero-visor .msg.pending { opacity: 0; translate: 0 6px; }
.visor .live { animation: none; }
.hero-visor { cursor: pointer; transition: box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) { .hero-visor:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(34,225,255,.45), 0 30px 60px -20px rgba(0,0,0,.7), 0 18px 50px -24px rgba(30,107,255,.7); } }

.msg { max-width: 84%; padding: 10px 13px 8px; border-radius: 18px; font-size: 15px; line-height: 1.45; animation: msgIn .38s var(--ease-out) both; text-wrap: pretty; }
.msg time { display: block; text-align: right; font: 400 11px/1 var(--f-mono); margin-top: 5px; opacity: .6; }
.msg-in { align-self: flex-start; background: #172345; color: var(--ink); border-bottom-left-radius: 6px; }
.msg-out { align-self: flex-end; background: linear-gradient(180deg, #1F6CFF, #1557E0); color: #fff; border-bottom-right-radius: 6px; }
.msg-out time::after { content: " ✓✓"; color: var(--cyan-l); letter-spacing: -.12em; }
.msg-sys { align-self: center; max-width: 92%; background: rgba(34,225,255,.08); color: var(--cyan-l); border: 1px solid rgba(34,225,255,.22); font-size: 13px; border-radius: 12px; text-align: center; padding: 7px 12px; }
.msg-file { display: flex; align-items: center; gap: 10px; }
.msg-file::before { content: "PDF"; font: 600 10px/1 var(--f-mono); background: #fff; color: #D33; padding: 8px 6px; border-radius: 6px; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 14px; background: #172345; border-radius: 18px; border-bottom-left-radius: 6px; animation: msgIn .25s var(--ease-out) both; }
.typing.out { align-self: flex-end; background: #1557E0; border-radius: 18px 18px 6px 18px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; animation: dot 1s infinite ease-in-out; color: var(--ink-2); }
.typing.out i { color: #fff; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- franja de rubros ---------- */
.strip { border-block: 1px solid var(--line); padding: 26px 0; display: flex; align-items: center; gap: 28px; background: var(--bg-0); }
.strip-t { flex: none; padding-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); font: 400 11px/1.4 var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); max-width: 230px; }
.marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee-track span { font: 600 clamp(20px, 2.2vw, 28px)/1 var(--f-display); font-variation-settings: "wdth" 115; color: var(--ink); padding: 0 26px; display: flex; align-items: center; gap: 52px; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 9px; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0l5 5-5 5-5-5z' fill='%2322E1FF'/%3E%3C/svg%3E") center/contain no-repeat; margin-right: -26px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- la pregunta ---------- */
.ask { padding: var(--sec) 0; }
.ask-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.ask-q .h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); max-width: 16ch; }
.ask-zero { margin: 18px 0 0; }
.zero {
  display: block;
  font: 900 clamp(9rem, 22vw, 17rem)/.82 var(--f-display);
  font-variation-settings: "wdth" 125;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(130,165,255,.45);
}
.ask-a { margin-top: 14px; font: 700 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--f-display); font-variation-settings: "wdth" 112; color: var(--cyan); }
.clock { margin-top: 30px; border-top: 1px solid var(--line); }
.clock li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.clock time { font: 500 15px/1 var(--f-mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.clock li:last-child time { color: #FFB547; }
.clock p { color: var(--ink); font-size: 17.5px; }
.ask-close { margin-top: 28px; font-size: 19px; color: var(--ink); max-width: 44ch; }

/* ---------- demo ---------- */
.demo { padding: var(--sec) 0; background: linear-gradient(180deg, var(--bg-1), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg-1)); }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.demo-tabs button, .cases-tabs button {
  border: 1px solid var(--line-2); background: transparent; border-radius: 999px;
  padding: 11px 18px; font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--ease-out);
}
.demo-tabs button:hover { color: var(--ink); border-color: rgba(130,165,255,.45); }
.demo-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg-1); border-color: var(--ink); }
.demo-stage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.demo-visor .visor-body { min-height: 470px; max-height: 470px; padding: 22px 20px; }
.worklog { border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; display: flex; flex-direction: column; background: rgba(3,8,23,.5); }
.worklog-t { font: 400 11px/1.4 var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.worklog-list { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.worklog-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15.5px; animation: msgIn .4s var(--ease-out) both; }
.worklog-list .ok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(43,227,142,.14); color: var(--live); }
.worklog-list .ok svg { width: 14px; height: 14px; }
.worklog-list time { font: 400 12px/1.6 var(--f-mono); color: var(--ink-3); }
.worklog-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- imágenes de sección ---------- */
.sec-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-split .sec-head { margin-bottom: 0; }
.sec-fig img { width: 100%; height: auto; }
.fig-wide img { border-radius: 24px; aspect-ratio: 16 / 10; object-fit: cover; -webkit-mask-image: radial-gradient(120% 120% at 40% 50%, #000 55%, transparent 85%); mask-image: radial-gradient(120% 120% at 40% 50%, #000 55%, transparent 85%); }
.fig-round { justify-self: center; width: min(420px, 100%); }
.fig-round img { border-radius: 50%; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.fac-banner { margin: 0 0 clamp(48px, 7vw, 88px); border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 8; }
.fac-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 70%, transparent), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }

/* ---------- comparativa ---------- */
.vs { padding: var(--sec) 0; }
.vs-scroll { overflow-x: auto; border-radius: var(--r); }
.vs-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.vs-table th, .vs-table td { text-align: left; padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs-table thead th { font: 600 14px/1.3 var(--f-body); color: var(--ink-3); border-bottom-color: var(--line-2); }
.vs-table tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.vs-table td { color: var(--ink-2); width: 26%; }
.vs-table .vs-us { background: rgba(30,107,255,.09); color: var(--ink); }
.vs-table thead .vs-us { background: rgba(30,107,255,.16); border-radius: var(--r) var(--r) 0 0; color: var(--ink); }
.vs-table tbody tr:last-child .vs-us { border-radius: 0 0 var(--r) var(--r); }
.vs-us-h { display: inline-flex; align-items: center; gap: 10px; }
.ic-j { width: 20px; height: auto; filter: drop-shadow(0 0 6px rgba(34,225,255,.5)); }
.vs-honest td:nth-child(2) { color: var(--ink); }
.vs-honest strong { color: #FFB547; font-weight: 600; }

/* ---------- puestos (tablero de vacantes) ---------- */
.roles { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.board { border-top: 1px solid var(--line-2); }
.job {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, .8fr); gap: 32px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  transition: background-color .3s;
  position: relative;
}
.job::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: linear-gradient(90deg, rgba(30,107,255,.0), rgba(30,107,255,.09) 50%, rgba(30,107,255,0)); opacity: 0; transition: opacity .35s; pointer-events: none; }
@media (hover: hover) { .job:hover::before { opacity: 1; } .job:hover .job-n { color: #fff; transform: translateX(6px); } }
.job-n { font: 700 clamp(1.35rem, 2.2vw, 1.85rem)/1.1 var(--f-display); font-variation-settings: "wdth" 112; letter-spacing: -.015em; color: var(--ink); transition: transform .35s var(--ease-out), color .2s; }
.job-d { color: var(--ink-2); max-width: 52ch; }
.job-w { font-size: 14px; color: var(--ink-3); text-align: right; }

/* ---------- fábrica ---------- */
.factory { padding: var(--sec) 0; background: radial-gradient(80% 60% at 20% 30%, rgba(30,107,255,.14), transparent 70%), var(--bg-0); border-block: 1px solid var(--line); }
.factory-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 110px); }
.badge-dock { position: sticky; top: 140px; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.badge {
  width: min(380px, 100%);
  background: linear-gradient(180deg, #FFFFFF, var(--porcelain) 40%, var(--porcelain-2));
  color: var(--porcelain-ink);
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 #C9D3E6, 0 40px 80px -30px rgba(0,0,0,.8), 0 30px 70px -40px rgba(30,107,255,.6);
  position: relative;
  transform: rotate(-1.2deg);
  transition: transform .6s var(--ease-out);
}
.badge::before { content: ""; position: absolute; top: -26px; left: 50%; width: 70px; height: 34px; margin-left: -35px; border-radius: 10px 10px 0 0; border: 5px solid #1E2C55; border-bottom: 0; }
.badge::after { content: ""; position: absolute; top: 12px; left: 50%; width: 48px; height: 8px; margin-left: -24px; border-radius: 99px; background: #CBD4E6; box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.badge.is-done { transform: rotate(0deg); }
.badge-top { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding-top: 14px; padding-bottom: 16px; border-bottom: 1px solid #D4DBEA; }
.badge-j { width: 26px; height: auto; grid-row: span 2; }
.badge-org { font: 400 9.5px/1.3 var(--f-label); letter-spacing: .24em; color: var(--porcelain-ink); }
.badge-kind { font-size: 12.5px; color: var(--porcelain-ink-2); }
.badge-id { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.badge-photo { width: 84px; height: 84px; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #183B8F, #071330); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.badge-photo svg { width: 72px; height: 66px; }
.badge-name { font: 800 22px/1.05 var(--f-display); font-variation-settings: "wdth" 115; letter-spacing: -.01em; }
.badge-state { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 13.5px; color: var(--porcelain-ink-2); font-weight: 500; }
.badge-state .dot { width: 8px; height: 8px; border-radius: 50%; background: #F0A93A; transition: background-color .3s; }
.badge.is-done .badge-state .dot { background: var(--live); animation: ping 2.2s infinite; }
.badge.is-done .badge-state { color: #0E7A4C; }
.badge-fields { display: flex; flex-direction: column; border-top: 1px solid #D4DBEA; }
.badge-fields > div { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #DEE4F0; font-size: 14px; align-items: baseline; }
.badge-fields dt { font: 400 8.5px/1.6 var(--f-label); letter-spacing: .14em; white-space: nowrap; text-transform: uppercase; color: var(--porcelain-ink-2); }
.badge-fields dd { color: var(--porcelain-ink); font-weight: 500; position: relative; transition: color .3s; }
.badge-fields dd::after { content: ""; position: absolute; inset: 2px 0; border-radius: 6px; background: linear-gradient(90deg, #E2E8F3, #EDF1F8, #E2E8F3); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); transform-origin: right; }
.badge-fields > div.is-on dd::after { opacity: 0; transform: scaleX(0); }
.badge-fields > div:not(.is-on) dd { color: transparent; }
@keyframes shimmer { to { background-position: -200% 0; } }
.badge-foot { display: flex; align-items: center; gap: 12px; padding-top: 14px; font: 500 12px/1 var(--f-mono); color: var(--porcelain-ink-2); }
.badge-bar { flex: 1; height: 6px; border-radius: 99px; background: #DCE3F0; overflow: hidden; }
.badge-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.badge-note { font-size: 13px; color: var(--ink-3); }

.stations { display: flex; flex-direction: column; }
.station { position: relative; padding: clamp(40px, 9vh, 96px) 0 clamp(40px, 9vh, 96px) 72px; border-left: 1px solid var(--line-2); min-height: 44vh; display: flex; flex-direction: column; justify-content: center; }
.station::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--blue), var(--cyan)); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease-out); }
.station.is-past::before, .station.is-on::before { transform: scaleY(1); }
.st-n { position: absolute; left: -22px; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-0); border: 1px solid var(--line-2); font: 600 15px/1 var(--f-mono); color: var(--ink-3); transition: all .4s var(--ease-out); }
.station.is-on .st-n, .station.is-past .st-n { background: var(--blue); border-color: var(--blue); color: #fff; }
.station.is-on .st-n { box-shadow: 0 0 0 6px rgba(30,107,255,.22), 0 0 24px rgba(34,225,255,.55); }
.st-ic { width: 76px; height: 76px; margin: 0 0 18px -6px; filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)) saturate(.35) brightness(.7); opacity: .55; transform: scale(.92); transform-origin: left bottom; transition: filter .5s var(--ease-out), opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.station.is-on .st-ic, .station.is-past .st-ic { filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(34,225,255,.25)); opacity: 1; transform: none; }
.station h3 { font: 750 clamp(1.6rem, 3vw, 2.4rem)/1.05 var(--f-display); font-variation-settings: "wdth" 115; letter-spacing: -.02em; color: var(--ink-3); transition: color .4s; }
.station p { margin-top: 14px; max-width: 46ch; font-size: 17.5px; color: var(--ink-3); transition: color .4s; }
.station.is-on h3 { color: var(--ink); }
.station.is-on p { color: var(--ink-2); }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line-2); }
.promises li { padding: 28px 28px 0 0; }
.promises li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.pr-ic { width: 64px; height: 64px; margin-bottom: 16px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.5)); }
.promises h3 { font: 700 20px/1.2 var(--f-display); font-variation-settings: "wdth" 110; color: var(--ink); }
.promises p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

/* ---------- casos ---------- */
.cases { padding: var(--sec) 0; }
.cases-ui { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cases-tabs { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.cases-tabs button { position: relative; text-align: left; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 20px 4px; font: 650 clamp(1.15rem, 1.8vw, 1.45rem)/1.15 var(--f-display); font-variation-settings: "wdth" 112; color: var(--ink-3); background: none; }
.cases-tabs button[aria-selected="true"] { color: var(--ink); }
.cases-tabs button:hover { color: var(--ink); }
.cases-tabs .prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; }
.cases-tabs button[aria-selected="true"] .prog { animation: prog var(--case-ms, 8000ms) linear forwards; }
.cases-ui.is-paused .prog { animation-play-state: paused !important; }
@keyframes prog { to { transform: scaleX(1); } }
.case { padding: 36px clamp(24px, 4vw, 48px) 40px; border-radius: 24px; background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 60%); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -30px rgba(0,0,0,.6); min-height: 380px; display: flex; flex-direction: column; }
.case:not([hidden]) { animation: caseIn .5s var(--ease-out) both; }
@keyframes caseIn { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.case-where { font: 400 10.5px/1.5 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--cyan); }
.case-h { margin-top: 18px; font: 750 clamp(1.6rem, 2.8vw, 2.3rem)/1.08 var(--f-display); font-variation-settings: "wdth" 110; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.case > p:not(.case-where):not(.case-role) { margin-top: 18px; font-size: 17.5px; color: var(--ink-2); max-width: 58ch; }
.case-role { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: 14.5px; color: var(--ink-3); }
.case-role b { color: var(--ink); font-weight: 500; }

/* ---------- embajadores ---------- */
.amb { padding: 0 0 var(--sec); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.amb-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px);
  padding: clamp(36px, 6vw, 72px);
  border-radius: 30px;
  background: radial-gradient(90% 120% at 0% 0%, rgba(30,107,255,.3), transparent 60%), linear-gradient(160deg, #0A1B4A, #050D26);
  isolation: isolate;
}
.amb-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--a), rgba(34,225,255,0) 0deg, rgba(34,225,255,.9) 60deg, rgba(30,107,255,.6) 110deg, rgba(34,225,255,0) 170deg, rgba(130,165,255,.18) 171deg 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 7s linear infinite;
}
@keyframes spin { to { --a: 360deg; } }
.amb-copy p:not(.kicker) { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 52ch; }
.amb-copy .btn { margin-top: 32px; }
.amb-steps { counter-reset: s; display: flex; flex-direction: column; justify-content: center; }
.amb-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.amb-steps li:first-child { border-top: 1px solid var(--line); }
.amb-steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 500 14px/1 var(--f-mono); color: var(--cyan); }
.amb-steps b { color: var(--ink); font: 700 19px/1.25 var(--f-display); font-variation-settings: "wdth" 108; }
.amb-steps span { margin-top: 6px; color: var(--ink-2); font-size: 16px; }

/* ---------- nosotros ---------- */
.about { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.founder { display: grid; grid-template-columns: 132px 1fr; gap: 28px; align-items: start; }
.founder-ph { width: 132px; height: 160px; border-radius: 20px; overflow: hidden; position: relative; background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line-2); }
.founder-ph::before { content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center; font: 800 38px/1 var(--f-display); font-variation-settings: "wdth" 125; color: rgba(186,198,228,.35); }
.founder-ph img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font: 750 clamp(1.5rem, 2.4vw, 2rem)/1.05 var(--f-display); font-variation-settings: "wdth" 112; letter-spacing: -.02em; color: var(--ink); }
.founder-r { margin-top: 8px; font-size: 14.5px; color: var(--cyan); font-weight: 500; }
.founder p:not(.founder-r) { margin-top: 14px; color: var(--ink-2); }
.founder blockquote { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font: 600 18px/1.35 var(--f-display); font-variation-settings: "wdth" 104; color: var(--ink); }

/* ---------- faq ---------- */
.faq { padding: var(--sec) 0; background: var(--bg-0); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 110px; }
.faq-grid .btn { margin-top: 28px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font: 650 clamp(1.08rem, 1.6vw, 1.3rem)/1.3 var(--f-display); font-variation-settings: "wdth" 106; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center/14px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 14px no-repeat; color: var(--cyan); transition: transform .3s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 24px; max-width: 64ch; color: var(--ink-2); }
.faq-list details[open] p { animation: msgIn .35s var(--ease-out) both; }

/* ---------- cierre ---------- */
.close { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 130px) 0; isolation: isolate; text-align: center; }
.close::before { content: ""; position: absolute; inset: auto 0 -40% 0; height: 90%; z-index: -2; background: radial-gradient(50% 60% at 50% 100%, rgba(30,107,255,.45), transparent 70%); }
.close-art { position: absolute; z-index: -1; inset: 0; opacity: .85; }
.close-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent); }
.close-bot { width: clamp(150px, 16vw, 220px); height: auto; margin-bottom: 20px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); animation: bob 5s ease-in-out infinite; }
.close-in { display: flex; flex-direction: column; align-items: center; }
.close-h { max-width: 14ch; }
.close .hero-sub { margin-inline: auto; }
.close .hero-ctas { justify-content: center; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-0); padding: 56px 0 28px; font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-j { width: 40px; height: auto; filter: drop-shadow(0 0 10px rgba(34,225,255,.4)); }
.foot-name { font: 800 22px/1 var(--f-display); font-variation-settings: "wdth" 125; letter-spacing: .04em; color: var(--ink); margin-bottom: 6px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.foot-nav a, .foot-contact a { color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--ink); }
.foot-contact { display: flex; flex-direction: column; gap: 8px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }

/* ---------- Jarvis (widget) ---------- */
.jv { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.jv-launch {
  position: relative; width: 74px; height: 74px; border-radius: 50%; border: 0; padding: 9px 7px 7px;
  background: radial-gradient(circle at 50% 35%, #1A3A8E, #071330 75%);
  box-shadow: 0 0 0 1px rgba(130,165,255,.3), 0 14px 34px -8px rgba(0,0,0,.7), 0 10px 40px -10px rgba(34,225,255,.65);
  transition: transform .35s var(--ease-out), box-shadow .3s;
  animation: bob 4.5s ease-in-out infinite;
}
.jv-launch svg { width: 100%; height: 100%; overflow: visible; }
@media (hover: hover) and (pointer: fine) { .jv-launch:hover { transform: scale(1.07) rotate(-4deg); } }
.jv-launch:active { transform: scale(.95); }
.jv-launch[aria-expanded="true"] { animation: none; transform: scale(.9); }
.jv-launch-dot { position: absolute; right: 6px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--live); border: 2.5px solid #071330; animation: ping 2.2s infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.face-eyes, .face-mouth { transform-box: fill-box; transform-origin: center; transition: translate .35s var(--ease-out); }
.is-blink .face-eyes { animation: blink .16s ease-in-out; }
@keyframes blink { 50% { transform: scaleY(.12); } }

.jv-hint {
  position: relative; max-width: 240px; background: var(--porcelain); color: var(--porcelain-ink); font-size: 15px; font-weight: 500; line-height: 1.35;
  padding: 12px 38px 12px 16px; border-radius: 18px 18px 6px 18px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
  animation: hintIn .5s var(--ease-out) both;
  cursor: pointer;
}
@keyframes hintIn { from { opacity: 0; transform: translateY(10px) scale(.9); transform-origin: bottom right; } to { opacity: 1; transform: none; } }
.jv-hint-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--porcelain-ink-2); font-size: 18px; line-height: 1; }
.jv-hint-x:hover { background: var(--porcelain-2); }

.jv-panel {
  position: fixed; right: 20px; bottom: 108px;
  width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 140px));
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0B1430, #050A1C 40%);
  border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(130,165,255,.22), 0 40px 90px -20px rgba(0,0,0,.85), 0 20px 70px -30px rgba(30,107,255,.7);
  overflow: hidden;
  transform-origin: bottom right;
  animation: panelIn .26s var(--ease-out) both;
}
.jv-panel.is-closing { animation: panelOut .16s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes panelOut { to { opacity: 0; transform: translateY(10px) scale(.96); } }
.jv-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; border-bottom: 1px solid var(--line); }
.jv-head-face { width: 46px; height: 42px; flex: none; }
.jv-head-face svg { width: 100%; height: 100%; }
.jv-head-t h2 { font: 800 19px/1 var(--f-display); font-variation-settings: "wdth" 120; color: var(--ink); letter-spacing: .02em; }
.jv-head-t p { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.jv-x { margin-left: auto; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--ink-2); display: grid; place-items: center; }
.jv-x svg { width: 20px; height: 20px; }
.jv-x:hover { background: rgba(130,165,255,.1); color: var(--ink); }
.jv-log { flex: 1; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; scrollbar-color: var(--bg-3) transparent; }
.jv-log .msg { max-width: 88%; }
.jv-log .msg-out time::after { content: none; }
.jv-log .msg a { color: var(--cyan-l); }
.jv-log .msg-in a { color: var(--cyan); }
.jv-log .msg-err { align-self: center; color: #FFB547; font-size: 13.5px; text-align: center; }
.jv-chips { display: flex; gap: 8px; padding: 0 14px 10px; overflow-x: auto; scrollbar-width: none; }
.jv-chips:empty { display: none; }
.jv-chips button { flex: none; border: 1px solid var(--line-2); background: rgba(30,107,255,.08); border-radius: 999px; padding: 9px 14px; font-size: 14px; color: var(--ink); transition: background-color .2s, border-color .2s; }
.jv-chips button:active, .demo-tabs button:active, .lang button:active { transform: scale(.97); }
.jv-chips button:hover { background: rgba(30,107,255,.2); border-color: rgba(34,225,255,.45); }
.jv-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 8px 8px 8px 16px; border-radius: 22px; background: #0E1A3C; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s; }
.jv-form:focus-within { box-shadow: inset 0 0 0 1px rgba(34,225,255,.6), 0 0 0 4px rgba(34,225,255,.1); }
.jv-form textarea { flex: 1; resize: none; border: 0; background: transparent; color: var(--ink); font: 400 16px/1.4 var(--f-body); padding: 8px 0; max-height: 120px; outline: none; }
.jv-form textarea::placeholder { color: var(--ink-3); }
.jv-send { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--blue); color: #fff; transition: transform .15s, background-color .2s, opacity .2s; }
.jv-send svg { width: 18px; height: 18px; }
.jv-send:hover { background: var(--blue-l); }
.jv-send:active { transform: scale(.92); }
.jv-send:disabled { opacity: .45; cursor: not-allowed; }
.jv-mic { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(130,165,255,.12); color: var(--ink); transition: transform .15s var(--ease-out), background-color .2s, color .2s; position: relative; }
.jv-mic svg { width: 19px; height: 19px; }
.jv-mic:hover { background: rgba(130,165,255,.22); }
.jv-mic:active { transform: scale(.92); }
.jv.is-listening .jv-mic { background: #E5484D; color: #fff; }
.jv.is-listening .jv-mic::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(229,72,77,.55); animation: micPulse 1.2s var(--ease-out) infinite; }
@keyframes micPulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.jv.is-listening .jv-form { box-shadow: inset 0 0 0 1px rgba(229,72,77,.6), 0 0 0 4px rgba(229,72,77,.12); }
.jv-x.jv-voice { margin-left: auto; color: var(--ink-3); }
.jv-x.jv-voice + .jv-x { margin-left: 0; }
.jv-voice .jv-wave { display: none; }
.jv.voice-on .jv-voice { color: var(--cyan); }
.jv.voice-on .jv-voice .jv-wave { display: inline; }
.jv.voice-on .jv-voice .jv-mute { display: none; }
.jv.is-talking .jv-head-face .face-mouth, .jv.is-talking .jv-launch .face-mouth { animation: talk .22s ease-in-out infinite alternate; }
@keyframes talk { from { transform: scaleY(.35); } to { transform: scaleY(1.3); } }
.jv-foot { padding: 10px 18px 14px; font-size: 12px; line-height: 1.45; color: var(--ink-3); }
.jv-foot a { color: var(--cyan); font-weight: 600; text-decoration: none; }

/* ---------- entrada al aparecer (contenido visible por defecto) ---------- */
.js .rv { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 48px; }
  .hero-art { width: 100%; right: -30%; opacity: .45; }
  .hero-visor { justify-self: start; width: min(420px, 100%); }
  .sec-split { grid-template-columns: 1fr; }
  .fig-round { width: min(300px, 80%); }
  .fac-banner { aspect-ratio: 16 / 9; }
  .ask-grid, .demo-stage, .factory-grid, .cases-ui, .amb-card, .founders, .faq-grid { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; gap: 10px; }
  .job-w { text-align: left; }
  .badge-dock { position: static; order: 2; margin-top: 8px; }
  .badge { width: min(360px, 100%); }
  .factory-grid { gap: 24px; }
  .station { min-height: 0; padding: 48px 0 48px 52px; }
  .stations { margin-top: 20px; }
  .promises { grid-template-columns: 1fr; }
  .promises li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .promises li { padding: 24px 0; }
  .cases-tabs { flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; scrollbar-width: none; }
  .cases-tabs button { flex: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 18px; font: 500 15px/1 var(--f-body); overflow: hidden; }
  .cases-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg-1); }
  .faq-grid > div:first-child { position: static; }
  .strip { flex-direction: column; align-items: stretch; gap: 16px; }
  .strip-t { padding-left: var(--gutter); max-width: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .h-display { font-variation-settings: "wdth" 100; font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .h2 { font-variation-settings: "wdth" 100; }
  .zero, .job-n, .station h3, .case-h, .founder h3 { font-variation-settings: "wdth" 100; }
  .lang button { padding: 7px 8px; min-width: 32px; }
  .brand-sub { display: none; }
  .brand-j { width: 30px; height: 32px; }
  .hero-ctas .btn { width: 100%; }
  .demo-visor .visor-body { min-height: 400px; max-height: 400px; }
  .founder { grid-template-columns: 96px 1fr; gap: 18px; }
  .founder-ph { width: 96px; height: 120px; }
  .station { padding: 40px 0 40px 40px; }
  .st-ic { width: 60px; height: 60px; }
  .st-n { width: 36px; height: 36px; left: -18px; margin-top: -18px; font-size: 13px; }
  .jv { right: 14px; bottom: 14px; }
  .jv-launch { width: 64px; height: 64px; }
  .jv-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
  .clock li { grid-template-columns: 62px 1fr; gap: 12px; }
  .demo-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .demo-tabs::-webkit-scrollbar { display: none; }
  .demo-tabs button { flex: none; }
  .ann { font-size: 13.5px; }
  .ann p { flex-wrap: nowrap; gap: 8px; padding: 9px 14px; }
  .ann-rest { display: none; }
  .visor-tag { font-size: 9px; padding: 5px 7px 4px; letter-spacing: .14em; }
  .visor-body { min-height: 260px; }
  .hero-facts { gap: 6px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .js .rv { opacity: 1; transform: none; filter: none; }
}
