/* =============================================================
   Divantrex — styles.css
   Estética del video: fondo negro puro + tubo de neón
   (núcleo casi blanco con halo verde).
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #000;
  --surface: #050805;
  --ink: #eef6ec;
  --ink-2: #b6c2b3;
  --mute: #7b8878;
  --neon: #37f613;            /* verde del logo */
  --neon-rgb: 55, 246, 19;
  --core: #f0ffe8;            /* núcleo blanco del tubo */
  --on-neon: #041a00;         /* texto sobre fondo neón */
  --line: rgba(238, 246, 236, 0.09);
  --line-2: rgba(238, 246, 236, 0.17);

  --display: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1240px;
  --nav-h: 64px;
  --seq-h: 440vh;             /* largo del scroll de la portada */

  --glow-text:
    0 0 1px rgba(240, 255, 232, 0.9),
    0 0 8px rgba(var(--neon-rgb), 0.85),
    0 0 22px rgba(var(--neon-rgb), 0.5),
    0 0 48px rgba(var(--neon-rgb), 0.28);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 88%;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
em { font-style: normal; }
::selection { background: var(--neon); color: #000; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  padding: .6rem 1rem; border-radius: 8px;
  background: var(--neon); color: var(--on-neon); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--display); font-size: .7rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--neon);
}
.kicker::before {            /* un "píxel" de neón, como los bloques del logo */
  content: ""; width: .6em; height: .6em; flex: none;
  background: var(--neon); box-shadow: 0 0 8px var(--neon);
}
.glow { color: var(--core); text-shadow: var(--glow-text); }

/* Íconos de neón: el mismo trazo dibujado dos veces (halo verde + núcleo blanco) */
.neon-ico {
  fill: none; stroke-linecap: round; stroke-linejoin: round; overflow: visible; flex: none;
  filter: drop-shadow(0 0 1.5px rgba(var(--neon-rgb), .9)) drop-shadow(0 0 6px rgba(var(--neon-rgb), .5));
}
.neon-ico .tube-glow { stroke: var(--neon); stroke-width: 2.6; }
.neon-ico .tube-core { stroke: var(--core); stroke-width: 1.05; }
.ico-arrow { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =============================================================
   4. Botones y links
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 50px; padding: .8rem 1.45rem; border-radius: 999px;
  font-family: var(--display); font-size: .74rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out),
              background-color .3s, color .3s, border-color .3s;
}
.btn .neon-ico { width: 1.45em; height: 1.45em; }
.btn-primary {
  background: var(--neon); color: var(--on-neon);
  box-shadow: 0 0 0 1px var(--neon), 0 0 18px rgba(var(--neon-rgb), .45), 0 0 46px rgba(var(--neon-rgb), .2);
}
.btn-primary .neon-ico { filter: none; }
.btn-primary .neon-ico .tube-glow { stroke: var(--on-neon); stroke-width: 2.1; }
.btn-primary .neon-ico .tube-core { stroke: none; }
.btn-primary:hover {
  transform: translateY(-2px); background: #5dff3d;
  box-shadow: 0 0 0 1px #5dff3d, 0 0 26px rgba(var(--neon-rgb), .7), 0 0 70px rgba(var(--neon-rgb), .32);
}
.btn-ghost {
  color: var(--ink); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover {
  transform: translateY(-2px); color: var(--core); border-color: rgba(var(--neon-rgb), .9);
  box-shadow: 0 0 16px rgba(var(--neon-rgb), .25), inset 0 0 12px rgba(var(--neon-rgb), .12);
}
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .66rem; }
.btn-lg { min-height: 58px; padding: 1rem 1.8rem; font-size: .8rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--ink); font-weight: 500;
  border-bottom: 1px solid rgba(var(--neon-rgb), .45); padding-bottom: .25rem;
  transition: color .3s, border-color .3s, gap .4s var(--ease-out);
}
.link-arrow .neon-ico { width: 1.3em; height: 1.3em; }
.link-arrow:hover { color: var(--core); border-color: var(--neon); gap: .9rem; }

