/* Los anchos de texto van en em y no en ch: ch depende del "0" de cada fuente y
   cambiaría al llegar Sora (en Sora, 1ch ≈ 0.75em).
   Respaldos con las medidas de Sora (ancho y alturas medidos en el navegador),
   para que el texto no se reacomode cuando llega la fuente web. */
@font-face {
  font-family: "Sora Fallback";
  src: local("Segoe UI");
  size-adjust: 112.8%;
  ascent-override: 86%;
  descent-override: 25.7%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Sora Fallback Arial";
  src: local("Arial");
  size-adjust: 112.5%;
  ascent-override: 86.2%;
  descent-override: 25.8%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Sora Fallback Roboto";
  src: local("Roboto");
  size-adjust: 125.9%;
  ascent-override: 77%;
  descent-override: 23%;
  line-gap-override: 0%;
}

/* ==========================================================================
   Tokens: todo el estilo visual se cambia desde este bloque.
   ========================================================================== */
:root {
  color-scheme: dark;
  --bg: #020A18;            /* azul abismo, casi negro */
  --bg-deep: #03142B;       /* azul un poco más claro para profundidad */
  --ink: #E6F6FF;           /* texto principal */
  --muted: #8FB3C7;         /* texto secundario */
  --accent: #4DE1FF;        /* celeste brillante, único acento */
  --accent-soft: rgba(77, 225, 255, 0.16);
  --accent-ink: #02121F;    /* texto sobre el acento */
  --line: rgba(77, 225, 255, 0.18);
  --line-strong: rgba(77, 225, 255, 0.42);
  --glass: rgba(6, 24, 48, 0.55);
  --glass-solid: rgba(6, 24, 48, 0.9); /* sin backdrop-filter */
  --radius: 16px;
  --radius-btn: 10px;
  --wrap: 1080px;
  --font: "Sora", "Sora Fallback", "Sora Fallback Arial", "Sora Fallback Roboto", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Tipografía */
  --text: 1.0625rem;        /* 17px */
  --text-sm: 0.875rem;
  --text-lg: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --h1: clamp(2.3rem, 1.55rem + 3.2vw, 3.8rem);
  --h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
  --h3: 1.25rem;
  --leading: 1.65;
  --leading-tight: 1.12;
  --tracking: -0.02em;

  /* Espacios */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-gap: clamp(5rem, 11vw, 9rem);
  --measure: 46.5em;

  /* Movimiento */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  /* Viñeta muy sutil: el centro un poco más claro. */
  background-image: radial-gradient(ellipse 80% 70% at 50% 45%, var(--bg-deep), var(--bg) 75%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text);
  line-height: var(--leading);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: var(--leading-tight);
  text-wrap: balance;
}
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -0.01em; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: var(--accent); }

strong { font-weight: 600; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Las secciones son transparentes: se ve el fondo de neuronas. */
.section { padding-block: var(--section-gap); }

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 20;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--accent-ink);
}
.skip-link:focus { top: var(--space-4); }

/* Panel vidrio para los bloques con texto. */
.glass {
  background: var(--glass-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
  .glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}
.glass:hover { border-color: var(--line-strong); }

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-3) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { box-shadow: 0 0 24px var(--accent-soft), 0 0 0 1px var(--accent); }

.btn--secondary { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--secondary:hover { background: var(--accent-soft); }

.btn--small { min-height: 44px; padding: var(--space-2) var(--space-4); font-size: var(--text-sm); }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ==========================================================================
   Encabezado
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 10, 24, 0.85);
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header {
    background: rgba(2, 10, 24, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: 4.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 2px var(--accent);
}

.site-nav { display: none; margin-left: auto; }
.site-nav ul { display: flex; gap: var(--space-5); }
.site-nav a {
  padding-block: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--ink); }

.site-header .btn { margin-left: auto; }

@media (min-width: 48em) {
  .site-nav { display: block; }
  .site-header .btn { margin-left: 0; }
}

/* ==========================================================================
   1. Portada
   ========================================================================== */
.hero { padding-block: clamp(5rem, 14vw, 10rem) var(--section-gap); }

.hero h1 {
  font-size: var(--h1);
  max-width: 15.75em;
}

.hero__lead {
  margin-top: var(--space-5);
  max-width: 36em;
  color: var(--muted);
  font-size: var(--text-lg);
}

.hero .actions { margin-top: var(--space-6); }

/* ==========================================================================
   2. El problema
   ========================================================================== */
