/* =========================================================
   Influencia Tecnológica — landing "Encendido"
   Tokens: noche (apagado) → papel/naranja (encendido)
   ========================================================= */
:root {
  --noche: #160F2C;
  --noche-2: #221946;
  --morado: #534294;
  --morado-claro: #8B76E0;
  --lila: #D9D2FA;
  --lila-dim: #A79DD6;
  --naranja: #ED6C1D;
  --chispa: #FFB37A;
  --papel: #F3F0FA;
  --tinta: #1D1640;
  --tinta-dim: #554D7C;

  --ff: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --ff-logo: "Montserrat", "Segoe UI", sans-serif;

  /* escala tipográfica (18 base) */
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.125rem;
  --t-lg: 1.375rem;
  --t-xl: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  --t-2xl: clamp(2.5rem, 1.4rem + 4vw, 5rem);
  --t-3xl: clamp(3rem, 1rem + 7.5vw, 8.5rem);

  --gutter: clamp(16px, 4vw, 56px);
  --radius-s: 10px;
  --radius-m: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noche);
  color: var(--lila);
  font-family: var(--ff);
  font-size: var(--t-md);
  line-height: 1.55;
  font-optical-sizing: auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--naranja); outline-offset: 4px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--naranja); color: var(--tinta); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- botón de encendido (ícono de marca) ---------- */
.pw { overflow: visible; }
.pw path { fill: none; stroke: currentColor; stroke-width: 10; stroke-linecap: round; }

/* ---------- arranque ---------- */
.boot { display: none; }
.js:not(.rm) .boot {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center; align-content: center; gap: 18px;
  background: var(--noche);
  color: var(--lila);
}
.boot__icon { width: clamp(96px, 16vw, 160px); color: var(--lila); }
.boot__count {
  font-size: var(--t-xl); font-weight: 300; font-variant-numeric: tabular-nums;
  font-stretch: 80%; letter-spacing: .02em; color: var(--lila-dim);
}
.boot__hint { font-size: var(--t-sm); color: var(--lila-dim); }

/* ---------- navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; gap: clamp(12px, 3vw, 40px);
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  color: var(--lila);
  transition: color .4s, background-color .4s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--noche) 72%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .4s, background-color .4s;
}
.nav.is-scrolled::before { opacity: 1; }
html[data-navtheme="light"] .nav { color: var(--tinta); }
html[data-navtheme="light"] .nav::before { background: color-mix(in srgb, var(--papel) 78%, transparent); }
html[data-navtheme="orange"] .nav { color: var(--tinta); }
html[data-navtheme="orange"] .nav::before { background: color-mix(in srgb, var(--naranja) 85%, transparent); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__icon { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.brand__icon img { width: 40px; height: auto; border-radius: 8px; }
.brand__ring { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); transform: rotate(-90deg); }
.brand__ring circle { fill: none; stroke: var(--naranja); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 170; stroke-dashoffset: 170; }
.brand__word { display: grid; line-height: 1; font-family: var(--ff-logo); }
.brand__top { font-weight: 500; font-size: 13px; letter-spacing: .02em; opacity: .7; }
.brand__bottom { font-weight: 800; font-size: 17px; margin-top: 3px; letter-spacing: -.01em; }

.i-wrap { position: relative; display: inline-block; }
.idot {
  position: absolute; left: 50%; top: -.02em;
  width: .3em; height: .3em; translate: -50% 0;
  color: var(--naranja);
}
.idot svg { width: 100%; height: 100%; }
.idot--mini { width: .42em; height: .42em; top: -.2em; }
.idot--mini .pw path { stroke-width: 12; }

.nav__links { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__links a { text-decoration: none; font-size: var(--t-sm); font-weight: 500; position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--naranja); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.nav__menu { display: none; align-items: center; gap: 10px; font-size: var(--t-sm); font-weight: 600; min-height: 44px; }
.nav__burger { display: grid; gap: 6px; width: 26px; }
.nav__burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease-out); }
.nav__menu[aria-expanded="true"] .nav__burger i:first-child { transform: translateY(4px) rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 85;
  background: var(--naranja); color: var(--tinta);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px var(--gutter) 32px;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-size: clamp(2.6rem, 12vw, 4.5rem); font-weight: 700; font-stretch: 80%; text-decoration: none; line-height: 1.05; }
.menu__foot { margin-top: auto; font-size: var(--t-md); line-height: 1.8; }

/* ---------- botones ---------- */
.btn {
  --bg: var(--naranja); --fg: var(--tinta);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: var(--t-md); text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--lila); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--lila); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lila) 55%, transparent); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--tinta); }