/* =============================================================
   5. Navegación
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; gap: 1.5rem;
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s;
}
.nav.is-solid { background: rgba(0, 0, 0, .86); border-bottom-color: var(--line); }
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .nav.is-solid {
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}
.nav-brand {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--display); font-weight: 700; font-size: .86rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.nav-mark { width: 21px; height: 27px; }
.nav-mark .tube-glow { stroke-width: 3.4; }
.nav-mark .tube-core { stroke-width: 1.3; }

.nav-links { display: none; margin-left: auto; gap: 2.2rem; font-size: .92rem; }
.nav-links a { position: relative; color: var(--ink-2); transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--neon); box-shadow: 0 0 8px var(--neon);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.nav-links a:hover { color: var(--core); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: none; }

/* Menú del celular (funciona sin JS gracias a <details>) */
.menu { margin-left: auto; }
.menu-btn {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .6rem;
  min-height: 40px; padding: .4rem .95rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink);
  font-family: var(--display); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.menu-btn::-webkit-details-marker { display: none; }
.menu-lines { position: relative; width: 14px; height: 8px; }
.menu-lines::before, .menu-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--neon);
  box-shadow: 0 0 6px var(--neon); transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.menu-lines::before { top: 0; }
.menu-lines::after { top: 6.5px; }
.menu[open] .menu-lines::before { top: 3.25px; transform: rotate(45deg); }
.menu[open] .menu-lines::after { top: 3.25px; transform: rotate(-45deg); }
.menu-panel {
  position: fixed; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top));
  height: calc(100svh - var(--nav-h) - env(safe-area-inset-top));
  padding: 2rem var(--gutter);
  display: flex; flex-direction: column; gap: .2rem;
  background: rgba(0, 0, 0, .96);
  border-top: 1px solid var(--line);
}
.menu-panel a {
  display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 600; font-stretch: 88%;
  font-size: 1.6rem; letter-spacing: -.03em; color: var(--ink);
}
.menu-panel a span { font-size: .72rem; color: var(--neon); letter-spacing: .1em; }
.menu-panel a:hover, .menu-panel a:focus-visible { color: var(--core); text-shadow: var(--glow-text); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu { display: none; }
}

/* =============================================================
   6. Portada: video que avanza con el scroll
   ============================================================= */
.seq { position: relative; z-index: 1; background: #000; }
.js .seq { height: var(--seq-h); }
.seq-sticky { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; }
.js .seq-sticky { position: sticky; top: 0; }

.seq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.seq.is-on .seq-canvas { animation: neonOn 1.3s linear forwards; }
.seq-poster { position: absolute; left: 0; top: 0; width: 100%; height: 62%; object-fit: cover; }
.seq-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(130% 95% at 50% 45%, transparent 58%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 16%, transparent 58%, rgba(0, 0, 0, .7) 100%);
}

/* Textos que aparecen en cada etapa del video */
.beat {                      /* en el celular quedan por encima del botón de WhatsApp */
  position: absolute; z-index: 2;
  left: var(--gutter); right: var(--gutter);
  bottom: calc(78px + env(safe-area-inset-bottom));
}
.beat-in { position: relative; }
.beat-in::before {           /* sombra suave detrás del texto, para leer bien sobre el neón */
  content: ""; position: absolute; inset: -2.5rem -3rem; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .78), rgba(0, 0, 0, .4) 62%, transparent);
}
.js .beat { visibility: hidden; }
.js .beat-in { opacity: 0; will-change: opacity, transform; }

.beat .kicker { margin-bottom: 1rem; }
.beat-title { font-size: clamp(1.9rem, 8.2vw, 2.7rem); }
.beat-title--sm { font-size: clamp(1.55rem, 6.4vw, 2.2rem); }
.beat-text { margin-top: .9rem; max-width: 31rem; font-size: 1rem; color: var(--ink-2); }
.beat-link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem;
  font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--core); border-bottom: 1px solid rgba(var(--neon-rgb), .6); padding-bottom: .25rem;
  transition: gap .4s var(--ease-out), border-color .3s;
}
.beat-link:hover { gap: .8rem; border-color: var(--neon); }
.beat--d { text-align: center; bottom: calc(96px + env(safe-area-inset-bottom)); }
.beat--d .beat-text { margin-inline: auto; }
.beat-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.4rem; }

