/* ==========================================================================
   HANIKATECH — Sistema visual principal
   Proyecto estático, responsive y accesible.
   ========================================================================== */

:root {
  color-scheme: dark;
  --ink-950: var(--color-canvas);
  --ink-900: var(--color-page);
  --ink-850: var(--color-surface);
  --ink-800: var(--color-surface-subtle);
  --ink-750: var(--color-surface-raised);
  --ink-700: var(--color-surface-interactive);
  --ink-650: var(--color-surface-hover);
  --line: var(--color-border);
  --line-strong: var(--color-border-strong);
  --paper: var(--color-text-primary);
  --muted: var(--color-text-muted);
  --muted-2: var(--color-text-subtle);
  --cyan: var(--color-accent);
  --cyan-2: var(--color-accent-hover);
  --blue: var(--color-brand);
  --violet: var(--color-violet);
  --violet-2: var(--color-violet-hover);
  --green: var(--color-success);
  --yellow: var(--color-warning);
  --danger: var(--color-error);
  --gradient: var(--gradient-brand);
  --gradient-soft: var(--gradient-brand-soft);
  --header-h: var(--header-height);
  --container: var(--max-width-content);
  --container-wide: var(--max-width-wide);
  --ease: var(--motion-ease-emphasis);
  --ease-out: var(--motion-ease-enter);
  --font: var(--font-family-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink-950);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 86% 2%, rgba(109, 82, 255, .12), transparent 27rem),
    radial-gradient(circle at 10% 38%, rgba(32, 211, 247, .07), transparent 30rem),
    var(--ink-950);
  color: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #07101d;
  background: var(--cyan);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-bottom: .65em;
  color: var(--paper);
  line-height: 1.06;
  letter-spacing: -.035em;
}

p {
  color: var(--muted);
}

ul,
ol {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid rgba(61, 232, 255, .82);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: .75rem 1rem;
  border-radius: 12px;
  color: #07101d;
  background: var(--cyan);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.page-grid,
.page-noise {
  position: fixed;
  z-index: -3;
  inset: 0;
  pointer-events: none;
}

.page-grid {
  opacity: .18;
  background-image:
    linear-gradient(rgba(122, 145, 191, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 145, 191, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
}

.page-noise {
  display: none;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: rgba(77, 123, 255, .16);
  filter: blur(110px);
  pointer-events: none;
}

.ambient--cyan {
  background: rgba(41, 221, 249, .12);
}

.ambient--violet {
  background: rgba(163, 83, 255, .15);
}

.scroll-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 228, 255, .095), transparent 64%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  mix-blend-mode: screen;
}

@media (pointer: fine) {
  body:hover .cursor-glow {
    opacity: 1;
  }
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container-wide));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

.section--tight {
  padding: var(--section-space-compact) 0;
}

.section--compact {
  padding: var(--space-12) 0;
}

.section--alt {
  border-block: 1px solid rgba(142, 160, 198, .09);
  background:
    linear-gradient(180deg, rgba(17, 26, 49, .48), rgba(7, 10, 22, .12)),
    radial-gradient(circle at 50% 0%, rgba(91, 103, 255, .08), transparent 48%);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head--center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-head--center .section-lede {
  margin-inline: auto;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.1rem;
  color: var(--cyan-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-kicker::before,
.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--pill {
  padding: .48rem .78rem;
  border: 1px solid rgba(74, 226, 249, .25);
  border-radius: 999px;
  background: rgba(16, 29, 51, .7);
  box-shadow: inset 0 0 18px rgba(61, 232, 255, .04);
  backdrop-filter: blur(12px);
}

.eyebrow--pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}

.display,
.h1 {
  max-width: 15ch;
  margin-bottom: 1.35rem;
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-display);
  line-height: var(--line-height-tight);
}

.h2 {
  max-width: 17ch;
  margin-bottom: 1rem;
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-height-heading);
}

.h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-tight);
}

.h4 {
  font-size: 1.15rem;
  font-weight: 720;
  letter-spacing: -.025em;
}

.text-gradient {
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-balance {
  text-wrap: balance;
}

.lede,
.section-lede {
  max-width: var(--content-measure);
  margin-bottom: 0;
  color: #bac3d5;
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
  line-height: 1.72;
}

.microcopy {
  color: var(--muted-2);
  font-size: .82rem;
}

.muted {
  color: var(--muted);
}

.accent {
  color: var(--cyan-2);
}

.gradient-rule {
  width: 100%;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(69, 228, 255, .6), rgba(160, 105, 255, .5), transparent);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

.btn {
  --btn-bg: var(--gradient);
  position: relative;
  display: inline-flex;
  min-height: var(--touch-target-comfortable);
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: var(--control-padding-block) 1.2rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--color-text-on-accent);
  background: var(--btn-bg);
  box-shadow: var(--button-shadow);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: -.01em;
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
  isolation: isolate;
}

.btn::before {
  display: none;
}

.btn:hover {
  box-shadow: var(--button-shadow-hover);
  transform: translateY(-1px);
}

.btn:hover::before {
  transform: none;
}

.btn:active {
  transform: translateY(0) scale(.985);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform .3s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--secondary {
  color: var(--paper);
  border-color: var(--line-strong);
  background: rgba(16, 23, 43, .68);
  box-shadow: inset 0 1px rgba(255, 255, 255, .03), var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.btn--secondary:hover {
  border-color: rgba(74, 226, 249, .46);
  background: rgba(21, 31, 57, .9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

.btn--ghost {
  min-height: 44px;
  padding-inline: .95rem;
  color: #dfe5f1;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.btn--ghost:hover {
  color: var(--cyan-2);
  background: rgba(64, 220, 250, .07);
  box-shadow: none;
}

.btn--small {
  min-height: 42px;
  padding: .66rem .94rem;
  font-size: .84rem;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #dfe8f5;
  font-size: .9rem;
  font-weight: 760;
}

.link-arrow svg {
  width: 17px;
  transition: transform .25s var(--ease);
}

.link-arrow:hover {
  color: var(--cyan-2);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 22, 41, .75);
  transition: border-color .25s ease, background .25s ease, transform .25s var(--ease);
}

.icon-button:hover {
  border-color: rgba(61, 232, 255, .4);
  background: rgba(22, 34, 60, .9);
  transform: translateY(-2px);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  width: fit-content;
  padding: .4rem .68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cbd4e5;
  background: rgba(14, 21, 39, .68);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  content: "";
}

.badge--violet::before {
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
}

.badge--green::before {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #adb8cd;
  background: rgba(12, 18, 34, .6);
  font-size: .75rem;
  font-weight: 650;
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--color-surface-raised);
  box-shadow: var(--shadow-xs);
}

.surface--glass {
  background: rgba(14, 21, 40, .68);
  backdrop-filter: blur(18px);
}

.surface--glow {
  position: relative;
  overflow: hidden;
}

.surface--glow::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 10%), rgba(76, 226, 255, .13), transparent 46%);
  pointer-events: none;
  content: "";
}

.divider {
  height: 1px;
  background: var(--line);
}

/* ==========================================================================
   Navegación
   ========================================================================== */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  padding: 14px 0;
  transition: padding .35s var(--ease), background .35s ease, border-color .35s ease;
}