.btn--nav { min-height: 44px; padding: 0 20px; font-size: var(--t-sm); }
html[data-navtheme="orange"] .btn--nav { --bg: var(--tinta); --fg: var(--papel); }
html[data-navtheme="orange"] .btn--nav:hover { color: var(--tinta); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none; padding: 8px 0;
  border-bottom: 2px solid var(--naranja);
}
.link-arrow::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background: currentColor;
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 82% 80%, 82% 31%, 13% 100%, 0 87%, 69% 18%, 20% 18%);
  transition: transform .4s var(--ease-out);
}
.link-arrow:hover::after { transform: translate(3px, -3px); }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .js:not(.rm) .cursor { display: block; position: fixed; inset: 0; z-index: 160; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; }
  .cursor__dot { width: 8px; height: 8px; background: var(--naranja); }
  .cursor__ring {
    width: 40px; height: 40px; border: 1.5px solid color-mix(in srgb, var(--naranja) 70%, transparent);
    display: grid; place-items: center;
    transition: width .4s var(--ease-out), height .4s var(--ease-out), background-color .3s, border-color .3s;
  }
  .cursor__label { font-size: 14px; font-weight: 700; color: var(--tinta); opacity: 0; transition: opacity .2s; }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; border-color: var(--naranja); }
  .cursor.is-view .cursor__ring { width: 96px; height: 96px; background: var(--naranja); border-color: var(--naranja); }
  .cursor.is-view .cursor__label { opacity: 1; }
  .cursor.is-view .cursor__dot { opacity: 0; }
  html[data-navtheme="orange"] .cursor__dot { background: var(--tinta); }
  html[data-navtheme="orange"] .cursor__ring { border-color: var(--tinta); }
  html[data-navtheme="orange"] .cursor.is-view .cursor__ring { background: var(--tinta); }
  html[data-navtheme="orange"] .cursor__label { color: var(--naranja); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 28px;
  overflow: hidden; isolation: isolate;
}
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__glow {
  position: absolute; z-index: -1; width: 120vmax; height: 120vmax; left: 50%; top: 70%;
  translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--naranja) 34%, transparent), color-mix(in srgb, var(--morado) 30%, transparent) 45%, transparent 72%);
}
.hero__title {
  font-size: clamp(3.3rem, 17.5vw, 18rem);
  font-weight: 600; font-stretch: 84%;
  line-height: .86; letter-spacing: -.035em;
  color: var(--papel);
  margin-bottom: clamp(28px, 5vw, 56px);
}
.hero__line { display: block; padding-top: .32em; margin-top: -.32em; overflow: clip; }
.hero__line + .hero__line { padding-left: .9em; }
.ch { display: inline-block; font-variation-settings: "wght" var(--wg, 600), "wdth" var(--wd, 84); will-change: transform; }
.hero__title .idot { cursor: pointer; pointer-events: auto; top: -.2em; width: .25em; height: .25em; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.hero__lead { max-width: 36ch; font-size: var(--t-lg); line-height: 1.45; color: var(--lila); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  display: flex; justify-content: flex-end; gap: 16px; margin-top: clamp(32px, 6vh, 64px);
  font-size: var(--t-sm); color: var(--lila-dim);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { position: relative; width: 48px; height: 1.5px; background: color-mix(in srgb, var(--lila) 30%, transparent); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--naranja); animation: barrido 2.2s var(--ease-out) infinite; }
@keyframes barrido { from { translate: -100% 0; } to { translate: 100% 0; } }

/* ---------- verbos: cada palabra hace lo que dice ---------- */
.verbos { position: relative; background: var(--naranja); color: var(--tinta); padding: clamp(64px, 10vh, 112px) var(--gutter); overflow: hidden; }
.verbos__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 48px; margin-bottom: clamp(28px, 5vh, 48px); }
.verbos__title { font-size: clamp(2.2rem, 1rem + 3.6vw, 4.4rem); font-stretch: 78%; letter-spacing: -.035em; line-height: .92; max-width: 13ch; text-wrap: balance; }
.verbos__head p { max-width: 34ch; font-size: var(--t-md); }
.verbos__cable { display: block; position: relative; height: 3px; margin-bottom: clamp(14px, 2vw, 20px); border-radius: 3px; background: color-mix(in srgb, var(--tinta) 28%, transparent); overflow: hidden; }
.verbos__cable::after { content: ""; position: absolute; top: 0; bottom: 0; left: -22%; width: 22%; background: linear-gradient(90deg, transparent, var(--papel), transparent); animation: corriente 2.6s linear infinite; }
@keyframes corriente { to { left: 100%; } }
.verbos__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.vb {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
  min-height: clamp(250px, 24vw, 330px); padding: clamp(20px, 2vw, 28px);
  border-radius: var(--radius-m); background: var(--tinta); color: var(--papel);
}
.vb::before {
  content: ""; position: absolute; z-index: -1; right: -30%; bottom: -45%; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--naranja) 32%, transparent), transparent);
}
.vb__n { font-size: var(--t-sm); font-weight: 700; color: var(--naranja); font-variant-numeric: tabular-nums; }
.vb__stage { position: relative; display: grid; align-content: center; min-height: 110px; }
.vb__word {
  grid-area: 1 / 1; font-size: clamp(2.1rem, 1rem + 2.1vw, 3.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1;
  white-space: nowrap; color: var(--papel); font-variation-settings: "wght" var(--wg, 700), "wdth" var(--wd, 80);
}
.vb__cap { font-size: var(--t-sm); line-height: 1.45; color: var(--lila); max-width: 30ch; }
.vb__ghosts { position: absolute; inset: 0; display: grid; align-content: center; pointer-events: none; }
.vb__ghosts .vb__word { color: var(--lila); opacity: 0; }
.vb__belt { display: flex; align-items: center; gap: 10px; margin-top: 14px; height: 18px; }
.vb__belt::after { content: ""; flex: 1; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--naranja) 0 10px, transparent 10px 18px); background-size: 18px 4px; animation: banda .6s linear infinite; }
@keyframes banda { to { background-position: 18px 0; } }
.vb__gear { width: 20px; height: 20px; flex: none; fill: var(--naranja); animation: girar 3s linear infinite; }
.vb__sparks { position: absolute; top: 50%; left: 0; width: 0; height: 0; pointer-events: none; }
.vb__sparks i { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--chispa); box-shadow: 0 0 8px var(--naranja); opacity: 0; }