.seq-hint {
  display: none;
  position: absolute; left: 50%; bottom: 3.2svh; translate: -50% 0; z-index: 3;
  flex-direction: column; align-items: center; gap: .7rem;
  font-family: var(--display); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mute); transition: opacity .5s;
}
.seq-hint i {
  width: 1px; height: 40px; transform-origin: top;
  background: linear-gradient(var(--neon), transparent);
  animation: hintDrop 2.4s var(--ease-soft) infinite;
}
.seq-hint.is-hidden { opacity: 0; }
.seq-rail { display: none; }

/* Sin JS (o si falla): portada estática con el logo y el primer texto */
html:not(.js) .beat--b, html:not(.js) .beat--c, html:not(.js) .beat--d,
html:not(.js) .seq-hint, html:not(.js) .seq-rail { display: none; }

@media (min-width: 960px) and (orientation: landscape) {
  :root { --seq-h: 520vh; }
  .beat { right: auto; bottom: auto; width: min(40vw, 36rem); }
  .beat--a { left: var(--gutter); top: 50%; translate: 0 -50%; }
  .beat--b { left: var(--gutter); bottom: 10vh; }
  .beat--c { left: auto; right: max(104px, calc(var(--gutter) + 48px)); bottom: 10vh; text-align: right; } /* deja lugar al botón de WhatsApp */
  .beat--c .beat-text { margin-left: auto; }
  .beat--d { left: 50%; translate: -50% 0; bottom: 7vh; width: min(92vw, 48rem); }
  .beat-title { font-size: clamp(2.5rem, 4.4vw, 4.5rem); }
  .beat-title--sm { font-size: clamp(2rem, 3.1vw, 3rem); }
  .beat-text { font-size: 1.1rem; }
  .seq-poster { left: 28%; width: 72%; height: 100%; }

  .seq-hint { display: flex; }
  .seq-rail {
    display: block; position: absolute; z-index: 3;
    right: var(--gutter); top: 50%; translate: 0 -50%;
    width: 2px; height: 24vh; background: var(--line-2);
  }
  .seq-rail i {
    position: absolute; inset: 0; transform-origin: top; transform: scaleY(0);
    background: var(--core);
    box-shadow: 0 0 6px var(--neon), 0 0 14px rgba(var(--neon-rgb), .6);
  }
}

/* =============================================================
   7. Cinta de servicios
   ============================================================= */
.marquee {
  position: relative; z-index: 1; overflow: hidden; background: #000;
  border-block: 1px solid var(--line); padding: 1.1rem 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee-group {
  display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem;
  font-family: var(--display); font-size: clamp(.9rem, 1.8vw, 1.2rem); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2);
}
.marquee-group i {
  display: inline-block; width: .5em; height: .5em;
  background: var(--neon); box-shadow: 0 0 10px var(--neon);
}

/* =============================================================
   8. Secciones
   ============================================================= */
.section { position: relative; z-index: 1; padding-block: clamp(5rem, 12vw, 9rem); }
.section-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { margin-top: 1rem; font-size: clamp(2rem, 5.2vw, 3.7rem); }
.section-sub { margin-top: 1.2rem; max-width: 40rem; font-size: 1.1rem; }
.section-head--center .section-sub { margin-inline: auto; }

