/* =========================================================
   SAXCORP S.A.S. — estilos
   ========================================================= */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #060914;
  --bg-2: #0a0f22;
  --panel: rgba(13, 18, 38, .72);
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --text: #f3f5fc;
  --muted: #a4acc6;
  --dim: #6b7494;
  --pink: #ff2e6e;
  --pink-2: #ff4d7e;
  --orange: #ff8a2f;
  --amber: #ffb547;
  --cyan: #45d0ff;
  --grad: linear-gradient(90deg, #ff2e6e 0%, #ff8a2f 100%);
  --font-h: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --container: 1240px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
strong { color: var(--text); font-weight: 600; }
::selection { background: rgba(255, 46, 110, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-m); }

/* ---------- Fondo global ---------- */
.bg-matrix {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -3; pointer-events: none; opacity: .13;
}
.bg-aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.bg-aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .16;
  animation: drift 38s ease-in-out infinite alternate;
}
.bg-aurora i:nth-child(1) { width: 60vw; height: 50vw; left: -15vw; top: -18vw; background: #6b1aa8; }
.bg-aurora i:nth-child(2) { width: 50vw; height: 40vw; right: -15vw; top: 10vh; background: #ff2e6e; opacity: .1; animation-duration: 46s; animation-delay: -12s; }
.bg-aurora i:nth-child(3) { width: 55vw; height: 45vw; left: 20vw; top: 120vh; background: #1d3fb8; opacity: .14; animation-duration: 52s; }
.bg-aurora i:nth-child(4) { width: 40vw; height: 30vw; right: 0; bottom: -10vw; background: #ff8a2f; opacity: .07; animation-duration: 41s; animation-delay: -20s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8vw, 6vh, 0) scale(1.15); }
  100% { transform: translate3d(-6vw, -4vh, 0) scale(.95); }
}
.bg-scan {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255, 255, 255, .012) 3px 4px);
}
.bg-scan::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22vh;
  background: linear-gradient(180deg, transparent, rgba(255, 46, 110, .025), transparent);
  animation: scanbar 9s linear infinite;
}
@keyframes scanbar { from { top: -25vh; } to { top: 105vh; } }

.cursor-glow {
  position: fixed; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px;
  border-radius: 50%; pointer-events: none; z-index: -1; opacity: 0;
  background: radial-gradient(circle, rgba(255, 46, 110, .10), rgba(255, 138, 47, .04) 40%, transparent 65%);
  transition: opacity .4s;
  will-change: transform;
}
.has-cursor .cursor-glow { opacity: 1; }
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 300;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px rgba(255, 46, 110, .8);
}