/* ---------- proceso ---------- */
.proceso { position: relative; background: var(--papel); color: var(--tinta); }
.proceso__pin {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: 100svh;
  padding: 110px var(--gutter) 48px;
}
/* pantallas táctiles: fijado nativo con sticky (sin reposicionar por JS, no tiembla) */
.proceso.is-sticky { height: 520svh; }
.proceso.is-sticky .proceso__pin { position: sticky; top: 0; height: 100svh; min-height: 0; }
.proceso__title { font-size: var(--t-2xl); font-stretch: 80%; letter-spacing: -.03em; margin-bottom: clamp(20px, 4vh, 40px); }
.steps { display: grid; gap: 28px; }
.step h3 { font-size: var(--t-xl); font-stretch: 85%; letter-spacing: -.02em; margin: 6px 0 12px; }
.step p { max-width: 42ch; color: var(--tinta-dim); }
.step--intro p:first-child { font-size: var(--t-lg); color: var(--tinta); max-width: 30ch; }
.step__hint { margin-top: 14px; font-size: var(--t-sm); }
.step__n { font-size: var(--t-sm); font-weight: 600; color: var(--naranja); font-variant-numeric: tabular-nums; }
.steps__bar { display: none; }

.stage {
  position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 78svh; justify-self: center;
  border-radius: 32px; isolation: isolate;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--morado) 10%, transparent), transparent 68%);
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background:
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--morado) 13%, transparent) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--morado) 13%, transparent) 0 1px, transparent 1px 36px);
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.stage__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage__lines line, .stage__spokes line { stroke: var(--morado); stroke-width: 2; stroke-linecap: round; }
.stage__spokes line { stroke: var(--naranja); stroke-width: 1.5; opacity: .7; }
.stage__pulses circle { fill: var(--naranja); }
.stage__core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 24%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--chispa), var(--naranja) 55%, #c4520f);
  color: var(--tinta); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.6rem); font-stretch: 80%;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--naranja) 18%, transparent), 0 0 80px color-mix(in srgb, var(--naranja) 55%, transparent);
  opacity: 0; scale: .2;
}
.stage__core::after {
  content: ""; position: absolute; inset: -22%; border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--naranja) 70%, transparent);
  animation: girar 14s linear infinite;
}
@keyframes girar { to { rotate: 360deg; } }

.chip, .noise { position: absolute; left: 0; top: 0; white-space: nowrap; }
.chip { z-index: 2; }
.noise { z-index: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: #fff; color: var(--tinta);
  font-size: clamp(.75rem, .55rem + .55vw, 1rem); font-weight: 600;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--morado) 25%, transparent), 0 10px 24px -14px color-mix(in srgb, var(--morado) 60%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--morado) 22%, transparent);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--lila-dim); flex: none; }