.site-header.is-scrolled {
  padding: 8px 0;
  border-bottom: 1px solid rgba(145, 164, 204, .12);
  background: rgba(5, 8, 18, .78);
  backdrop-filter: blur(22px) saturate(150%);
}

.nav-shell {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 1.3rem;
  padding: 0 .55rem 0 .75rem;
  border: 1px solid rgba(151, 169, 207, .14);
  border-radius: 20px;
  background: rgba(10, 15, 29, .6);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 12px 34px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled .nav-shell {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .7rem;
}

.brand img,
.brand svg {
  width: 174px;
  height: auto;
}

.brand--compact img {
  width: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .08rem;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: .35rem;
  padding: .58rem .68rem;
  border-radius: 12px;
  color: #b9c2d4;
  font-size: .83rem;
  font-weight: 690;
  transition: color .2s ease, background .2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-item.is-open > .nav-link {
  color: var(--paper);
  background: rgba(95, 120, 180, .1);
}

.nav-link[aria-current="page"]::after {
  position: absolute;
  right: 32%;
  bottom: 3px;
  left: 32%;
  height: 2px;
  border-radius: 10px;
  background: var(--gradient);
  content: "";
}

.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform .25s var(--ease);
}

.nav-item.is-open .nav-chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: min(710px, calc(100vw - 40px));
  padding: .75rem;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(18, 27, 49, .98), rgba(7, 11, 23, .98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(.98);
  transform-origin: top center;
  transition: opacity .22s ease, transform .28s var(--ease-out);
}

.nav-item.is-open .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.mega-menu--services {
  width: min(760px, calc(100vw - 40px));
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
}

.mega-link {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .8rem;
  align-items: center;
  padding: .8rem;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: border-color .2s ease, background .2s ease, transform .2s var(--ease);
}

.mega-link:hover {
  border-color: rgba(92, 224, 247, .2);
  background: rgba(83, 116, 180, .09);
  transform: translateY(-1px);
}

.mega-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(111, 140, 255, .25);
  border-radius: 14px;
  color: var(--cyan-2);
  background: rgba(32, 44, 77, .72);
}

.mega-icon svg {
  width: 21px;
  height: 21px;
}

.mega-title {
  display: block;
  color: #edf1fa;
  font-size: .86rem;
  font-weight: 750;
}

.mega-copy {
  display: block;
  margin-top: .1rem;
  color: #8491aa;
  font-size: .73rem;
  line-height: 1.45;
}

.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .55rem;
  padding: .8rem .9rem .15rem;
  border-top: 1px solid var(--line);
}

.mega-footer p {
  margin: 0;
  font-size: .75rem;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .4rem;
}

.header-actions .btn {
  min-height: 42px;
  padding: .68rem .95rem;
  font-size: .8rem;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 22, 41, .78);
}

.menu-toggle span {
  position: absolute;
  width: 19px;
  height: 1.5px;
  border-radius: 3px;
  background: var(--paper);
  transition: transform .3s var(--ease), opacity .2s ease, top .3s var(--ease);
}

.menu-toggle span:nth-child(1) {
  top: 16px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  z-index: 990;
  inset: 0;
  padding: calc(var(--header-h) + 24px) 20px 24px;
  background: rgba(5, 8, 18, .97);
  backdrop-filter: blur(20px);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .25s ease, transform .3s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav__inner {
  width: min(100%, 580px);
  margin-inline: auto;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: #eef2fa;
  font-size: 1.15rem;
  font-weight: 720;
}

.mobile-nav__link svg {
  width: 18px;
}

.mobile-nav__group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  padding: 1rem 0 1.35rem;
}

.mobile-nav__sub {
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #b4bed2;
  background: rgba(17, 26, 48, .6);
  font-size: .82rem;
  font-weight: 680;
}

.mobile-nav__actions {
  display: grid;
  gap: .65rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Hero de inicio
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(8.5rem, 13vw, 11.5rem) 0 4.5rem;
  overflow: clip;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: -25%;
  right: -12%;
  width: min(70vw, 880px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 43% 44%, rgba(105, 92, 255, .28), rgba(34, 209, 245, .08) 40%, transparent 66%);
  filter: blur(8px);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 21%;
  left: 49%;
  width: 1px;
  height: 42%;
  background: linear-gradient(transparent, rgba(74, 231, 255, .38), transparent);
  opacity: .45;
  content: "";
}

.hero-canvas {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .45;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(460px, .98fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__copy .display {
  max-width: 11.7ch;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 1.8rem;
  color: #b6c0d3;
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2.3rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  color: #8f9bb3;
  font-size: .79rem;
  font-weight: 650;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.hero__visual {
  position: relative;
  min-height: 630px;
  perspective: 1200px;
}

.hero-stage {
  position: absolute;
  inset: 3% -3% 0;
  transform-style: preserve-3d;
}

.hero-stage__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(116, 145, 218, .16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-stage__halo::before,
.hero-stage__halo::after {
  position: absolute;
  inset: 46px;
  border: 1px dashed rgba(93, 222, 247, .18);
  border-radius: 50%;
  animation: orbit-spin 28s linear infinite;
  content: "";
}

.hero-stage__halo::after {
  inset: 105px;
  border-style: solid;
  border-color: rgba(159, 110, 255, .21);
  animation-direction: reverse;
  animation-duration: 20s;
}

.hero-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 172px;
  height: 172px;
  place-items: center;
  border: 1px solid rgba(97, 224, 249, .38);
  border-radius: 46px;
  background:
    radial-gradient(circle at 34% 28%, rgba(74, 232, 255, .24), transparent 40%),
    linear-gradient(145deg, rgba(23, 35, 65, .95), rgba(7, 11, 23, .96));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .08),
    0 0 0 12px rgba(49, 205, 237, .025),
    0 0 90px rgba(74, 145, 255, .25),
    0 40px 90px rgba(0, 0, 0, .44);
  transform: translate(-50%, -50%) rotate(-4deg);
  animation: core-float 6s var(--ease-in-out, ease-in-out) infinite;
}

.hero-core img {
  width: 91px;
  filter: drop-shadow(0 0 24px rgba(61, 232, 255, .28));
}

.hero-core__label {
  position: absolute;
  bottom: -44px;
  left: 50%;
  width: max-content;
  padding: .42rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b9c3d8;
  background: rgba(8, 13, 27, .82);
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.hero-card {
  position: absolute;
  z-index: 3;
  width: 224px;
  padding: .95rem;
  overflow: hidden;
  border: 1px solid rgba(136, 155, 198, .2);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(23, 33, 58, .88), rgba(8, 13, 26, .9));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .36);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
}

.hero-card::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(62, 231, 255, .13), transparent 48%);
  pointer-events: none;
  content: "";
}

.hero-card--bot {
  top: 10%;
  left: 0;
  transform: rotate(-5deg);
  animation: card-float-a 7s ease-in-out infinite;
}

.hero-card--market {
  top: 3%;
  right: 0;
  transform: rotate(4deg);
  animation: card-float-b 8s ease-in-out infinite;
}

.hero-card--ops {
  right: -2%;
  bottom: 7%;
  transform: rotate(3deg);
  animation: card-float-a 7.5s 1s ease-in-out infinite reverse;
}