/* ---------- Arranque ---------- */
.boot {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #10142c, #04060e 70%);
  animation: bootAuto .5s 4.5s forwards;
}
.boot__inner { width: min(420px, 86vw); display: grid; justify-items: center; gap: 22px; }
.boot__logo { width: 92px; filter: drop-shadow(0 0 18px rgba(255, 46, 110, .7)); animation: flicker 2.4s infinite; }
.boot__term { width: 100%; min-height: 96px; font: 12px/1.7 var(--font-m); color: #9aa3c0; }
.boot__term .ok { color: #4dffa0; }
.boot__term .hl { color: var(--pink-2); }
.boot__bar { width: 100%; height: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; border-radius: 2px; }
.boot__bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0; transform: scaleX(0); animation: bootbar 1.4s var(--ease) forwards; box-shadow: 0 0 10px var(--pink); }
.boot.is-done { animation: bootOut .55s var(--ease) forwards; }
@keyframes bootbar { to { transform: scaleX(1); } }
@keyframes bootOut {
  0% { opacity: 1; clip-path: inset(0 0 0 0); }
  30% { opacity: 1; clip-path: inset(48% 0 48% 0); filter: brightness(2); }
  100% { opacity: 0; clip-path: inset(50% 0 50% 0); visibility: hidden; }
}
@keyframes bootAuto { to { opacity: 0; visibility: hidden; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .4; } 49% { opacity: 1; } 72% { opacity: .85; } }

/* ---------- Tipografía ---------- */
.eyebrow {
  font: 500 12px/1.4 var(--font-m);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--pink-2);
  margin-bottom: 14px;
}
.eyebrow--muted { color: #8791b3; letter-spacing: .3em; font-size: 11px; }
[data-type].is-typing::after { content: "▌"; margin-left: 2px; color: var(--orange); animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.h2 {
  font: 700 clamp(1.9rem, 3.4vw, 2.6rem)/1.12 var(--font-h);
  letter-spacing: -.015em;
}
.h2--sm { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.grad-text {
  background: linear-gradient(90deg, #ff2e6e, #ff5a4f 35%, #ff8a2f 60%, #ff2e6e 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: gradShift 7s linear infinite;
}
@keyframes gradShift { to { background-position: 220% center; } }

/* ---------- Botones ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font: 600 15px/1 var(--font-b); color: #fff; white-space: nowrap;
  transition: box-shadow .3s, border-color .3s, background-color .3s, transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--grad {
  background: var(--grad);
  box-shadow: 0 10px 34px -10px rgba(255, 46, 110, .75), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--grad::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 48%, transparent 66%);
  transform: translateX(-130%); animation: shine 5.5s ease-in-out infinite;
}
.btn--grad:hover { box-shadow: 0 14px 44px -8px rgba(255, 46, 110, .95), 0 0 0 1px rgba(255, 255, 255, .15) inset; }
@keyframes shine { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(255, 46, 110, .7); box-shadow: 0 0 24px -4px rgba(255, 46, 110, .55), inset 0 0 18px -6px rgba(255, 46, 110, .5); }
.btn--outline {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
}
.btn--outline:hover { box-shadow: 0 0 28px -4px rgba(255, 46, 110, .6); }
.btn--outline svg { color: var(--orange); }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--pink-2); font-size: 14px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h);
  transition: background-color .35s, border-color .35s, height .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  --nav-h: 70px;
  background: rgba(6, 9, 20, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 54px; height: 41px; filter: drop-shadow(0 0 10px rgba(255, 46, 110, .55)); }
.logo__text { display: grid; line-height: 1; }
.logo__text b { position: relative; font: 800 24px/1 var(--font-h); letter-spacing: .02em; }
.logo__text small { justify-self: end; margin-top: 3px; font: 700 12px/1 var(--font-h); letter-spacing: .12em; color: var(--orange); }
.logo:hover [data-glitch]::before, .logo:hover [data-glitch]::after {
  content: attr(data-glitch); position: absolute; inset: 0;
}
.logo:hover [data-glitch]::before { color: var(--cyan); animation: glitchA .35s steps(2) 2; }
.logo:hover [data-glitch]::after { color: var(--pink); animation: glitchB .35s steps(2) 2; }
@keyframes glitchA { 0% { clip-path: inset(10% 0 60% 0); transform: translate(-3px, 0); } 50% { clip-path: inset(60% 0 5% 0); transform: translate(3px, 0); } 100% { clip-path: inset(0 0 100% 0); } }
@keyframes glitchB { 0% { clip-path: inset(55% 0 20% 0); transform: translate(3px, 0); } 50% { clip-path: inset(5% 0 70% 0); transform: translate(-2px, 0); } 100% { clip-path: inset(0 0 100% 0); } }

.nav__links { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav__links a {
  position: relative; font-size: 14px; font-weight: 500; color: #d3d8ea; padding: 8px 0;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  box-shadow: 0 0 10px var(--pink);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--pink-2); }
.nav__cta { margin-left: 18px; }
.nav__cta-mobile { display: none; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.nav__burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.nav__burger i:nth-child(1) { top: 14px; }
.nav__burger i:nth-child(2) { top: 21px; }
.nav__burger i:nth-child(3) { top: 28px; }
.nav__burger[aria-expanded="true"] i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] i:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0; translate: 0 30px; filter: blur(8px);
  transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; filter: blur(0); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: min(100svh, 960px); display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 70px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 55% at 72% 55%, rgba(255, 46, 110, .16), transparent 70%),
    radial-gradient(ellipse 30% 30% at 75% 92%, rgba(255, 138, 47, .14), transparent 70%);
}
.hero__floor {
  position: absolute; left: -30%; right: -30%; bottom: -4%; height: 52%; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 46, 110, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 46, 110, .28) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(420px) rotateX(70deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 35%, transparent 80%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 35%, transparent 80%);
  opacity: .5;
  animation: floor 2.6s linear infinite;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 32px; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  font: 700 clamp(2.7rem, 5.1vw, 4.6rem)/1.04 var(--font-h);
  letter-spacing: -.025em; margin-bottom: 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { translate: 0 110%; transition: translate 1.1s var(--ease); }
.js .is-ready .hero__title .line > span { translate: 0 0; }
.js .is-ready .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.js .is-ready .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.hero__lead { max-width: 500px; color: #c3c9dc; font-size: 17px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font: 500 12px var(--font-m); color: #8f98b8; letter-spacing: .04em; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--pink-2); }

.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%;
  -webkit-text-fill-color: currentColor; pointer-events: none; opacity: 0;
}
.glitch::before { color: var(--cyan); animation: glitchLoop 6s infinite; }
.glitch::after { color: #ff2e6e; animation: glitchLoop 6s .07s infinite reverse; }
@keyframes glitchLoop {
  0%, 92%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
  93% { opacity: .85; transform: translate(-4px, 1px); clip-path: inset(12% 0 58% 0); }
  95% { opacity: .85; transform: translate(4px, -1px); clip-path: inset(62% 0 8% 0); }
  97% { opacity: .85; transform: translate(-2px, 0); clip-path: inset(35% 0 40% 0); }
}

/* Visual del hero */
.hero__visual { position: relative; width: 100%; max-width: 660px; aspect-ratio: 1 / .92; margin-left: auto; --mx: 0; --my: 0; }
.hero__visual [data-depth] { translate: calc(var(--mx) * var(--dp, 1) * 14px) calc(var(--my) * var(--dp, 1) * 14px); transition: translate .5s var(--ease); }
.hero__traces { position: absolute; left: -12%; width: 124%; bottom: 0; height: 30%; z-index: 0; overflow: visible; }
.traces path { fill: none; stroke: rgba(255, 46, 110, .28); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.traces--pulse path {
  stroke: #ff7a9c; stroke-width: 2.2; stroke-dasharray: 7 100; stroke-dashoffset: 7;
  filter: drop-shadow(0 0 4px #ff2e6e); animation: trace 3.2s linear infinite;
}
.traces--pulse path:nth-child(2) { animation-delay: -1.1s; animation-duration: 3.8s; }
.traces--pulse path:nth-child(3) { animation-delay: -2.2s; animation-duration: 2.9s; }
.traces--pulse path:nth-child(4) { animation-delay: -.6s; animation-duration: 3.5s; }
.traces--pulse path:nth-child(5) { animation-delay: -1.7s; animation-duration: 4.1s; }
.traces--pulse path:nth-child(6) { animation-delay: -2.8s; animation-duration: 3s; }
@keyframes trace { to { stroke-dashoffset: -100; } }

.holo {
  position: absolute; left: 16%; width: 68%; top: 0; aspect-ratio: 1 / 1.26; z-index: 1;
  container-type: inline-size;
}
.holo__beam {
  position: absolute; left: 40cqw; width: 20cqw; top: 6cqw; height: 104cqw;
  background: linear-gradient(0deg, rgba(255, 138, 47, .55), rgba(255, 46, 110, .25) 40%, transparent 85%);
  filter: blur(14px); opacity: .6; animation: beam 3.5s ease-in-out infinite;
}
@keyframes beam { 50% { opacity: .95; transform: scaleX(1.25); } }
.holo__shield {
  position: absolute; left: 6cqw; width: 88cqw; top: 13cqw; overflow: visible;
  animation: shieldPulse 4s ease-in-out infinite;
}
.shield-line { filter: drop-shadow(0 0 6px rgba(255, 46, 110, .9)) drop-shadow(0 0 22px rgba(255, 46, 110, .45)); }
.shield-line--inner { opacity: .5; stroke-dasharray: 6 10; animation: dashMove 18s linear infinite; }
.shield-run { stroke-dasharray: 9 91; stroke-linecap: round; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px #ff2e6e); animation: shieldRun 4.5s linear infinite; }
.shield-fill { animation: fillPulse 4s ease-in-out infinite; }
@keyframes shieldRun { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes dashMove { to { stroke-dashoffset: -320; } }
@keyframes shieldPulse { 50% { filter: brightness(1.25); } }
@keyframes fillPulse { 50% { opacity: .55; } }
.holo__cloud {
  position: absolute; left: 34cqw; width: 32cqw; top: 0; z-index: 3;
  filter: drop-shadow(0 0 10px rgba(255, 46, 110, .9)) drop-shadow(0 0 30px rgba(255, 46, 110, .55));
  animation: bob 5s ease-in-out infinite, flicker 5s infinite;
}
.holo__cloud svg { width: 100%; height: auto; }
.holo__globe { position: absolute; left: 13cqw; width: 74cqw; top: 33cqw; aspect-ratio: 1; z-index: 2; cursor: grab; touch-action: pan-y; }
.holo__globe:active { cursor: grabbing; }
.holo__globe canvas { width: 100%; height: 100%; }
.holo__base { position: absolute; left: -6cqw; width: 112cqw; top: 98cqw; height: 32cqw; z-index: 1; }
.holo__base .ring {
  position: absolute; left: 50%; top: 50%; border-radius: 50%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scaleY(.26) rotate(0deg);
  animation: ringSpin 14s linear infinite;
}
.ring--1 { width: 112cqw; border: 1px dashed rgba(255, 46, 110, .45); }
.ring--2 { width: 92cqw; border: 2px solid rgba(255, 46, 110, .75); box-shadow: 0 0 26px rgba(255, 46, 110, .7), inset 0 0 26px rgba(255, 46, 110, .5); animation-duration: 30s !important; }
.ring--3 { width: 74cqw; border: 3px dashed rgba(255, 138, 47, .7); animation-direction: reverse !important; animation-duration: 10s !important; }
.ring--4 { width: 58cqw; border: 1px solid rgba(255, 200, 220, .6); box-shadow: 0 0 18px rgba(255, 138, 47, .6); }
@keyframes ringSpin { to { transform: translate(-50%, -50%) scaleY(.26) rotate(360deg); } }
.base-disc {
  position: absolute; left: 50%; top: 50%; width: 62cqw; height: 13cqw; transform: translate(-50%, -62%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 170, 120, .55), rgba(255, 46, 110, .35) 40%, rgba(40, 10, 40, .9) 75%);
  box-shadow: 0 0 40px rgba(255, 46, 110, .6), 0 18px 30px -10px rgba(0, 0, 0, .9);
}
.base-disc::after {
  content: ""; position: absolute; left: 4%; right: 4%; top: 55%; height: 120%; z-index: -1;
  background: linear-gradient(180deg, #1a1030, #07060f); border-radius: 0 0 50% 50% / 0 0 40% 40%;
  box-shadow: 0 0 0 1px rgba(255, 46, 110, .25);
}

.hud {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 12px; min-width: 150px;
  background: linear-gradient(160deg, rgba(22, 26, 52, .78), rgba(9, 12, 28, .72));
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  animation: bob 6s ease-in-out infinite;
}
.hud::before, .hud::after {
  content: ""; position: absolute; width: 10px; height: 10px; border: 1.5px solid var(--pink); opacity: .9;
}
.hud::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.hud::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }
.hud__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--pink-2); background: rgba(255, 46, 110, .1); box-shadow: inset 0 0 0 1px rgba(255, 46, 110, .35); }
.hud__icon svg { width: 20px; height: 20px; }
.hud small { display: block; font: 500 10.5px/1.2 var(--font-b); color: #aab2cc; }
.hud b { display: block; font: 700 21px/1.15 var(--font-h); letter-spacing: -.01em; }
.hud em { display: flex; align-items: center; gap: 5px; font: 400 9.5px/1.2 var(--font-b); font-style: normal; color: var(--dim); }
.hud--threats { left: 3%; top: 6%; --dp: 1.1; }
.hud--uptime { right: -1%; top: 14%; --dp: .9; animation-delay: -2s; }
.hud--incidents { right: -3%; top: 47%; --dp: 1.3; animation-delay: -4s; }
.hud--assets { left: 1%; top: 62%; --dp: 1; animation-delay: -3s; }
.lock { position: absolute; z-index: 3; color: var(--orange); filter: drop-shadow(0 0 8px rgba(255, 138, 47, .9)); animation: bob 4s ease-in-out infinite, flicker 3.5s infinite; }
.lock svg { width: 100%; height: 100%; }
.lock--1 { width: 26px; height: 26px; left: 22%; top: 40%; --dp: 1.6; color: var(--pink-2); }
.lock--2 { width: 34px; height: 34px; right: 9%; top: 76%; --dp: 1.8; animation-delay: -1.5s; }
.lock--3 { width: 20px; height: 20px; left: 74%; top: 3%; --dp: 1.4; animation-delay: -2.5s; color: var(--pink-2); }
@keyframes bob { 50% { transform: translateY(-9px); } }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 46, 110, .7); animation: livePulse 1.6s infinite; }
.live-dot--green { background: #3dffa0; box-shadow: 0 0 0 0 rgba(61, 255, 160, .6); animation-name: livePulseG; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 7px rgba(255, 46, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 110, 0); } }
@keyframes livePulseG { 70% { box-shadow: 0 0 0 7px rgba(61, 255, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 160, 0); } }

/* ---------- Tecnologías (carrusel) ---------- */
.tech {
  position: relative; padding: 34px 0 38px;
  background: linear-gradient(180deg, rgba(8, 11, 26, .85), rgba(8, 11, 26, .55));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tech .eyebrow { margin-bottom: 22px; }
.tech__rows { display: grid; gap: 22px; }
.marquee {
  display: flex; overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 58px; padding-right: 58px; flex: none; animation: marquee 75s linear infinite; }
.marquee--right .marquee__track { animation-direction: reverse; animation-duration: 85s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #c7ccdd; opacity: .62; transition: opacity .3s, color .3s, filter .3s; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; fill: currentColor; }
.brand span { font: 600 17px/1 var(--font-h); letter-spacing: -.01em; }
.brand:hover { opacity: 1; color: var(--brand); filter: drop-shadow(0 0 10px var(--brand)); }
.brand:hover span { color: #fff; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: 96px 0; }
.section + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(1180px, 92%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
}
.section-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head__aside { padding-left: 28px; border-left: 1px solid rgba(255, 46, 110, .45); }
.section-head__aside p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; max-width: 420px; }

/* Tarjetas de soluciones */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  --rx: 0deg; --ry: 0deg; --ty: 0px; --x: 50%; --y: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  padding: 30px 24px 52px; border-radius: 16px;
  background:
    radial-gradient(420px circle at var(--x) var(--y), rgba(255, 46, 110, .12), transparent 45%),
    linear-gradient(180deg, rgba(21, 27, 54, .82), rgba(10, 14, 31, .82));
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 22px; width: 2px; height: 42%;
  background: linear-gradient(180deg, var(--pink), transparent); box-shadow: 0 0 12px var(--pink);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0;
  background: conic-gradient(from var(--a), transparent 0 62%, #ff2e6e 78%, #ff8a2f 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinA 4s linear infinite; transition: opacity .4s;
}
@keyframes spinA { to { --a: 360deg; } }
.card:hover { --ty: -6px; border-color: rgba(255, 46, 110, .25); box-shadow: 0 30px 70px -30px rgba(255, 46, 110, .45); }
.card:hover::after { opacity: 1; }
.card__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px; color: #ff4f6d; filter: drop-shadow(0 0 10px rgba(255, 46, 110, .75)); }
.card__icon svg { width: 44px; height: 44px; }
.card:hover .card__icon { animation: iconZap .6s var(--ease); }
@keyframes iconZap { 30% { transform: scale(1.15) rotate(-6deg); filter: drop-shadow(0 0 18px #ff2e6e) brightness(1.4); } }
.card h3 { font: 600 17.5px/1.3 var(--font-h); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 22px; min-height: 4.8em; }
.card li { position: relative; padding-left: 22px; font-size: 13.5px; color: #dfe3f0; margin: 7px 0; transition: color .25s, transform .25s; }
.card li::before { content: "→"; position: absolute; left: 0; color: var(--pink-2); }
.card li:hover { color: #fff; transform: translateX(4px); }
.card__code { position: absolute; right: 18px; bottom: 16px; font: 500 10px var(--font-m); color: rgba(255, 255, 255, .22); letter-spacing: .1em; }

/* Por qué */
.why__grid { display: grid; grid-template-columns: .9fr 2fr; gap: 48px; align-items: center; }
.why__right { padding-left: 40px; border-left: 1px solid rgba(255, 46, 110, .4); }
.why__text { color: var(--muted); font-size: 14.5px; max-width: 460px; margin-bottom: 26px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { display: flex; gap: 12px; align-items: flex-start; }
.stat svg { width: 30px; height: 30px; flex: none; color: #ff4f6d; filter: drop-shadow(0 0 8px rgba(255, 46, 110, .6)); margin-top: 2px; }
.stat b { display: block; font: 700 clamp(1.4rem, 2.2vw, 1.75rem)/1.1 var(--font-h); letter-spacing: -.01em; white-space: nowrap; }
.stat small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 6px; }
.stat__word { font-size: clamp(1.15rem, 1.7vw, 1.4rem) !important; padding-top: 4px; }

/* Caso de éxito */
.case { background: linear-gradient(180deg, rgba(14, 19, 40, .55), rgba(8, 11, 26, .4)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case__grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 56px; align-items: center; }
.case__slides { display: grid; margin-bottom: 30px; }
.case__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .6s var(--ease), translate .6s var(--ease), visibility .6s; }
.case__slide.is-active { opacity: 1; visibility: visible; translate: 0 0; }
.case__slide h2 { margin-bottom: 18px; }
.case__slide p { color: #c3c9dc; font-size: 15px; max-width: 470px; }
.case__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.dots { display: flex; gap: 8px; }
.dots button { position: relative; width: 9px; height: 9px; border-radius: 9px; background: rgba(255, 255, 255, .25); overflow: hidden; transition: width .4s var(--ease), background-color .3s; }
.dots button[aria-selected="true"] { width: 34px; background: rgba(255, 46, 110, .25); }
.dots button[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: 0; animation: dotFill var(--case-ms, 7000ms) linear forwards; }
.case.is-paused .dots button::after { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.case__visual { position: relative; display: grid; grid-template-columns: 1fr; }
.soc {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 8.6;
  background: #050812; border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 46, 110, .08), 0 0 60px -20px rgba(255, 46, 110, .35);
}
.soc canvas { width: 100%; height: 100%; }
.soc__scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, .18) 2px 3px); mix-blend-mode: multiply; }
.soc__scan::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(255, 46, 110, .06), transparent); animation: socScan 4s linear infinite; }
@keyframes socScan { from { top: -30%; } to { top: 100%; } }
.soc__tag { position: absolute; left: 14px; top: 12px; display: inline-flex; align-items: center; gap: 7px; font: 600 10px var(--font-m); letter-spacing: .2em; color: #ffd1dc; background: rgba(5, 8, 18, .7); padding: 6px 10px; border-radius: 6px; border: 1px solid rgba(255, 46, 110, .35); }
.metrics {
  position: absolute; right: 0; top: 0; bottom: 0; width: 36%;
  display: grid; align-content: center; gap: 22px; padding: 24px 22px;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, rgba(8, 11, 26, .55), rgba(12, 16, 36, .88) 30%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255, 255, 255, .08);
}
.metric { display: flex; align-items: center; gap: 14px; }
.metric__icon {
  position: relative; width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--orange);
  background: radial-gradient(circle, rgba(255, 46, 110, .2), rgba(255, 46, 110, .04) 70%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 46, 110, .6), 0 0 18px -2px rgba(255, 46, 110, .55);
}
.metric__icon::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px dashed rgba(255, 138, 47, .45); animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.metric__icon svg { width: 22px; height: 22px; }
.metric b { display: block; font: 700 25px/1.1 var(--font-h); }
.m-dir { font-style: normal; color: var(--amber); font-size: 20px; }
.metric small { color: #b7bed4; font-size: 12px; }
.metrics.is-flipping .metric { animation: flip .7s var(--ease) both; }
.metrics.is-flipping .metric:nth-child(2) { animation-delay: .08s; }
.metrics.is-flipping .metric:nth-child(3) { animation-delay: .16s; }
@keyframes flip { 0% { opacity: 0; transform: perspective(500px) rotateX(-80deg); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
.case__arrow {
  position: absolute; top: 50%; z-index: 5; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%;
  display: grid; place-items: center; color: var(--orange);
  transition: background-color .3s, transform .3s, box-shadow .3s;
}
.case__arrow svg { width: 22px; height: 22px; }
.case__arrow:hover { background: rgba(255, 46, 110, .15); box-shadow: 0 0 20px rgba(255, 46, 110, .45); }
.case__arrow--prev { left: -46px; }
.case__arrow--prev svg { transform: scaleX(-1); }
.case__arrow--next { right: -46px; }

/* Proceso */
.process__grid { display: grid; grid-template-columns: minmax(280px, 1fr) 2.5fr; gap: 40px; align-items: center; }
.steps { position: relative; }
.steps__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.steps ol { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step small { display: block; font: 500 12px var(--font-m); color: #8f98b8; margin: 18px 0 6px; letter-spacing: .08em; transition: color .3s; }
.step b { font: 600 15px/1.35 var(--font-h); }
.step__icon {
  position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  color: #ff5470; background: radial-gradient(circle, #1a1230 0%, #0b0d1e 70%);
  box-shadow: inset 0 0 0 2px rgba(255, 46, 110, .55), 0 0 22px -4px rgba(255, 46, 110, .5);
  transition: box-shadow .35s, transform .35s var(--ease), color .35s;
}
.step__icon::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(from var(--a), transparent 0 70%, #ff8a2f 85%, #ff2e6e 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 calc(50% - 2px), #000 calc(50% - 1px));
  mask: radial-gradient(circle, transparent 0 calc(50% - 2px), #000 calc(50% - 1px));
  animation: spinA 3s linear infinite; opacity: .55;
}
.step__icon svg { width: 28px; height: 28px; }
.step.is-powered .step__icon {
  color: #fff; transform: scale(1.1);
  box-shadow: inset 0 0 0 2px #ff8a2f, 0 0 0 6px rgba(255, 46, 110, .12), 0 0 44px 6px rgba(255, 46, 110, .75);
}
.step.is-powered small { color: var(--orange); }

/* ---------- CTA / Amanecer ---------- */
.cta { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; padding: 120px 0; isolation: isolate; }
.dawn { position: absolute; inset: 0; z-index: -1; --rise: 0; overflow: hidden; }
.dawn > * { position: absolute; }
.dawn__sky { inset: 0; }
.dawn__sky--night { background: linear-gradient(180deg, #04050f 0%, #0d0b2a 30%, #2a0f3f 55%, #5a1648 70%, #2a1030 100%); }
.dawn__sky--day {
  opacity: var(--rise);
  background: linear-gradient(180deg, #120d33 0%, #3d1557 24%, #8f2160 42%, #e2414f 54%, #ff7a3d 62%, #ffb15a 67%, #c2475e 78%, #3a1438 100%);
}
.dawn__stars {
  inset: 0 0 40% 0; opacity: calc(1 - var(--rise) * 1.15);
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 22% 42%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 35% 12%, #ffd8e6, transparent), radial-gradient(1px 1px at 48% 30%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 58% 8%, #fff, transparent), radial-gradient(1px 1px at 66% 36%, #cfe3ff, transparent),
    radial-gradient(1.5px 1.5px at 78% 20%, #fff, transparent), radial-gradient(1px 1px at 88% 44%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 94% 10%, #ffe2c9, transparent), radial-gradient(1px 1px at 5% 50%, #fff, transparent),
    radial-gradient(1px 1px at 41% 52%, #fff, transparent), radial-gradient(1.3px 1.3px at 71% 4%, #fff, transparent);
  background-size: 100% 100%;
  animation: twinkle 5s ease-in-out infinite;
}
@keyframes twinkle { 50% { filter: brightness(.55); } }
.dawn__sun {
  left: 70%; top: 60%; width: 0; height: 0;
  transform: translateY(calc((1 - var(--rise)) * 16vh));
}
.dawn__sun::before {
  content: ""; position: absolute; left: -45vw; top: -45vw; width: 90vw; height: 90vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 120, .55), rgba(255, 110, 60, .28) 18%, rgba(255, 46, 110, .12) 35%, transparent 60%);
  opacity: calc(.25 + var(--rise) * .75);
}
.dawn__core {
  position: absolute; left: -38px; top: -38px; width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, #ffe6b8 45%, #ffb15a 65%, rgba(255, 122, 61, 0) 72%);
  box-shadow: 0 0 60px 20px rgba(255, 170, 90, .55), 0 0 160px 60px rgba(255, 90, 60, .35);
  animation: sunPulse 4s ease-in-out infinite;
}
@keyframes sunPulse { 50% { transform: scale(1.08); filter: brightness(1.1); } }
.dawn__rays {
  position: absolute; left: -60vw; top: -60vw; width: 120vw; height: 120vw; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 190, 120, .16) 0 3deg, transparent 3deg 14deg);
  -webkit-mask: radial-gradient(circle, #000 0, rgba(0, 0, 0, .6) 10%, transparent 48%);
  mask: radial-gradient(circle, #000 0, rgba(0, 0, 0, .6) 10%, transparent 48%);
  opacity: calc(var(--rise) * .9);
  animation: spin 120s linear infinite;
}
.dawn__streaks { inset: 0; }
.dawn__streaks i {
  position: absolute; height: 8px; border-radius: 50%; filter: blur(4px);
  background: linear-gradient(90deg, transparent, rgba(255, 150, 120, calc(.25 + var(--rise) * .45)), rgba(255, 90, 140, .35), transparent);
  animation: streak 40s linear infinite;
}
.dawn__streaks i:nth-child(1) { top: 30%; left: 40%; width: 46%; height: 10px; }
.dawn__streaks i:nth-child(2) { top: 37%; left: 55%; width: 40%; animation-duration: 55s; animation-delay: -10s; }
.dawn__streaks i:nth-child(3) { top: 44%; left: 30%; width: 50%; height: 14px; animation-duration: 48s; animation-delay: -25s; }
.dawn__streaks i:nth-child(4) { top: 50%; left: 60%; width: 36%; height: 6px; animation-duration: 36s; }
.dawn__streaks i:nth-child(5) { top: 24%; left: 65%; width: 30%; height: 5px; animation-duration: 60s; animation-delay: -30s; }
@keyframes streak { 0% { transform: translateX(0); } 50% { transform: translateX(-12vw); } 100% { transform: translateX(0); } }
.dawn__range { left: 0; right: 0; bottom: 30%; width: 100%; height: 24%; fill: #241338; opacity: .95; }
.dawn__sea {
  left: -50%; width: 200%; pointer-events: none;
  background-repeat: repeat-x;
  animation: seaDrift 90s linear infinite;
}
.dawn__sea--back {
  bottom: 26%; height: 18%;
  background-image:
    radial-gradient(60px 26px at 40px 60%, rgba(255, 190, 210, .45), transparent 70%),
    radial-gradient(90px 34px at 150px 55%, rgba(220, 150, 200, .4), transparent 70%),
    radial-gradient(70px 28px at 260px 65%, rgba(255, 170, 160, .38), transparent 70%);
  background-size: 320px 100%;
  filter: blur(6px); opacity: calc(.5 + var(--rise) * .4);
}
.dawn__sea--mid {
  bottom: 14%; height: 24%;
  background-image:
    radial-gradient(120px 48px at 80px 55%, rgba(255, 200, 220, .55), transparent 70%),
    radial-gradient(160px 60px at 260px 50%, rgba(210, 140, 200, .5), transparent 72%),
    radial-gradient(110px 44px at 430px 62%, rgba(255, 170, 150, .45), transparent 70%);
  background-size: 540px 100%;
  filter: blur(8px); opacity: calc(.55 + var(--rise) * .35);
  animation-duration: 70s; animation-direction: reverse;
}
.dawn__sea--front {
  bottom: -4%; height: 26%;
  background-image:
    radial-gradient(200px 70px at 120px 55%, rgba(120, 70, 140, .85), transparent 72%),
    radial-gradient(240px 80px at 420px 50%, rgba(160, 80, 150, .7), transparent 72%),
    radial-gradient(190px 70px at 700px 60%, rgba(110, 60, 130, .8), transparent 72%);
  background-size: 860px 100%;
  filter: blur(12px); opacity: .85;
  animation-duration: 55s;
}
@keyframes seaDrift { to { transform: translateX(25%); } }
.dawn__city { left: 26%; bottom: 25%; width: 22%; height: 46%; filter: drop-shadow(0 0 14px rgba(255, 46, 110, .35)); }
.dawn__city .beam { animation: beamPulse 3s ease-in-out infinite; mix-blend-mode: screen; }
.dawn__city .beam--wide { filter: blur(10px); opacity: .45; animation-delay: -1.5s; }
@keyframes beamPulse { 50% { opacity: .55; } }
.dawn__city .windows rect { fill: #ffb0c4; opacity: .75; }
.dawn__city .windows rect.w2 { fill: #8fd8ff; }
.dawn__city .windows rect.tw { animation: winBlink 3s steps(1) infinite; }
@keyframes winBlink { 50% { opacity: .08; } }
.aviation { fill: #ff3355; animation: avBlink 1.2s steps(1) infinite; filter: drop-shadow(0 0 4px #ff3355); }
.aviation--2 { animation-delay: -.6s; }
@keyframes avBlink { 50% { opacity: .15; } }
.dawn__rock { left: 0; right: 0; bottom: 0; width: 100%; height: 44%; fill: #07050d; filter: drop-shadow(0 -2px 3px rgba(255, 120, 80, calc(.15 + var(--rise) * .35))); }
.dawn__hiker {
  left: 54%; bottom: calc(44% * (1 - 112 / 420) - 2px); height: 25%; width: auto; aspect-ratio: 100 / 220;
  transform: translateX(-50%); fill: #07050d;
  filter: drop-shadow(1.5px 0 1px rgba(255, 140, 80, calc(.25 + var(--rise) * .55))) drop-shadow(-1px 0 1px rgba(255, 46, 110, .25));
}
.dawn__pack { fill: #0d0915; }
.dawn__shade {
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(6, 9, 20, 0) 18%, rgba(6, 9, 20, 0) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6, 9, 20, .92) 0%, rgba(6, 9, 20, .7) 30%, rgba(6, 9, 20, 0) 55%);
}
.cta__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; width: 100%; }
.cta__title { font-size: clamp(2rem, 3.6vw, 2.75rem); max-width: 560px; margin-bottom: 20px; }
.cta__lead { color: #d4d8e6; max-width: 470px; margin-bottom: 34px; }
.cta__motto { justify-self: end; align-self: end; margin-top: 120px; font: 500 clamp(1.25rem, 1.9vw, 1.6rem)/1.3 var(--font-h); text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.cta__motto .grad-text { text-shadow: none; }
.cta__motto i { display: block; width: 52px; height: 3px; border-radius: 2px; background: var(--grad); margin-top: 18px; box-shadow: 0 0 12px var(--pink); }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 70px 0 28px; background: linear-gradient(180deg, var(--bg), #04060d); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 320px; margin: 18px 0 16px; }
.footer__status { display: inline-flex; align-items: center; gap: 9px; font: 500 11.5px var(--font-m); color: #8ff5c3; }
.footer h4 { font: 600 13px var(--font-m); letter-spacing: .2em; text-transform: uppercase; color: #8791b3; margin-bottom: 18px; }
.footer nav a, .footer__mail { display: block; color: #c9cee0; font-size: 14px; margin: 9px 0; transition: color .25s, transform .25s; }
.footer nav a:hover, .footer__mail:hover { color: var(--pink-2); transform: translateX(3px); }
.footer__mail { margin-bottom: 18px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 5, 12, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .3s; }
.modal__panel {
  position: relative; width: min(600px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  padding: 34px 32px 30px; border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(170deg, #121838, #0a0e22) padding-box, linear-gradient(140deg, rgba(255, 46, 110, .8), rgba(255, 255, 255, .06) 40%, rgba(255, 138, 47, .7)) border-box;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(255, 46, 110, .5);
  animation: panelIn .5s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px) scale(.97); clip-path: inset(0 0 100% 0 round 20px); } to { clip-path: inset(0 0 0 0 round 20px); } }
.modal__close { position: absolute; right: 14px; top: 10px; width: 40px; height: 40px; font-size: 28px; line-height: 1; color: var(--muted); border-radius: 10px; }
.modal__close:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.modal h3 { font: 700 26px/1.2 var(--font-h); margin-bottom: 8px; }
.modal__lead { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field span { font: 500 10.5px var(--font-m); letter-spacing: .18em; text-transform: uppercase; color: #8f98b8; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px var(--font-b); color: var(--text);
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px;
  transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #ff4d7e 50%), linear-gradient(-45deg, transparent 50%, #ff4d7e 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #0d1226; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(255, 46, 110, .7); box-shadow: 0 0 0 3px rgba(255, 46, 110, .15), 0 0 20px -6px rgba(255, 46, 110, .6); }
.field input[aria-invalid="true"] { border-color: #ff5470; }
.form-msg { min-height: 1.4em; font: 500 12.5px var(--font-m); color: var(--amber); margin-bottom: 10px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 600; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px; font: 500 13px var(--font-m); color: #ffd6e1;
  background: rgba(12, 16, 36, .92); border: 1px solid rgba(255, 46, 110, .45); box-shadow: 0 0 30px -6px rgba(255, 46, 110, .6);
  transition: opacity .35s, transform .35s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card p { min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .case__arrow--prev { left: -20px; }
  .case__arrow--next { right: -20px; }
}
@media (max-width: 1024px) {
  .nav__burger { display: block; }
  .nav__cta { margin-left: 0; }
  .nav__links {
    position: fixed; top: calc(var(--nav-h) + 6px); left: 12px; right: 12px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px;
    border-radius: 18px; background: rgba(9, 12, 28, .96); border: 1px solid var(--line-2);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
    opacity: 0; transform: translateY(-12px); pointer-events: none; visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav__links a { padding: 14px 12px; font-size: 16px; border-radius: 10px; }
  .nav__links a::after { display: none; }
  .nav__links a.is-active { background: rgba(255, 46, 110, .1); }
  .hero__grid { grid-template-columns: 1fr; gap: 10px; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 40px); }
  .hero__visual { margin: 0 auto; max-width: 600px; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .why__grid, .case__grid, .process__grid { grid-template-columns: 1fr; gap: 36px; }
  .why__right { padding-left: 0; border-left: 0; padding-top: 30px; border-top: 1px solid rgba(255, 46, 110, .35); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .case__arrow--prev { left: 8px; }
  .case__arrow--next { right: calc(36% + 8px); }
  .case__arrow { background: rgba(5, 8, 18, .6); }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__motto { justify-self: start; margin-top: 30px; }
  .dawn__shade { background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 9, 20, .55) 20%, rgba(6, 9, 20, .35) 60%, var(--bg) 100%), linear-gradient(90deg, rgba(6, 9, 20, .85), rgba(6, 9, 20, .2) 80%); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --nav-h: 72px; }
  .nav.is-scrolled { --nav-h: 64px; }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 8px; }
  .logo__mark { width: 46px; height: 35px; }
  .logo__text b { font-size: 21px; }
  .hero__title { font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .hero__lead { font-size: 16px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hud { padding: 8px 10px 8px 8px; gap: 8px; min-width: 0; border-radius: 10px; }
  .hud__icon { width: 28px; height: 28px; border-radius: 8px; }
  .hud__icon svg { width: 16px; height: 16px; }
  .hud b { font-size: 15px; }
  .hud small { font-size: 9px; }
  .hud em { font-size: 8px; }
  .hud--threats { left: -1%; top: 3%; }
  .hud--uptime { right: -2%; top: 10%; }
  .hud--incidents { right: -2%; top: 52%; }
  .hud--assets { left: -1%; top: 66%; }
  .section { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .case__visual { gap: 14px; }
  .soc { aspect-ratio: 16 / 11; }
  .metrics { position: static; width: auto; border-radius: 16px; border: 1px solid var(--line); background: rgba(12, 16, 36, .8); grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .case__arrow { top: calc((100vw - 32px) * 11 / 32); }
  .case__arrow--next { right: 8px; }
  .steps ol { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 66px 1fr; column-gap: 20px; align-items: center; }
  .step .step__icon { grid-row: span 2; }
  .step small { margin: 0; align-self: end; }
  .step b { align-self: start; }
  .step b br { display: none; }
  .cta { padding: 100px 0 90px; min-height: 0; }
  .dawn__hiker { left: 80%; height: 20%; }
  .dawn__city { left: 46%; width: 34%; }
  .dawn__sun { left: 78%; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .modal__panel { padding: 30px 20px 24px; }
}

@media (hover: none) { .cursor-glow { display: none; } }

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

/* =========================================================
   Secciones añadidas: idioma, certificaciones, liderazgo,
   stack, open source, CorySax y chatbot
   ========================================================= */
use { fill: currentColor; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Selector de idioma */
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; margin-left: 22px; border: 1px solid var(--line-2); border-radius: 999px; font: 600 12px/1 var(--font-m); flex: none; }
.lang a, .lang span { padding: 7px 10px; border-radius: 999px; color: var(--muted); transition: color .25s, background-color .25s; }
.lang a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.lang .is-active { background: var(--grad); color: #fff; box-shadow: 0 0 14px -2px rgba(255, 46, 110, .7); }

/* Certificaciones */
.certs__total { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.certs__total b { font: 800 56px/1 var(--font-h); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 18px rgba(255, 46, 110, .45)); }
.certs__total span { font: 500 11.5px/1.5 var(--font-m); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.badge {
  --rx: 0deg; --ry: 0deg; --ty: 0px; --x: 50%; --y: 0%;
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: 34px 18px 26px; border-radius: 18px;
  background:
    radial-gradient(300px circle at var(--x) var(--y), color-mix(in srgb, var(--brand) 18%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(21, 27, 54, .82), rgba(10, 14, 31, .82));
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.badge::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .09) 46%, color-mix(in srgb, var(--brand) 22%, transparent) 50%, transparent 58%);
  background-size: 260% 100%; animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0%, 40% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.badge:hover { --ty: -6px; border-color: color-mix(in srgb, var(--brand) 55%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--brand) 70%, transparent); }
.badge__hex { position: relative; width: 86px; height: 98px; margin: 0 auto 20px; display: grid; place-items: center; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--brand) 65%, transparent)); transition: transform .9s var(--ease); }
.badge__hex::before, .badge__hex::after { content: ""; position: absolute; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.badge__hex::before { inset: 0; background: linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 30%, #ff2e6e)); }
.badge__hex::after { inset: 2px; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--brand) 28%, #10142c), #090c1d 75%); }
.badge__hex svg { position: relative; z-index: 1; width: 40px; height: 40px; color: var(--brand); }
.badge:hover .badge__hex { transform: rotateY(360deg); }
.badge__count { position: absolute; top: 14px; right: 14px; font: 700 11.5px/1 var(--font-m); padding: 5px 8px; border-radius: 7px; color: #fff; background: color-mix(in srgb, var(--brand) 22%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 60%, transparent); }
.badge h3 { font: 600 15px/1.3 var(--font-h); margin-bottom: 8px; }
.badge p { color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* Barras de skills */
.skill { display: grid; grid-template-columns: 1fr auto; row-gap: 7px; margin-bottom: 15px; font-size: 13px; color: #dfe3f0; }
.skill em { font: 600 12px var(--font-m); font-style: normal; color: var(--orange); }
.skill i { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.skill i::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 1%); border-radius: inherit;
  background: linear-gradient(90deg, #ff2e6e, #ff8a2f, #ffd0a0, #ff8a2f); background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(255, 46, 110, .8);
  transform: scaleX(0); transform-origin: 0;
  transition: transform 1.5s var(--ease);
  animation: barShine 3s linear infinite;
}
.skills.is-in .skill.is-shown i::after { transform: scaleX(1); }
@keyframes barShine { to { background-position: -200% 0; } }

/* Certificaciones por proveedor (acordeón) */
:root { interpolate-size: allow-keywords; }
.vendors { display: grid; gap: 14px; }
.vendor {
  border-radius: 18px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, rgba(21, 27, 54, .78), rgba(10, 14, 31, .78));
  transition: border-color .35s, box-shadow .35s;
}
.vendor::details-content { block-size: 0; overflow: hidden; transition: block-size .55s var(--ease), content-visibility .55s allow-discrete; }
.vendor[open]::details-content { block-size: auto; }
.vendor:hover, .vendor[open] { border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.vendor[open] { box-shadow: 0 30px 70px -45px color-mix(in srgb, var(--brand) 90%, transparent); }
.vendor summary { list-style: none; display: flex; align-items: center; gap: 20px; padding: 16px 24px 16px 18px; cursor: pointer; position: relative; }
.vendor summary::-webkit-details-marker { display: none; }
.vendor summary::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); box-shadow: 0 0 16px var(--brand); opacity: .8; }
.vendor summary:focus-visible { outline-offset: -3px; }
.badge__hex--sm { width: 64px; height: 73px; margin: 0; flex: none; }
.badge__hex--sm svg { width: 32px; height: 32px; }
.vendor summary:hover .badge__hex--sm { transform: rotateY(180deg); }
.vendor__name { display: grid; gap: 4px; min-width: 0; }
.vendor__name b { font: 700 clamp(1.05rem, 1.6vw, 1.3rem)/1.2 var(--font-h); }
.vendor__name small { font: 500 11.5px var(--font-m); color: var(--dim); letter-spacing: .04em; }
.vendor__count { margin-left: auto; display: grid; justify-items: end; line-height: 1; }
.vendor__count b { font: 800 30px/1 var(--font-h); color: var(--brand); text-shadow: 0 0 18px color-mix(in srgb, var(--brand) 70%, transparent); }
.vendor__count small { font: 500 10px var(--font-m); color: var(--dim); text-transform: uppercase; letter-spacing: .14em; margin-top: 4px; }
.vendor__chev { width: 22px; height: 22px; flex: none; color: var(--muted); transition: transform .45s var(--ease), color .3s; }
.vendor[open] .vendor__chev { transform: rotate(90deg); color: var(--brand); }
.vendor__body { padding: 6px 22px 24px; }
.vendor .badges { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 14px; }
.vendor .badge { padding: 30px 16px 20px; }
.vendor .badge__hex { width: 74px; height: 84px; margin-bottom: 16px; }
.vendor .badge__hex svg { width: 36px; height: 36px; }
.vendor .badge h3 { font-size: 14px; }
.vendor[open] .badge { animation: badgeIn .6s var(--ease) backwards; animation-delay: calc(var(--i) * 70ms + 80ms); }
@keyframes badgeIn { from { opacity: 0; translate: 0 18px; scale: .95; } }

/* Formación */
.training { margin-top: 46px; }
.training .eyebrow { margin-bottom: 16px; }
.training__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.training__list li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: rgba(14, 19, 40, .6); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.training__list li:hover { border-color: color-mix(in srgb, var(--brand) 55%, transparent); box-shadow: 0 0 24px -10px var(--brand); }
.training__logo { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, #0b0f22); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent); }
.training__logo svg { width: 22px; height: 22px; }
.training__list b { display: block; font: 600 13px/1.3 var(--font-h); }
.training__list small { display: block; font-size: 11.5px; color: var(--dim); margin-top: 3px; }

/* Capacidades: terminal de skills + stack */
.caps__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.caps .stack__grid { grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 0; }
.caps .stack__cat { padding: 18px 18px 16px; }
.caps .stack__cat p { font-size: 13.5px; line-height: 1.65; }
.term .skills { padding: 6px 0 0; background: none; border: 0; box-shadow: none; margin-bottom: 8px; }
.term .skill { font: 400 12.5px var(--font-m); margin-bottom: 14px; }
.term .skill i { height: 10px; border-radius: 2px; background: rgba(255, 255, 255, .05); }
.term .skill i::after { border-radius: 0; -webkit-mask: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 9px); mask: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 9px); }
.term__ok { color: #3dffa0; }

/* Stack */
.stack__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.stack__cat { position: relative; padding: 22px 22px 20px; border-radius: 14px; background: rgba(14, 19, 40, .6); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); overflow: hidden; }
.stack__cat::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.stack__cat:hover { border-color: rgba(255, 46, 110, .3); box-shadow: 0 20px 50px -30px rgba(255, 46, 110, .6); transform: translateY(-4px); }
.stack__cat:hover::after { transform: scaleX(1); }
.stack__cat h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: 600 12px var(--font-m); letter-spacing: .18em; text-transform: uppercase; color: #ff7a9c; }
.stack__cat h3 span { color: var(--dim); letter-spacing: 0; }
.stack__cat p { font-size: 14px; line-height: 1.75; color: #cdd2e3; }

/* Open source: terminal */
.term { border-radius: 14px; overflow: hidden; background: #04060d; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 50px -25px rgba(255, 46, 110, .5); font: 13px/1.65 var(--font-m); }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0c1023; border-bottom: 1px solid var(--line); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; }
.term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { margin-left: 10px; color: var(--dim); font-size: 12px; }
.term__body { padding: 18px 20px 20px; min-height: 360px; }
.term__line { margin-bottom: 14px; }
.js .term__line { opacity: 0; translate: -6px 0; transition: opacity .35s, translate .35s; }
.js .term__line.is-shown { opacity: 1; translate: 0 0; }
.term__cmd { color: #9aa3c0; }
.term__pr { color: #3dffa0; margin-right: 10px; }
.term__repo { color: #fff; font-weight: 700; margin-right: 10px; }
.term__lang { color: var(--orange); font-size: 11px; border: 1px solid rgba(255, 138, 47, .4); padding: 1px 6px; border-radius: 4px; }
.term__desc { display: block; color: #a9b1cb; margin-top: 4px; font: 400 13px/1.55 var(--font-b); }
.term__cursor { color: var(--pink-2); animation: blink .8s steps(1) infinite; }
/* CorySax */
.mascot { overflow: hidden; }
.mascot::after { content: ""; position: absolute; left: 10%; top: 20%; width: 50%; height: 70%; z-index: -1; background: radial-gradient(ellipse, rgba(214, 20, 143, .22), transparent 65%); filter: blur(30px); pointer-events: none; }
.mascot__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.mascot__stage { perspective: 1200px; }
.mascot__frame {
  --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1600 / 893; background: #0b0a1a;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 46, 110, .25), 0 0 90px -20px rgba(214, 20, 143, .6);
  animation: floatT 7s ease-in-out infinite;
}
@keyframes floatT { 50% { translate: 0 -10px; } }
.mascot__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px 10px rgba(6, 9, 20, .75); border-radius: inherit; }
.mascot__img, .mascot__glow, .mascot__glitch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mascot__img { animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.03); } }
.mascot__glow { filter: blur(16px) saturate(1.9) brightness(1.3); mix-blend-mode: screen; opacity: 0; animation: glowPulse 3.4s ease-in-out infinite, breathe 7s ease-in-out infinite; }
@keyframes glowPulse { 50% { opacity: .5; } }
.mascot__glitch { opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.mascot__glitch--a { filter: hue-rotate(160deg) saturate(3); animation: mGlitchA 7s steps(1) infinite; }
.mascot__glitch--b { filter: hue-rotate(-50deg) saturate(3) brightness(1.2); animation: mGlitchB 7s steps(1) infinite; }
@keyframes mGlitchA {
  0%, 89%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
  90% { opacity: .7; clip-path: inset(18% 0 62% 0); transform: translateX(-12px); }
  92% { opacity: .7; clip-path: inset(55% 0 28% 0); transform: translateX(10px); }
  94% { opacity: .7; clip-path: inset(36% 0 50% 0); transform: translateX(-6px); }
  96% { opacity: 0; }
}
@keyframes mGlitchB {
  0%, 90%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
  91% { opacity: .6; clip-path: inset(62% 0 20% 0); transform: translateX(14px); }
  93% { opacity: .6; clip-path: inset(10% 0 74% 0); transform: translateX(-9px); }
  95% { opacity: 0; }
}
.mascot.is-glitching .mascot__img { animation: breathe 7s ease-in-out infinite, shake .25s steps(2) 1; }
@keyframes shake { 50% { translate: 3px -1px; } }
.mascot__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.mascot__scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(0, 0, 0, .16) 3px 4px); }
.mascot__scan::after { content: ""; position: absolute; left: 0; right: 0; height: 18%; background: linear-gradient(180deg, transparent, rgba(255, 120, 200, .12), transparent); animation: socScan 5s linear infinite; }
.mascot__hud { position: absolute; display: inline-flex; align-items: center; gap: 7px; font: 600 10px var(--font-m); letter-spacing: .18em; color: #ffd1e6; background: rgba(5, 8, 18, .65); padding: 6px 10px; border-radius: 6px; border: 1px solid rgba(255, 46, 110, .4); backdrop-filter: blur(4px); }
.mascot__hud--tl { left: 14px; top: 14px; }
.mascot__hud--br { right: 14px; bottom: 14px; }
.mascot__hud--br.is-alert { color: #fff; border-color: #ff2e6e; background: rgba(255, 46, 110, .3); }
.mascot__lead { color: #c3c9dc; font-size: 16px; margin: 16px 0 24px; }
.mascot__list { display: grid; gap: 12px; margin-bottom: 30px; }
.mascot__list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #dfe3f0; }
.mascot__list svg { width: 34px; height: 34px; padding: 8px; flex: none; border-radius: 10px; color: var(--pink-2); background: rgba(255, 46, 110, .1); box-shadow: inset 0 0 0 1px rgba(255, 46, 110, .35); }

/* Chatbot */
.bot { position: fixed; right: 22px; bottom: 22px; z-index: 400; }
.bot__launcher { position: relative; display: block; width: 68px; height: 68px; border-radius: 50%; animation: bob 4.5s ease-in-out infinite; }
.bot__launcher::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(from var(--a), #ff2e6e, #ff8a2f, #d4148f, #ff2e6e); animation: spinA 3s linear infinite; filter: drop-shadow(0 0 12px rgba(255, 46, 110, .8)); }
.bot__launcher::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 46, 110, .7); animation: ringOut 2.4s ease-out infinite; }
@keyframes ringOut { from { transform: scale(1); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
.bot__launcher img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #0b0f22; }
.bot__launcher:hover img { filter: brightness(1.12); }
.bot__online { position: absolute; z-index: 2; right: 2px; bottom: 2px; width: 15px; height: 15px; border-radius: 50%; background: #3dffa0; border: 3px solid #0b0f22; }
.bot.is-open .bot__launcher::after { display: none; }
.bot__hello {
  position: absolute; right: 0; bottom: 86px; width: 250px; padding: 14px 34px 14px 16px; border-radius: 16px 16px 4px 16px;
  background: rgba(13, 17, 38, .95); border: 1px solid rgba(255, 46, 110, .45);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9), 0 0 30px -10px rgba(255, 46, 110, .6);
  animation: popIn .5s var(--ease); cursor: pointer;
}
.bot__hello[hidden] { display: none; }
.bot__hello b { display: block; font: 600 14.5px/1.3 var(--font-h); margin-bottom: 3px; }
.bot__hello span { font-size: 13px; color: var(--muted); }
.bot__hello-x { position: absolute; right: 6px; top: 4px; width: 28px; height: 28px; font-size: 20px; color: var(--dim); }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.92); } }
.bot__panel {
  position: absolute; right: 0; bottom: 86px; width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100svh - 130px));
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(14, 18, 40, .97), rgba(8, 11, 26, .97)) padding-box, linear-gradient(150deg, rgba(255, 46, 110, .85), rgba(255, 255, 255, .06) 45%, rgba(255, 138, 47, .7)) border-box;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .95), 0 0 60px -20px rgba(255, 46, 110, .55);
  transform-origin: 100% 100%; animation: botIn .4s var(--ease);
}
.bot__panel[hidden] { display: none; }
@keyframes botIn { from { opacity: 0; transform: translateY(16px) scale(.94); } }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 46, 110, .14), transparent 70%); }
.bot__avatar { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; padding: 2px; background: var(--grad); box-shadow: 0 0 16px rgba(255, 46, 110, .6); }
.bot__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #0b0f22; }
.bot.is-typing .bot__avatar { animation: talk .5s ease-in-out infinite alternate; }
@keyframes talk { to { box-shadow: 0 0 26px 4px rgba(255, 46, 110, .9); transform: scale(1.05); } }
.bot__who { display: grid; line-height: 1.25; min-width: 0; }
.bot__who b { font: 700 15.5px var(--font-h); }
.bot__who small { font-weight: 500; color: var(--dim); font-size: 12px; }
.bot__who em { display: inline-flex; align-items: center; gap: 7px; font: 500 11px var(--font-m); font-style: normal; color: #8ff5c3; }
.bot__voice { margin-left: auto; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.bot__voice svg { width: 20px; height: 20px; }
.bot__voice[aria-pressed="true"] { color: var(--pink-2); background: rgba(255, 46, 110, .12); }
.bot__voice:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.bot.is-speaking .bot__avatar, .bot.is-speaking .bot__launcher img { animation: talk .35s ease-in-out infinite alternate; }
.bot__x { width: 38px; height: 38px; border-radius: 10px; font-size: 24px; color: var(--muted); }
.bot__x:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.bot__log { flex: 1; overflow-y: auto; padding: 18px 14px 10px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 46, 110, .4) transparent; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.55; animation: msgIn .35s var(--ease); overflow-wrap: anywhere; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { align-self: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: #e6e9f4; }
.msg--me { align-self: flex-end; background: var(--grad); border-bottom-right-radius: 4px; color: #fff; }
.msg strong { color: #fff; }
.msg ul { margin-top: 6px; display: grid; gap: 4px; }
.msg li { position: relative; padding-left: 14px; }
.msg li::before { content: "›"; position: absolute; left: 0; color: var(--pink-2); font-weight: 700; }
.msg__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg__actions a, .msg__actions button { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--font-b); padding: 7px 12px; border-radius: 999px; background: rgba(255, 46, 110, .14); border: 1px solid rgba(255, 46, 110, .5); color: #fff; transition: background-color .25s; }
.msg__actions a:hover, .msg__actions button:hover { background: rgba(255, 46, 110, .32); }
.msg__actions svg { width: 14px; height: 14px; }
.msg--typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink-2); animation: typing 1s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.bot__quick { display: flex; gap: 8px; padding: 2px 14px 12px; overflow-x: auto; scrollbar-width: none; }
.bot__quick::-webkit-scrollbar { display: none; }
.bot__quick button { flex: none; white-space: nowrap; font: 500 12.5px var(--font-b); padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(255, 46, 110, .45); color: #ffd6e1; background: rgba(255, 46, 110, .06); transition: background-color .25s, color .25s; }
.bot__quick button:hover { background: rgba(255, 46, 110, .25); color: #fff; }
.bot__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.bot__form input { flex: 1; min-width: 0; font: 400 16px var(--font-b); color: var(--text); background: rgba(255, 255, 255, .045); border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 16px; }
.bot__form input:focus { outline: none; border-color: rgba(255, 46, 110, .7); box-shadow: 0 0 0 3px rgba(255, 46, 110, .15); }
.bot__form button { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 6px 20px -6px rgba(255, 46, 110, .8); }
.bot__form button svg { width: 18px; height: 18px; }
.bot__foot { font: 500 10.5px var(--font-m); color: var(--dim); text-align: center; padding: 0 12px 10px; }

/* Formulario: acciones y botón WhatsApp */
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn { flex: 1 1 200px; }
.btn--wa { background: #1fae55; box-shadow: 0 10px 30px -12px rgba(31, 174, 85, .9); }
.btn--wa:hover { background: #22c25f; }

/* Footer: contacto */
.footer__contact a, .footer__contact span { display: flex; align-items: center; gap: 10px; color: #c9cee0; font-size: 14px; margin: 11px 0; transition: color .25s; overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--pink-2); }
.footer__contact svg { width: 16px; height: 16px; flex: none; color: var(--pink-2); }

@media (max-width: 1180px) {
  .training__list { grid-template-columns: repeat(3, 1fr); }
  .stack__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .lang { margin-left: auto; }
  .nav__burger { margin-left: 10px; }
  .mascot__grid, .caps__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .vendor summary { gap: 14px; padding: 14px 16px 14px 14px; }
  .badge__hex--sm { width: 50px; height: 57px; }
  .badge__hex--sm svg { width: 26px; height: 26px; }
  .vendor__name small { display: none; }
  .vendor__count b { font-size: 24px; }
  .vendor__count small { display: none; }
  .vendor__body { padding: 4px 12px 16px; }
  .vendor .badges { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lang a, .lang span { padding: 6px 8px; }
  .badges { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .badge { padding: 28px 12px 20px; }
  .badge__hex { width: 70px; height: 80px; }
  .badge__hex svg { width: 32px; height: 32px; }
  .stack__grid, .caps .stack__grid, .training__list { grid-template-columns: 1fr; }
  .term { font-size: 12px; }
  .term__body { min-height: 0; padding: 16px; }
  .mascot__frame { border-radius: 16px; }
  .mascot__hud { font-size: 8.5px; padding: 5px 8px; }
  .bot { right: 14px; bottom: 14px; }
  .bot__launcher { width: 60px; height: 60px; }
  .bot__hello { bottom: 76px; width: 230px; }
  .bot.is-open .bot__launcher { display: none; }
  .bot__panel { position: fixed; left: 8px; right: 8px; bottom: 8px; top: auto; width: auto; height: calc(100svh - 16px); max-height: 680px; }
}
@media (max-width: 400px) {
  .badges { grid-template-columns: 1fr 1fr; }
  .badge h3 { font-size: 13.5px; }
}

/* =========================================================
   Vibe terminal (grano, CRT, prompts, glitch, consola, HUD)
   ========================================================= */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bg-grain {
  position: fixed; inset: -50%; z-index: 91; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><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 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.bg-crt {
  position: fixed; inset: 0; z-index: 92; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .42) 100%);
  animation: crtFlicker 7s steps(1) infinite;
}
@keyframes crtFlicker { 0%, 96%, 100% { opacity: 1; } 97% { opacity: .82; } 98% { opacity: 1; } 99% { opacity: .9; } }

/* Prompts de terminal en las etiquetas de sección */
.eyebrow .pr { color: #5c6688; letter-spacing: .04em; text-transform: none; font-weight: 500; margin-right: .6em; }
.eyebrow .pr b { color: #3dffa0; font-weight: 600; }
.eyebrow .pr i { color: #ff8a2f; font-style: normal; }
.eyebrow.is-typing::after { content: "█"; margin-left: 3px; color: var(--pink-2); animation: blink .7s steps(1) infinite; font-size: .9em; }

/* Glitch de títulos al aparecer */
.h2.is-glitch, .hero__title.is-glitch { animation: h2glitch .42s steps(2) 1; }
@keyframes h2glitch {
  0% { transform: translate(0); filter: none; }
  20% { transform: translate(-3px, 1px) skewX(-8deg); filter: drop-shadow(3px 0 0 rgba(255, 0, 60, .8)) drop-shadow(-3px 0 0 rgba(0, 229, 255, .8)); clip-path: inset(0 0 40% 0); }
  40% { transform: translate(3px, -1px); clip-path: inset(45% 0 0 0); }
  60% { transform: translate(-1px, 0) skewX(4deg); filter: drop-shadow(-2px 0 0 rgba(255, 0, 60, .8)) drop-shadow(2px 0 0 rgba(0, 229, 255, .8)); clip-path: inset(15% 0 25% 0); }
  100% { transform: translate(0); filter: none; clip-path: inset(0); }
}

/* Botón de consola en el pie */
.console-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px;
  font: 600 12px var(--font-m); color: #3dffa0; border: 1px solid rgba(61, 255, 160, .35); background: rgba(61, 255, 160, .05);
  transition: background-color .25s, box-shadow .25s;
}
.console-btn:hover { background: rgba(61, 255, 160, .12); box-shadow: 0 0 18px -4px rgba(61, 255, 160, .6); }
.console-btn kbd { font: inherit; color: var(--dim); }

/* Consola */
.term-overlay {
  position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; padding: 16px;
  background: rgba(2, 3, 8, .82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .2s;
}
.term-overlay[hidden] { display: none; }
.term-win {
  width: min(860px, 100%); height: min(560px, calc(100svh - 32px)); display: flex; flex-direction: column;
  border-radius: 10px; overflow: hidden; background: #030406; border: 1px solid rgba(61, 255, 160, .3);
  box-shadow: 0 0 0 1px rgba(255, 46, 110, .15), 0 40px 120px -20px rgba(0, 0, 0, .95), 0 0 60px -15px rgba(61, 255, 160, .35);
  font: 13.5px/1.6 var(--font-m); color: #c8ffd9; position: relative;
  animation: termOn .35s var(--ease);
}
@keyframes termOn { 0% { transform: scaleY(.01) scaleX(.6); filter: brightness(3); } 60% { transform: scaleY(1) scaleX(1); } 100% { filter: none; } }
.term-win::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, .25) 2px 3px); }
.term-win__bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; background: #0b0f14; border-bottom: 1px solid rgba(61, 255, 160, .18); color: #6f8a7a; font-size: 12px; }
.term-win__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-win__bar i:nth-child(2) { background: #febc2e; }
.term-win__bar i:nth-child(3) { background: #28c840; }
.term-win__bar span { margin-left: 8px; }
.term-win__bar button { margin-left: auto; color: #6f8a7a; font: inherit; padding: 2px 8px; border-radius: 4px; }
.term-win__bar button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.term-win__out { flex: 1; overflow-y: auto; padding: 16px 18px 6px; white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: rgba(61, 255, 160, .35) transparent; }
.term-win__out .t-dim { color: #5f7a6b; }
.term-win__out .t-red { color: #ff4d6d; }
.term-win__out .t-org { color: #ff9a4c; }
.term-win__out .t-wht { color: #fff; }
.term-win__out .t-grn { color: #3dffa0; }
.term-win__out a { color: #ff9a4c; text-decoration: underline; }
.term-win__in { display: flex; align-items: center; gap: 8px; padding: 10px 18px 14px; }
.term-win__in label { color: #3dffa0; white-space: nowrap; }
.term-win__in label b { color: #ff9a4c; font-weight: 500; }
.term-win__in input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: inherit; caret-color: #3dffa0; }

/* HUD en vivo */
.hud-live {
  position: fixed; left: 18px; bottom: 16px; z-index: 300; display: flex; align-items: center; gap: 10px;
  font: 500 10.5px var(--font-m); letter-spacing: .08em; color: #7f8aa8; pointer-events: none;
  padding: 7px 11px; border-radius: 6px; background: rgba(4, 6, 14, .55); border: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s;
}
.is-ready .hud-live { opacity: 1; }
.hud-live b { color: #ff4d6d; font-weight: 600; }
.hud-live em { font-style: normal; color: #3dffa0; }

/* Chat: micrófono, escucha y resumen del onboarding */
.bot__mic { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line-2); }
.bot__mic svg { width: 20px; height: 20px; }
.bot__mic:hover { color: #fff; border-color: rgba(255, 46, 110, .6); }
.bot.is-listening .bot__mic { color: #fff; background: #ff2e6e; border-color: #ff2e6e; animation: livePulse 1.2s infinite; }
.bot.is-listening .bot__form input { border-color: rgba(255, 46, 110, .8); }
.msg__summary { margin: 8px 0 !important; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(61, 255, 160, .2); font: 12.5px/1.6 var(--font-m); }
.msg__summary li { padding-left: 0 !important; }
.msg__summary li::before { content: none !important; }
.msg__summary strong { color: #3dffa0; font-weight: 500; }
.msg__consent { font-size: 11.5px; color: var(--dim); margin-top: 6px; }

@media (max-width: 1024px) { .hud-live { display: none; } }
@media (prefers-reduced-motion: reduce) { .bg-grain, .bg-crt { animation: none; } }

.footer__term { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.matrix-boost .bg-matrix { opacity: .5; transition: opacity .6s; }
.bg-matrix { transition: opacity 1.2s; }

/* =========================================================
   Rediseño: paneles neón, hero con CorySax, tablero SOC,
   widgets vivos y filtros de tecnologías
   ========================================================= */
.soc-pill {
  display: inline-flex; align-items: center; gap: 8px; flex: none; margin-left: 18px;
  padding: 7px 12px; border-radius: 999px; font: 600 11px var(--font-m); letter-spacing: .14em; color: #bfffe0;
  background: rgba(61, 255, 160, .06); border: 1px solid rgba(61, 255, 160, .35);
  box-shadow: 0 0 16px -6px rgba(61, 255, 160, .7), inset 0 0 10px -6px rgba(61, 255, 160, .8);
}
.eyebrow--chip {
  display: inline-block; padding: 7px 12px; border-radius: 6px; letter-spacing: .26em;
  border: 1px solid rgba(255, 46, 110, .55); background: rgba(255, 46, 110, .06);
  box-shadow: 0 0 18px -8px rgba(255, 46, 110, .9), inset 0 0 12px -8px rgba(255, 46, 110, .9);
}

/* Panel neón genérico con esquinas HUD */
.panel {
  position: relative; border-radius: 16px; padding: 14px;
  background: linear-gradient(180deg, rgba(14, 16, 34, .86), rgba(7, 9, 20, .9));
  border: 1.5px solid rgba(255, 46, 110, .5);
  box-shadow: 0 0 0 1px rgba(255, 138, 47, .08) inset, 0 0 34px -10px rgba(255, 46, 110, .65), 0 40px 80px -40px rgba(0, 0, 0, .95);
}
.panel::before, .panel::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--orange); pointer-events: none;
  filter: drop-shadow(0 0 6px var(--orange));
}
.panel::before { left: -2px; top: -2px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.panel::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.panel__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 12px; }
.panel__bar b { display: inline-flex; align-items: center; gap: 8px; font: 700 15px var(--font-h); }
.panel__bar span { font-size: 10.5px; letter-spacing: .14em; color: #8f98b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel__sub { margin: 14px 4px 10px; font-size: 10.5px; letter-spacing: .16em; color: var(--pink-2); }

/* Hero */
.hero { min-height: 0; display: block; padding: calc(var(--nav-h) + 36px) 0 56px; }
.hero__grid { grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; }
.hero__copy .eyebrow--chip { margin-bottom: 22px; }
.corysax-panel .mascot__frame { border-radius: 10px; animation: none; box-shadow: 0 0 0 1px rgba(255, 46, 110, .25), 0 20px 40px -24px rgba(0, 0, 0, .9); }
.corysax-panel .btn--block { margin-top: 14px; }
.is-glitching .mascot__img { animation: breathe 7s ease-in-out infinite, shake .25s steps(2) 1; }
.caps-list { display: grid; gap: 8px; }
.caps-list li {
  position: relative; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px; overflow: hidden; font-size: 13px; color: #e6e9f4;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 46, 110, .32);
}
.caps-list__ico { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--orange); background: rgba(255, 138, 47, .1); box-shadow: inset 0 0 0 1px rgba(255, 138, 47, .35); }
.caps-list__ico svg { width: 18px; height: 18px; }
.caps-list em { font: 600 10px var(--font-m); font-style: normal; color: #3dffa0; padding: 3px 6px; border-radius: 4px; background: rgba(61, 255, 160, .08); border: 1px solid rgba(61, 255, 160, .3); }
.caps-list__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0; box-shadow: 0 0 8px var(--pink); }
.corysax-panel.is-in .caps-list__bar { animation: capLoad 1.4s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * .55s); }
.corysax-panel.is-in .caps-list li { animation: capRow .5s var(--ease) backwards; animation-delay: calc(.5s + var(--i) * .55s); }
@keyframes capLoad { 0% { transform: scaleX(0); } 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: .35; } }
@keyframes capRow { from { opacity: 0; translate: -12px 0; } }

/* Tablero SOC */
.soc-board { margin-top: 36px; }
.soc-board__grid { display: grid; grid-template-columns: .95fr 1.3fr; gap: 14px; align-items: stretch; }
.soc-board__globe {
  position: relative; min-height: 340px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 85%, rgba(255, 46, 110, .18), transparent 60%), rgba(3, 4, 10, .6);
  border: 1px solid rgba(255, 255, 255, .06);
}
.soc-board__globe::before {
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -8%; height: 52%;
  background-image: linear-gradient(rgba(255, 46, 110, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 46, 110, .3) 1px, transparent 1px);
  background-size: 34px 34px; transform: perspective(300px) rotateX(68deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 85%); mask-image: linear-gradient(to top, #000, transparent 85%);
  animation: floor 2.4s linear infinite; opacity: .55;
}
.soc-board__globe .holo { left: 50%; width: min(62%, 300px); translate: -50% 0; top: 6%; }
.soc-board__globe .hero__traces { left: -10%; width: 120%; bottom: 0; height: 26%; }
.soc-board__tiles { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.tile {
  position: relative; padding: 14px 16px; border-radius: 12px; overflow: hidden;
  background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 46, 110, .3);
}
.tile small { display: block; font: 500 11.5px var(--font-b); color: #aab2cc; }
.tile b { display: block; font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--font-h); }
.tile em { font: 500 11px var(--font-m); font-style: normal; color: var(--dim); }
.tile em.up { color: #3dffa0; font-size: 13px; }
.tile--threats { grid-row: span 2; display: flex; flex-direction: column; }
.tile--threats b { color: #ff4d7e; text-shadow: 0 0 20px rgba(255, 46, 110, .45); }
.spark { width: 100%; height: 70px; margin: 10px 0 8px; overflow: visible; }
.spark__line { fill: none; stroke: #ff9a4c; stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(255, 138, 47, .9)); }
.spark__area { fill: url(#g-neon); opacity: .14; }
.tile__bars { display: flex; align-items: flex-end; gap: 3px; height: 38px; margin-top: auto; }
.tile__bars i { flex: 1; height: 30%; border-radius: 2px 2px 0 0; background: linear-gradient(0deg, #ff2e6e, #ff8a2f); opacity: .8; transition: height .5s var(--ease); }
.tile--status { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile--status > div { position: relative; }
.tile--status b { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.tile--status b.ok { color: #3dffa0; }
.tile__beat { position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #3dffa0; animation: livePulseG 1.1s infinite; }
.tile--assets { text-align: center; display: grid; align-content: center; gap: 4px; border-color: rgba(255, 138, 47, .4); }
.tile--assets b { color: #fff; }
.tile--log { grid-column: 1 / -1; font-size: 11px; line-height: 1.7; color: #9aa3c0; min-height: 66px; background: rgba(0, 0, 0, .35); }
.tile--log p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: msgIn .35s var(--ease); }
.tile--log .l-alert { color: #ff4d7e; } .tile--log .l-ok { color: #3dffa0; } .tile--log .l-warn { color: #ff9a4c; }

/* Tarjetas: número y widgets vivos */
.card { border: 1.5px solid rgba(255, 46, 110, .32); }
.card:hover { border-color: rgba(255, 46, 110, .7); }
.card__no { display: block; font-size: 12px; color: var(--pink-2); letter-spacing: .1em; margin: -8px 0 4px; }
.card { padding-bottom: 24px; }
.widget { margin-top: 20px; padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .07); font: 500 11.5px var(--font-m); color: #aab2cc; }
.widget__k b { color: #3dffa0; }
.widget__s { display: block; margin-top: 8px; color: var(--dim); }
.widget__s b { color: #fff; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: 10px; }
.eq i { flex: 1; height: 40%; background: linear-gradient(0deg, #ff2e6e, #ff8a2f); border-radius: 1px; animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(3n) { animation-duration: .8s; } .eq i:nth-child(4n+1) { animation-duration: 1.4s; } .eq i:nth-child(5n+2) { animation-duration: .65s; }
.eq i:nth-child(2n) { animation-delay: -.4s; } .eq i:nth-child(3n+1) { animation-delay: -.9s; }
@keyframes eq { 0% { height: 15%; } 100% { height: 100%; } }
.dots::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.net { width: 100%; height: 58px; overflow: visible; }
.net__link { fill: none; stroke: rgba(255, 46, 110, .45); stroke-width: 1.2; stroke-dasharray: 3 4; animation: dashMove 12s linear infinite; }
.net__pkt { fill: #ff9a4c; filter: drop-shadow(0 0 3px #ff8a2f); }
.net__pkt--b { fill: #3dffa0; filter: drop-shadow(0 0 3px #3dffa0); }
.net__node use { color: #ff6a8f; }
.net__node text { fill: #8f98b8; font: 600 6.5px var(--font-m); text-anchor: middle; letter-spacing: .1em; }
.pill-enc { display: inline-block; padding: 8px 10px; border-radius: 999px; border: 1px solid rgba(255, 138, 47, .5); background: rgba(255, 138, 47, .07); color: #ffd9bf; box-shadow: 0 0 14px -6px rgba(255, 138, 47, .9); }
.pill-enc b { color: #fff; letter-spacing: .06em; }
.widget__row { display: flex; justify-content: space-between; align-items: baseline; }
.widget__row b { font: 700 18px var(--font-h); color: #ff9a4c; }
.ecg { width: 100%; height: 34px; margin-top: 6px; overflow: visible; }
.ecg path { fill: none; stroke: #3dffa0; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 30 70; filter: drop-shadow(0 0 3px #3dffa0); animation: ecg 2.2s linear infinite; }
@keyframes ecg { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* Tecnologías: filtros y logos en píldora */
.tech__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.tech__head .eyebrow { margin-bottom: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { padding: 7px 14px; border-radius: 6px; font: 600 12px var(--font-m); color: #aab2cc; border: 1px solid rgba(255, 255, 255, .12); transition: color .25s, border-color .25s, background-color .25s, box-shadow .25s; }
.tabs button::before { content: "["; color: var(--dim); margin-right: 2px; }
.tabs button::after { content: "]"; color: var(--dim); margin-left: 2px; }
.tabs button:hover { color: #fff; border-color: rgba(255, 46, 110, .5); }
.tabs button[aria-selected="true"] { color: #ffd9bf; border-color: rgba(255, 138, 47, .7); background: rgba(255, 138, 47, .08); box-shadow: 0 0 16px -6px rgba(255, 138, 47, .9); }
.marquee__track { gap: 14px; padding-right: 14px; }
.brand {
  padding: 9px 16px 9px 12px; border-radius: 999px; opacity: .92;
  background: rgba(10, 12, 26, .75); border: 1.5px solid color-mix(in srgb, var(--brand) 55%, transparent);
  box-shadow: 0 0 16px -7px var(--brand), inset 0 0 12px -8px var(--brand);
  color: var(--brand);
}
.brand span { color: #e9ecf6; font-size: 15px; }
.brand svg { width: 22px; height: 22px; }
.brand:hover { opacity: 1; filter: none; box-shadow: 0 0 26px -4px var(--brand), inset 0 0 14px -6px var(--brand); }
.tech__grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding-top: 4px; padding-bottom: 6px; }
.tech__grid[hidden] { display: none; }
.tech__grid .brand { animation: pillIn .45s var(--ease) backwards; animation-delay: calc(var(--k, 0) * 28ms); }
@keyframes pillIn { from { opacity: 0; scale: .7; filter: blur(6px); } }

@media (max-width: 1180px) {
  .soc-pill { display: none; }
}
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .corysax-panel { max-width: 640px; }
  .soc-board__grid { grid-template-columns: 1fr; }
  .soc-board__globe { min-height: 0; aspect-ratio: 1 / .8; }
}
@media (max-width: 760px) {
  .panel { padding: 12px; border-radius: 14px; }
  .panel__bar span { display: none; }
  .soc-board__tiles { grid-template-columns: 1fr 1fr; }
  .tile--threats { grid-row: auto; grid-column: 1 / -1; }
  .tile--status { grid-column: 1 / -1; }
  .tile--assets { grid-column: 1 / -1; }
  .tech__head { flex-direction: column; align-items: flex-start; }
  .brand span { font-size: 13.5px; }
}
.nav__links a { white-space: nowrap; }
.card { display: flex; flex-direction: column; }
.card ul { margin-bottom: 4px; }
.card .widget { margin-top: auto; }
.pill-enc { font-size: 10.5px; }
@media (max-width: 1520px) { .soc-pill { display: none; } .nav__links { gap: 26px; } }
.nav__cta, .lang { flex: none; }
.msg em { font-style: italic; color: #fff; }