.noise {
  padding: 8px 12px; border-radius: 6px;
  background: #fff; color: var(--tinta-dim);
  font-size: clamp(.68rem, .5rem + .45vw, .875rem);
  border: 1px solid color-mix(in srgb, var(--tinta) 14%, transparent);
  box-shadow: 0 8px 18px -12px rgba(29, 22, 64, .5);
}
.noise::before { content: ""; display: inline-block; width: 9px; height: 11px; margin-right: 7px; vertical-align: -1px; border-radius: 2px; background: #1f9d55; opacity: .75; }
.noise--note { background: #FFE9A8; color: #5b4a12; border-color: #f0d27a; font-weight: 600; }
.noise--note::before { display: none; }

/* posiciones estáticas (sin JS o con movimiento reducido): rejilla ordenada */
.chip:nth-of-type(1) { left: 20%; top: 22%; } .chip:nth-of-type(2) { left: 50%; top: 22%; } .chip:nth-of-type(3) { left: 80%; top: 22%; }
.chip:nth-of-type(4) { left: 20%; top: 50%; } .chip:nth-of-type(5) { left: 50%; top: 50%; } .chip:nth-of-type(6) { left: 80%; top: 50%; }
.chip:nth-of-type(7) { left: 20%; top: 78%; } .chip:nth-of-type(8) { left: 50%; top: 78%; } .chip:nth-of-type(9) { left: 80%; top: 78%; }
.chip { translate: -50% -50%; }
.noise { display: none; }
.js:not(.rm) .chip, .js:not(.rm) .noise { left: 0; top: 0; translate: none; will-change: transform; }
.js:not(.rm) .noise { display: block; }

/* modo animado: los pasos se apilan y se cruzan */
.js:not(.rm) .steps { display: grid; }
.js:not(.rm) .step { grid-area: 1 / 1; }
.js:not(.rm) .steps__bar { display: block; position: relative; height: 3px; margin-top: clamp(20px, 4vh, 40px); max-width: 280px; background: color-mix(in srgb, var(--tinta) 12%, transparent); border-radius: 3px; overflow: hidden; }
.js:not(.rm) .steps__bar i { position: absolute; inset: 0; background: var(--naranja); transform-origin: left; transform: scaleX(0); }

/* ---------- servicios ---------- */
.servicios { background: var(--morado); color: var(--papel); padding: clamp(96px, 14vh, 160px) 0 clamp(64px, 10vh, 120px); }
.sec-head { padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(40px, 7vh, 80px); }
.sec-head h2 { font-size: var(--t-3xl); font-stretch: 78%; letter-spacing: -.04em; line-height: .9; }
.sec-head p { max-width: 32ch; font-size: var(--t-lg); color: var(--lila); }

.badge {
  font-style: normal; font-size: var(--t-xs); font-weight: 700; letter-spacing: .02em; font-stretch: 100%;
  background: var(--tinta); color: var(--naranja); padding: 5px 11px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--naranja); animation: latido 1.4s ease-in-out infinite; }
@keyframes latido { 50% { transform: scale(.4); opacity: .4; } }

/* mosaico de servicios: cada pieza tiene su propia animación */
.bento {
  display: grid; gap: clamp(12px, 1.4vw, 18px); padding: 0 var(--gutter);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas: "sw sw sap ia" "sw sw bi bi" "int con add inf";
}
.tile {
  position: relative; overflow: hidden; isolation: isolate; min-width: 0;
  border-radius: var(--radius-m); padding: clamp(20px, 2vw, 28px);
  display: flex; flex-direction: column; gap: 16px;
  transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.tile:hover { translate: 0 -4px; box-shadow: 0 26px 50px -30px rgba(10, 6, 24, .75); }
.tile h3 { font-size: clamp(1.3rem, 1rem + .9vw, 1.9rem); font-stretch: 84%; letter-spacing: -.02em; line-height: 1.05; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.tile p { font-size: var(--t-sm); line-height: 1.5; max-width: 46ch; }
.tile__text { display: grid; gap: 10px; align-content: start; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tags li { font-size: var(--t-xs); font-weight: 600; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; }
.tile__link { margin-top: auto; align-self: flex-start; font-size: var(--t-sm); font-weight: 600; color: var(--chispa); text-decoration: underline; text-underline-offset: 4px; }
.tile__link:hover { color: var(--papel); }

.tile--sw { grid-area: sw; background: var(--noche); color: var(--lila); justify-content: space-between; }
.tile--sw h3 { color: var(--papel); font-size: clamp(1.8rem, 1rem + 2vw, 3rem); }
.tile--sap { grid-area: sap; background: var(--papel); color: var(--tinta); }
.tile--sap p { color: var(--tinta-dim); }
.tile--ia { grid-area: ia; background: var(--naranja); color: var(--tinta); }
.tile--bi { grid-area: bi; background: var(--noche-2); color: var(--lila); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 24px; }
.tile--bi h3 { color: var(--papel); }
.tile--sm { background: color-mix(in srgb, var(--papel) 8%, transparent); color: var(--papel); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--papel) 16%, transparent); }
.tile--sm p { color: var(--lila); }
.tile--int { grid-area: int; }
.tile--con { grid-area: con; }
.tile--add { grid-area: add; }
.tile--inf { grid-area: inf; }

/* editor de código */
.art-code { flex: 1; display: grid; align-items: center; }
.code { background: #0E0920; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lila) 14%, transparent); }
.code__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid color-mix(in srgb, var(--lila) 12%, transparent); }
.code__bar i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--lila) 30%, transparent); }
.code__bar i:first-child { background: var(--naranja); }
.code__bar span { margin-left: 8px; font-size: var(--t-xs); color: var(--lila-dim); }
.code__body { padding: 16px 18px 20px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: clamp(.72rem, .55rem + .5vw, 1rem); line-height: 1.8; color: var(--lila); white-space: pre; overflow: hidden; }
.code__body b { color: var(--naranja); font-weight: 600; }
.code__body s { text-decoration: none; color: var(--chispa); }
.ln { width: max-content; max-width: 100%; }
.caret { display: inline-block; width: .55em; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--naranja); animation: parpadeo 1s steps(1) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }

/* módulos de SAP que se completan */
.modules { display: grid; gap: 9px; }
.modules li { display: grid; grid-template-columns: 6.6em minmax(0, 1fr) 18px; align-items: center; gap: 10px; font-size: var(--t-xs); font-weight: 600; }
.modules i { height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--morado) 16%, transparent); overflow: hidden; }
.modules i b { display: block; height: 100%; border-radius: inherit; background: var(--morado); transform-origin: left; }
.modules svg { width: 18px; height: 18px; fill: none; stroke: var(--naranja); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* conversación con el asistente */
.art-chat { display: grid; gap: 8px; align-content: start; }
.bubble { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: var(--t-sm); line-height: 1.35; max-width: 88%; width: fit-content; }
.bubble--q { justify-self: end; background: var(--tinta); color: var(--papel); border-bottom-right-radius: 4px; }
.bubble--a { background: var(--papel); color: var(--tinta); border-bottom-left-radius: 4px; }
.bubble--typing { display: none; align-items: center; gap: 4px; background: var(--papel); border-bottom-left-radius: 4px; }
.bubble--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--tinta-dim); }

