/* =========================================================
   CEREON — sitio web (una página) · v1 · 26/10/2026
   Tokens copiados de ../marca/tokens.css (marca v1). Las fuentes se cargan
   con <link> en el HTML (más rápido que @import).
   ========================================================= */
:root {
  --ink: #05070F;
  --ink-2: #0B1020;
  --ink-3: #121A30;
  --line: rgba(140, 160, 255, .14);
  --text: #EAF0FF;
  --muted: #8A96B8;
  --violet: #7C5CFF;
  --cyan: #22D3EE;
  --mint: #34F5C5;
  --amber: #FFB547;
  --coral: #FF5C7A;
  --aurora: linear-gradient(120deg, #7C5CFF 0%, #22D3EE 55%, #34F5C5 100%);
  --glow-violet: radial-gradient(60% 60% at 30% 20%, rgba(124, 92, 255, .35), transparent 70%);
  --glow-cyan: radial-gradient(50% 50% at 80% 70%, rgba(34, 211, 238, .25), transparent 70%);
  --glass: rgba(18, 26, 48, .55);
  --radius: 18px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* propios de la web */
  --text-soft: rgba(234, 240, 255, .74);
  --wrap: 1200px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --nav-h: 68px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --sec-pad: clamp(84px, 10vw, 136px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--ink);
  color-scheme: dark;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.25; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(124, 92, 255, .45); color: #fff; }

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
a:focus-visible { border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--text); color: var(--ink); font-weight: 600;
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

.grad {
  background: var(--aurora);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- etiquetas ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font: 500 12px/1.2 var(--font-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--aurora); flex: none; }
.eyebrow--center {
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 16, 32, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--text-soft);
}
.eyebrow--center::before { display: none; }
.sec__head--center .eyebrow--center { color: var(--cyan); }

.live {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint); flex: none;
  animation: live 2.2s ease-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(52, 245, 197, .55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 245, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 245, 197, 0); }
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--line);
  font: 500 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.chip .live { width: 6px; height: 6px; }
.chip--live { color: var(--mint); border-color: rgba(52, 245, 197, .3); }
.chip--grad { background: var(--aurora); color: var(--ink); border-color: transparent; }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 500; transition: gap .25s var(--ease); }
.link:hover { gap: 10px; }

/* ---------- botones ---------- */
.btn {
  --h: 46px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 1.3em;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1.1 var(--font-body); letter-spacing: -.005em;
  white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .3s, background-position .5s var(--ease), border-color .3s, background-color .3s, opacity .3s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { --h: 38px; padding: 0 1.05em; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 1.65em; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  color: var(--ink);
  background: var(--aurora);
  background-size: 160% 100%;
  background-position: 0 0;
  box-shadow: 0 10px 36px -12px rgba(34, 211, 238, .65), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--primary:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 16px 46px -12px rgba(34, 211, 238, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  color: var(--text);
  background: rgba(234, 240, 255, .04);
  border-color: rgba(140, 160, 255, .26);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(234, 240, 255, .08); border-color: rgba(140, 160, 255, .5); }

/* ---------- tarjetas (vidrio + foco que sigue al cursor) ---------- */
.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 26, 48, .78), rgba(11, 16, 32, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 60px -34px rgba(0, 0, 0, .85);
}
.card::before,
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity .45s;
}
.card::before {
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -30%), rgba(124, 92, 255, .13), transparent 42%);
}
.card::after {
  padding: 1px;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -30%), rgba(34, 211, 238, .6), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@media (hover: hover) {
  .card:hover::before, .card:hover::after { opacity: 1; }
}

/* ---------- aparición al hacer scroll ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* animaciones en pausa mientras no se ven */
html.js [data-anim]:not(.is-in) *,
html.js [data-anim]:not(.is-in) *::before,
html.js [data-anim]:not(.is-in) *::after { animation-play-state: paused !important; }