/* --- El estudio (texto que se ilumina con el scroll) --- */
.manifesto-text {
  margin-top: 1.8rem; max-width: 34ch;
  font-family: var(--display); font-weight: 500; font-stretch: 88%;
  font-size: clamp(1.4rem, 3.3vw, 2.6rem); line-height: 1.32; letter-spacing: -.03em;
  color: var(--ink);
}
.manifesto-text em { color: var(--core); text-shadow: var(--glow-text); }
.js [data-lit] .w { color: rgba(238, 246, 236, .16); text-shadow: none; transition: color .45s var(--ease-soft), text-shadow .45s; }
.js [data-lit] .w.is-lit { color: var(--ink); }
.js [data-lit] em .w.is-lit { color: var(--core); text-shadow: var(--glow-text); }

/* --- Servicios --- */
.rows { border-top: 1px solid var(--line-2); }
.row { position: relative; border-bottom: 1px solid var(--line-2); }
.row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--neon); box-shadow: 0 0 8px var(--neon);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.row:hover::after, .row[open]::after { transform: scaleX(1); }
.row summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: center; gap: .8rem;
  padding: 1.4rem 0;
}
.row summary::-webkit-details-marker { display: none; }
.row-num { font-family: var(--display); font-size: .76rem; color: var(--mute); transition: color .3s, text-shadow .3s; }
.row-title {
  font-family: var(--display); font-weight: 600; font-stretch: 88%;
  font-size: clamp(1.2rem, 3.2vw, 2.1rem); letter-spacing: -.035em; line-height: 1.15; color: var(--ink);
  transition: color .3s, text-shadow .3s, transform .5s var(--ease-out);
}
.row-plus {
  position: relative; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: border-color .3s, box-shadow .3s, color .3s;
}
.row-plus::before, .row-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px;
  background: currentColor; translate: -50% -50%;
}
.row-plus::after { rotate: 90deg; transition: rotate .45s var(--ease-out); }
.row[open] .row-plus::after { rotate: 0deg; }
.row summary:hover .row-title, .row[open] .row-title { color: var(--core); text-shadow: var(--glow-text); }
.row summary:hover .row-num, .row[open] .row-num { color: var(--neon); }
.row summary:hover .row-plus, .row[open] .row-plus {
  border-color: var(--neon); color: var(--neon); box-shadow: 0 0 12px rgba(var(--neon-rgb), .45);
}
.row-body { padding: 0 0 1.8rem; max-width: 50rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tags li {
  font-family: var(--display); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .7rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2);
}