.hero-card--games {
  bottom: 4%;
  left: 2%;
  transform: rotate(-3deg);
  animation: card-float-b 8.2s .5s ease-in-out infinite reverse;
}

.hero-card__head {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .8rem;
}

.hero-card__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(91, 226, 250, .23);
  border-radius: 12px;
  color: var(--cyan-2);
  background: rgba(37, 61, 93, .58);
}

.hero-card__icon svg {
  width: 19px;
}

.hero-card__title {
  color: #eff3fb;
  font-size: .81rem;
  font-weight: 780;
}

.hero-card__meta {
  color: #7f8ca7;
  font-size: .64rem;
}

.mini-chat {
  display: grid;
  gap: .38rem;
}

.mini-bubble {
  width: 85%;
  padding: .48rem .6rem;
  border-radius: 11px 11px 11px 4px;
  color: #c7d0e2;
  background: #1a2540;
  font-size: .61rem;
  line-height: 1.4;
}

.mini-bubble--ai {
  justify-self: end;
  border-radius: 11px 11px 4px 11px;
  color: #07111e;
  background: var(--gradient);
  font-weight: 700;
}

.mini-store {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .38rem;
}

.mini-store span {
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(135, 153, 190, .13);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(76, 232, 255, .18), rgba(151, 94, 255, .15));
}

.mini-chart {
  height: 58px;
}

.mini-chart svg {
  width: 100%;
  height: 100%;
}

.mini-games {
  display: flex;
  gap: .42rem;
}

.mini-games span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  color: #dfe6f4;
  background: linear-gradient(145deg, rgba(57, 225, 248, .18), rgba(141, 92, 255, .24));
  font-size: .68rem;
  font-weight: 800;
}

.hero-orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
  transform-origin: -170px 0;
  animation: dot-orbit 11s linear infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #77849d;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue__mouse {
  display: grid;
  width: 24px;
  height: 35px;
  place-items: start center;
  padding-top: 7px;
  border: 1px solid rgba(151, 170, 208, .34);
  border-radius: 14px;
}

.scroll-cue__mouse::before {
  width: 3px;
  height: 7px;
  border-radius: 4px;
  background: var(--cyan);
  animation: scroll-dot 1.8s ease-in-out infinite;
  content: "";
}

.proof-strip {
  position: relative;
  z-index: 3;
  margin-top: 1.5rem;
}

.proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(10, 15, 29, .62);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.proof-item {
  position: relative;
  padding: 1.25rem 1.35rem;
  text-align: center;
}

.proof-item + .proof-item::before {
  position: absolute;
  top: 24%;
  bottom: 24%;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.proof-value {
  display: block;
  margin-bottom: .18rem;
  color: var(--paper);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 780;
  letter-spacing: -.05em;
  line-height: 1;
}

.proof-label {
  color: #8390aa;
  font-size: .72rem;
  font-weight: 680;
  letter-spacing: .02em;
}

/* ==========================================================================
   Presentación institucional y capacidades
   ========================================================================== */

.intro-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

.intro-sticky {
  position: sticky;
  top: 120px;
}

.intro-sticky .h2 {
  max-width: 10ch;
}

.intro-copy {
  display: grid;
  gap: 1rem;
}

.intro-statement {
  margin-bottom: 1rem;
  color: #d6ddeb;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 590;
  letter-spacing: -.03em;
  line-height: 1.42;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}

.capability-card {
  position: relative;
  min-height: 250px;
  padding: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(22, 31, 56, .77), rgba(8, 13, 27, .84));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
  transition: border-color .3s ease, transform .4s var(--ease), box-shadow .4s var(--ease);
}

.capability-card:hover {
  border-color: rgba(81, 224, 249, .32);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .26);
  transform: translateY(-5px);
}

.capability-card:nth-child(1),
.capability-card:nth-child(4) {
  grid-column: span 7;
}

.capability-card:nth-child(2),
.capability-card:nth-child(3) {
  grid-column: span 5;
}

.capability-card:nth-child(5),
.capability-card:nth-child(6) {
  grid-column: span 6;
}

.capability-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.capability-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(94, 224, 248, .22);
  border-radius: 16px;
  color: var(--cyan-2);
  background: rgba(27, 47, 78, .62);
}

.capability-card__icon svg {
  width: 24px;
  height: 24px;
}

.capability-card__number {
  color: rgba(171, 184, 210, .48);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .09em;
}

.capability-card h3 {
  max-width: 15ch;
  margin-bottom: .65rem;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.capability-card p {
  max-width: 48ch;
  margin-bottom: 0;
  font-size: .9rem;
}

.capability-card__orb {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(70, 228, 255, .32), rgba(102, 104, 255, .08) 48%, transparent 70%);
  filter: blur(2px);
  transition: transform .5s var(--ease);
}

.capability-card:hover .capability-card__orb {
  transform: scale(1.15) translate(-6px, -6px);
}

.capability-card--violet .capability-card__icon {
  color: var(--violet-2);
  border-color: rgba(179, 121, 255, .26);
  background: rgba(58, 35, 86, .55);
}

.capability-card--green .capability-card__icon {
  color: var(--green);
  border-color: rgba(99, 230, 190, .24);
  background: rgba(32, 77, 69, .44);
}

/* ==========================================================================
   Productos propios
   ========================================================================== */

.product-stack {
  display: grid;
  gap: clamp(4.5rem, 8vw, 8rem);
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}

.product-row:nth-child(even) .product-visual {
  order: 2;
}

.product-row:nth-child(even) .product-copy {
  order: 1;
}

.product-visual {
  position: relative;
  min-width: 0;
}

.product-visual::before {
  position: absolute;
  z-index: -1;
  inset: 13% 5% -5%;
  border-radius: 35%;
  background: radial-gradient(circle, rgba(74, 207, 255, .14), rgba(127, 94, 255, .07) 45%, transparent 70%);
  filter: blur(48px);
  content: "";
}

.product-visual__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(143, 162, 201, .17);
  border-radius: var(--radius-lg);
  background: #0a0f1f;
  box-shadow: var(--shadow-lg);
}

.product-visual__frame img {
  width: 100%;
  transition: transform .8s var(--ease-out);
}

.product-visual:hover img {
  transform: scale(1.025);
}

.product-visual__tag {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .85rem;
  border: 1px solid rgba(150, 168, 204, .23);
  border-radius: 999px;
  color: #d5ddec;
  background: rgba(7, 11, 23, .72);
  font-size: .72rem;
  font-weight: 720;
  backdrop-filter: blur(15px);
}

.product-visual__tag span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
}

.product-copy .h2,
.product-copy .h3 {
  max-width: 13ch;
}

.product-copy > p {
  max-width: 53ch;
  font-size: 1.02rem;
  line-height: 1.75;
}

.product-name {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  color: var(--cyan-2);
  font-size: .82rem;
  font-weight: 820;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.product-name::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.4rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.feature-pills li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #bcc6d9;
  background: rgba(15, 23, 43, .72);
  font-size: .76rem;
  font-weight: 650;
}

.feature-pills li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .72rem;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  padding: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(22, 31, 55, .85), rgba(8, 13, 27, .95));
  transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s var(--ease);
}