/* =========================================================
   CABECERA
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(5, 7, 15, .74);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
}
.nav__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.nav__logo { display: inline-flex; padding: 6px 0; margin-right: auto; }
.logo { height: 25px; width: auto; overflow: visible; }
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu a:not(.btn) {
  padding: 8px 12px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--text-soft);
  transition: color .2s, background-color .2s;
}
.nav__menu a:not(.btn):hover { color: var(--text); background: rgba(234, 240, 255, .05); }
.nav__menu-cta { display: none; }
.nav__toggle {
  display: none;
  position: relative; width: 42px; height: 42px; flex: none;
  border-radius: 12px; border: 1px solid var(--line);
  background: rgba(234, 240, 255, .04); cursor: pointer;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px;
  background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 24px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .nav__toggle { display: inline-block; }
  .nav__menu {
    position: fixed; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 22px;
    background: rgba(5, 7, 15, .96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__menu a:not(.btn) { padding: 14px 12px; font-size: 16px; border-radius: 12px; }
  .nav__menu-cta { display: inline-flex; margin-top: 10px; --h: 52px; }
}
@media (max-width: 639px) { .nav__cta { display: none; } }

/* =========================================================
   HÉROE
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 56px) 0 120px;
  text-align: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; max-width: none; }
.hero__aurora { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.hero__aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.hero__aurora i:nth-child(1) {
  width: 70vmax; height: 70vmax; left: -18vmax; top: -24vmax;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .42), rgba(124, 92, 255, 0));
  animation: drift1 26s ease-in-out infinite alternate;
}
.hero__aurora i:nth-child(2) {
  width: 62vmax; height: 62vmax; right: -20vmax; top: 6vmax;
  background: radial-gradient(closest-side, rgba(34, 211, 238, .26), rgba(34, 211, 238, 0));
  animation: drift2 30s ease-in-out infinite alternate;
}
.hero__aurora i:nth-child(3) {
  width: 44vmax; height: 44vmax; left: 30%; bottom: -26vmax;
  background: radial-gradient(closest-side, rgba(52, 245, 197, .16), rgba(52, 245, 197, 0));
  animation: drift1 34s ease-in-out infinite alternate-reverse;
}
@keyframes drift1 { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(-7vmax, -3vmax, 0) scale(.94); } }
.hero__dots {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(140, 160, 255, .2) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 42%, #000 20%, transparent 78%);
  mask-image: radial-gradient(75% 65% at 50% 42%, #000 20%, transparent 78%);
}
.hero__veil {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(46% 36% at 50% 50%, rgba(5, 7, 15, .66), rgba(5, 7, 15, 0) 76%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: 0; pointer-events: none;
  background: linear-gradient(rgba(5, 7, 15, 0), var(--ink));
}
.hero__in { position: relative; z-index: 2; max-width: 1000px; }
.hero__title {
  margin-top: 6px;
  font-size: clamp(2.6rem, 11vw, 7.6rem);
  line-height: .98;
  letter-spacing: -.035em;
}
.hero__title .grad { display: block; padding-bottom: .06em; }
.hero__lead {
  max-width: 660px; margin: 26px auto 0;
  font-size: clamp(1.04rem, 1.5vw, 1.25rem); line-height: 1.6;
  color: var(--text-soft); text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.hero__chips {
  list-style: none; margin: 40px auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.hero__chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(11, 16, 32, .55);
  font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.hero__chips i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }

.hero__float { display: none; }
@media (min-width: 1320px) {
  .hero__float { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
}
.fcard {
  position: absolute;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 16px 11px 11px; border-radius: 16px;
  background: rgba(18, 26, 48, .6);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  text-align: left;
  animation: float 9s ease-in-out infinite alternate;
}
.fcard b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.fcard small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.fcard__ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  color: var(--c);
  background: rgba(234, 240, 255, .05);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
}
.fcard__ico .ico { width: 18px; height: 18px; }
.fcard--a { top: 17%; left: calc(50% - 660px); }
.fcard--b { top: 70%; left: calc(50% - 620px); animation-delay: -3s; }
.fcard--c { top: 21%; right: calc(50% - 650px); animation-delay: -5s; }
.fcard--d { top: 73%; right: calc(50% - 630px); animation-delay: -1.5s; }
@keyframes float { to { transform: translate3d(0, -14px, 0); } }

.hero__scroll { display: none; }
@media (min-width: 768px) and (min-height: 720px) {
  .hero__scroll {
    display: block; position: absolute; left: 50%; bottom: 30px; z-index: 2;
    width: 24px; height: 38px; margin-left: -12px; border-radius: 12px;
    border: 1.5px solid rgba(140, 160, 255, .35);
  }
  .hero__scroll span {
    position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px;
    border-radius: 2px; background: var(--cyan);
    animation: scrollDot 2.2s var(--ease) infinite;
  }
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 479px) {
  .hero .eyebrow--center { font-size: 10px; letter-spacing: .1em; padding: 8px 12px; white-space: nowrap; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__chips li { padding: 7px 10px; font-size: 10px; }
}

/* ---------- cinta ---------- */
.marquee {
  position: relative; overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: rgba(11, 16, 32, .45);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span {
  position: relative; padding-right: 64px;
  font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.marquee__track span::after {
  content: ""; position: absolute; right: 30px; top: 50%;
  width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
  background: var(--cyan); opacity: .75;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* =========================================================
   SECCIONES
   ========================================================= */
.sec { position: relative; isolation: isolate; padding: var(--sec-pad) 0; }
.sec--tint::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 16, 32, 0), rgba(11, 16, 32, .8) 16%, rgba(11, 16, 32, .8) 84%, rgba(11, 16, 32, 0));
}
.sec__head { max-width: 800px; margin: 0 0 clamp(40px, 5vw, 64px); }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__lead {
  max-width: 660px; margin-top: 20px;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.6;
  color: var(--text-soft); text-wrap: pretty;
}
.sec__head--center .sec__lead { margin-left: auto; margin-right: auto; }

/* ---------- el problema ---------- */
.prob { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .prob { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .prob { grid-template-columns: repeat(4, 1fr); } }
.prob__card { padding: 24px; display: flex; flex-direction: column; }
.prob__card h3 { font-size: 1.2rem; }
.prob__card > p:last-child { margin-top: 10px; color: var(--muted); font-size: 15px; }
.prob__k {
  margin-bottom: 10px;
  font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber);
}
.prob__viz { position: relative; height: 74px; margin-bottom: 24px; }