/* --- Por qué --- */
.why .kicker { margin-bottom: 2rem; }
.why-grid {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
.why-item { background: #000; padding: 2.2rem 1.8rem 2.4rem; }
.why-num {
  font-family: var(--display); font-weight: 700; font-stretch: 88%;
  font-size: clamp(3rem, 7vw, 4.8rem); line-height: 1; letter-spacing: -.06em;
  color: var(--core); text-shadow: var(--glow-text);
}
.why-num small { font-size: .45em; letter-spacing: 0; margin-left: .08em; color: var(--neon); text-shadow: none; }
.why-item h3 { margin-top: 1.4rem; font-size: 1.15rem; letter-spacing: -.02em; }
.why-item p:last-child { margin-top: .6rem; }

/* --- Proceso: escalera de neón (como el logo) --- */
.process::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--neon-rgb), .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--neon-rgb), .05) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 25%, transparent 75%);
}
.steps { --rise: 0px; position: relative; display: grid; gap: 2.6rem; }
.step { position: relative; padding: 1.3rem 0 0 1.7rem; }
.step-line { position: absolute; background: var(--line-2); }
.step-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--core);
  box-shadow: 0 0 4px var(--neon), 0 0 12px rgba(var(--neon-rgb), .8), 0 0 26px rgba(var(--neon-rgb), .4);
  transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease-out);
}
.step-line--riser { left: 0; top: 0; bottom: -2.6rem; width: 2px; }
.step:last-child .step-line--riser { bottom: 0; }
.step-line--tread { left: 0; top: 0; width: 1.1rem; height: 2px; }
.step-line--tread::after { transform: scaleX(0); transform-origin: left; }
.step.is-lit .step-line::after { transform: none; }
.step.is-lit .step-line--tread::after { transition-delay: .2s; }
.step-num {
  font-family: var(--display); font-size: .76rem; letter-spacing: .12em; color: var(--mute);
  transition: color .5s, text-shadow .5s;
}
.step.is-lit .step-num { color: var(--neon); text-shadow: 0 0 10px rgba(var(--neon-rgb), .7); }
.step h3 { margin-top: .6rem; font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
.step p { margin-top: .6rem; max-width: 30ch; }
html:not(.js) .step-line::after { transform: none; }

/* --- Planes --- */
.plans-grid { display: grid; gap: 1.6rem; max-width: 62rem; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 2.3rem 1.8rem 1.8rem; border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(var(--neon-rgb), .5); box-shadow: 0 0 30px rgba(var(--neon-rgb), .12); }
.plan--pro {
  border-color: rgba(var(--neon-rgb), .85);
  background: radial-gradient(120% 60% at 50% 0%, rgba(var(--neon-rgb), .1), transparent 60%), #030503;
  box-shadow: 0 0 0 1px rgba(var(--neon-rgb), .45), 0 0 22px rgba(var(--neon-rgb), .22),
              0 0 60px rgba(var(--neon-rgb), .1), inset 0 0 30px rgba(var(--neon-rgb), .06);
}
.plan--pro:hover {
  border-color: var(--neon);
  box-shadow: 0 0 0 1px rgba(var(--neon-rgb), .7), 0 0 30px rgba(var(--neon-rgb), .32),
              0 0 80px rgba(var(--neon-rgb), .14), inset 0 0 30px rgba(var(--neon-rgb), .08);
}
.plan-badge {
  position: absolute; top: -.85rem; left: 1.8rem;
  padding: .35rem .8rem; border-radius: 999px;
  font-family: var(--display); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--neon); color: var(--on-neon); box-shadow: 0 0 16px rgba(var(--neon-rgb), .6);
}
.plan-kicker { font-family: var(--display); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.plan-name { margin-top: .3rem; font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.plan--pro .plan-name { color: var(--core); text-shadow: var(--glow-text); }
.plan-for { margin-top: .6rem; }
.plan-price {
  display: flex; align-items: baseline; margin: 1.6rem 0 1.5rem;
  font-family: var(--display); font-weight: 700; font-stretch: 88%;
  font-size: clamp(2.6rem, 6vw, 3.5rem); line-height: 1; letter-spacing: -.06em; color: var(--ink);
}
.plan-cur { align-self: flex-start; margin: .18em .12em 0 0; font-size: .5em; color: var(--neon); }
.plan-ars { margin-left: .5rem; font-size: .26em; letter-spacing: .12em; color: var(--mute); }
.plan-features { flex: 1; margin-bottom: 2rem; }
.plan-list {
  display: grid; align-content: start; gap: .85rem;
  padding-top: 1.5rem; border-top: 1px dashed var(--line-2);
}
.plan-ai-title {
  display: flex; align-items: center; gap: .7rem; margin: 1.7rem 0 1rem;
  font-family: var(--display); font-size: .64rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--neon);
}
.plan-ai-title::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(var(--neon-rgb), .55), transparent);
}
.plan-list--ai { padding-top: 0; border-top: 0; }
.plan-list--ai strong { font-weight: 600; color: var(--core); text-shadow: 0 0 12px rgba(var(--neon-rgb), .5); }
.plan-list--ai li::before { box-shadow: 0 0 6px var(--neon), 0 0 14px rgba(var(--neon-rgb), .7); }
.plan-list li { position: relative; padding-left: 1.7rem; line-height: 1.5; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: .6rem; height: .6rem;
  border: 1.5px solid var(--neon); box-shadow: 0 0 6px rgba(var(--neon-rgb), .6);
}
.plan--pro .plan-list li::before { background: var(--neon); }
.plans-note { margin-top: 2.2rem; text-align: center; font-size: .92rem; color: var(--mute); }