.product-card:hover {
  border-color: rgba(74, 225, 251, .3);
  box-shadow: 0 30px 75px rgba(0, 0, 0, .32);
  transform: translateY(-7px);
}

.product-card__visual {
  position: relative;
  aspect-ratio: 1.28;
  margin-bottom: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(142, 159, 195, .15);
  border-radius: 22px;
  background: #0b1020;
}

.product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform .7s var(--ease-out);
}

.product-card:hover .product-card__visual img {
  transform: scale(1.23);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 .25rem .2rem;
}

.product-card__body h3 {
  margin: .75rem 0 .6rem;
  font-size: 1.65rem;
}

.product-card__body p {
  margin-bottom: 1.35rem;
  font-size: .9rem;
}

.product-card__body .link-arrow {
  margin-top: auto;
}

/* ==========================================================================
   Ecosistema conectado
   ========================================================================== */

.ecosystem-shell {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(95, 105, 255, .12), transparent 50%),
    linear-gradient(145deg, rgba(19, 28, 51, .82), rgba(7, 11, 23, .88));
  box-shadow: var(--shadow-md);
}

.ecosystem-shell::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(104, 134, 192, .18) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(black, transparent 90%);
  pointer-events: none;
  content: "";
}

.ecosystem-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.ecosystem-node {
  position: relative;
  z-index: 2;
  min-height: 260px;
  padding: 1.35rem;
  border: 1px solid rgba(146, 163, 199, .18);
  border-radius: 24px;
  background: rgba(10, 16, 31, .82);
  box-shadow: inset 0 1px rgba(255, 255, 255, .03);
}

.ecosystem-node + .ecosystem-node::before {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(61, 232, 255, .25), rgba(143, 111, 255, .65));
  content: "";
}

.ecosystem-node + .ecosystem-node::after {
  position: absolute;
  top: calc(50% - 3px);
  right: calc(100% - 1rem);
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--violet-2);
  border-right: 1px solid var(--violet-2);
  transform: rotate(45deg);
  content: "";
}

.ecosystem-node__step {
  display: inline-flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(62, 229, 255, .3);
  border-radius: 10px;
  color: var(--cyan-2);
  background: rgba(35, 65, 94, .5);
  font-size: .72rem;
  font-weight: 800;
}

.ecosystem-node h3 {
  margin-bottom: .55rem;
  font-size: 1.55rem;
}

.ecosystem-node p {
  margin-bottom: 1.2rem;
  font-size: .85rem;
}

.ecosystem-node__flow {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin-top: auto;
}

.ecosystem-node__flow span {
  padding: .36rem .52rem;
  border-radius: 9px;
  color: #99a6bd;
  background: rgba(30, 43, 70, .62);
  font-size: .66rem;
  font-weight: 680;
}

.ecosystem-note {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(99, 230, 190, .18);
  border-radius: 17px;
  background: rgba(23, 66, 58, .18);
}

.ecosystem-note p {
  margin: 0;
  color: #a7b9bd;
  font-size: .8rem;
}

.ecosystem-note strong {
  color: #c6f6e7;
}

/* ==========================================================================
   Servicios
   ========================================================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 29, 53, .75), rgba(8, 13, 26, .88));
  transition: transform .35s var(--ease), border-color .3s ease, background .3s ease;
}

.service-card:hover {
  border-color: rgba(78, 225, 250, .28);
  background: linear-gradient(145deg, rgba(25, 37, 67, .84), rgba(9, 15, 30, .95));
  transform: translateY(-5px);
}

.service-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 2.2rem;
  border: 1px solid rgba(70, 229, 255, .23);
  border-radius: 16px;
  color: var(--cyan-2);
  background: rgba(29, 56, 87, .53);
}

.service-card__icon svg {
  width: 25px;
  height: 25px;
}

.service-card h3 {
  margin-bottom: .65rem;
  font-size: 1.35rem;
}

.service-card p {
  margin-bottom: 1rem;
  font-size: .86rem;
}

.service-card__index {
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
  color: rgba(165, 179, 208, .38);
  font-size: .68rem;
  font-weight: 780;
  letter-spacing: .1em;
}

.service-card__line {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.service-card:hover .service-card__line {
  transform: scaleX(1);
}

/* ==========================================================================
   Sectores
   ========================================================================== */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sector-card {
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(12, 18, 34, .65);
}

.sector-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.sector-card__icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--violet-2);
  background: rgba(53, 39, 82, .5);
}

.sector-card__icon svg {
  width: 22px;
}

.sector-card__top span:last-child {
  color: #66738d;
  font-size: .7rem;
  font-weight: 750;
}

.sector-card h3 {
  margin-bottom: .55rem;
  font-size: 1.25rem;
}

.sector-card p {
  margin-bottom: 0;
  font-size: .84rem;
}

/* ==========================================================================
   Videojuegos
   ========================================================================== */

.game-slider {
  position: relative;
  overflow: visible;
}

.game-slider .swiper {
  overflow: visible;
}

.game-slider .swiper-wrapper {
  align-items: stretch;
}

.game-slider .swiper-slide {
  height: auto;
}

.game-card {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(10, 15, 29, .85);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s ease, transform .4s var(--ease);
}

.game-card:hover {
  border-color: rgba(137, 108, 255, .38);
  transform: translateY(-6px);
}

.game-card__art {
  position: relative;
  aspect-ratio: 1.45;
  overflow: hidden;
  background: #0c1121;
}

.game-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease-out);
}

.game-card:hover .game-card__art img {
  transform: scale(1.035);
}

.game-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
}

.game-card__body h3 {
  margin: .9rem 0 .55rem;
  font-size: 1.8rem;
}

.game-card__body p {
  margin-bottom: 1.35rem;
  font-size: .88rem;
}

.game-card__body .link-arrow {
  margin-top: auto;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.slider-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--paper);
  background: rgba(15, 23, 43, .76);
  transition: border-color .2s ease, background .2s ease, transform .2s var(--ease);
}

.slider-button:hover {
  border-color: rgba(70, 226, 250, .4);
  background: rgba(24, 38, 65, .92);
  transform: translateY(-2px);
}

.slider-button svg {
  width: 19px;
}

.slider-button.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}

.game-fallback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* ==========================================================================
   Proceso
   ========================================================================== */

.process {
  position: relative;
}

.process::before {
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 31px;
  width: 1px;
  background: linear-gradient(var(--cyan), rgba(111, 140, 255, .45), rgba(168, 107, 255, .15));
  content: "";
}

.process-list {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  border: 1px solid transparent;
  border-radius: 22px;
  transition: border-color .25s ease, background .25s ease;
}

.process-item:hover {
  border-color: var(--line);
  background: rgba(15, 23, 43, .56);
}

.process-number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(65, 227, 253, .3);
  border-radius: 14px;
  color: var(--cyan-2);
  background: #0d182d;
  box-shadow: 0 0 0 7px var(--ink-950);
  font-size: .75rem;
  font-weight: 820;
}

.process-copy {
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(260px, 1fr);
  gap: 1.5rem;
  padding-top: .25rem;
}

.process-copy h3 {
  margin: 0;
  font-size: 1.25rem;
}

.process-copy p {
  margin: 0;
  font-size: .88rem;
}

/* ==========================================================================
   Metodología / manifiesto
   ========================================================================== */

.manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 78% 20%, rgba(112, 90, 255, .2), transparent 35%),
    radial-gradient(circle at 15% 85%, rgba(46, 223, 248, .13), transparent 32%),
    linear-gradient(145deg, rgba(18, 27, 50, .86), rgba(7, 11, 23, .92));
  box-shadow: var(--shadow-md);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.manifesto .h2 {
  max-width: 12ch;
}

.manifesto-list {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.manifesto-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: .75rem;
  align-items: center;
  padding: .78rem;
  border: 1px solid rgba(143, 160, 196, .13);
  border-radius: 14px;
  color: #c4cddd;
  background: rgba(12, 18, 34, .55);
  font-size: .84rem;
  font-weight: 660;
}

.manifesto-list span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  color: var(--cyan-2);
  background: rgba(37, 69, 99, .47);
}

/* ==========================================================================
   Preguntas frecuentes
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-list {
  display: grid;
  gap: .65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 20, 38, .64);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}

.faq-item.is-open {
  border-color: rgba(70, 227, 251, .28);
  background: rgba(17, 27, 50, .82);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  color: #eef2fa;
  background: transparent;
  text-align: left;
  font-size: .95rem;
  font-weight: 720;
}

.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(29, 40, 68, .56);
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--cyan-2);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), opacity .2s ease;
  content: "";
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  margin: 0;
  padding: 0 1.15rem 1.25rem;
  font-size: .88rem;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
  position: relative;
  padding: clamp(2.6rem, 7vw, 6rem);
  overflow: hidden;
  border: 1px solid rgba(125, 147, 194, .2);
  border-radius: clamp(26px, 4vw, 48px);
  background:
    radial-gradient(circle at 75% 0%, rgba(165, 94, 255, .28), transparent 37%),
    radial-gradient(circle at 0% 100%, rgba(38, 218, 250, .19), transparent 40%),
    linear-gradient(135deg, #131d38, #090d1d 70%);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.cta::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 160, 199, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 160, 199, .06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  content: "";
}

.cta__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
}

.cta .h2 {
  max-width: 13ch;
  margin-inline: auto;
}

.cta p {
  max-width: 58ch;
  margin: 0 auto 1.7rem;
  font-size: 1rem;
}

.cta .cluster {
  justify-content: center;
}

/* ==========================================================================
   Formulario
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 115px;
}

.contact-cards {
  display: grid;
  gap: .7rem;
  margin-top: 2rem;
}

.contact-method {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .8rem;
  align-items: center;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 22, 41, .66);
}

.contact-method__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: var(--cyan-2);
  background: rgba(36, 65, 94, .54);
}

.contact-method__icon svg {
  width: 20px;
}

.contact-method strong {
  display: block;
  color: #e7ebf5;
  font-size: .82rem;
}

.contact-method span {
  display: block;
  color: #7f8ca7;
  font-size: .72rem;
}

.contact-form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(20, 29, 53, .78), rgba(8, 13, 27, .88));
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: .45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: #d9dfec;
  font-size: .78rem;
  font-weight: 700;
}

.field label span {
  color: var(--muted-2);
  font-weight: 550;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(145, 163, 201, .22);
  border-radius: 13px;
  color: #eef2fa;
  background: rgba(7, 12, 25, .72);
  box-shadow: inset 0 1px rgba(255, 255, 255, .015);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.field input,
.field select {
  min-height: 50px;
  padding: 0 .9rem;
}

.field textarea {
  min-height: 145px;
  padding: .85rem .9rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #66738c;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(61, 232, 255, .58);
  background: rgba(11, 18, 34, .92);
  box-shadow: 0 0 0 4px rgba(61, 232, 255, .07);
  outline: 0;
}

.field [aria-invalid="true"] {
  border-color: rgba(255, 127, 159, .66);
  box-shadow: 0 0 0 4px rgba(255, 127, 159, .07);
}

.field-error {
  min-height: 1.2em;
  color: #ff9db5;
  font-size: .69rem;
}

.check-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: .65rem;
  align-items: start;
  grid-column: 1 / -1;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cyan);
}

.check-field label {
  color: #939fb6;
  font-size: .74rem;
  line-height: 1.55;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  grid-column: 1 / -1;
  margin-top: .25rem;
}

.form-footer p {
  margin: 0;
  color: #71809a;
  font-size: .69rem;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: .85rem 1rem;
  border-radius: 13px;
  font-size: .8rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  border: 1px solid rgba(99, 230, 190, .28);
  color: #b8f5df;
  background: rgba(38, 101, 83, .2);
}

.form-status--info {
  border: 1px solid rgba(111, 140, 255, .28);
  color: #cbd4ff;
  background: rgba(67, 75, 145, .18);
}

.form-status--error {
  border: 1px solid rgba(255, 127, 159, .28);
  color: #ffc1d0;
  background: rgba(116, 44, 66, .18);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  padding: 4.5rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 18, .7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, .7fr);
  gap: 2.5rem;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  max-width: 36ch;
  margin-bottom: 1.4rem;
  font-size: .84rem;
}

.socials {
  display: flex;
  gap: .55rem;
}

.social-link {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #aab5ca;
  background: rgba(15, 22, 41, .65);
  transition: color .2s ease, border-color .2s ease, transform .2s var(--ease);
}

.social-link:hover {
  color: var(--cyan-2);
  border-color: rgba(61, 232, 255, .35);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
}

.footer-column :is(h2, h3) {
  margin-bottom: 1rem;
  color: #eef2fa;
  font-size: .78rem;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: .63rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #8e9bb3;
  font-size: .8rem;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--cyan-2);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: #69768f;
  font-size: .7rem;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom__links a {
  color: #7f8ca5;
  font-size: .7rem;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  color: var(--paper);
  background: rgba(12, 18, 34, .86);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s var(--ease), border-color .2s ease;
  backdrop-filter: blur(12px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(61, 232, 255, .45);
}

.back-to-top svg {
  width: 18px;
}

/* ==========================================================================
   Páginas internas
   ========================================================================== */

.subhero {
  position: relative;
  min-height: 680px;
  padding: clamp(9rem, 14vw, 12rem) 0 clamp(4.5rem, 8vw, 7rem);
  overflow: clip;
}

.subhero::before {
  position: absolute;
  z-index: -2;
  top: -220px;
  right: -120px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 83, 255, .22), rgba(41, 211, 249, .07) 42%, transparent 69%);
  content: "";
}

.subhero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 228, 255, .38), rgba(169, 106, 255, .35), transparent);
  content: "";
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1.6rem;
  color: #75829a;
  font-size: .75rem;
  font-weight: 650;
}

.breadcrumbs a {
  transition: color .2s ease;
}

.breadcrumbs a:hover {
  color: var(--cyan-2);
}

.breadcrumbs svg {
  width: 13px;
  height: 13px;
}

.subhero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .88fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.subhero__copy .h1 {
  max-width: 11.5ch;
  font-size: clamp(3.3rem, 6.5vw, 6.4rem);
}

.subhero__copy .lede {
  margin-bottom: 1.8rem;
}

.subhero__visual {
  position: relative;
  min-height: 460px;
}