.pv-msg i { display: block; height: 14px; margin-bottom: 9px; border-radius: 7px; background: rgba(234, 240, 255, .08); }
.pv-msg i:nth-of-type(1) { width: 72%; }
.pv-msg i:nth-of-type(2) { width: 88%; opacity: .7; }
.pv-msg i:nth-of-type(3) { width: 54%; opacity: .45; }
.pv-msg__n {
  position: absolute; right: 0; top: -2px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coral); color: var(--ink);
  font: 600 12px/1 var(--font-mono);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 92, 122, .5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 92, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 122, 0); }
}
.pv-slot { display: flex; gap: 8px; align-items: stretch; }
.pv-slot i {
  position: relative; flex: 1; border-radius: 12px;
  background: rgba(124, 92, 255, .14); border: 1px solid rgba(124, 92, 255, .3);
}
.pv-slot i.is-empty { background: transparent; border: 1px dashed rgba(255, 181, 71, .6); }
.pv-slot i.is-empty::after {
  content: "VACÍA"; position: absolute; inset: 0; display: grid; place-items: center;
  font: 500 10px/1 var(--font-mono); letter-spacing: .14em; color: var(--amber);
}
.pv-dots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px 10px; align-content: center; }
.pv-dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(138, 150, 184, .2); justify-self: center; }
.pv-dots i:nth-child(3n) { background: rgba(138, 150, 184, .12); }
.pv-dots i:nth-child(5) { background: rgba(138, 150, 184, .32); }
.pv-ads { display: flex; align-items: flex-end; gap: 10px; }
.pv-ads span {
  flex: 1; height: var(--h);
  display: flex; justify-content: center; padding-top: 7px;
  border-radius: 9px 9px 3px 3px;
  background: linear-gradient(180deg, rgba(138, 150, 184, .28), rgba(138, 150, 184, .06));
  font: 500 12px/1 var(--font-mono); color: var(--muted);
}
.prob__close {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-top: 40px; font-size: 1.1rem; color: rgba(234, 240, 255, .85);
}

/* ---------- pilares (bento) ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.pil { padding: 28px; display: flex; flex-direction: column; min-height: 340px; }
.pil__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pil__ico {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(124, 92, 255, .24), rgba(34, 211, 238, .1));
  border: 1px solid rgba(140, 160, 255, .24);
}
.pil__ico .ico { width: 22px; height: 22px; }
.pil__n { font: 500 12px/1 var(--font-mono); letter-spacing: .12em; color: var(--muted); }
.pil h3 { font-size: 1.65rem; }
.pil p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.pil .pil__tag { display: flex; gap: 10px; margin-top: 16px; color: var(--text); font-weight: 500; }
.pil__tag::before { content: ""; width: 16px; height: 2px; margin-top: .72em; border-radius: 2px; background: var(--aurora); flex: none; }
.viz {
  padding: 16px; border-radius: 14px;
  background: rgba(5, 7, 15, .55);
  border: 1px solid var(--line);
}
.pil .pil__tag { margin-bottom: 28px; }
.pil .viz { margin-top: auto; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .pil--w2 { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: start; }
  .pil--w2 .viz { align-self: center; }
  .pil--w2 .viz { margin-top: 0; }
  .pil--w2 .pil__tag { margin-bottom: 0; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .pil--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: start; }
  .pil--wide .viz { align-self: center; }
  .pil--wide .viz { margin-top: 0; }
  .pil--wide .pil__tag { margin-bottom: 0; }
}

/* Atiende */
.va { display: flex; flex-direction: column; gap: 10px; }
.va__row {
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(6px);
  animation: vaRow 9s var(--ease) infinite;
  animation-delay: calc(var(--i) * 1.1s);
}
.va__ch {
  width: 32px; height: 26px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  font: 500 10px/1 var(--font-mono); letter-spacing: .06em; color: var(--c);
  border: 1px solid rgba(140, 160, 255, .25);
  border-color: color-mix(in srgb, var(--c) 40%, transparent);
  background: rgba(234, 240, 255, .03);
}
.va__b {
  flex: 1; min-width: 0;
  padding: 8px 12px; border-radius: 12px 12px 12px 4px;
  background: rgba(234, 240, 255, .07);
  font-size: 13.5px; line-height: 1.35;
}
.va__ok {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  font: 500 10px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--mint);
  opacity: 0;
  animation: vaOk 9s var(--ease) infinite;
  animation-delay: calc(var(--i) * 1.1s + .7s);
}
.va__ok .ico { width: 13px; height: 13px; stroke-width: 2.2; }
.va__typing { display: flex; align-items: center; gap: 4px; padding: 2px 2px 0 42px; font-size: 12px; color: var(--muted); }
.va__typing i, .typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  animation: dot 1.2s ease-in-out infinite;
}
.va__typing i:nth-child(2), .typing i:nth-child(2) { animation-delay: .15s; }
.va__typing i:nth-child(3), .typing i:nth-child(3) { animation-delay: .3s; }
.va__typing span { margin-left: 6px; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes vaRow { 0% { opacity: 0; transform: translateY(6px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes vaOk { 0%, 3% { opacity: 0; transform: scale(.8); } 9%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@media (max-width: 420px) { .va__ok { font-size: 0; gap: 0; } .va__ok .ico { width: 16px; height: 16px; } }

/* Agenda */
.vg__days, .vg__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.vg__days { margin-bottom: 8px; text-align: center; font: 500 10px/1 var(--font-mono); color: var(--muted); }
.vg__grid i {
  position: relative; overflow: hidden; height: 18px; border-radius: 5px;
  background: rgba(140, 160, 255, .07); border: 1px solid rgba(140, 160, 255, .1);
}
.vg__grid i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--aurora); opacity: 0; transform-origin: left center;
  animation: vgFill 8s var(--ease) infinite;
  animation-delay: calc(var(--i) * .2s);
}
@keyframes vgFill { 0% { opacity: 0; transform: scaleX(.15); } 7%, 84% { opacity: .9; transform: none; } 94%, 100% { opacity: 0; transform: none; } }

/* Recupera */
.vr__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px 8px; }
.vr__grid i { width: 100%; max-width: 15px; aspect-ratio: 1; justify-self: center; border-radius: 50%; background: rgba(138, 150, 184, .22); }
.vr__grid i.w { animation: wake 6s var(--ease) infinite; animation-delay: calc(var(--i) * .55s); }
@keyframes wake {
  0%, 8% { background: rgba(138, 150, 184, .22); box-shadow: 0 0 0 0 rgba(52, 245, 197, 0); }
  16%, 78% { background: var(--mint); box-shadow: 0 0 12px rgba(52, 245, 197, .65); }
  92%, 100% { background: rgba(138, 150, 184, .22); box-shadow: 0 0 0 0 rgba(52, 245, 197, 0); }
}
.vr__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.vr__chips span {
  padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line);
  font: 500 10px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}

/* Mide */
.vm { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.vm__r { display: grid; grid-template-columns: 96px 1fr 14px; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.vm__r b {
  justify-self: start; height: 10px; width: 0; border-radius: 5px;
  background: var(--aurora);
  transition: width 1.4s var(--ease);
}
.vm__r:nth-child(2) b { transition-delay: .12s; }
.vm__r:nth-child(3) b { transition-delay: .24s; }
.vm__r:nth-child(4) b { transition-delay: .36s; }
.vm__r:nth-child(5) b { transition-delay: .48s; }
.is-in .vm__r b, html:not(.js) .vm__r b { width: var(--w); }
.vm__r em { font: 600 12px/1 var(--font-mono); font-style: normal; color: var(--mint); }

/* Supervisa */
.vs { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 18px; }
.vs__radar {
  position: relative; width: 128px; height: 128px; border-radius: 50%; overflow: hidden;
  border: 1px solid rgba(140, 160, 255, .24);
  background: radial-gradient(circle, rgba(34, 211, 238, .08), transparent 70%);
}
.vs__ring { position: absolute; inset: 22%; border-radius: 50%; border: 1px solid rgba(140, 160, 255, .16); }
.vs__ring + .vs__ring { inset: 41%; }
.vs__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34, 211, 238, 0) 0deg, rgba(34, 211, 238, 0) 270deg, rgba(34, 211, 238, .45) 360deg);
  animation: spin 4s linear infinite;
}
.vs__blip {
  position: absolute; left: var(--x); top: var(--y);
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: var(--mint); opacity: .2;
  animation: blip 4s ease-out infinite;
  animation-delay: calc(var(--i) * 1s);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 245, 197, .6); } 45% { opacity: .55; box-shadow: 0 0 0 9px rgba(52, 245, 197, 0); } 100% { opacity: .2; } }