/* gráfico que crece */
.art-chart svg { width: 100%; height: auto; overflow: visible; }
.art-chart rect { fill: color-mix(in srgb, var(--lila) 26%, transparent); }
.art-chart rect:last-child { fill: var(--naranja); }
.art-chart .trend { fill: none; stroke: var(--chispa); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

/* integraciones: paquetes que viajan */
.art-sync { display: flex; align-items: center; gap: 8px; height: 64px; }
.node { flex: none; font-size: var(--t-xs); font-weight: 700; padding: 8px 10px; border-radius: 10px; background: var(--papel); color: var(--tinta); }
.wire { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--papel) 45%, transparent) 0 6px, transparent 6px 11px); }
.wire i { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 10px var(--naranja); }
.wire i:nth-child(1) { left: 20%; }
.wire i:nth-child(2) { left: 50%; }
.wire i:nth-child(3) { left: 80%; }

/* solicitud de soporte que cambia de estado */
.art-ticket { height: 64px; display: grid; align-items: center; }
.ticket { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--papel); color: var(--tinta); font-size: var(--t-xs); font-weight: 600; }
.ticket__status { padding: 4px 10px; border-radius: 999px; background: #167A42; color: #fff; white-space: nowrap; }

/* add-on que encaja */
.art-puzzle { height: 64px; display: flex; align-items: center; }
.base { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 7px 0 14px; border-radius: 12px; background: var(--papel); color: var(--tinta); font-size: var(--t-xs); font-weight: 700; }
.slot { position: relative; display: block; width: 74px; height: 32px; border-radius: 8px; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--morado) 45%, transparent); }
.piece { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 8px; background: var(--naranja); color: var(--tinta); font-size: var(--t-xs); font-weight: 700; }

/* servidores con luces */
.art-rack { height: 64px; display: grid; align-items: center; }
.rack { display: grid; gap: 5px; width: min(100%, 190px); }
.unit { display: flex; align-items: center; gap: 5px; height: 16px; padding: 0 8px; border-radius: 5px; background: color-mix(in srgb, var(--papel) 14%, transparent); }
.unit i { width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; }
.unit i:nth-child(2) { background: var(--naranja); }
.unit span { flex: 1; height: 3px; margin-left: 6px; border-radius: 3px; background: color-mix(in srgb, var(--papel) 22%, transparent); }

/* ---------- proyectos ---------- */
.proyectos { position: relative; background: var(--noche); color: var(--papel); padding: clamp(96px, 14vh, 150px) 0 clamp(64px, 10vh, 120px); overflow: hidden; }
.proyectos__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 40px 24px; padding: 0 var(--gutter); }
.proyectos__head { grid-column: 1 / -1; display: grid; gap: 18px; align-content: end; margin-bottom: 12px; }
.proyectos__head h2 { font-size: var(--t-3xl); font-stretch: 78%; letter-spacing: -.04em; line-height: .9; }
.proyectos__head p { max-width: 34ch; font-size: var(--t-lg); color: var(--lila); }
.proyectos__head .link-arrow { justify-self: start; }

.pj { display: grid; gap: 16px; align-content: start; }
.pj__open { display: block; width: 100%; border-radius: var(--radius-m); text-align: left; }
.pj__media { position: relative; display: block; overflow: hidden; border-radius: var(--radius-m); aspect-ratio: 808 / 632; background: var(--noche-2); }
.pj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.pj__open:hover .pj__media img, .pj__open:focus-visible .pj__media img { transform: scale(1.05); }
.pj__cat { font-size: var(--t-sm); font-weight: 600; color: var(--chispa); }
.pj h3 { font-size: var(--t-xl); font-stretch: 86%; letter-spacing: -.02em; line-height: 1.05; margin-top: 4px; }
.pj__meta { font-size: var(--t-sm); color: var(--lila-dim); margin-top: 6px; }
.proyectos__end { grid-column: 1 / -1; display: grid; gap: 20px; justify-items: start; padding-top: 24px; }
.proyectos__end p { font-size: var(--t-2xl); font-stretch: 80%; font-weight: 650; letter-spacing: -.03em; line-height: 1; max-width: 12ch; color: var(--papel); }
.proyectos__progress { display: none; }