.problem__list {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-7);
}
.problem__list li {
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.problem__list p { margin-top: var(--space-2); max-width: 30em; color: var(--muted); }

@media (min-width: 48em) {
  .problem__list { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}

/* ==========================================================================
   3. Demo
   ========================================================================== */
.demo__intro p { margin-top: var(--space-4); max-width: var(--measure); color: var(--muted); }
.demo__intro strong { color: var(--ink); }

.demo__panels {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-7);
}

@media (min-width: 48em) {
  .demo__panels { grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
}

.viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.viewer__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.viewer__title { font-size: var(--h3); font-weight: 500; }

/* Rótulo de día y hora: reemplaza las etiquetas grises de las imágenes. */
.viewer__time {
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.viewer--positive .viewer__time { color: var(--accent); }
.viewer__time.is-changed { animation: time-flash 900ms var(--ease); }
@keyframes time-flash {
  0% { border-color: var(--accent); box-shadow: 0 0 18px var(--accent-soft); color: var(--ink); }
  100% { border-color: var(--line-strong); box-shadow: 0 0 0 transparent; }
}

/* El celular flota sobre el fondo, con un halo cian detrás. */
.viewer__phone {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}
.viewer__phone::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77, 225, 255, 0.22), rgba(77, 225, 255, 0.06) 60%, transparent);
  filter: blur(18px);
  pointer-events: none;
  animation: halo-breathe 6s ease-in-out infinite;
}
.viewer--positive .viewer__phone::before {
  background: radial-gradient(closest-side, rgba(77, 225, 255, 0.32), rgba(77, 225, 255, 0.08) 60%, transparent);
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.7; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* Caja con la proporción del recorte: alto fijo, ancho según el recorte. */
.viewer__stage {
  --stage-h: min(580px, 66vh);
  position: relative;
  width: min(100%, calc(var(--stage-h) * var(--cw, 553) / var(--ch, 844)));
  aspect-ratio: var(--cw, 553) / var(--ch, 844);
  transition: transform 300ms var(--ease);
}

/* Sin JS: se ve la hoja completa, una sola vez. */
.viewer__stage img { display: block; width: 100%; height: auto; }
.viewer__stage .frame + .frame { display: none; }

.js .viewer__stage .frame + .frame { display: block; }
.js .viewer__stage { cursor: pointer; }
.js .viewer__stage.is-last { cursor: default; }
.js .viewer__phone:hover .viewer__stage:not(.is-last) { transform: translateY(-6px); }
.js .viewer__stage .frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.js .viewer__stage .frame img {
  position: absolute;
  max-width: none;
  width: calc(100% * var(--iw) / var(--cw));
  height: auto;
  left: calc(-100% * var(--cx) / var(--cw));
  top: calc(-100% * var(--cy) / var(--ch));
}

/* Aviso de que el celular se toca para avanzar. */
.viewer__hint {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22%;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.95rem 0.5rem 0.7rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(2, 18, 31, 0.88);
  box-shadow: 0 0 24px var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
  animation: hint-bob 2.4s ease-in-out infinite;
}
.viewer__tap {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.viewer__tap::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  animation: tap-ripple 1.6s ease-out infinite;
}
@keyframes hint-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -5px); }
}
@keyframes tap-ripple {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(3); opacity: 0; }
}

.viewer__next { margin-top: var(--space-5); min-width: 12rem; }

/* Altura reservada para la leyenda más larga, así el cambio de paso no mueve nada. */
.viewer__caption {
  min-height: calc(3 * 1.65em);
  margin-top: var(--space-4);
  max-width: 34em;
}

.viewer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 44px;
}

.viewer__dots { display: flex; }
.viewer__dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.viewer__dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.viewer__dot:hover::before { border-color: var(--accent); }
.viewer__dot[aria-current="step"]::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.viewer__count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.viewer__summary {
  margin-top: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: var(--text-sm);
  visibility: hidden;
}
.viewer__summary.is-shown { visibility: visible; animation: summary-in 500ms var(--ease); }
.viewer--positive .viewer__summary { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 20px var(--accent-soft); }
@keyframes summary-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   4. Servicios
   ========================================================================== */
.services__panel {
  counter-reset: servicio;
  margin-top: var(--space-7);
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.service {
  counter-increment: servicio;
  display: grid;
  gap: var(--space-4);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}
.service + .service { border-top: 1px solid var(--line); }

.service__head::before {
  content: counter(servicio, decimal-leading-zero) " /";
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.service__head h3 { font-size: 1.5rem; }
.service__head p { margin-top: var(--space-2); max-width: 30em; color: var(--muted); }

.service__list { display: grid; gap: var(--space-3); }
.service__list li { position: relative; padding-left: 30px; }
/* Conector tipo sinapsis: una línea fina que termina en un punto cian. */
.service__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 16px;
  height: 1px;
  background: var(--line-strong);
}
.service__list li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: calc(0.82em - 2.5px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

@media (min-width: 64em) {
  .service {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-7);
  }
}

/* ==========================================================================
   5. Cómo trabajamos
   ========================================================================== */
.process__steps {
  counter-reset: paso;
  position: relative;
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-7);
  padding-left: 2.25rem;
}
/* La línea que une los pasos. */
.process__steps::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-strong);
}
.process__steps li { counter-increment: paso; position: relative; }
/* El nodo de cada paso. */
.process__steps li::before {
  content: "";
  position: absolute;
  left: calc(-2.25rem + 0.5px);
  top: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 0 4px var(--bg);
}
.process__steps h3::before {
  content: counter(paso, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.process__steps p { margin-top: var(--space-2); max-width: 27em; color: var(--muted); }

@media (min-width: 48em) {
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    padding-left: 0;
    padding-top: 2.25rem;
  }
  .process__steps::before {
    left: 6px;
    right: 0;
    top: 5px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .process__steps li::before { left: 0; top: calc(-2.25rem); }
}

/* ==========================================================================
   6. Preguntas frecuentes
   ========================================================================== */
.faq__grid { display: grid; gap: var(--space-6); }

@media (min-width: 64em) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-7); align-items: start; }
}