.subhero__visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.subhero__visual::before {
  position: absolute;
  inset: 12% 6% -5%;
  border-radius: 40%;
  background: radial-gradient(circle, rgba(67, 222, 255, .16), rgba(127, 91, 255, .11) 45%, transparent 69%);
  filter: blur(45px);
  content: "";
}

.subhero__visual--abstract {
  display: grid;
  place-items: center;
}

.abstract-orbit {
  position: relative;
  display: grid;
  width: min(420px, 80vw);
  aspect-ratio: 1;
  place-items: center;
}

.abstract-orbit::before,
.abstract-orbit::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(88, 223, 249, .17);
  border-radius: 50%;
  animation: orbit-spin 26s linear infinite;
  content: "";
}

.abstract-orbit::after {
  inset: 54px;
  border-style: dashed;
  border-color: rgba(168, 107, 255, .24);
  animation-direction: reverse;
  animation-duration: 18s;
}

.abstract-orbit__core {
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  border: 1px solid rgba(80, 229, 252, .36);
  border-radius: 45px;
  background: linear-gradient(145deg, rgba(24, 36, 66, .96), rgba(8, 13, 26, .98));
  box-shadow: 0 0 100px rgba(84, 126, 255, .25), var(--shadow-lg);
  transform: rotate(-7deg);
}

.abstract-orbit__core img {
  width: 90px;
}

.abstract-orbit__node {
  position: absolute;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  color: var(--cyan-2);
  background: rgba(16, 25, 46, .88);
  box-shadow: var(--shadow-sm);
}

.abstract-orbit__node svg {
  width: 26px;
}

.abstract-orbit__node:nth-child(2) {
  top: 9%;
  left: 15%;
}

.abstract-orbit__node:nth-child(3) {
  top: 20%;
  right: 3%;
}

.abstract-orbit__node:nth-child(4) {
  right: 15%;
  bottom: 4%;
}

.abstract-orbit__node:nth-child(5) {
  bottom: 13%;
  left: 3%;
}

.page-tabs {
  position: sticky;
  z-index: 50;
  top: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 18, .86);
  backdrop-filter: blur(18px);
}

.page-tabs__inner {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-tabs__inner::-webkit-scrollbar {
  display: none;
}

.page-tab {
  flex: 0 0 auto;
  padding: 1rem .85rem;
  color: #8c99b1;
  font-size: .76rem;
  font-weight: 720;
  white-space: nowrap;
  transition: color .2s ease;
}

.page-tab:hover,
.page-tab.is-active {
  color: var(--paper);
}

.page-tab.is-active {
  box-shadow: inset 0 -2px var(--cyan);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.split-section--reverse > :first-child {
  order: 2;
}

.split-section--reverse > :last-child {
  order: 1;
}

.split-section__copy .h2 {
  max-width: 12ch;
}

.split-section__copy > p {
  max-width: 56ch;
}

.visual-panel {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 75% 15%, rgba(134, 93, 255, .18), transparent 36%),
    radial-gradient(circle at 10% 85%, rgba(50, 222, 247, .12), transparent 36%),
    linear-gradient(145deg, rgba(20, 30, 54, .87), rgba(7, 11, 23, .94));
  box-shadow: var(--shadow-md);
}

.visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-panel--padded {
  display: grid;
  padding: 1rem;
  place-items: center;
}

.visual-panel--padded img {
  height: auto;
  border-radius: 22px;
}

.feature-list {
  display: grid;
  gap: .65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: .7rem;
  align-items: start;
  color: #b9c3d7;
  font-size: .86rem;
}

.feature-list__check {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(61, 232, 255, .24);
  border-radius: 9px;
  color: var(--cyan-2);
  background: rgba(35, 68, 98, .42);
}

.feature-list__check svg {
  width: 14px;
}

.feature-list strong {
  display: block;
  margin-bottom: .08rem;
  color: #e1e6f1;
  font-weight: 730;
}

.feature-list small {
  display: block;
  color: #7f8ca5;
  font-size: .76rem;
  line-height: 1.5;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  min-height: 230px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(13, 20, 38, .66);
}

.info-card__icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  margin-bottom: 2.2rem;
  border-radius: 14px;
  color: var(--cyan-2);
  background: rgba(35, 63, 94, .48);
}

.info-card__icon svg {
  width: 22px;
}

.info-card h3 {
  margin-bottom: .55rem;
  font-size: 1.15rem;
}

.info-card p {
  margin-bottom: 0;
  font-size: .82rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.8rem;
}

.spec {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 21, 40, .62);
}

.spec strong {
  display: block;
  margin-bottom: .25rem;
  color: #edf1fa;
  font-size: .84rem;
}

.spec span {
  display: block;
  color: #7f8ca5;
  font-size: .71rem;
  line-height: 1.45;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.use-case {
  position: relative;
  min-height: 270px;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 29, 53, .74), rgba(8, 13, 26, .9));
}

.use-case::after {
  position: absolute;
  right: -30px;
  bottom: -45px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 227, 252, .13), transparent 67%);
  content: "";
}

.use-case__number {
  margin-bottom: 2.7rem;
  color: var(--cyan-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.use-case h3 {
  margin-bottom: .55rem;
  font-size: 1.35rem;
}

.use-case p {
  margin-bottom: 0;
  font-size: .84rem;
}

.notice {
  display: flex;
  gap: .85rem;
  align-items: start;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 216, 117, .22);
  border-radius: 16px;
  color: #c8b98f;
  background: rgba(96, 75, 28, .14);
  font-size: .78rem;
  line-height: 1.55;
}

.notice svg {
  width: 19px;
  flex: 0 0 auto;
  color: var(--yellow);
}

.notice p {
  margin: 0;
  color: inherit;
}

.notice--info {
  border-color: rgba(111, 140, 255, .24);
  color: #aeb9dc;
  background: rgba(55, 66, 126, .15);
}

.notice--info svg {
  color: var(--blue);
}

/* ==========================================================================
   Proyectos y portafolio
   ========================================================================== */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(11, 16, 31, .88);
  transition: transform .4s var(--ease), border-color .3s ease;
}

.project-card:hover {
  border-color: rgba(70, 226, 250, .32);
  transform: translateY(-6px);
}

.project-card__visual {
  aspect-ratio: 1.55;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0c1121;
}

.project-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease-out);
}

.project-card:hover .project-card__visual img {
  transform: scale(1.035);
}

.project-card__body {
  padding: 1.4rem;
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.project-card__body h3 {
  margin-bottom: .55rem;
  font-size: 1.65rem;
}

.project-card__body p {
  margin-bottom: 1.2rem;
  font-size: .87rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2rem;
}

.filter-button {
  min-height: 44px;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9ba7bd;
  background: rgba(13, 20, 38, .62);
  font-size: .76rem;
  font-weight: 680;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #eef2fa;
  border-color: rgba(61, 232, 255, .35);
  background: rgba(35, 63, 94, .48);
}

/* ==========================================================================
   Nosotros
   ========================================================================== */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.value-card {
  min-height: 250px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(13, 20, 38, .64);
}

.value-card__number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.6rem;
  border-radius: 11px;
  color: var(--cyan-2);
  background: rgba(38, 67, 98, .5);
  font-size: .72rem;
  font-weight: 800;
}

.value-card h3 {
  margin-bottom: .55rem;
  font-size: 1.25rem;
}