/* modo horizontal (escritorio con movimiento) */
.proyectos.is-horizontal { height: 100svh; padding: 0; display: flex; align-items: center; }
.proyectos.is-horizontal .proyectos__track {
  display: flex; align-items: center; gap: clamp(28px, 3vw, 56px);
  width: max-content; padding: 0 var(--gutter); will-change: transform;
}
.proyectos.is-horizontal .proyectos__head { width: min(34vw, 520px); flex: none; margin: 0; }
.proyectos.is-horizontal .pj { width: clamp(300px, 30vw, 520px); flex: none; }
.proyectos.is-horizontal .pj--wide { width: clamp(420px, 44vw, 760px); }
.proyectos.is-horizontal .pj:nth-of-type(even) { margin-top: 12vh; }
.proyectos.is-horizontal .pj:nth-of-type(odd) { margin-bottom: 10vh; }
.proyectos.is-horizontal .pj__media img { width: 116%; max-width: none; margin-left: -8%; }
.proyectos.is-horizontal .proyectos__end { width: min(36vw, 520px); flex: none; padding: 0 0 0 4vw; }
.proyectos.is-horizontal .proyectos__progress {
  display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 36px; height: 2px;
  background: color-mix(in srgb, var(--lila) 18%, transparent);
}
.proyectos.is-horizontal .proyectos__progress i { position: absolute; inset: 0; background: var(--naranja); transform-origin: left; transform: scaleX(0); }

/* ---------- modal de proyecto ---------- */
.modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: clamp(0px, 3vw, 40px); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--noche) 82%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal__panel {
  position: relative; width: min(1180px, 100%); height: 100%; max-height: 100%;
  background: var(--noche-2); color: var(--papel); border-radius: clamp(0px, 2vw, 28px); overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .6);
}
.modal__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.modal__hero { aspect-ratio: 808 / 632; width: 100%; overflow: hidden; background: var(--noche); }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__info {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 18px 48px;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 52px) clamp(24px, 3vw, 40px);
}
.modal__titles, .modal__about { display: grid; gap: 10px; justify-items: start; }
.modal__info h2 { font-size: var(--t-2xl); font-stretch: 80%; letter-spacing: -.03em; padding-right: 56px; }
.modal__meta { color: var(--lila-dim); }
.modal__desc { font-size: var(--t-lg); color: var(--lila); max-width: 44ch; }
@media (max-width: 760px) { .modal__info { grid-template-columns: 1fr; } }
.modal__imgs { display: grid; gap: 0; }
.modal__imgs img { width: 100%; height: auto; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; background: var(--naranja); color: var(--tinta);
  display: grid; place-items: center; transition: transform .5s var(--ease-out);
}
.modal__close span, .modal__close span::before { position: absolute; width: 20px; height: 2.5px; background: currentColor; border-radius: 2px; rotate: 45deg; }
.modal__close span::before { content: ""; rotate: 90deg; }
.modal__close:hover { transform: rotate(90deg); }

/* ---------- nosotros ---------- */
.nosotros { background: var(--papel); color: var(--tinta); padding: clamp(96px, 14vh, 160px) var(--gutter); overflow: hidden; }
.nos__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.nos__photo { position: relative; margin: 0; padding: 7% 7% 0; }
.nos__halo {
  position: absolute; z-index: 0; left: 50%; top: 0; width: 94%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--chispa), var(--naranja) 58%, #C4520F);
}
.nos__halo svg { position: absolute; inset: -5%; width: 110%; height: 110%; overflow: visible; rotate: -90deg; }
.nos__ring { fill: none; stroke: var(--tinta); stroke-width: 1.5; stroke-linecap: round; }
.nos__photo-frame {
  position: relative; z-index: 1; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-m) var(--radius-m); background: var(--morado);
  box-shadow: 0 30px 60px -30px rgba(29, 22, 64, .6);
}
.nos__photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.nos__badge {
  position: absolute; z-index: 2; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px;
  background: var(--papel); color: var(--tinta); box-shadow: 0 18px 40px -18px rgba(29, 22, 64, .55);
}
.nos__badge strong { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 700; font-stretch: 78%; line-height: 1; color: var(--naranja); font-variant-numeric: tabular-nums; }
.nos__badge > span { font-size: var(--t-xs); font-weight: 600; color: var(--tinta-dim); max-width: 14ch; line-height: 1.3; }
.nos__badge--a { left: -4%; top: 38%; }
.nos__badge--b { right: -5%; top: 58%; }
.nos__badge--c { left: 3%; bottom: 5%; }
.nos__text h2 { font-size: var(--t-2xl); font-stretch: 80%; letter-spacing: -.035em; margin-bottom: 24px; max-width: 12ch; }
.nos__text > .nos__name { display: grid; gap: 4px; margin-bottom: 18px; font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); font-weight: 700; font-stretch: 86%; letter-spacing: -.02em; line-height: 1.1; color: var(--tinta); }
.nos__name span { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0; color: var(--naranja); }
.nos__lead { font-size: var(--t-lg); line-height: 1.45; max-width: 38ch; margin-bottom: 14px; }
.nos__text > p:not(.nos__lead):not(.nos__name) { color: var(--tinta-dim); max-width: 52ch; }

/* línea de tiempo que se enciende */
.timeline { list-style: none; margin: 32px 0 0; padding: 0; position: relative; display: grid; gap: 18px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; }
.timeline::before { background: color-mix(in srgb, var(--tinta) 15%, transparent); }
.timeline::after { background: var(--naranja); transform-origin: top; transform: scaleY(var(--p, 1)); }
.timeline li { position: relative; display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding-left: 32px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--naranja); box-shadow: 0 0 0 5px color-mix(in srgb, var(--naranja) 25%, transparent);
  transition: background-color .3s, box-shadow .3s;
}
.js:not(.rm) .timeline li:not(.is-on)::before { background: var(--papel); box-shadow: inset 0 0 0 2px var(--tinta); }
.timeline b { font-size: var(--t-md); font-weight: 700; font-stretch: 86%; }
.timeline span { font-size: var(--t-sm); color: var(--tinta-dim); }