.vs__tags { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.vs__tags li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.vs__tags li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.vs__tags small { margin-left: auto; font-size: 12.5px; font-weight: 400; color: var(--muted); }
@media (max-width: 479px) {
  .vs { grid-template-columns: 1fr; justify-items: center; }
  .vs__tags { width: 100%; }
}

/* App */
.vp { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; }
.vp__roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; flex: 1; }
.vp__roles li {
  padding: 8px 11px; border-radius: 9px; border: 1px solid transparent;
  font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  animation: role 8s infinite;
  animation-delay: calc(var(--i) * 2s);
}
@keyframes role {
  0%, 23% { color: var(--text); background: rgba(124, 92, 255, .18); border-color: rgba(124, 92, 255, .4); }
  25%, 100% { color: var(--muted); background: transparent; border-color: transparent; }
}
.vp__phone {
  position: relative; flex: none;
  width: 78px; height: 138px; padding: 20px 9px 10px; border-radius: 17px;
  border: 1.5px solid rgba(140, 160, 255, .38);
  background: linear-gradient(180deg, rgba(124, 92, 255, .14), rgba(34, 211, 238, .05));
  display: flex; flex-direction: column; gap: 7px;
}
.vp__phone::before { content: ""; position: absolute; top: 7px; left: 50%; width: 22px; height: 4px; margin-left: -11px; border-radius: 2px; background: rgba(140, 160, 255, .35); }
.vp__phone i { height: 10px; border-radius: 4px; background: rgba(234, 240, 255, .12); }
.vp__phone i:nth-child(1) { height: 30px; background: var(--aurora); opacity: .75; animation: scr 8s steps(1) infinite; }
.vp__phone i:nth-child(3) { width: 70%; }
.vp__phone i:nth-child(4) { width: 50%; }
@keyframes scr { 0% { width: 100%; } 25% { width: 62%; } 50% { width: 86%; } 75% { width: 72%; } }

/* =========================================================
   MOCKS (chat, agenda, panel)
   ========================================================= */