.value-card p {
  margin-bottom: 0;
  font-size: .83rem;
}

.principle-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(148, 91, 255, .18), transparent 35%),
    linear-gradient(145deg, rgba(20, 29, 53, .76), rgba(8, 13, 26, .9));
}

.principle-banner p {
  max-width: 60ch;
  margin: 0;
}

/* ==========================================================================
   Blog
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.article-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 20, 38, .68);
  transition: transform .35s var(--ease), border-color .25s ease;
}

.article-card:hover {
  border-color: rgba(70, 227, 251, .29);
  transform: translateY(-5px);
}

.article-card__visual {
  display: grid;
  aspect-ratio: 1.55;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 25%, rgba(143, 92, 255, .24), transparent 37%),
    radial-gradient(circle at 20% 80%, rgba(39, 218, 248, .15), transparent 35%),
    #10182e;
}

.article-card__glyph {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border: 1px solid rgba(70, 226, 250, .28);
  border-radius: 24px;
  color: var(--cyan-2);
  background: rgba(19, 32, 57, .76);
  transform: rotate(-6deg);
}

.article-card__glyph svg {
  width: 38px;
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.3rem;
}

.article-card__meta {
  display: flex;
  gap: .7rem;
  align-items: center;
  margin-bottom: .8rem;
  color: #76839c;
  font-size: .68rem;
  font-weight: 680;
}

.article-card__body h3 {
  margin-bottom: .55rem;
  font-size: 1.35rem;
}

.article-card__body p {
  margin-bottom: 1.2rem;
  font-size: .83rem;
}

.article-card__body .badge {
  margin-top: auto;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(20, 29, 53, .77), rgba(8, 13, 26, .9));
}

.newsletter p {
  margin: 0;
}

.newsletter__form {
  display: flex;
  gap: .6rem;
  min-width: min(100%, 420px);
}

.newsletter__form input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  padding: 0 .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 12, 25, .72);
  outline: 0;
}

.newsletter__form input:focus {
  border-color: rgba(61, 232, 255, .5);
}

/* ==========================================================================
   Legal y 404
   ========================================================================== */

.legal-shell {
  max-width: 860px;
  margin-inline: auto;
}

.legal-shell h2 {
  margin-top: 2.4rem;
  font-size: 1.55rem;
}

.legal-shell h3 {
  margin-top: 1.8rem;
  font-size: 1.15rem;
}

.legal-shell p,
.legal-shell li {
  color: #a6b0c4;
  font-size: .9rem;
  line-height: 1.75;
}

.legal-shell a {
  color: var(--cyan-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid rgba(255, 216, 117, .22);
  border-radius: 16px;
  color: #c8b98f;
  background: rgba(96, 75, 28, .14);
  font-size: .78rem;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 7rem 20px 3rem;
  text-align: center;
}

.not-found__code {
  display: block;
  margin-bottom: .25rem;
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(7rem, 24vw, 15rem);
  font-weight: 850;
  letter-spacing: -.1em;
  line-height: .8;
}

.not-found h1 {
  margin-bottom: .75rem;
  font-size: clamp(2rem, 5vw, 4rem);
}

.not-found p {
  max-width: 54ch;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   Estados de animación
   ========================================================================== */

html.animations-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
}

html.animations-ready .reveal--left {
  opacity: 0;
  transform: translateX(-34px);
}

html.animations-ready .reveal--right {
  opacity: 0;
  transform: translateX(34px);
}

html.animations-ready .reveal--scale {
  opacity: 0;
  transform: scale(.94);
}

html.animations-ready .reveal.is-visible,
html.animations-ready .reveal--left.is-visible,
html.animations-ready .reveal--right.is-visible,
html.animations-ready .reveal--scale.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity .8s var(--ease-out) var(--reveal-delay, 0ms),
    transform .8s var(--ease-out) var(--reveal-delay, 0ms);
}

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

[data-tilt] > * {
  transform: translateZ(16px);
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes dot-orbit {
  from { transform: translate(170px, -4px) rotate(0); }
  to { transform: translate(170px, -4px) rotate(360deg); }
}

@keyframes core-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(-2deg) translateY(-12px); }
}

@keyframes card-float-a {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -13px; }
}