/* visión 360°: rueda de conexiones entre áreas */
.vision { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(80px, 14vh, 160px); }
.vision__text h3 { font-size: var(--t-2xl); font-stretch: 80%; letter-spacing: -.035em; line-height: .95; margin-bottom: 18px; max-width: 12ch; }
.vision__text > p { max-width: 46ch; color: var(--tinta-dim); }
.vision__text > .vision__detail { margin-top: 24px; padding: 18px 20px; min-height: 4.6em; border-radius: var(--radius-m); background: var(--tinta); color: var(--lila); font-size: var(--t-md); }
.vision__detail strong { font-size: var(--t-lg); color: var(--naranja); }
.vision__text > .vision__hint { margin-top: 12px; font-size: var(--t-sm); }
.wheel { --lr: 45%; position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: center; }
.wheel__svg { position: absolute; inset: 14%; width: 72%; height: 72%; overflow: visible; }
.wheel__track { fill: none; stroke: color-mix(in srgb, var(--tinta) 14%, transparent); stroke-width: 1.5; stroke-dasharray: 2 6; }
.wheel__chords path { fill: none; stroke: color-mix(in srgb, var(--morado) 20%, transparent); stroke-width: 1.5; }
.wheel__active path { fill: none; stroke: var(--naranja); stroke-width: 3.5; stroke-linecap: round; }
.wheel__active circle { fill: var(--naranja); }
.wheel__nodes circle { fill: var(--papel); stroke: var(--tinta); stroke-width: 2.5; transition: fill .3s, stroke .3s; }
.wheel__nodes circle.is-on { fill: var(--naranja); stroke: var(--naranja); }
.wheel__nodes circle.is-target { stroke: var(--naranja); }
.wheel__label {
  position: absolute; left: calc(50% + var(--cx) * var(--lr)); top: calc(50% + var(--cy) * var(--lr));
  translate: -50% -50%; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  font-size: var(--t-xs); font-weight: 700; background: #fff; color: var(--tinta);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--morado) 22%, transparent);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.wheel__label:hover { box-shadow: inset 0 0 0 1.5px var(--naranja); }
.wheel__label.is-target { box-shadow: inset 0 0 0 2px var(--naranja); }
.wheel__label.is-on { background: var(--naranja); color: var(--tinta); box-shadow: none; }
.wheel__core {
  position: absolute; inset: 40%; border-radius: 50%; display: grid; place-items: center;
  background: var(--tinta); color: var(--papel); font-size: clamp(1.1rem, .7rem + 1.4vw, 2rem); font-weight: 700; font-stretch: 80%;
}

.formula {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr; align-items: stretch; gap: 14px;
  margin-top: clamp(80px, 14vh, 160px);
}
.f-term, .f-res { border-radius: var(--radius-m); padding: 22px; display: grid; gap: 10px; align-content: start; }
.f-term { background: #fff; border: 1.5px solid color-mix(in srgb, var(--morado) 18%, transparent); }
.f-term strong { font-size: var(--t-lg); font-stretch: 88%; line-height: 1.15; }
.f-term span { font-size: var(--t-sm); color: var(--tinta-dim); line-height: 1.45; }
.f-op { align-self: center; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; color: var(--naranja); line-height: 1; }
.f-res { background: var(--naranja); color: var(--tinta); align-content: center; }
.f-res strong { font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); font-stretch: 82%; letter-spacing: -.02em; line-height: 1.05; }

/* ---------- contacto ---------- */
.contacto { background: var(--naranja); color: var(--tinta); padding: clamp(110px, 16vh, 180px) var(--gutter) clamp(56px, 8vh, 96px); overflow: hidden; }
.contacto__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; gap: clamp(32px, 5vw, 80px); }
.contacto__title { font-size: clamp(3rem, 1rem + 6vw, 7.5rem); font-stretch: 76%; letter-spacing: -.045em; line-height: .88; max-width: 10ch; margin-bottom: 28px; }
.contacto__lead { font-size: var(--t-lg); max-width: 38ch; }
.contacto__data {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px;
  margin-top: 36px; border-top: 2px solid var(--tinta); padding-top: 24px;
}
.contacto__data li { display: grid; gap: 6px; align-content: start; }
.contacto__data span { font-size: var(--t-sm); opacity: .8; }
.contacto__data a, .contacto__data p { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contacto__data a:hover { text-decoration: underline; text-underline-offset: 4px; }
.soporte {
  margin-top: 32px; display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border-radius: var(--radius-m); background: var(--tinta); color: var(--papel); text-decoration: none;
  transition: translate .4s var(--ease-out);
}
.soporte:hover { translate: 0 -3px; }
.soporte__icon { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--naranja); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.soporte__text { font-size: var(--t-sm); line-height: 1.45; }
.soporte__text strong { display: block; color: var(--naranja); font-size: var(--t-md); }

.form-wrap { background: var(--papel); color: var(--tinta); border-radius: 28px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 40px 80px -40px rgba(29, 22, 64, .55); }
.form { position: relative; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field label span { font-weight: 400; color: var(--tinta-dim); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: var(--t-md); color: var(--tinta); background: #fff;
  border: 1.5px solid color-mix(in srgb, var(--morado) 28%, transparent); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D1640' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--morado); box-shadow: 0 0 0 4px color-mix(in srgb, var(--morado) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field__err { font-size: var(--t-xs); font-weight: 600; color: #B42318; }
.field__err:empty { display: none; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__submit {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px;
  border-radius: 999px; background: var(--tinta); color: var(--papel); font-weight: 700; font-size: var(--t-md);
  transition: background-color .3s;
}
.form__submit .pw { width: 22px; color: var(--naranja); }
.form__submit:hover { background: var(--morado); }
.form__submit[disabled] { opacity: .7; cursor: progress; }
.form__status { font-size: var(--t-sm); font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-error { color: #B42318; }
.form__done { display: grid; justify-items: start; gap: 12px; }
.form__done[hidden] { display: none; }
.form__done:focus { outline: none; }
.form__done .pw { width: 64px; color: var(--naranja); }
.form__done h3 { font-size: var(--t-xl); font-stretch: 84%; letter-spacing: -.02em; }
.form__done p { max-width: 40ch; color: var(--tinta-dim); }

/* ---------- pie ---------- */
.footer { background: var(--noche); color: var(--lila-dim); padding: clamp(48px, 8vh, 96px) var(--gutter) 28px; overflow: hidden; }
.footer__big {
  font-size: clamp(3rem, 12.5vw, 13rem); font-weight: 700; font-stretch: 76%; letter-spacing: -.045em; line-height: .85;
  color: transparent;
  background: linear-gradient(90deg, var(--naranja) 0 var(--fill, 100%), color-mix(in srgb, var(--lila) 12%, transparent) var(--fill, 100%));
  -webkit-background-clip: text; background-clip: text;
  white-space: nowrap; margin-bottom: 40px;
}
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; font-size: var(--t-sm); }
.footer__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.footer__link:hover { color: var(--naranja); }
.wa-ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* botón flotante de WhatsApp */
.wa-float {
  position: fixed; z-index: 95; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
}
.wa-float .wa-ico { width: 30px; height: 30px; transition: transform .4s var(--ease-out); }
.wa-float:hover .wa-ico, .wa-float:focus-visible .wa-ico { transform: scale(1.14) rotate(-8deg); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: onda 2.4s ease-out infinite; }
@keyframes onda { 70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }

/* ---------- responsivo ---------- */
@media (max-width: 1180px) {
  .verbos__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
  .formula { grid-template-columns: minmax(0, 1fr); max-width: 640px; gap: 10px; }
  .f-op { justify-self: center; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "sw sw" "sap ia" "bi bi" "int con" "add inf"; }
}
@media (max-width: 860px) {
  .btn--nav { display: none; }
  .proceso__pin { grid-template-columns: 1fr; align-content: start; gap: 18px; padding-top: 84px; padding-bottom: 20px; }
  .proceso__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .js:not(.rm) .proceso__pin { height: 100svh; align-content: center; }
  .js:not(.rm) .proceso__title { margin-bottom: 14px; }
  .js:not(.rm) .step--intro p:first-child { font-size: var(--t-md); }
  .js:not(.rm) .step h3 { margin: 2px 0 6px; }
  .js:not(.rm) .step p { font-size: var(--t-sm); }
  .js:not(.rm) .steps__bar { margin-top: 14px; }
  .stage { aspect-ratio: auto; height: min(50svh, 90vw); max-height: none; border-radius: 22px; }
  .rm .stage, html:not(.js) .stage { height: 360px; }
  .chip { padding: 7px 10px; gap: 6px; }
  .chip i { width: 6px; height: 6px; }
  .js:not(.rm) .noise--extra { display: none; }
  .nos__grid, .vision { grid-template-columns: 1fr; }
  .nos__photo { width: min(100%, 440px); justify-self: center; }
  .wheel { width: min(100%, 460px); }
  .contacto__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sw" "sap" "ia" "bi" "int" "con" "add" "inf"; }
  .tile--bi { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 20px; }
  .hero__line + .hero__line { padding-left: 0; }
  .hero__lead { font-size: var(--t-md); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .verbos__list { grid-template-columns: minmax(0, 1fr); }
  .vb { min-height: 210px; }
  .vb__word { font-size: clamp(2.2rem, 11vw, 3rem); }
  .nos__badge { padding: 9px 12px; }
  .nos__badge--a { left: -2%; }
  .nos__badge--b { right: -2%; }
  .timeline li { grid-template-columns: minmax(0, 1fr); }
  .wheel { --lr: 39%; }
  .wheel__svg { inset: 19%; width: 62%; height: 62%; }
  .wheel__label { padding: 4px 8px; font-size: .68rem; }
  .contacto__data { grid-template-columns: 1fr; }
}

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