.demo { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .demo { grid-template-columns: minmax(340px, 400px) 1fr; gap: 32px; } }
.demo__chat { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.demo__chat figcaption {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px;
  font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.replay {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(234, 240, 255, .04); cursor: pointer;
  font: inherit; color: var(--text-soft); letter-spacing: .1em;
}
.replay[hidden] { display: none; }
.replay:hover { color: var(--text); border-color: rgba(140, 160, 255, .45); }
.replay .ico { width: 14px; height: 14px; }

.phone {
  position: relative; width: 100%; max-width: 380px; height: 640px;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 46px; border: 9px solid #0E1428;
  background: #070B17;
  box-shadow: 0 0 0 1px rgba(140, 160, 255, .26), 0 50px 110px -46px rgba(124, 92, 255, .55), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.phone__notch { position: absolute; top: 8px; left: 50%; z-index: 3; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #000; }
.phone__bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 44px 14px 12px;
  background: rgba(18, 26, 48, .92);
  border-bottom: 1px solid var(--line);
}
.phone__av { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--line); }
.phone__av svg { width: 24px; height: 24px; }
.phone__who { min-width: 0; text-align: left; }
.phone__who b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone__who small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--mint); }
.phone__who .live { width: 6px; height: 6px; }
.phone__ch {
  margin-left: auto; flex: none;
  padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line);
  font: 500 9.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.chat {
  list-style: none; margin: 0; padding: 16px 12px 18px;
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  overflow: hidden;
  background:
    radial-gradient(rgba(140, 160, 255, .07) 1px, transparent 1.2px) 0 0 / 18px 18px,
    linear-gradient(180deg, #070B17, #0A0F20);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px);
  mask-image: linear-gradient(180deg, transparent 0, #000 36px);
}
.chat__day {
  align-self: center; margin-bottom: 4px; padding: 4px 10px; border-radius: 999px;
  background: rgba(234, 240, 255, .05);
  font: 500 10px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.msg {
  position: relative; max-width: 84%;
  padding: 8px 11px 6px; border-radius: 15px;
  font-size: 13.5px; line-height: 1.45; text-align: left;
}
.msg time {
  display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 3px;
  font: 500 10px/1 var(--font-mono); color: rgba(234, 240, 255, .5);
}
.msg--in { align-self: flex-start; background: #152039; border-top-left-radius: 4px; }
.msg--out {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(124, 92, 255, .56), rgba(34, 211, 238, .3));
  border: 1px solid rgba(140, 160, 255, .26);
  border-top-right-radius: 4px;
}
.tick { width: 13px; height: 13px; color: var(--mint); stroke-width: 2.2; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.slots span {
  padding: 6px 9px; border-radius: 9px;
  background: rgba(5, 7, 15, .45); border: 1px solid rgba(234, 240, 255, .18);
  font: 500 11px/1 var(--font-mono); transition: background-color .3s, color .3s;
}
.slots .is-pick { background: var(--mint); color: var(--ink); border-color: transparent; }
.chat__sys {
  align-self: center; display: inline-flex; align-items: center; gap: 7px;
  margin-top: 4px; padding: 7px 12px; border-radius: 999px;
  background: rgba(52, 245, 197, .08); border: 1px solid rgba(52, 245, 197, .28);
  font: 500 11px/1 var(--font-mono); color: var(--mint);
}
.chat__sys .ico { width: 14px; height: 14px; }
.typing { display: none; align-self: flex-end; gap: 4px; padding: 11px 13px; border-radius: 15px; border-top-right-radius: 4px; background: rgba(124, 92, 255, .3); }
.typing.is-on { display: inline-flex; }
html.js .chat [data-step]:not(.is-on) { display: none; }
html.js .chat .is-on { animation: msgIn .5s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

.demo__side { display: grid; gap: 24px; min-width: 0; }
.mock__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.mock__k { margin-bottom: 6px; font: 500 11px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.mock__t { font-size: 15px; font-weight: 600; }

/* Agenda */
.agenda__list { list-style: none; margin: 0; padding: 8px 10px 12px; }
.agenda__list li {
  display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 12px;
}
.agenda__list li + li { box-shadow: inset 0 1px 0 rgba(140, 160, 255, .07); }
.agenda__list time { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.agenda__p b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.agenda__p small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.st {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border-radius: 999px; white-space: nowrap;
  font: 500 10px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
}
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--ok { color: var(--mint); background: rgba(52, 245, 197, .08); }
.st--wait { color: var(--cyan); background: rgba(34, 211, 238, .08); }
.st--pend { color: var(--amber); background: rgba(255, 181, 71, .09); }
.st--new { color: var(--ink); background: var(--aurora); }
.agenda__new .agenda__p--booked { display: none; }
.agenda__new.is-booked .agenda__p--free { display: none; }
.agenda__new.is-booked .agenda__p--booked { display: block; }
.agenda__new:not(.is-booked) .st--new { visibility: hidden; }
.agenda__new .agenda__p--free b { color: var(--muted); font-weight: 500; }
.agenda__new.is-booked { background: linear-gradient(90deg, rgba(124, 92, 255, .16), rgba(34, 211, 238, .04) 70%, transparent); }
.agenda__new.is-flash { animation: flash 2.4s var(--ease); }
@keyframes flash {
  0% { box-shadow: inset 0 0 0 1px rgba(52, 245, 197, .9), 0 0 32px rgba(34, 211, 238, .35); }
  100% { box-shadow: inset 0 0 0 1px rgba(52, 245, 197, 0), 0 0 0 rgba(34, 211, 238, 0); }
}
@media (max-width: 419px) {
  .agenda__list li { grid-template-columns: 44px minmax(0, 1fr); }
  .agenda__list .st { grid-column: 2; justify-self: start; margin-top: -4px; }
  .agenda__new:not(.is-booked) .st--new { display: none; }
}

/* Panel */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
.kpi { padding: 18px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.kpi:nth-child(2n) { border-right: 0; }
.kpi:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 1180px) {
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .kpi { border-bottom: 0; }
  .kpi:nth-child(2n) { border-right: 1px solid var(--line); }
  .kpi:last-child { border-right: 0; }
}
.kpi__l { display: block; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.kpi__v {
  display: block; margin: 8px 0 6px;
  font: 600 clamp(1.7rem, 2.6vw, 2.2rem)/1.05 var(--font-display); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.kpi__d { display: block; font: 500 10.5px/1.35 var(--font-mono); letter-spacing: .03em; color: var(--mint); }
.bars { padding: 18px 22px 22px; }
.bars__t { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.bars__t span { font: 600 13px/1.4 var(--font-mono); color: var(--text); font-variant-numeric: tabular-nums; }
.bars__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bars__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; font-size: 13px; }
.bars__l { color: rgba(234, 240, 255, .84); }
.bars__v { font: 500 12.5px/1.4 var(--font-mono); font-variant-numeric: tabular-nums; }
.bars__list i { grid-column: 1 / -1; position: relative; overflow: hidden; height: 8px; border-radius: 4px; background: rgba(140, 160, 255, .08); }
.bars__list i::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: width 1.4s var(--ease);
}
.bars__list li:nth-child(2) i::after { transition-delay: .12s; }
.bars__list li:nth-child(3) i::after { transition-delay: .24s; }
.bars__list li:nth-child(4) i::after { transition-delay: .36s; }
.is-in .bars__list i::after, html:not(.js) .bars__list i::after { width: var(--w); }

/* =========================================================
   BANDA DE LLAMADO
   ========================================================= */
.band { position: relative; margin-top: calc(var(--sec-pad) * -.5); padding-bottom: calc(var(--sec-pad) * .5); }
.band__in {
  display: grid; gap: 24px; align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border-color: rgba(124, 92, 255, .36);
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(124, 92, 255, .24), transparent 60%),
    radial-gradient(50% 120% at 100% 100%, rgba(34, 211, 238, .14), transparent 60%),
    linear-gradient(180deg, rgba(18, 26, 48, .85), rgba(11, 16, 32, .85));
}
.band .eyebrow { margin-bottom: 12px; }
.band__t { font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em; }
.band__txt p:not(.eyebrow) { max-width: 580px; margin-top: 10px; color: var(--text-soft); }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .band__in { grid-template-columns: 1fr auto; gap: 40px; } }
@media (max-width: 559px) { .band__ctas .btn { flex: 1 1 100%; } }

/* =========================================================
   DEL ANUNCIO AL SILLÓN
   ========================================================= */
.flow { position: relative; }
.flow__list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.flow__node {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 20px;
  display: grid; place-items: center;
  color: var(--cyan);
  background: linear-gradient(180deg, #131B33, #0B1020);
  border: 1px solid rgba(140, 160, 255, .26);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .9);
  animation: nodeOn 6s linear infinite;
  animation-delay: calc(var(--i) * 1.2s);
}
.flow__node .ico { width: 26px; height: 26px; }
@keyframes nodeOn {
  0% { color: var(--mint); border-color: rgba(52, 245, 197, .95); box-shadow: 0 0 0 6px rgba(34, 211, 238, .12), 0 0 40px rgba(34, 211, 238, .5); }
  30%, 100% { color: var(--cyan); border-color: rgba(140, 160, 255, .26); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .9); }
}
.flow__k { display: block; margin-bottom: 8px; font: 500 11px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.flow__t { display: block; font: 600 1.12rem/1.3 var(--font-display); letter-spacing: -.01em; }
.flow__d { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.flow__track {
  position: absolute; z-index: 0;
  background: linear-gradient(180deg, rgba(124, 92, 255, .4), rgba(34, 211, 238, .4), rgba(52, 245, 197, .4));
}
.flow__pulse {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 4px rgba(34, 211, 238, .85), 0 0 34px 10px rgba(124, 92, 255, .35);
}
.flow__note {
  margin-top: 30px; text-align: center;
  font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
/* vertical (celular) */
@media (max-width: 959px) {
  .flow__step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: center; }
  .flow__node { grid-row: 1 / span 3; }
  .flow__track { left: 31px; top: 32px; bottom: 62px; width: 2px; }
  .flow__pulse { left: 50%; top: 0; animation: pulseY 6s linear infinite; }
}
@keyframes pulseY { 0% { top: 0; opacity: 0; } 4% { opacity: 1; } 80% { top: 100%; opacity: 1; } 86%, 100% { top: 100%; opacity: 0; } }
/* horizontal (escritorio) */
@media (min-width: 960px) {
  .flow__list { grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
  .flow__node { margin: 0 auto 20px; }
  .flow__track { top: 31px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(124, 92, 255, .45), rgba(34, 211, 238, .45), rgba(52, 245, 197, .45)); }
  .flow__pulse { top: 50%; left: 0; animation: pulseX 6s linear infinite; }
}
@keyframes pulseX { 0% { left: 0; opacity: 0; } 4% { opacity: 1; } 80% { left: 100%; opacity: 1; } 86%, 100% { left: 100%; opacity: 0; } }

.trio { display: grid; gap: 28px; margin-top: clamp(56px, 7vw, 88px); }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.trio__i { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.trio__i::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 1px; background: var(--aurora); }
.trio__i h3 { font-size: 1.15rem; }
.trio__i p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* =========================================================
   AGENTES
   ========================================================= */
.agents { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .agents { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .agents { grid-template-columns: repeat(4, 1fr); } }
.agent {
  padding: 26px 24px 24px; display: flex; flex-direction: column;
  background:
    linear-gradient(90deg, var(--c), transparent 70%) top left / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(18, 26, 48, .78), rgba(11, 16, 32, .72));
}
.agent__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.agent__ico {
  width: 50px; height: 50px; border-radius: 15px; flex: none;
  display: grid; place-items: center;
  color: var(--c);
  background: rgba(234, 240, 255, .04);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid rgba(140, 160, 255, .3);
  border-color: color-mix(in srgb, var(--c) 36%, transparent);
  box-shadow: 0 0 34px -10px var(--c);
}
.agent__ico .ico { width: 24px; height: 24px; }
.agent h3 { font-size: 1.32rem; }
.agent__w { margin-top: 3px; font: 500 11px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.agent > p:not(.agent__out) { margin-bottom: 22px; color: var(--muted); font-size: 15px; }
.agent__out {
  display: flex; align-items: flex-start; gap: 9px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--text);
}
.agent__out .ico { width: 17px; height: 17px; margin-top: 2px; color: var(--c); stroke-width: 2.1; }
.agent--lead {
  border-color: rgba(124, 92, 255, .42);
  background:
    linear-gradient(90deg, var(--violet), var(--cyan), var(--mint)) top left / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(124, 92, 255, .2), rgba(11, 16, 32, .78) 70%);
}

.voice { display: grid; gap: 18px; margin-top: 16px; padding: 22px 24px; align-items: center; }
@media (min-width: 960px) { .voice { grid-template-columns: 210px 240px 1fr; gap: 28px; } }
.voice__who { display: flex; align-items: center; gap: 12px; }
.voice__av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--aurora); color: var(--ink); box-shadow: 0 0 30px -6px rgba(34, 211, 238, .7); }
.voice__av .ico { width: 22px; height: 22px; stroke-width: 2; }
.voice__who b { display: block; font-weight: 600; }
.voice__who small { display: block; margin-top: 3px; font: 500 10.5px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.voice__wave { display: flex; align-items: center; gap: 3px; height: 42px; }
.voice__wave i {
  flex: 1; min-width: 2px; max-width: 4px; height: 100%; border-radius: 2px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  transform: scaleY(.3);
  animation: wave 1.3s ease-in-out infinite;
}
.voice__wave i:nth-child(2n) { animation-duration: 1.05s; }
.voice__wave i:nth-child(3n) { animation-duration: 1.55s; animation-delay: -.4s; }
.voice__wave i:nth-child(5n+1) { animation-delay: -.8s; }
.voice__wave i:nth-child(7n+2) { animation-duration: .9s; animation-delay: -.2s; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.voice__txt {
  margin: 0; padding-left: 18px;
  border-left: 2px solid var(--cyan);
  font-size: 15px; line-height: 1.6; color: rgba(234, 240, 255, .86);
}

.rules { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .rules { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.rules li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--muted); }
.rules b { color: var(--text); font-weight: 600; }
.rules .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--mint); }

/* =========================================================
   PARA QUIÉN
   ========================================================= */
.who { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .who { grid-template-columns: repeat(3, 1fr); } }
.who__c { padding: 26px 24px; }
.who__c .chip { position: absolute; top: 26px; right: 24px; }
.who__ico {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px;
  display: grid; place-items: center; color: var(--cyan);
  background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .22);
}
.who__ico .ico { width: 24px; height: 24px; }
.who__c h3 { font-size: 1.22rem; }
.who__c p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.who__c--main {
  border-color: rgba(124, 92, 255, .42);
  background: linear-gradient(160deg, rgba(124, 92, 255, .24), rgba(11, 16, 32, .74) 62%);
}
.who__c--main .who__ico { color: var(--ink); background: var(--aurora); border-color: transparent; box-shadow: 0 0 30px -8px rgba(34, 211, 238, .7); }

/* =========================================================
   CÓMO EMPEZAR
   ========================================================= */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) and (max-width: 979px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:last-child { grid-column: 1 / -1; } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.step {
  position: relative; padding: 24px 22px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 26, 48, .6), rgba(11, 16, 32, .5));
}
.step__n { position: absolute; top: 24px; right: 22px; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; color: var(--muted); }
.step__ico {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 20px;
  display: grid; place-items: center; color: var(--cyan);
  background: linear-gradient(135deg, rgba(124, 92, 255, .22), rgba(34, 211, 238, .1));
  border: 1px solid rgba(140, 160, 255, .24);
}
.step__ico .ico { width: 22px; height: 22px; }
.step h3 { font-size: 1.12rem; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.step:last-child { border-color: rgba(52, 245, 197, .36); background: linear-gradient(180deg, rgba(52, 245, 197, .09), rgba(11, 16, 32, .5)); }
.step:last-child .step__ico { color: var(--ink); background: var(--aurora); border-color: transparent; }
@media (min-width: 980px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 46px; right: -17px; width: 18px; height: 1px;
    background: linear-gradient(90deg, rgba(140, 160, 255, .5), rgba(140, 160, 255, 0));
  }
}

.faq { max-width: 820px; margin-top: clamp(64px, 8vw, 100px); }
.faq__t { margin-bottom: 10px; font-size: 1.45rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 44px 20px 0;
  font-size: 1.04rem; font-weight: 600;
  border-radius: 6px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 14px 1.6px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) center / 1.6px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 700px; padding: 0 0 22px; color: var(--muted); }