@keyframes card-float-b {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 11px; }
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: .55; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1160px) {
  :root {
    --container: 1060px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-link {
    padding-inline: .52rem;
    font-size: .78rem;
  }

  .header-actions .btn--secondary {
    display: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(410px, .84fr);
  }

  .hero__visual {
    min-height: 580px;
  }

  .hero-card {
    width: 205px;
  }

  .footer-grid {
    grid-template-columns: 1.15fr repeat(3, .72fr);
    gap: 1.5rem;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 72px;
  }

  .site-header {
    padding: 10px 0;
  }

  .nav-shell {
    min-height: 52px;
    padding-right: .35rem;
  }

  .brand img {
    width: 164px;
  }

  .nav-links,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 8.5rem;
  }

  .hero__inner,
  .subhero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 780px;
  }

  .hero__copy .display {
    max-width: 12ch;
  }

  .hero__visual {
    width: min(100%, 720px);
    min-height: 600px;
    margin: 0 auto;
  }

  .scroll-cue {
    display: none;
  }

  .proof-strip {
    margin-top: 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-sticky,
  .faq-intro,
  .contact-aside {
    position: static;
  }

  .intro-sticky .h2 {
    max-width: 14ch;
  }

  .product-row,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .product-row:nth-child(even) .product-visual,
  .product-row:nth-child(even) .product-copy,
  .split-section--reverse > :first-child,
  .split-section--reverse > :last-child {
    order: initial;
  }

  .product-copy {
    max-width: 700px;
  }

  .product-card-grid,
  .service-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card:last-child,
  .service-card:last-child:nth-child(odd),
  .blog-grid .article-card:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .ecosystem-flow {
    grid-template-columns: 1fr;
  }

  .ecosystem-node {
    min-height: auto;
  }

  .ecosystem-node + .ecosystem-node::before {
    top: auto;
    right: auto;
    bottom: 100%;
    left: 50%;
    width: 1px;
    height: 1rem;
    background: linear-gradient(rgba(61, 232, 255, .25), rgba(143, 111, 255, .65));
  }

  .ecosystem-node + .ecosystem-node::after {
    top: auto;
    right: auto;
    bottom: calc(100% - 1rem);
    left: calc(50% - 3px);
    transform: rotate(135deg);
  }

  .manifesto__grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .sector-grid,
  .value-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-copy {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .subhero {
    min-height: auto;
  }

  .subhero__copy {
    max-width: 780px;
  }

  .subhero__visual {
    width: min(100%, 760px);
    min-height: 380px;
    margin-inline: auto;
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container,
  .container--wide {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding-block: 4.7rem;
  }

  .section--tight {
    padding-block: 3.8rem;
  }

  .display,
  .h1 {
    font-size: clamp(3rem, 15vw, 5rem);
    letter-spacing: -.065em;
  }

  .h2 {
    font-size: clamp(2.15rem, 10vw, 3.5rem);
  }

  .hero {
    padding-top: 7.5rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
  }

  .hero__visual {
    min-height: 520px;
  }

  .hero-stage {
    inset-inline: -28px;
  }

  .hero-stage__halo {
    width: 290px;
    height: 290px;
  }

  .hero-stage__halo::before {
    inset: 38px;
  }

  .hero-stage__halo::after {
    inset: 87px;
  }

  .hero-core {
    width: 142px;
    height: 142px;
    border-radius: 38px;
  }

  .hero-core img {
    width: 74px;
  }

  .hero-card {
    width: 168px;
    padding: .72rem;
    border-radius: 17px;
  }

  .hero-card--bot {
    top: 9%;
    left: -3%;
  }

  .hero-card--market {
    top: 4%;
    right: -3%;
  }

  .hero-card--ops {
    right: -3%;
    bottom: 5%;
  }

  .hero-card--games {
    bottom: 3%;
    left: -3%;
  }

  .hero-card__head {
    margin-bottom: .5rem;
  }

  .hero-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .hero-card__icon svg {
    width: 16px;
  }

  .hero-card__title {
    font-size: .7rem;
  }

  .hero-card__meta {
    font-size: .56rem;
  }

  .mini-bubble {
    font-size: .52rem;
  }

  .proof-strip__inner {
    grid-template-columns: 1fr 1fr;
  }

  .proof-item:nth-child(3)::before {
    display: none;
  }

  .proof-item:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card:nth-child(n) {
    grid-column: auto;
    min-height: 235px;
  }

  .product-card-grid,
  .service-grid,
  .sector-grid,
  .value-grid,
  .info-grid,
  .project-grid,
  .blog-grid,
  .game-fallback-grid {
    grid-template-columns: 1fr;
  }

  .product-card:last-child,
  .service-card:last-child:nth-child(odd),
  .blog-grid .article-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .product-card {
    min-height: 480px;
  }

  .ecosystem-note {
    align-items: start;
    flex-direction: column;
  }

  .game-card {
    min-height: 500px;
  }

  .process-item {
    grid-template-columns: 52px 1fr;
    padding-inline: .7rem;
  }

  .process::before {
    left: 27px;
  }

  .process-number {
    width: 38px;
    height: 38px;
  }

  .manifesto {
    padding: 1.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full,
  .check-field,
  .form-footer,
  .form-status {
    grid-column: auto;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-footer .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .subhero {
    padding-top: 7.5rem;
  }

  .subhero__copy .h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .subhero__visual {
    min-height: 320px;
  }

  .abstract-orbit {
    width: min(370px, 94vw);
  }

  .abstract-orbit__core {
    width: 140px;
    height: 140px;
  }

  .split-section {
    gap: 2.5rem;
  }

  .spec-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .newsletter,
  .principle-banner {
    grid-template-columns: 1fr;
  }

  .newsletter__form {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 500px) {
  .brand img {
    width: 148px;
  }

  .mobile-nav__group {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 475px;
  }

  .hero-stage {
    inset-inline: -58px;
  }

  .hero-stage__halo {
    width: 250px;
    height: 250px;
  }

  .hero-core {
    width: 125px;
    height: 125px;
    border-radius: 33px;
  }

  .hero-core img {
    width: 64px;
  }

  .hero-core__label {
    bottom: -39px;
    font-size: .58rem;
  }

  .hero-card {
    width: 145px;
  }

  .hero-card--bot {
    left: 3%;
  }

  .hero-card--market {
    right: 2%;
  }

  .hero-card--ops {
    right: 2%;
  }

  .hero-card--games {
    left: 2%;
  }

  .hero-card__icon {
    display: none;
  }

  .mini-games span {
    width: 35px;
    height: 35px;
  }

  .proof-value {
    font-size: 1.8rem;
  }

  .proof-label {
    font-size: .66rem;
  }

  .product-visual__tag {
    right: .7rem;
    bottom: .7rem;
    font-size: .62rem;
  }

  .product-card {
    min-height: 440px;
  }

  .newsletter__form {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .cursor-glow,
  .hero-canvas {
    display: none;
  }

  html.animations-ready .reveal,
  html.animations-ready .reveal--left,
  html.animations-ready .reveal--right,
  html.animations-ready .reveal--scale {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-nav,
  .scroll-progress,
  .cursor-glow,
  .back-to-top,
  .page-grid,
  .page-noise,
  .hero-canvas,
  .cta {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  p,
  li,
  .muted {
    color: #333;
  }

  .section,
  .subhero {
    padding-block: 2rem;
  }

  .surface,
  .product-card,
  .service-card,
  .project-card,
  .article-card,
  .legal-meta {
    color: #111;
    border-color: #bbb;
    background: #fff;
    box-shadow: none;
  }
}

/* Visual modular utilizado en páginas de servicio */
.service-visual {
  position: relative;
  display: grid;
  min-height: 440px;
  padding: 2rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 75% 20%, rgba(151, 92, 255, .18), transparent 35%),
    radial-gradient(circle at 15% 82%, rgba(48, 221, 248, .13), transparent 34%),
    linear-gradient(145deg, rgba(20, 29, 53, .87), rgba(7, 11, 23, .94));
  box-shadow: var(--shadow-md);
}

.service-visual::before,
.service-visual::after {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(83, 221, 248, .15);
  border-radius: 50%;
  animation: orbit-spin 24s linear infinite;
  content: "";
}

.service-visual::after {
  width: 360px;
  height: 360px;
  border-color: rgba(168, 107, 255, .14);
  animation-direction: reverse;
  animation-duration: 31s;
}

.service-visual__core {
  position: relative;
  z-index: 3;
  display: grid;
  width: 138px;
  height: 138px;
  place-items: center;
  border: 1px solid rgba(74, 227, 252, .33);
  border-radius: 38px;
  color: var(--cyan-2);
  background: linear-gradient(145deg, rgba(26, 40, 71, .96), rgba(8, 13, 27, .98));
  box-shadow: 0 0 80px rgba(81, 135, 255, .25), var(--shadow-md);
  transform: rotate(-6deg);
}

.service-visual__core svg {
  width: 58px;
  height: 58px;
}

.service-visual__label {
  position: absolute;
  z-index: 4;
  min-width: 150px;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: #cbd4e4;
  background: rgba(11, 17, 32, .82);
  box-shadow: var(--shadow-sm);
  font-size: .74rem;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(12px);
}

.service-visual__label:nth-of-type(1) { top: 13%; left: 7%; }
.service-visual__label:nth-of-type(2) { top: 17%; right: 6%; }
.service-visual__label:nth-of-type(3) { right: 8%; bottom: 13%; }
.service-visual__label:nth-of-type(4) { bottom: 15%; left: 6%; }

.service-visual__label::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: .45rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  content: "";
}

@media (max-width: 720px) {
  .service-visual {
    min-height: 370px;
    padding: 1rem;
  }
  .service-visual__core {
    width: 116px;
    height: 116px;
    border-radius: 32px;
  }
  .service-visual__core svg {
    width: 48px;
  }
  .service-visual__label {
    min-width: 120px;
    padding: .58rem .65rem;
    font-size: .65rem;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

code {
  padding: .12rem .34rem;
  border: 1px solid rgba(144, 161, 197, .18);
  border-radius: 6px;
  color: #c8f7ff;
  background: rgba(15, 24, 44, .72);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .88em;
}