/* --- Quién está detrás --- */
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-fig {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 1;
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #000;
}
.about-fig img { width: 100%; height: 100%; object-fit: cover; }
.about-fig.is-in img { animation: neonOn 1.3s linear both; }
.about-role {
  margin-top: .9rem; font-family: var(--display); font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--neon);
}
.about-text { margin-top: 1.3rem; max-width: 38rem; font-size: 1.1rem; }
.about-copy .link-arrow { display: flex; width: fit-content; margin-top: 1.8rem; }
.about-copy .link-arrow + .link-arrow { margin-top: 1.1rem; }

/* --- Preguntas --- */
.faq-grid { display: grid; gap: 1rem; }
.faq-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem;
  padding: 1.35rem 0;
  font-family: var(--display); font-weight: 600; font-stretch: 88%;
  font-size: clamp(1rem, 2vw, 1.2rem); letter-spacing: -.02em; line-height: 1.35; color: var(--ink);
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; color: var(--neon); font-weight: 400; font-size: 1.3em; line-height: 1; transition: rotate .4s var(--ease-out); }
.qa[open] summary::after { rotate: 45deg; }
.qa summary:hover { color: var(--core); }
.qa p { padding: 0 0 1.5rem; max-width: 44rem; }

/* --- Contacto --- */
.cta { text-align: center; }
.cta-halo {
  position: absolute; inset: -20% -10% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 38% at 50% 52%, rgba(var(--neon-rgb), .14), transparent 72%);
  filter: blur(40px);
}
.cta .kicker { justify-content: center; }
.cta-title { margin-top: 1.2rem; font-size: clamp(2.6rem, 9.5vw, 7.4rem); line-height: .98; letter-spacing: -.06em; }
.cta-sub { max-width: 34rem; margin: 1.5rem auto 0; font-size: 1.15rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.4rem; }
.cta-contact {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.6rem; margin-top: 3rem;
  font-family: var(--display); font-size: .78rem;
}
.cta-contact span { margin-right: .7rem; color: var(--mute); letter-spacing: .14em; text-transform: uppercase; }
.cta-contact a { color: var(--ink); transition: color .3s, text-shadow .3s; }
.cta-contact a:hover { color: var(--core); text-shadow: var(--glow-text); }

/* --- Pie --- */
.footer {
  position: relative; z-index: 1; border-top: 1px solid var(--line);
  padding: 3rem 0 calc(6.5rem + env(safe-area-inset-bottom));
}
.footer-inner { display: grid; gap: 1.2rem; }
.footer-brand {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--display); font-weight: 700; font-size: .86rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.footer-tag { font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .92rem; }
.footer-links a { color: var(--ink-2); transition: color .3s; }
.footer-links a:hover { color: var(--core); }
.footer-copy { font-size: .82rem; color: var(--mute); }

/* =============================================================
   9. Botón flotante de WhatsApp (neón)
   ============================================================= */
.wa-float {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .7rem;
  pointer-events: none;        /* solo el círculo recibe toques: la etiqueta invisible no tapa nada */
}
.wa-float-btn { pointer-events: auto; }
@media (hover: none) { .wa-float-label { display: none; } }
.wa-float-btn {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #000; border: 1.5px solid rgba(var(--neon-rgb), .95);
  box-shadow: 0 0 10px rgba(var(--neon-rgb), .55), 0 0 28px rgba(var(--neon-rgb), .25), inset 0 0 12px rgba(var(--neon-rgb), .25);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.wa-float-btn .neon-ico {
  width: 29px; height: 29px;
  filter: drop-shadow(0 0 2px rgba(var(--neon-rgb), 1)) drop-shadow(0 0 7px rgba(var(--neon-rgb), .75)) drop-shadow(0 0 16px rgba(var(--neon-rgb), .4));
}
.wa-float:hover .wa-float-btn, .wa-float:focus-visible .wa-float-btn {
  transform: scale(1.07);
  box-shadow: 0 0 14px rgba(var(--neon-rgb), .8), 0 0 40px rgba(var(--neon-rgb), .4), inset 0 0 16px rgba(var(--neon-rgb), .35);
}
.wa-float-label {
  padding: .5rem .85rem; border-radius: 999px; white-space: nowrap; pointer-events: none;
  font-family: var(--display); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--core); background: rgba(0, 0, 0, .88); border: 1px solid rgba(var(--neon-rgb), .5);
  opacity: 0; translate: 8px 0; transition: opacity .35s, translate .45s var(--ease-out);
}
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { opacity: 1; translate: 0 0; }
/* Sello de Netlify (abajo a la derecha): el botón de WhatsApp sube y los textos le dejan lugar */
.has-host-badge .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
.has-host-badge .footer { padding-bottom: calc(9.5rem + env(safe-area-inset-bottom)); }
@media (max-width: 959.98px), (orientation: portrait) {
  .has-host-badge .beat { bottom: calc(150px + env(safe-area-inset-bottom)); }
}
.js .wa-float { opacity: 0; }
.js .wa-float.is-on { animation: neonOn 1.2s linear forwards; }
.wa-float.is-on .wa-float-btn { animation: waBreath 5s ease-in-out 1.6s infinite; }