/* =========================================================
   CONTACTO
   ========================================================= */
.sec--cta { overflow: hidden; }
.cta__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 60% at 12% 28%, rgba(124, 92, 255, .3), transparent 70%),
    radial-gradient(45% 55% at 88% 75%, rgba(34, 211, 238, .18), transparent 70%);
}
.cta__glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(140, 160, 255, .16) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 60% at 25% 40%, #000, transparent 75%);
  mask-image: radial-gradient(60% 60% at 25% 40%, #000, transparent 75%);
}
.cta { display: grid; gap: 40px; }
@media (min-width: 980px) { .cta { grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: start; } .cta__copy { position: sticky; top: calc(var(--nav-h) + 40px); } }
.cta__copy h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.cta__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.cta__list li { display: flex; align-items: center; gap: 10px; color: rgba(234, 240, 255, .88); }
.cta__list .ico { color: var(--mint); width: 19px; height: 19px; stroke-width: 2.1; }

.form-card {
  padding: clamp(20px, 3.5vw, 32px);
  background: linear-gradient(180deg, rgba(18, 26, 48, .88), rgba(11, 16, 32, .88));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-color: rgba(140, 160, 255, .22);
}
.seg { margin: 0 0 24px; padding: 0; min-width: 0; border: 0; }
.seg__lg { margin-bottom: 8px; padding: 0; font-size: 13.5px; font-weight: 500; color: rgba(234, 240, 255, .86); }
.seg__opts { display: grid; grid-template-columns: 1fr 1fr; }
.seg__o { border: 1px solid var(--line); background: rgba(5, 7, 15, .6); }
.seg__o:first-of-type { border-radius: 12px 0 0 12px; }
.seg__o:last-of-type { border-radius: 0 12px 12px 0; border-left: 0; }
.seg__o { position: relative; display: block; cursor: pointer; }
.seg__o input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__o span {
  display: flex; align-items: center; justify-content: center; height: 100%;
  padding: 13px 8px; border-radius: inherit; text-align: center;
  font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--muted);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.seg__o input:checked + span {
  color: var(--text);
  background: linear-gradient(135deg, rgba(124, 92, 255, .38), rgba(34, 211, 238, .2));
  box-shadow: inset 0 0 0 1px rgba(140, 160, 255, .36);
}
.seg__o input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.form__grid { display: grid; gap: 16px 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-size: 13.5px; font-weight: 500; color: rgba(234, 240, 255, .86); }
.req { color: var(--cyan); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 13px 14px;
  border-radius: 12px; border: 1px solid rgba(140, 160, 255, .22);
  background: rgba(5, 7, 15, .66);
  font-size: 16px; line-height: 1.4; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(138, 150, 184, .75); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(140, 160, 255, .38); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .2); }