.faq__list { padding-inline: var(--space-5); }
.faq details + details { border-top: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: 3.75rem;
  padding-block: var(--space-3);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p { padding-bottom: var(--space-5); max-width: var(--measure); color: var(--muted); }

/* ==========================================================================
   7. Contacto: el bloque con más presencia
   ========================================================================== */
.contact__panel {
  padding: clamp(2rem, 6vw, 4rem);
  border-color: var(--line-strong);
  box-shadow: 0 0 60px rgba(77, 225, 255, 0.1), inset 0 0 40px rgba(77, 225, 255, 0.04);
}
.contact__panel:hover { border-color: var(--accent); }

.contact h2 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.8rem); max-width: 10.5em; }
.contact__lead { margin-top: var(--space-5); max-width: 36em; color: var(--muted); font-size: var(--text-lg); }
.contact .btn { margin-top: var(--space-6); }

.contact__channels {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-6);
  color: var(--muted);
}
.contact__channels a { color: var(--ink); font-weight: 500; word-break: break-word; }

@media (min-width: 64em) {
  .contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: var(--space-7);
    align-items: end;
  }
  .contact__channels { margin-top: 0; gap: var(--space-4); }
}

/* ==========================================================================
   Pie
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--space-6);
  color: var(--muted);
  font-size: var(--text-sm);
}
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.site-footer__links { display: flex; gap: var(--space-5); }
.site-footer__links a { display: inline-block; padding-block: var(--space-2); }

/* ==========================================================================
   Fondo de neuronas (canvas decorativo detrás de todo)
   ========================================================================== */
.neurons {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Texto que va directo sobre el fondo: un halo del color del fondo lo separa
   de las neuronas que pasan por detrás. */
.hero h1, .hero__lead, h2, .problem__list, .demo__intro p, .viewer__head,
.viewer__caption, .viewer__count, .process__steps {
  text-shadow: 0 0 2px var(--bg), 0 0 12px var(--bg), 0 0 24px var(--bg);
}

/* ==========================================================================
   Animaciones de la página (solo con movimiento permitido)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Portada: entra por partes al cargar. */
  .hero h1,
  .hero__lead,
  .hero .actions { animation: rise-in 900ms var(--ease) both; }
  .hero__lead { animation-delay: 160ms; }
  .hero .actions { animation-delay: 300ms; }

  /* El botón principal de la portada respira. */
  .hero .btn--primary { animation: cta-glow 3.2s ease-in-out 1.4s infinite; }

  /* La "neurona" del wordmark late. */
  .wordmark__dot { animation: dot-pulse 2.8s ease-in-out infinite; }

  /* Secciones: sus partes entran escalonadas al aparecer (las marca script.js). */
  .reveal-ready [data-reveal] [data-stagger] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .reveal-ready [data-reveal].is-visible [data-stagger] { opacity: 1; transform: none; }

  /* "Cómo trabajamos": la línea se dibuja y los nodos se encienden. */
  .reveal-ready .process__steps::before {
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.4s var(--ease) 250ms;
  }
  .reveal-ready .process__steps li::before {
    transform: scale(0);
    transition: transform 500ms cubic-bezier(0.3, 1.6, 0.5, 1);
    transition-delay: calc(400ms + var(--i, 0) * 260ms);
  }
  .reveal-ready [data-reveal].is-visible .process__steps::before,
  .reveal-ready [data-reveal].is-visible .process__steps li::before { transform: none; }

  @media (min-width: 48em) {
    .reveal-ready .process__steps::before { transform: scaleX(0); transform-origin: left; }
  }

  /* Sinapsis de los servicios que titilan, cada una a su tiempo. */
  .service__list li::after { animation: twinkle 4s ease-in-out infinite; }
  .service__list li:nth-child(2)::after { animation-delay: 0.7s; }
  .service__list li:nth-child(3)::after { animation-delay: 1.4s; }
  .service__list li:nth-child(4)::after { animation-delay: 2.1s; }
  .service__list li:nth-child(5)::after { animation-delay: 2.8s; }
  .service__list li:nth-child(6)::after { animation-delay: 3.5s; }

  .service h3 { transition: color var(--dur) var(--ease); }
  .service:hover h3 { color: var(--accent); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(77, 225, 255, 0); }
  50% { box-shadow: 0 0 28px rgba(77, 225, 255, 0.38); }
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 10px var(--accent), 0 0 2px var(--accent); }
  50% { box-shadow: 0 0 18px var(--accent), 0 0 4px var(--accent); opacity: 0.75; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 4px var(--accent); }
  50% { opacity: 1; box-shadow: 0 0 12px var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
