/* ==========================================================================
   ZEUS Global Security · Modelo 3 · Video y scroll
   ========================================================================== */
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #07080a;
  --bg-2: #0e1013;
  --bg-3: #15181c;
  --line: rgba(255, 255, 255, .16);
  --line-soft: rgba(255, 255, 255, .09);
  --text: #f3f1ec;
  --muted: #bcb9b1;
  --red: #c8161d;
  --red-hi: #ff5a5f;
  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --bar-h: 33px;
  --nav-h: 72px;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--red); color: #fff; padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Tipografía base ---------- */
.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .94;
  letter-spacing: .005em;
  font-size: clamp(2.8rem, 7.2vw, 6.6rem);
}
.display .accent, .accent { color: var(--red-hi); }
.kicker {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-hi);
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.2rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 1px; background: var(--red-hi); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 40rem; margin-top: 1.4rem; }
.note { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); margin-top: 1.4rem; max-width: 34rem; }

/* ---------- Botones ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.7rem;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn > span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .7rem; pointer-events: none; }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateY(101%);
  transition: transform .45s var(--ease-io);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn-red { background: var(--red); color: #fff; }
.btn-red::before { background: #fff; }
.btn-red:hover, .btn-red:focus-visible { color: #0b0c0e; }
.btn-line { border: 1px solid rgba(255, 255, 255, .5); color: var(--text); background: rgba(7, 8, 10, .35); }
.btn-line::before { background: var(--text); }
.btn-line:hover, .btn-line:focus-visible { color: #0b0c0e; border-color: var(--text); }
.btn-sm { min-height: 2.5rem; padding: 0 1.2rem; font-size: .72rem; }
.btn-lg { min-height: 3.6rem; padding: 0 2.2rem; font-size: .86rem; }
.arr { transition: transform .35s var(--ease); }
.btn:hover .arr, .link-arrow:hover .arr { transform: translateX(5px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); margin-top: 1.4rem; padding-bottom: .35rem;
  background: linear-gradient(var(--red-hi), var(--red-hi)) no-repeat 0 100% / 100% 1px;
  transition: background-size .4s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 100%; color: #0b0c0e; padding-inline: .6rem; }
.link-arrow .arr { width: 1.1rem; height: 1.1rem; }

/* ---------- Cursor reticula ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 1500; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor .chip { cursor: none; }
.cursor-box { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; transition: transform .35s var(--ease), opacity .3s; }
.cursor-box i { position: absolute; width: 10px; height: 10px; border: 0 solid var(--text); transition: border-color .3s; }
.cursor-box i:nth-child(1) { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; }
.cursor-box i:nth-child(2) { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; }
.cursor-box i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; }
.cursor-box i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.cursor-dot { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; background: var(--red-hi); border-radius: 50%; }
.cursor.is-hover .cursor-box { transform: scale(1.55) rotate(45deg); }
.cursor.is-hover .cursor-box i { border-color: var(--red-hi); }
.cursor.is-down .cursor-box { transform: scale(.7); }

/* ---------- Cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; transition: transform .55s var(--ease); }
.site-header.is-scrolled { transform: translateY(calc(var(--bar-h) * -1)); }
.demo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .5rem var(--pad);
  background: #000; border-bottom: 1px solid var(--line-soft);
  font-size: .75rem; color: #d6d3cb; line-height: 1.3;
}
.demo-bar__texto { white-space: nowrap; }
.demo-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red-hi); }
.demo-bar-modelos { display: flex; align-items: center; gap: .3rem 1rem; white-space: nowrap; }
.demo-bar-modelos__label { color: #a9a69f; }
.demo-bar-modelos__enlace { text-decoration: none !important; padding: .15rem .45rem; border: 1px solid transparent; transition: border-color .25s, background .25s; }
.demo-bar-modelos__enlace:hover { border-color: var(--line); }
.demo-bar-modelos__enlace.actual { background: var(--red); border-color: var(--red); color: #fff; }

.nav {
  display: flex; align-items: center; gap: 2rem;
  height: var(--nav-h); padding: 0 var(--pad);
  background: linear-gradient(180deg, rgba(7, 8, 10, .82), rgba(7, 8, 10, 0));
  transition: background .4s, backdrop-filter .4s;
}
.site-header.is-scrolled .nav { background: rgba(7, 8, 10, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.55rem; line-height: 1; letter-spacing: .04em; }
.brand img { width: 40px; height: auto; }
.brand small { display: block; font-family: var(--mono); font-weight: 400; font-size: .62rem; letter-spacing: .22em; color: var(--muted); margin-top: .25rem; }
.nav-links { display: flex; gap: clamp(1.2rem, 2.6vw, 2.8rem); margin-left: auto; }
.nav-links a { position: relative; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .4rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red-hi); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.burger { display: none; width: 46px; height: 46px; margin-left: auto; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--line); }
.burger span { width: 20px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 85; background: rgba(7, 8, 10, .97);
  padding: calc(var(--bar-h) + var(--nav-h) + 2rem) var(--pad) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s;
}
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer a:not(.btn) { display: block; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 3rem; line-height: 1.15; border-bottom: 1px solid var(--line-soft); padding: .3rem 0; }

/* ---------- HUD ---------- */
.hud {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  padding: calc(var(--bar-h) + var(--nav-h) + 12px) var(--pad) 26px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}
.feature-media .hud, .ficha .hud, .control-media .hud { padding: 14px 16px; }
.hud p { position: absolute; display: flex; flex-direction: column; gap: .3rem; }
.hud-tl { left: var(--pad); top: calc(var(--bar-h) + var(--nav-h) + 12px); flex-direction: row !important; align-items: center; gap: 1rem !important; }
.hud-tr { right: var(--pad); top: calc(var(--bar-h) + var(--nav-h) + 12px); text-align: right; font-size: .9rem; }
.hud-bl { left: var(--pad); bottom: 26px; color: var(--muted); }
.hud-br { right: calc(var(--pad) + 4.6rem); bottom: 26px; color: #d6d3cb; }
.feature-media .hud-tl, .control-media .hud-tl { left: 16px; top: 14px; }
.feature-media .hud-bl { left: 16px; bottom: 14px; }
.hud-sub { font-size: .62rem; color: #dcd9d1; }
.hud-c { position: absolute; width: 28px; height: 28px; border: 0 solid rgba(255, 255, 255, .75); }
.hud-c--tl { left: var(--pad); top: calc(var(--bar-h) + var(--nav-h) + 4px); border-width: 1.5px 0 0 1.5px; display: none; }
.hud-c--tr { right: var(--pad); top: calc(var(--bar-h) + var(--nav-h) + 4px); border-width: 1.5px 1.5px 0 0; display: none; }
.hud-c--bl { left: calc(var(--pad) - 12px); bottom: 14px; border-width: 0 0 1.5px 1.5px; }
.hud-c--br { right: calc(var(--pad) - 12px); bottom: 14px; border-width: 0 1.5px 1.5px 0; }
.feature-media .hud-c--tl, .feature-media .hud-c--tr, .ficha .hud-c--tl, .ficha .hud-c--tr, .control-media .hud-c--tl, .control-media .hud-c--tr { display: block; top: 8px; }
.feature-media .hud-c--tl, .ficha .hud-c--tl, .control-media .hud-c--tl { left: 8px; }
.feature-media .hud-c--tr, .ficha .hud-c--tr, .control-media .hud-c--tr { right: 8px; }
.feature-media .hud-c--bl, .ficha .hud-c--bl, .control-media .hud-c--bl { left: 8px; bottom: 8px; }
.feature-media .hud-c--br, .ficha .hud-c--br, .control-media .hud-c--br { right: 8px; bottom: 8px; }
.rec { display: inline-flex; align-items: center; gap: .55rem; font-weight: 400; color: #fff; }
.rec b { width: .6rem; height: .6rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(200, 22, 29, .35); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hud-reticle { position: absolute; left: 50%; top: 46%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; opacity: .75; }
.hud-reticle::before, .hud-reticle::after { content: ""; position: absolute; background: rgba(255, 255, 255, .65); }
.hud-reticle::before { left: 50%; top: -14px; bottom: -14px; width: 1px; -webkit-mask: linear-gradient(#000 0 20px, transparent 20px calc(100% - 20px), #000 0); mask: linear-gradient(#000 0 20px, transparent 20px calc(100% - 20px), #000 0); }
.hud-reticle::after { top: 50%; left: -14px; right: -14px; height: 1px; -webkit-mask: linear-gradient(90deg, #000 0 20px, transparent 20px calc(100% - 20px), #000 0); mask: linear-gradient(90deg, #000 0 20px, transparent 20px calc(100% - 20px), #000 0); }
.hud-reticle { animation: reticle 6s ease-in-out infinite; }
@keyframes reticle { 50% { transform: scale(1.18); border-color: rgba(255, 90, 95, .9); } }

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--bar-h) + var(--nav-h) + clamp(3rem, 9vh, 6rem)) var(--pad) clamp(3.5rem, 8vh, 5.5rem);
  background: #000;
}
.page-hero { min-height: 82svh; }
.page-hero--short { min-height: 66svh; }
.hero-media, .control-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.4s; }
.hero-video.is-playing { opacity: 1; }
.hero-media::after, .reel-stage::after, .control-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.hero-grad {
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, .9) 0%, rgba(5, 6, 8, .62) 30%, rgba(5, 6, 8, 0) 62%),
    linear-gradient(0deg, rgba(5, 6, 8, .78) 0%, rgba(5, 6, 8, 0) 42%);
}
.kenburns { animation: kb 18s ease-out both; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.hero-copy, .page-hero-copy { position: relative; z-index: 6; max-width: 62rem; }
.hero-title, .page-title { font-size: clamp(3.2rem, 8vw, 7.6rem); }
.hero-copy { max-width: 72rem; }
.page-title { font-size: clamp(3rem, 8vw, 7.4rem); }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line-i { display: inline-block; }
.hero-lead { margin-top: 1.8rem; max-width: 38rem; font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: #e4e1da; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2.2rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-tags li { display: flex; align-items: center; gap: .7rem; }
.hero-tags li::before { content: ""; width: .45rem; height: .45rem; background: var(--red); }
.js-ready .line-i { opacity: 0; }
.js-ready [data-hero-in] { opacity: 0; }
.hero-ready .line-i { opacity: 1 !important; transform: none !important; }
.hero-ready [data-hero-in] { opacity: 1 !important; transform: none !important; }

/* ---------- Recorrido por scroll (canvas) ---------- */
.reel { position: relative; background: #000; }
.reel-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000 url("assets/frames/m/f_000.webp") center / cover no-repeat; }
.reel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-grad { position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, rgba(5, 6, 8, .86) 0%, rgba(5, 6, 8, .5) 30%, rgba(5, 6, 8, 0) 58%), linear-gradient(270deg, rgba(5, 6, 8, .7) 0%, rgba(5, 6, 8, 0) 24%), linear-gradient(0deg, rgba(5, 6, 8, .75) 0%, rgba(5, 6, 8, 0) 34%); }
.reel .hud { padding-top: calc(var(--nav-h) + 16px); }
.reel .hud-tl, .reel .hud-tr { top: calc(var(--nav-h) + 16px); }
.reel-glitch { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; }
.reel-stage.is-glitch .reel-canvas { animation: canvas-glitch .36s steps(1, end); }
.reel-stage.is-glitch .reel-glitch { animation: glitch-bars .36s steps(1, end); }
@keyframes canvas-glitch {
  0% { transform: translateX(-12px) scale(1.02); filter: hue-rotate(40deg) saturate(1.8) brightness(1.3); clip-path: inset(0 0 55% 0); }
  16% { transform: translateX(14px); filter: hue-rotate(-30deg) brightness(1.5); clip-path: inset(30% 0 20% 0); }
  32% { transform: translateX(-6px); filter: saturate(2); clip-path: inset(0); }
  48% { transform: translateX(8px) skewX(-2deg); filter: hue-rotate(90deg); clip-path: inset(60% 0 0 0); }
  64% { transform: translateX(-3px); filter: brightness(1.4); clip-path: inset(0); }
  100% { transform: none; filter: none; clip-path: inset(0); }
}
@keyframes glitch-bars {
  0% { opacity: 1; background: linear-gradient(180deg, transparent 12%, rgba(255, 60, 70, .4) 12% 16%, transparent 16% 48%, rgba(60, 220, 255, .35) 48% 52%, transparent 52% 80%, rgba(255, 255, 255, .5) 80% 82%, transparent 82%); }
  34% { opacity: 1; background: linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, .45) 30% 31%, transparent 31% 62%, rgba(255, 60, 70, .4) 62% 68%, transparent 68%); }
  68% { opacity: 1; background: linear-gradient(180deg, transparent 5%, rgba(60, 220, 255, .35) 5% 8%, transparent 8%); }
  100% { opacity: 0; }
}
.reel-load { position: absolute; right: var(--pad); top: 50%; font-size: .7rem; color: var(--muted); transition: opacity .6s; }
.reel-load b { color: var(--red-hi); font-weight: 400; }
.reel-load.is-done { opacity: 0; }
.reel-rail { position: absolute; z-index: 6; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: .2rem; align-items: flex-end; }
.reel-rail button { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s; text-shadow: 0 1px 10px rgba(0, 0, 0, .9); }
.reel-rail .rail-t { transition: transform .4s var(--ease); }
.reel-rail .rail-n { position: relative; width: 2.6rem; text-align: right; }
.reel-rail .rail-n::after { content: ""; position: absolute; left: -1.6rem; top: 50%; width: 1.1rem; height: 1px; background: currentColor; transform-origin: right; transform: scaleX(.35); transition: transform .4s var(--ease), background .3s; }
.reel-rail button:hover, .reel-rail button.is-on { color: #fff; }
.reel-rail button.is-on .rail-n { color: var(--red-hi); }
.reel-rail button.is-on .rail-n::after { transform: scaleX(1); background: var(--red-hi); }
.reel-rail { flex-direction: column; }
.reel-rail li { display: block; }
.reel-rail button { flex-direction: row-reverse; }
.reel-panels { position: absolute; z-index: 6; left: var(--pad); bottom: clamp(5.5rem, 13vh, 8rem); width: min(33rem, calc(100% - 2 * var(--pad))); }
.reel-panel { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s; }
.reel-panel.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; position: relative; }
.panel-no { display: flex; align-items: center; gap: .9rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; color: var(--red-hi); margin-bottom: .6rem; }
.panel-icon { display: inline-flex; width: 2.2rem; height: 2.2rem; color: var(--red-hi); }
.panel-icon svg { width: 100%; height: 100%; }
.panel-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .92; }
.panel-desc { margin-top: 1rem; color: #e4e1da; font-size: 1.05rem; max-width: 30rem; }
.panel-caps { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.4rem; margin-top: 1.2rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.panel-caps li { display: flex; gap: .6rem; align-items: baseline; }
.panel-caps li::before { content: ""; flex: none; width: .4rem; height: .4rem; background: var(--red); transform: translateY(-1px); }
.reel-timeline { position: absolute; z-index: 6; left: var(--pad); right: var(--pad); bottom: 26px; display: flex; align-items: center; gap: 1.4rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.reel-timeline b { color: #fff; font-weight: 400; }
.tl-bar { position: relative; flex: 1; height: 2px; background: rgba(255, 255, 255, .22); }
.tl-bar i { position: absolute; inset: 0; background: var(--red-hi); transform: scaleX(0); transform-origin: left; }
.tl-bar u { position: absolute; top: -4px; width: 1px; height: 10px; background: rgba(255, 255, 255, .55); }
.tl-bar u:nth-of-type(1) { left: 25%; } .tl-bar u:nth-of-type(2) { left: 50%; } .tl-bar u:nth-of-type(3) { left: 75%; } .tl-bar u:nth-of-type(4) { left: 100%; }
.reel.is-static .reel-stage { height: auto; background: #000; padding: 5rem var(--pad) 4rem; }
.reel.is-static .reel-canvas, .reel.is-static .reel-rail, .reel.is-static .reel-timeline, .reel.is-static .reel-grad, .reel.is-static .hud { display: none; }
.reel.is-static .reel-panels { position: static; width: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 3rem 2rem; }
.reel.is-static .panel-title { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.reel.is-static .reel-panel { position: static; opacity: 1; visibility: visible; transform: none; }

/* ---------- Siempre activos ---------- */
.always { position: relative; padding: clamp(5rem, 11vw, 9rem) 0 0; background: var(--bg); overflow: hidden; }
.always-head { padding: 0 var(--pad); }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(3rem, 6vw, 5rem) var(--pad) 0; border-top: 1px solid var(--line); }
.figure { position: relative; padding: 2rem 1.5rem 2.4rem 0; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: .8rem; }
.figure + .figure { padding-left: 1.5rem; }
.figure:last-child { border-right: 0; }
.fig-num { font-family: var(--display); font-weight: 700; line-height: .85; font-size: clamp(5rem, 15vw, 13rem); color: transparent; -webkit-text-stroke: 1.5px rgba(243, 241, 236, .85); background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 100% 0; -webkit-background-clip: text; background-clip: text; transition: background-size .7s var(--ease), -webkit-text-stroke-color .4s; }
.figure:hover .fig-num { background-size: 100% 100%; -webkit-text-stroke-color: var(--red); }
.fig-l { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticker { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 1.3rem 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 3rem); text-transform: uppercase; letter-spacing: .03em; padding-right: 2.5rem; white-space: nowrap; }
.ticker-track span::after { content: ""; width: .6rem; height: .6rem; background: var(--red); margin-left: 2.5rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Control ---------- */
.control { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(5rem, 10vw, 9rem) var(--pad); background: var(--bg); }
.control-media { position: relative; inset: auto; aspect-ratio: 16 / 9; width: 100%; border: 1px solid var(--line); }
.control-video { opacity: 0; transition: opacity 1s; }
.control-video.is-playing { opacity: 1; }
.control-media img, .control-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.control-grad { position: absolute; inset: 0; z-index: 3; background: linear-gradient(0deg, rgba(5, 6, 8, .6), rgba(5, 6, 8, 0) 40%); }
.control--page { display: block; padding-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line-soft); }
.panel-rows { margin-top: 2rem; border-top: 1px solid var(--line); max-width: 36rem; }
.panel-rows li { position: relative; display: flex; gap: 1.5rem; align-items: baseline; padding: 1rem .6rem; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .3s; }
.panel-rows li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-io); }
.panel-rows li:hover::before { transform: scaleX(1); }
.panel-rows span { flex: none; width: 6.5rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); transition: color .3s; }
.panel-rows li:hover span { color: #fff; }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(4rem, 9vw, 8rem) var(--pad); background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.value-list { align-self: center; border-top: 1px solid var(--line); }
.value { position: relative; display: flex; align-items: baseline; gap: 1.6rem; padding: 1.1rem .8rem; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: translateX(-101%); transition: transform .55s var(--ease-io); }
.value:hover::before { transform: none; }
.value span { font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; color: var(--red-hi); transition: color .3s; }
.value:hover span { color: #fff; }
.value strong { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1; letter-spacing: .01em; transition: transform .5s var(--ease); }
.value:hover strong { transform: translateX(.6rem); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(6rem, 13vw, 11rem) var(--pad); text-align: center; background: radial-gradient(60% 80% at 50% 100%, rgba(200, 22, 29, .38), rgba(7, 8, 10, 0) 70%), var(--bg); border-top: 1px solid var(--line-soft); overflow: hidden; }
.cta-inner { max-width: 62rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta .kicker { justify-content: center; }
.cta .display { font-size: clamp(3rem, 8.4vw, 7.6rem); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.6rem; }

/* ---------- Pie ---------- */
.site-footer { padding: clamp(3rem, 6vw, 5rem) var(--pad) 6rem; background: #040506; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1.3fr; gap: 2rem 4rem; align-items: start; }
.footer-legal { margin-top: 1.2rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.8; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--red-hi); }
.footer-demo { font-size: .85rem; color: var(--muted); }
.footer-demo a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red-hi); }
.selector-modelos { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); font-size: .8rem; }
.selector-modelos__titulo { font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.selector-modelos__lista { display: flex; flex-wrap: wrap; gap: .5rem; }
.selector-modelos__enlace { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.selector-modelos__enlace:hover { border-color: var(--text); }
.selector-modelos__enlace.actual { background: var(--red); border-color: var(--red); color: #fff; }
.wa-float { position: fixed; right: clamp(1rem, 2vw, 1.8rem); bottom: clamp(1rem, 2vw, 1.8rem); z-index: 80; width: 3.4rem; height: 3.4rem; display: grid; place-items: center; background: var(--red); color: #fff; border-radius: 50%; box-shadow: 0 8px 28px rgba(200, 22, 29, .45); }
.wa-float svg { width: 1.5rem; height: 1.5rem; pointer-events: none; }

/* ---------- Páginas internas ---------- */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; display: flex; gap: .4rem 2rem; padding: .9rem var(--pad); overflow-x: auto; background: rgba(7, 8, 10, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; scrollbar-width: none; }
.subnav a { color: var(--muted); padding: .2rem 0; transition: color .3s; }
.subnav a:hover { color: var(--red-hi); }
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(4rem, 8vw, 7rem) var(--pad); border-top: 1px solid var(--line-soft); align-items: start; scroll-margin-top: 8rem; }
.feature.is-flip .feature-media { order: 2; }
.feature-media { position: sticky; top: calc(var(--nav-h) + 4.5rem); margin: 0; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #000; }
.feature-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.feature-media figcaption { position: absolute; z-index: 6; left: 16px; right: 16px; bottom: 44px; font-family: var(--mono); font-size: .64rem; letter-spacing: .04em; color: #dcd9d1; text-shadow: 0 1px 8px #000; }
.feature-media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(5, 6, 8, .72), rgba(5, 6, 8, 0) 40%); pointer-events: none; }
.feature-media .hud { z-index: 5; }
.feature-no { display: flex; align-items: center; gap: .9rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; color: var(--red-hi); margin-bottom: 1rem; }
.feature .display { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.caps { margin: 2rem 0 2.4rem; border-top: 1px solid var(--line); max-width: 36rem; }
.caps li { position: relative; display: flex; gap: 1.2rem; align-items: baseline; padding: 1rem .6rem; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.caps li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: translateX(-101%); transition: transform .5s var(--ease-io); }
.caps li:hover::before { transform: none; }
.cap-n { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; color: var(--red-hi); transition: color .3s; }
.caps li:hover .cap-n { color: #fff; }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(4rem, 8vw, 7rem) var(--pad); align-items: center; }
.value-list--big .value { padding: 1.7rem .8rem; }
.value-list--big .value strong { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.ficha { margin: 0; }
.ficha-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(70% 55% at 50% 38%, #4a4e57 0%, #23262c 55%, #101215 100%); }
.ficha-img img { position: absolute; left: 6%; top: 3%; width: 88%; height: auto; max-width: none; }
.ficha figcaption { margin-top: .9rem; font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; gap: .2rem; }
.ficha figcaption span { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.jobs { padding: clamp(4rem, 8vw, 7rem) var(--pad); background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.jobs-inner { max-width: 50rem; }
.jobs .display { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.jobs .btn { margin-top: 2rem; }

.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(4rem, 8vw, 7rem) var(--pad) clamp(5rem, 10vw, 9rem); align-items: start; scroll-margin-top: 6rem; }
.contact .display { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2rem 0 2.4rem; }
.chip { position: relative; min-height: 3rem; padding: 0 1.4rem; border: 1px solid var(--line); font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: border-color .3s, color .3s; }
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: translateY(101%); transition: transform .4s var(--ease-io); }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { border-color: var(--red); color: #fff; }
.chip[aria-pressed="true"]::before { transform: none; }
.contact-card { position: relative; padding: 2rem; border: 1px solid var(--line); background: var(--bg-2); font-style: normal; }
.contact-card::before, .contact-card::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--red-hi); }
.contact-card::before { left: -1px; top: -1px; border-width: 2px 0 0 2px; }
.contact-card::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.contact-name { font-family: var(--display); font-weight: 700; font-size: 2rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 1.2rem; }
.contact-card li { display: flex; gap: 1.1rem; padding: 1rem 0; border-top: 1px solid var(--line-soft); }
.contact-card small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-card a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red-hi); }
.contact-card a:hover { color: var(--red-hi); }
.ci { flex: none; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 1px solid var(--line); color: var(--red-hi); }
.ci svg { width: 1.2rem; height: 1.2rem; }

/* ---------- Revelado ---------- */
.js-ready [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js-ready [data-reveal].in { opacity: 1; transform: none; }
.js-ready .split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js-ready .split .wi { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js-ready .split.in .wi { transform: none; }

/* ---------- Cambio de cámara (transición) ---------- */
.cam-switch { position: fixed; inset: 0; z-index: 1000; pointer-events: none; visibility: hidden; }
.cam-switch.is-active, html.is-entering .cam-switch { visibility: visible; }
.cs-bands { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(8, 1fr); }
.cs-bands i { background: #05060a; box-shadow: inset 0 -1px 0 rgba(200, 22, 29, .6); will-change: transform; }
.cs-bands i:nth-child(3n) { box-shadow: inset 0 -2px 0 rgba(255, 90, 95, .8); }
.cs-noise { position: absolute; inset: 0; opacity: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: noise .5s steps(5) infinite; mix-blend-mode: screen; }
html.is-entering .cs-noise { opacity: .16; }
@keyframes noise { 0% { background-position: 0 0; } 20% { background-position: -40px 30px; } 40% { background-position: 60px -50px; } 60% { background-position: -80px -20px; } 80% { background-position: 30px 70px; } 100% { background-position: 0 0; } }
.cs-hud { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; font-family: var(--mono); text-transform: uppercase; opacity: 1; }
.cs-rec { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .22em; color: #fff; }
.cs-rec b { width: .65rem; height: .65rem; border-radius: 50%; background: var(--red); animation: blink .5s steps(1) infinite; }
.cs-label { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 7vw, 6rem); letter-spacing: .05em; text-align: center; line-height: 1; padding: 0 1rem; color: #fff; text-shadow: 4px 0 rgba(255, 60, 70, .85), -4px 0 rgba(60, 220, 255, .7); }
.cs-sub { font-size: .72rem; letter-spacing: .28em; color: var(--muted); }
.cs-flash { position: absolute; inset: 0; background: #fff; opacity: 0; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .24s steps(6, end) both; }
::view-transition-new(root) { animation: vt-in .32s steps(6, start) both; }
@keyframes vt-out { 0% { transform: none; filter: none; } 40% { transform: translateX(-10px) skewX(-1deg); filter: hue-rotate(35deg) saturate(1.7); } 100% { opacity: 0; transform: translateX(14px); } }
@keyframes vt-in { 0% { opacity: 0; transform: translateX(-12px); filter: brightness(1.9); } 60% { opacity: 1; transform: translateX(5px); filter: hue-rotate(-20deg); } 100% { opacity: 1; transform: none; filter: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  :root { --bar-h: 56px; }
  .demo-bar { flex-wrap: wrap; justify-content: center; gap: .15rem 1.2rem; padding-block: .4rem; text-align: center; }
  .demo-bar__texto { white-space: normal; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
}
@media (max-width: 980px) {
  .control, .values, .feature, .about, .contact { grid-template-columns: 1fr; }
  .feature.is-flip .feature-media { order: 0; }
  .feature-media { position: relative; top: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-demo { grid-column: 1 / -1; }
  .reel-rail { display: none; }
  .ficha { max-width: 26rem; }
}
@media (max-width: 700px) {
  :root { --bar-h: 62px; --nav-h: 64px; }
  .demo-bar { font-size: .68rem; gap: .1rem .9rem; }
  .demo-bar-modelos { flex-wrap: wrap; justify-content: center; gap: .1rem .3rem; }
  .demo-bar-modelos__label { display: none; }
  .hero, .page-hero { padding-bottom: 3.4rem; }
  .hud { font-size: .62rem; letter-spacing: .1em; }
  .hud-tr { font-size: .75rem; }
  .hud .hud-bl, .hud .hud-br, .hud-reticle { display: none; }
  .hero-grad { background: linear-gradient(0deg, rgba(5, 6, 8, .94) 0%, rgba(5, 6, 8, .78) 50%, rgba(5, 6, 8, 0) 88%); }
  .hero-title { font-size: clamp(3rem, 15vw, 4.6rem); }
  .page-title { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .hero-tags { gap: .4rem 1.2rem; font-size: .66rem; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; flex: 1 1 100%; }
  .panel-title { font-size: clamp(2.5rem, 13vw, 3.6rem); }
  .panel-desc { font-size: .95rem; }
  .panel-caps { grid-template-columns: 1fr; gap: .25rem; font-size: .66rem; }
  .reel-panels { bottom: 4.6rem; width: calc(100% - 2 * var(--pad)); }
  .reel-grad { background: linear-gradient(0deg, rgba(5, 6, 8, .94) 0%, rgba(5, 6, 8, .72) 40%, rgba(5, 6, 8, 0) 72%); }
  .reel-timeline { bottom: 18px; font-size: .62rem; gap: .8rem; }
  .figures { grid-template-columns: 1fr; }
  .figure, .figure + .figure { padding: 1.4rem 0; border-right: 0; border-bottom: 1px solid var(--line-soft); flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
  .feature-media figcaption { bottom: 30px; font-size: .58rem; }
  .value-list--big .value strong { font-size: clamp(1.9rem, 9vw, 3rem); }
  .value { gap: 1rem; padding-inline: .2rem; }
  .contact-card { padding: 1.3rem; }
  .wa-float { width: 3rem; height: 3rem; }
  .panel-rows span { width: 5.5rem; }
  .control-media { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ticker-track { animation: none; }
  .js-ready .line-i, .js-ready [data-hero-in], .js-ready [data-reveal], .js-ready .split .wi { transform: none; opacity: 1; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