.field [aria-invalid="true"] { border-color: var(--coral); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 92, 122, .22); }
.field select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%238A96B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field select option { background: var(--ink-2); color: var(--text); }
.field input[type="date"] { cursor: pointer; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.75); cursor: pointer; }
.field textarea { min-height: 104px; resize: vertical; }
.field__err { margin-top: 6px; font-size: 12.5px; color: #FF8FA3; }
.field__err:empty { display: none; }
.field__hint { margin-top: 7px; font-size: 12px; color: var(--muted); }
.pref { margin: 0; padding: 0; border: 0; }
.pref__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 479px) { .pref__row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form .btn--block { margin-top: 24px; }
.btn__spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(5, 7, 15, .25); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__spin { display: inline-block; }
.form__note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }
.form__status { margin-top: 10px; text-align: center; font-size: 14px; color: #FF8FA3; }
.form__status:empty { display: none; }

.thanks { padding: 44px 8px; text-align: center; outline: none; }
.thanks:not([hidden]) { animation: msgIn .6s var(--ease) both; }
.thanks__ico {
  width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--aurora); color: var(--ink);
  box-shadow: 0 0 60px rgba(34, 211, 238, .45);
}
.thanks__ico .ico { width: 32px; height: 32px; stroke-width: 2.4; }
.thanks h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.thanks p { max-width: 420px; margin: 12px auto 0; color: var(--text-soft); }