/* Halo que sigue al mouse (solo compu) */
.cursor-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--neon-rgb), .07), transparent 62%);
}
.cursor-glow.is-on { opacity: 1; }

/* =============================================================
   10. Efectos
   ============================================================= */
.js [data-reveal] {
  opacity: 0; translate: 0 26px;
  transition: opacity .9s var(--ease-out), translate 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; translate: none; }
.js [data-neon-on] { opacity: .12; }
.js [data-neon-on].is-in { animation: neonOn 1.3s linear forwards; }

/* El tubo de neón "se prende": dos parpadeos suaves y queda encendido */
@keyframes neonOn {
  0%   { opacity: 0; }
  10%  { opacity: .65; }
  16%  { opacity: .15; }
  30%  { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes waBreath {
  0%, 100% { box-shadow: 0 0 10px rgba(var(--neon-rgb), .55), 0 0 28px rgba(var(--neon-rgb), .25), inset 0 0 12px rgba(var(--neon-rgb), .25); }
  50%      { box-shadow: 0 0 14px rgba(var(--neon-rgb), .75), 0 0 44px rgba(var(--neon-rgb), .38), inset 0 0 16px rgba(var(--neon-rgb), .35); }
}
@keyframes hintDrop {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =============================================================
   11. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .plan { padding: 2.6rem 2.2rem 2.2rem; }
  .row summary { grid-template-columns: 4rem 1fr auto; padding: 1.7rem 0; }
  .row-body { padding-left: 4.8rem; }
  .wa-float { right: max(22px, env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); }
  .wa-float-btn { width: 62px; height: 62px; }
  .wa-float-btn .neon-ico { width: 32px; height: 32px; }
}
@media (min-width: 960px) {
  .steps { --rise: 84px; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .step { padding: 1.8rem 1.6rem 0; }
  .step:nth-child(2) { margin-top: var(--rise); }
  .step:nth-child(3) { margin-top: calc(var(--rise) * 2); }
  .step:nth-child(4) { margin-top: calc(var(--rise) * 3); }
  .step-line--tread { width: auto; right: 0; }
  .step-line--riser, .step:last-child .step-line--riser { top: calc(-1 * var(--rise)); bottom: auto; height: calc(var(--rise) + 2px); }
  .step:first-child .step-line--riser { display: none; }

  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .faq-grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
  .footer { padding-bottom: calc(3rem + env(safe-area-inset-bottom)); }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2.5rem; }
  .footer-copy { grid-column: 1 / -1; }
}

/* =============================================================
   12. Movimiento reducido: solo se apagan los parpadeos y los loops
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seq.is-on .seq-canvas,
  .js .wa-float.is-on,
  .js [data-neon-on].is-in,
  .about-fig.is-in img { animation: fadeIn .6s ease forwards; }
  .wa-float.is-on .wa-float-btn, .seq-hint i { animation: none; }
  .marquee-track { animation-duration: 90s; }
}