/* =========================================================
   PIE
   ========================================================= */
.foot { padding: 64px 0 36px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 16, 32, .55), var(--ink)); }
.foot__in { display: grid; gap: 36px; }
@media (min-width: 820px) { .foot__in { grid-template-columns: 1fr auto; align-items: start; } }
.logo--foot { height: 32px; }
.foot__lema { margin-top: 20px; font: 600 1.3rem/1.3 var(--font-display); letter-spacing: -.015em; }
.foot__sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.foot__nav { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 36px; }
.foot__nav a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.foot__nav a:hover { color: var(--text); }
.foot__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}

/* ---------- botón fijo en celular ---------- */
.mbar {
  position: fixed; left: 12px; right: 12px; z-index: 40;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(150%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.mbar.is-on { transform: none; visibility: visible; transition-delay: 0s; }
.mbar .btn { --h: 52px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8), 0 10px 36px -12px rgba(34, 211, 238, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }
@media (min-width: 1024px) { .mbar { display: none; } }

/* =========================================================
   MOVIMIENTO REDUCIDO: todo quieto y visible
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .va__row, .va__ok { opacity: 1; transform: none; }
  .vg__grid i::after { opacity: .9; transform: none; }
  .vg__grid i:nth-child(4n+3)::after { opacity: 0; }
  .vr__grid i.w { background: var(--mint); box-shadow: 0 0 10px rgba(52, 245, 197, .5); }
  .vm__r b { width: var(--w); }
  .bars__list i::after { width: var(--w); }
  .vs__blip { opacity: .8; }
  .vs__sweep { transform: rotate(40deg); }
  .vp__roles li:first-child { color: var(--text); background: rgba(124, 92, 255, .18); border-color: rgba(124, 92, 255, .4); }
  .voice__wave i { transform: scaleY(.55); }
  .voice__wave i:nth-child(3n) { transform: scaleY(.9); }
  .voice__wave i:nth-child(4n+1) { transform: scaleY(.35); }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 12px; }
  .marquee__track span:nth-child(n+9) { display: none; }
  .flow__pulse { display: none; }
}
