/* ============================================================
   Web EVA · estilos · carcasa cinematográfica oscura premium
   Usa los tokens de ./tokens.css (3-capa, validados vs micro1)
   ============================================================ */

:root {
  --ease: var(--primitive-easing-out, cubic-bezier(0.16, 1, 0.3, 1));
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

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

/* W2 · View Transitions entre / y /marcas/ (consolidación): crossfade de documento
   en vez de recarga blanca. Progressive enhancement: navegadores sin soporte navegan normal. */
@view-transition { navigation: auto; }
.grain { view-transition-name: none; } /* el grano no debe parpadear en la transición */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vtOut 0.28s var(--ease) both; }
  ::view-transition-new(root) { animation: vtIn 0.36s var(--ease) both; }
}
@keyframes vtOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden; /* evita scroll horizontal por glows/elementos decorativos en móvil */
  background: var(--color-background);
  color: var(--color-body);
  font-family: var(--font-body);
  font-weight: var(--primitive-fontWeight-regular);
  font-size: var(--primitive-fontSize-body-lg);
  line-height: var(--primitive-lineHeight-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: var(--primitive-fontWeight-light); margin: 0; color: var(--color-foreground); }
::selection { background: rgba(108,140,255,0.3); color: #fff; }

/* a11y · contenido solo para lectores de pantalla (titulares de sección para SEO/AEO sin tocar diseño) */
.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;
}

/* foco de teclado visible (accesibilidad) — usa el ring periwinkle */
:where(a, button, summary, input, [tabindex]):focus-visible,
.chip:focus-visible, .pain-item__head:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* grano filmic global */
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* eyebrow / meta */
.eyebrow {
  font-size: var(--eyebrow-size); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-meta); margin: 0 0 1.25rem; font-weight: var(--primitive-fontWeight-regular);
}

/* section heads */
.section-head { max-width: 60ch; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.12; letter-spacing: -0.01em; }
.section-head__sub { color: var(--color-body-muted); margin: 1.25rem 0 0; max-width: 56ch; }

/* generic section rhythm */
main > section { padding-block: clamp(5rem, 12vh, 11rem); position: relative; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border-radius: var(--primitive-radius-pill); font-family: inherit;
  font-size: 0.95rem; font-weight: var(--primitive-fontWeight-medium);
  padding: 0.85rem 1.6rem; cursor: pointer; line-height: 1;
  transition: transform var(--primitive-duration-fast) var(--ease),
              background var(--primitive-duration-normal) var(--ease),
              border-color var(--primitive-duration-normal) var(--ease),
              box-shadow var(--primitive-duration-normal) var(--ease),
              color var(--primitive-duration-normal) var(--ease);
}
.btn svg { transition: transform var(--primitive-duration-normal) var(--ease); }
.btn--ghost {
  background: var(--button-primary-bg); color: var(--button-primary-fg);
  border: 1px solid var(--button-primary-border);
  box-shadow: 0 0 26px -10px rgba(108,140,255,0.45);
}
.btn--ghost:hover { color: #fff; border-color: rgba(108,140,255,0.5); box-shadow: 0 0 38px -6px rgba(108,140,255,0.7); }
.btn--ghost:hover svg { transform: translateY(2px); }
.btn--cta {
  background: var(--button-cta-bg); color: var(--button-cta-fg); border: 1px solid transparent;
  box-shadow: 0 0 28px -10px rgba(108,140,255,0.45);
}
.btn--cta:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 0 40px -6px rgba(108,140,255,0.65); }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background var(--primitive-duration-normal) var(--ease); }
.nav__inner {
  max-width: var(--container); margin-inline: auto; padding: 1.1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}
.nav.is-scrolled {
  background: var(--nav-bg); backdrop-filter: blur(var(--nav-blur)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--nav-blur)) saturate(1.2);
  border-bottom: 1px solid var(--color-border);
}
.nav__logo { font-size: 1.35rem; font-weight: var(--primitive-fontWeight-medium); color: var(--color-foreground); letter-spacing: 0.02em; }
.nav__dot { color: var(--color-brand); }
.nav__menu { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }
.nav__links { display: flex; gap: 1.4rem; flex-shrink: 0; }
.nav__links a { font-size: 0.9rem; color: var(--color-body-muted); white-space: nowrap; transition: color var(--primitive-duration-normal) var(--ease); }
.nav__links a:hover { color: var(--color-foreground); }
.nav__cta { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.nav__burger { display: none; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 9px; }
.nav__burger span { display: block; height: 1.5px; width: 100%; background: var(--color-foreground); transition: transform var(--primitive-duration-normal) var(--ease), opacity var(--primitive-duration-normal) var(--ease); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1080px) {
  .nav__burger { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(var(--nav-blur)); -webkit-backdrop-filter: blur(var(--nav-blur));
    border-bottom: 1px solid var(--color-border);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity var(--primitive-duration-normal) var(--ease), transform var(--primitive-duration-normal) var(--ease);
  }
  .nav.is-menu-open .nav__menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links { flex-direction: column; gap: 0.6rem; }
  .nav__links a { padding-block: 0.55rem; } /* área táctil ≥44px en el desplegable */
  .nav__cta { align-self: flex-start; }
}

/* ---------- CONMUTADOR DE AUDIENCIA (consolidación distribuidores/marcas) ---------- */
.nav__switch {
  position: relative; display: inline-flex; align-items: center; gap: 0; flex-shrink: 0;
  padding: 3px; border: 1px solid var(--color-border); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
/* thumb deslizante: posición dada por data-eva-page del <html> (0 KB JS) */
.nav__switch::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px); border-radius: 999px; z-index: 0;
  background: rgba(108, 140, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(108, 140, 255, 0.45);
  transition: left 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}
html[data-eva-page="marcas"] .nav__switch::before { left: 50%; }
.nav__switch-opt {
  position: relative; z-index: 1; flex: 1 1 0; text-align: center;
  font-size: 0.82rem; color: var(--color-body-muted); white-space: nowrap;
  padding: 0.34rem 0.95rem; border-radius: 999px;
  transition: color var(--primitive-duration-normal) var(--ease);
}
.nav__switch-opt:hover { color: var(--color-foreground); }
.nav__switch-opt.is-active { color: var(--color-foreground); }
/* W5 · estados de presión (no existía ni un :active en la web) */
.btn:active { transform: translateY(1px) scale(0.985); }
.chip:active { transform: scale(0.97); }
.nav__switch-opt:active { transform: scale(0.96); }
@media (max-width: 1080px) {
  .nav__switch { margin-left: auto; margin-right: 0.75rem; }
  .nav__switch-opt { font-size: 0.76rem; padding: 0.3rem 0.72rem; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 400px) {
  .nav__switch-opt { padding: 0.3rem 0.58rem; font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__switch::before { transition: none; }
  .btn:active, .chip:active, .nav__switch-opt:active { transform: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  text-align: center; overflow: hidden; padding: 6rem 0 3.5rem;
}
.hero__wave, .hero__wave-fallback, .hero__media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0; pointer-events: none;
}
.hero__media { object-position: center 60%; }
/* animación CSS gratis del hero B: Ken Burns lento + pulso del núcleo */
.hero__media--ken { transform-origin: 54% 54%; animation: heroKen 22s ease-in-out infinite alternate; }
@keyframes heroKen { from { transform: scale(1.05); } to { transform: scale(1.18) translate(-2.2%, -1.6%); } }
.hero__pulse { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(40% 44% at 53% 52%, rgba(108,140,255,0.30), rgba(138,96,210,0.14) 45%, transparent 66%);
  animation: heroPulse 5.5s ease-in-out infinite; }
@keyframes heroPulse { 0%, 100% { opacity: 0.32; transform: scale(0.98); } 50% { opacity: 1; transform: scale(1.16); } }
.hero__drift { position: absolute; inset: -12%; z-index: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(26% 38% at 32% 46%, rgba(108,140,255,0.20), rgba(138,96,210,0.08) 50%, transparent 64%);
  animation: heroDrift 15s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: translateX(-9%) translateY(2%); } to { transform: translateX(13%) translateY(-3%); } }
.hero__wave-fallback { opacity: 0; object-position: center 72%; transition: opacity 1s var(--ease); } /* poster, mostrado solo si no hay canvas */
.hero::after { /* viñeta a negro en los 4 bordes */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 55%, transparent 40%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.4), transparent 25%, transparent 60%, rgba(0,0,0,0.95));
}
.hero__content { position: relative; z-index: 3; max-width: 60rem; padding-inline: var(--gutter); }
.hero__content::before { /* scrim suave tras el titular para legibilidad sobre el glow */
  content: ""; position: absolute; inset: -30% -25%; z-index: -1; pointer-events: none;
  background: radial-gradient(62% 62% at 50% 48%, rgba(0,0,0,0.74), rgba(0,0,0,0.36) 55%, transparent 76%);
  filter: blur(10px);
}
.hero__title {
  font-size: clamp(2.1rem, 5vw, 4.25rem); line-height: 1.08;
  letter-spacing: -0.02em; font-weight: var(--primitive-fontWeight-regular);
  margin: 0 auto; max-width: 20ch;
}
.hero__title-dim { color: rgba(255, 255, 255, 0.82); }
.hero__subtitle {
  margin: 1.6rem auto 0; max-width: 52ch; color: var(--color-body-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.hero__actions { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* entrada del hero por CSS (estado final SIEMPRE visible, no depende de JS) */
.hero-anim { animation: heroIn 0.9s var(--ease) both; }
.hero .eyebrow.hero-anim { animation-delay: 0.10s; }
.hero__title.hero-anim { animation-delay: 0.22s; }
.hero__subtitle.hero-anim { animation-delay: 0.38s; }
.hero__actions.hero-anim { animation-delay: 0.54s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero__scrollcue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 1px; height: 56px; background: linear-gradient(var(--color-meta), transparent);
}
.hero__scrollcue::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#fff, transparent); animation: cueRun 2.4s var(--ease) infinite; }
@keyframes cueRun { 0% { transform: translateY(-100%); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }

/* glows de color del hero — atmósfera que EMANA (azul + ámbar + violeta), no fills */
.hero__glows { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.55; will-change: transform; }
.hero__glow--blue { width: 62vw; height: 62vw; left: -16vw; top: -16vw; background: radial-gradient(circle, rgba(108,140,255,0.62), transparent 62%); animation: heroDrift1 20s ease-in-out infinite alternate; }
.hero__glow--amber { width: 36vw; height: 36vw; right: 0vw; top: 4%; background: radial-gradient(circle, rgba(216,150,138,0.22), transparent 60%); animation: heroDrift2 26s ease-in-out infinite alternate; }
.hero__glow--violet { width: 66vw; height: 66vw; left: 24%; bottom: -22%; background: radial-gradient(circle, rgba(138,96,210,0.62), transparent 60%); animation: heroDrift3 30s ease-in-out infinite alternate; }
@keyframes heroDrift1 { from { transform: translate3d(0,0,0); } to { transform: translate3d(8vw,4vh,0); } }
@keyframes heroDrift2 { from { transform: translate3d(0,0,0); } to { transform: translate3d(-7vw,5vh,0); } }
@keyframes heroDrift3 { from { transform: translate3d(0,0,0); } to { transform: translate3d(5vw,-5vh,0); } }

/* ---------- MÉTRICAS ---------- */
.metrics { border-block: 1px solid var(--color-border); padding-block: clamp(2.5rem, 5vw, 4rem) !important; }
.metrics__inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.metric { display: flex; flex-direction: column; gap: 0.4rem; padding-inline: clamp(1rem, 2.5vw, 2.2rem); }
.metric:first-child { padding-left: 0; }
/* D4 · hairlines verticales que dan ritmo y jerarquía (en vez de cajas equipotentes) */
.metric + .metric { border-left: 1px solid var(--color-border); }
.metric__num {
  font-size: clamp(2rem, 4vw, 3.25rem); font-weight: var(--primitive-fontWeight-regular);
  color: var(--color-foreground); font-variant-numeric: tabular-nums; line-height: 1;
}
/* D4 · el dato más fuerte (primero) lidera con más peso */
.metric:first-child .metric__num { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.metric__label { font-size: 0.85rem; color: var(--color-meta); }
@media (max-width: 760px) {
  .metrics__inner { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 0; }
  .metric { padding-inline: 1.1rem; }
  .metric:nth-child(odd) { padding-left: 0; border-left: 0; }
  .btn { min-height: 46px; } /* área táctil cómoda en móvil */
}

/* ---------- §3 CÓMO FUNCIONA · FLUJO LINEAL DE NODOS (SVG, autoplay) ---------- */
.how { padding-block: clamp(4rem, 10vh, 8rem); }
.how__pin { display: flex; flex-direction: column; gap: clamp(0.9rem, 2.4vh, 2rem); width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.how__top { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.how__eyebrow { text-align: center; margin: 0; }
.how__progress { display: flex; gap: 0.5rem; max-width: 22rem; width: 100%; margin: 0 auto; }
.how__seg { position: relative; flex: 1; height: 16px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.how__seg::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: 2px; border-radius: 2px; background: var(--color-border); transition: background var(--primitive-duration-normal) var(--ease), box-shadow var(--primitive-duration-normal) var(--ease); }
.how__seg:hover::after { background: var(--color-body-muted); }
.how__seg.is-active::after { background: var(--color-brand); box-shadow: var(--glow-brand); }
/* stage = lienzo SVG del flujo; la cámara recorre las estaciones */
.how__stage { position: relative; width: 100%; height: clamp(340px, 54vh, 560px); overflow: hidden;
  background: radial-gradient(58% 72% at 52% 50%, rgba(108,140,255,0.07), transparent 72%); }
.how__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* HUD: caption sincronizada al beat (crossfade) */
.how__caps { position: relative; min-height: clamp(7.5rem, 16vh, 10rem); max-width: 48rem; margin-inline: auto; text-align: center; }
.how__cap { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity var(--primitive-duration-slow) var(--ease), transform var(--primitive-duration-slow) var(--ease); pointer-events: none; }
.how__cap.is-active { opacity: 1; transform: none; pointer-events: auto; }
.how__cap-num { display: block; font-variant-numeric: tabular-nums; color: var(--color-brand); font-size: 0.82rem; letter-spacing: 0.12em; margin-bottom: 0.7rem; }
.how__cap h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: var(--color-foreground); margin-bottom: 0.6rem; font-weight: var(--primitive-fontWeight-light); letter-spacing: -0.01em; }
.how__cap p { margin: 0 auto; font-size: 1.02rem; color: var(--color-body-muted); max-width: 50ch; }
.how__cue { align-self: center; display: inline-flex; flex-direction: column; align-items: center; gap: 0.3rem; color: var(--color-meta); transition: color var(--primitive-duration-normal) var(--ease); }
.how__cue:hover { color: var(--color-foreground); }
.how__cue svg { animation: cueBob 2s var(--ease) infinite; }
.how__cue-label { font-size: 0.85rem; letter-spacing: 0.02em; opacity: 0; transition: opacity var(--primitive-duration-slow) var(--ease); }
.how__cue.is-final { color: var(--color-brand); }
.how__cue.is-final .how__cue-label { opacity: 1; }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
/* estado estático (reduced-motion / no-JS): captions apiladas + grafo en overview */
.how.is-static .how__caps { position: static; min-height: 0; text-align: left; max-width: 60rem; }
.how.is-static .how__cap { position: relative; inset: auto; opacity: 1; transform: none; margin-bottom: 2rem; }
.how.is-static .how__progress, .how.is-static .how__cue-label, .how.is-static .how__controls { display: none; }
/* controles de la animación (prev · pausa/play · next) */
.how__controls { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.how__ctrl { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--color-border); background: rgba(255,255,255,0.03); color: var(--color-body-muted); cursor: pointer; transition: color var(--primitive-duration-normal) var(--ease), border-color var(--primitive-duration-normal) var(--ease), background var(--primitive-duration-normal) var(--ease); }
.how__ctrl:hover { color: #fff; border-color: rgba(108,140,255,0.5); background: rgba(108,140,255,0.08); }
.how__ctrl--toggle { width: 44px; height: 44px; color: var(--color-foreground); }
.how__ctrl .ic-play { display: none; }
.how.is-paused .how__ctrl--toggle .ic-pause { display: none; }
.how.is-paused .how__ctrl--toggle .ic-play { display: block; }

/* ---------- PANELS (producto) ---------- */
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--color-surface-raised), var(--color-surface));
  border: 1px solid var(--color-border); border-radius: var(--card-radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -28px rgba(0,0,0,0.85), 0 0 48px -22px rgba(108,140,255,0.45);
  overflow: hidden;
  transition: box-shadow var(--primitive-duration-normal) var(--ease), border-color var(--primitive-duration-normal) var(--ease);
}
.panel:hover {
  border-color: rgba(108,140,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 24px 60px -24px rgba(0,0,0,0.85), 0 0 58px -10px rgba(108,140,255,0.55);
}
.panel::before { /* sheen / rim-light superior para profundidad */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(130% 70% at 50% -15%, rgba(255,255,255,0.07), transparent 55%);
}
.panel__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--color-border); }
.panel__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.panel__bar em { margin-left: auto; font-style: normal; font-size: 0.72rem; color: var(--color-meta); letter-spacing: 0.08em; }
.panel__body { padding: 1.4rem; }
.panel__caption { margin-top: 1.2rem; font-size: 0.78rem; color: var(--color-meta); }

.panel__sources { display: flex; flex-direction: column; gap: 0.7rem; }
.filechip { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; color: var(--color-body); padding: 0.7rem 0.9rem; border: 1px solid var(--color-border); border-radius: 6px; }
.filechip__ext { font-size: 0.66rem; letter-spacing: 0.06em; color: var(--color-foreground); background: rgba(255,255,255,0.06); padding: 0.2rem 0.45rem; border-radius: 4px; }
.filechip__name { flex: 1; }
.filechip__lang { font-size: 0.64rem; letter-spacing: 0.06em; color: var(--color-brand); border: 1px solid rgba(108,140,255,0.32); padding: 0.12rem 0.42rem; border-radius: 4px; }

.panel__spec .spec__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.92rem; }
.panel__spec .spec__row span:first-child { color: var(--color-body-muted); }
.panel__spec .spec__row span:last-child { color: var(--color-foreground); font-variant-numeric: tabular-nums; }
.spec__source, .bubble__src { color: var(--color-brand); }
.spec__source { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.78rem; color: var(--color-meta); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand); box-shadow: var(--glow-brand); display: inline-block; }

.panel__chat, .demo__thread { display: flex; flex-direction: column; gap: 0.8rem; }
.bubble { padding: 0.85rem 1rem; border-radius: 10px; font-size: 0.92rem; max-width: 92%; }
.bubble--q { align-self: flex-end; background: rgba(255,255,255,0.06); color: var(--color-foreground); border: 1px solid var(--color-border); }
.bubble--a { align-self: flex-start; background: var(--color-surface-raised); border: 1px solid var(--color-border); color: var(--color-body); }
.bubble__src { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.6rem; font-size: 0.74rem; }
/* W3 · sello de fuente: la trazabilidad (LA propuesta de valor) entra con beat propio + barrido de luz */
.evachat .bubble__src { position: relative; overflow: hidden; padding: 0.2rem 0.5rem; margin-left: -0.5rem; border-radius: 999px; animation: srcIn 0.5s var(--ease) 0.2s both; }
.evachat .bubble__src::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(108,140,255,0.30) 50%, transparent 65%);
  transform: translateX(-130%); animation: srcSweep 0.9s var(--ease) 0.45s 1 both;
}
@keyframes srcIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes srcSweep { to { transform: translateX(130%); } }

.panel__catalog { display: flex; flex-direction: column; gap: 0.9rem; }
.cat__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.cat__search { flex: 1; font-size: 0.78rem; color: var(--color-meta); padding: 0.5rem 0.7rem; border: 1px solid var(--color-border); border-radius: 6px; }
.cat__count { font-size: 0.72rem; color: var(--color-meta); white-space: nowrap; }
.cat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.cat__card { border: 1px solid var(--color-border); border-radius: 6px; padding: 0.5rem; background: rgba(255,255,255,0.015); transition: border-color var(--primitive-duration-normal) var(--ease); }
.cat__card:hover { border-color: rgba(108,140,255,0.3); }
.cat__thumb { aspect-ratio: 16/10; border-radius: 4px; background: linear-gradient(135deg, rgba(108,140,255,0.20), rgba(138,96,210,0.10)); margin-bottom: 0.5rem; }
.cat__name { font-size: 0.74rem; color: var(--color-foreground); line-height: 1.2; }
.cat__meta { font-size: 0.65rem; color: var(--color-meta); margin-top: 0.2rem; }

@media (max-width: 760px) {
  /* §3 autoplay (misma ruta que desktop); el stage se hace más alto para que la cámara zoom sea legible */
  .how__stage { height: clamp(360px, 62vh, 520px); }
  .how__cap p { font-size: 0.98rem; }
}

/* ---------- §4 DEMO · frame premium del chat ----------
   Diseño: el widget real de VencoChat carga con un estilo light/cream.
   El frame oscuro lo enmarca como una "ventana iluminada" — el contraste
   se convierte en gesto intencional, no en parche pegado.
   Mismo wrapper sirve para el mockup fallback y para el widget real.
   ─────────────────────────────────────────────────────────── */
.evachat {
  /* Ancho completo del container — alineado con el nav (logo ↔ CTA) */
  max-width: 100%;
  margin: 0 auto;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(108,140,255,0.10), transparent 60%),
    var(--color-surface);
  border-radius: 26px;
  padding: 14px;
  /* Bloque del chat — altura cómoda sin vacío muerto (D3) */
  min-height: 560px;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  /* Sombra profunda + glow periwinkle multinivel (efecto WOW) */
  box-shadow:
    0 50px 130px -35px rgba(0,0,0,0.85),
    0 0 160px -20px rgba(108,140,255,0.38),
    0 0 70px -10px rgba(108,140,255,0.22),
    inset 0 1px 0 rgba(255,255,255,0.05);
  /* Animación sutil de respiración del glow (6s loop) */
  animation: evachatBreathe 6s ease-in-out infinite;
}
/* El widget de Jon se monta como hijo directo. Le forzamos a llenar el frame
   para que no quede espacio negro abajo cuando el frame es más alto que su
   altura natural. */
.evachat > div:only-child:not(.evachat__header),
.evachat > iframe:only-child {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
}
@keyframes evachatBreathe {
  0%, 100% {
    box-shadow:
      0 50px 130px -35px rgba(0,0,0,0.85),
      0 0 160px -20px rgba(108,140,255,0.38),
      0 0 70px -10px rgba(108,140,255,0.22),
      inset 0 1px 0 rgba(255,255,255,0.05);
  }
  50% {
    box-shadow:
      0 50px 130px -35px rgba(0,0,0,0.85),
      0 0 200px -20px rgba(108,140,255,0.52),
      0 0 90px -10px rgba(108,140,255,0.32),
      inset 0 1px 0 rgba(255,255,255,0.06);
  }
}
.evachat:hover {
  animation-duration: 4s;
}
@media (prefers-reduced-motion: reduce) {
  .evachat { animation: none; }
}
/* Glow superior pronunciado (radial periwinkle desde top) */
.evachat::before {
  content: "";
  position: absolute;
  inset: -60% -15% auto -15%;
  height: 90%;
  background: radial-gradient(70% 85% at 50% 0%, rgba(108,140,255,0.28), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}
/* Borde con gradient cíclico periwinkle (más visible, premium) */
.evachat::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(108,140,255,0.70) 0%,
    rgba(108,140,255,0.25) 25%,
    rgba(255,255,255,0.08) 50%,
    rgba(108,140,255,0.25) 75%,
    rgba(108,140,255,0.70) 100%
  );
  -webkit-mask: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
.evachat > * { position: relative; z-index: 1; }

/* Cuando carga el widget real (light), su contenedor hijo necesita
   redondeo interno para encajar con el frame. El widget se monta como
   un hijo directo del #evachat con sus propios estilos light. */
.evachat > iframe,
.evachat > div:first-child:not(.evachat__header) {
  border-radius: 16px;
  overflow: hidden;
}

.evachat__header {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,0.012);
}
.evachat__avatar {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(108,140,255,0.25), 0 0 18px -6px rgba(108,140,255,0.5);
  flex: none;
  overflow: hidden;
}
.evachat__avatar svg { width: 100%; height: 100%; display: block; }
.evachat__id { display: flex; flex-direction: column; line-height: 1.25; }
.evachat__name { font-size: 0.95rem; color: var(--color-foreground); font-weight: 500; letter-spacing: -0.01em; }
.evachat__status { font-size: 0.74rem; color: var(--color-meta); display: flex; align-items: center; gap: 0.45rem; margin-top: 0.1rem; }
.evachat__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6BD27F;
  box-shadow: 0 0 0 0 rgba(107,210,127,0.5);
  animation: evaPulse 2.2s ease-out infinite;
}
@keyframes evaPulse {
  0% { box-shadow: 0 0 0 0 rgba(107,210,127,0.45); }
  70% { box-shadow: 0 0 0 9px rgba(107,210,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(107,210,127,0); }
}
.evachat__badge {
  margin-left: auto; font-style: normal;
  font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-meta);
  border: 1px solid var(--color-border);
  padding: 0.22rem 0.55rem; border-radius: 4px;
  cursor: help;
}
/* botón ampliar / pantalla completa del chat (mock; el widget real gestiona el suyo) */
.evachat__expand {
  flex: none; width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--color-border);
  color: var(--color-body-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--primitive-duration-normal) var(--ease), background var(--primitive-duration-normal) var(--ease), border-color var(--primitive-duration-normal) var(--ease), transform var(--primitive-duration-fast) var(--ease);
}
.evachat__expand:hover { color: #fff; border-color: rgba(108,140,255,0.5); background: rgba(108,140,255,0.10); }
.evachat__expand:active { transform: scale(0.94); }
.evachat__expand .ic-collapse { display: none; }
.evachat.is-fullscreen .evachat__expand .ic-expand { display: none; }
.evachat.is-fullscreen .evachat__expand .ic-collapse { display: block; }

/* estado pantalla completa: el chat ocupa todo el viewport (ideal en móvil) */
.evachat.is-fullscreen {
  position: fixed; inset: 0; z-index: 200;
  max-width: none; margin: 0; padding: 0; border-radius: 0;
  height: 100dvh; min-height: 100dvh;
  animation: none;
  box-shadow: none;
}
.evachat.is-fullscreen .evachat__thread { min-height: 0; }
body.chat-locked { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .evachat__expand:active { transform: none; } }

.evachat__suggest {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--color-border);
}

.chip { font-family: inherit; font-size: 0.82rem; color: var(--color-body); background: transparent; border: 1px solid var(--color-border); border-radius: var(--primitive-radius-pill); padding: 0.5rem 0.9rem; cursor: pointer; transition: border-color var(--primitive-duration-normal) var(--ease), color var(--primitive-duration-normal) var(--ease), background var(--primitive-duration-normal) var(--ease); }
.chip:hover { border-color: rgba(255,255,255,0.4); color: #fff; background: rgba(255,255,255,0.02); }
.chip.is-active { border-color: var(--color-brand); color: #fff; box-shadow: 0 0 18px -6px rgba(108,140,255,0.55); }

.evachat__thread {
  display: flex; flex-direction: column; gap: 0.85rem;
  padding: 1.4rem 1.3rem;
  flex: 1; min-height: 240px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.evachat__thread::-webkit-scrollbar { width: 6px; }
.evachat__thread::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

.evachat__thread .bubble {
  max-width: 82%;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.evachat__thread .bubble--q {
  align-self: flex-end;
  background: rgba(108,140,255,0.10);
  border: 1px solid rgba(108,140,255,0.20);
  color: var(--color-foreground);
  border-radius: 14px 14px 4px 14px;
}
.evachat__thread .bubble--a {
  align-self: flex-start;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  color: var(--color-body);
  border-radius: 14px 14px 14px 4px;
}
.evachat__thread .bubble--a strong { color: var(--color-foreground); font-weight: 500; }
.bubble__src { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid var(--color-border); font-size: 0.74rem; color: var(--color-brand); font-variant-numeric: tabular-nums; }
.bubble__src .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand); box-shadow: 0 0 8px rgba(108,140,255,0.6); }

/* animaciones de tipeo */
.caret { display: inline-block; width: 2px; height: 1em; background: var(--color-brand); margin-left: 2px; vertical-align: text-bottom; animation: caretBlink 0.9s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.typing-dots { display: inline-flex; gap: 5px; padding: 0.25rem 0.1rem; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-body-muted); animation: typingDot 1.2s ease-in-out infinite; }
.typing-dots i:nth-child(2) { animation-delay: 0.18s; }
.typing-dots i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.bubble--reveal { animation: bubbleIn 0.45s var(--ease) both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.evachat__input {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--color-border);
  background: rgba(255,255,255,0.012);
}
.evachat__input input {
  flex: 1;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  font-family: inherit; font-size: 0.95rem;
  color: var(--color-body);
  outline: none;
  cursor: not-allowed;
}
.evachat__input input::placeholder { color: var(--color-meta); }
.evachat__send {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--color-foreground); color: var(--color-background);
  border: 0; display: flex; align-items: center; justify-content: center;
  cursor: not-allowed; opacity: 0.55;
  transition: opacity var(--primitive-duration-normal) var(--ease);
  flex: none;
}

@media (max-width: 680px) {
  .evachat { min-height: 500px; border-radius: 12px; }
  .evachat__header { padding: 0.85rem 1rem; gap: 0.7rem; }
  .evachat__avatar { width: 32px; height: 32px; }
  .evachat__suggest { padding: 0.85rem 1rem; gap: 0.4rem; }
  .evachat__suggest .chip { font-size: 0.82rem; padding: 0.5rem 0.85rem; min-height: 44px; display: inline-flex; align-items: center; }
  .evachat__thread { padding: 1.2rem 1rem; min-height: 300px; }
  .evachat__thread .bubble { max-width: 88%; font-size: 0.92rem; padding: 0.8rem 0.95rem; }
  .evachat__input { padding: 0.75rem 0.85rem; }
  .evachat__input input { font-size: 0.92rem; padding: 0.65rem 0.85rem; }
}

/* ---------- §5 PAINS · acordeón ---------- */
.pains__acc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); max-width: 60rem; }
.pain-item { border-bottom: 1px solid var(--color-border); }
.pain-item__head { width: 100%; display: flex; align-items: center; gap: 1.4rem; padding: 1.5rem 0; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; }
.pain-item__num { font-variant-numeric: tabular-nums; color: var(--color-meta); font-size: 0.95rem; min-width: 2rem; transition: color var(--primitive-duration-normal) var(--ease); }
.pain-item__title { flex: 1; font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: var(--primitive-fontWeight-light); letter-spacing: -0.01em; color: var(--color-foreground); }
.pain-item.is-open .pain-item__num { color: var(--color-brand); }
.pain-item__head:hover .pain-item__title { color: #fff; }
.pain-item__icon { position: relative; width: 16px; height: 16px; flex: none; }
.pain-item__icon::before, .pain-item__icon::after { content: ""; position: absolute; background: var(--color-meta); transition: transform var(--primitive-duration-normal) var(--ease), background var(--primitive-duration-normal) var(--ease); }
.pain-item__icon::before { top: 7px; left: 0; width: 16px; height: 1.5px; }
.pain-item__icon::after { left: 7px; top: 0; width: 1.5px; height: 16px; }
.pain-item.is-open .pain-item__icon::after { transform: scaleY(0); }
.pain-item.is-open .pain-item__icon::before { background: var(--color-brand); }
.pain-item__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--primitive-duration-slow) var(--ease); }
html.js .pain-item:not(.is-open) .pain-item__panel { grid-template-rows: 0fr; }
.pain-item__inner { overflow: hidden; }
.pain-item__inner p { margin: 0 0 1rem; color: var(--color-body-muted); max-width: 56ch; font-size: 1rem; }
.pain-item__metric { display: inline-block; font-size: 0.85rem; color: var(--color-brand); padding-bottom: 1.7rem; }

/* ---------- DESCANSO DE ONDA ---------- */
.breather { position: relative; min-height: clamp(240px, 38vh, 400px); display: grid; place-items: center; overflow: hidden; padding: 0 !important;
  background: radial-gradient(60% 90% at 50% 50%, rgba(138,96,210,0.14), transparent 72%); }
.breather__wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.breather::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(58% 58% at 50% 50%, rgba(0,0,0,0.22), rgba(0,0,0,0.58)); }
.breather__line { position: relative; z-index: 2; text-align: center; max-width: 24ch; font-size: clamp(1.3rem, 3vw, 2.2rem); color: var(--color-foreground); font-weight: var(--primitive-fontWeight-light); letter-spacing: -0.01em; padding-inline: var(--gutter); }

/* descanso · ola de vidrio a color (asset rescatado de V1), fundido a negro arriba/abajo */
.banner-break { position: relative; height: clamp(200px, 32vh, 360px); overflow: hidden;
  background: radial-gradient(60% 130% at 50% 50%, rgba(96,156,255,0.13), transparent 72%); }
.banner-break__wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner-break::before, .banner-break::after { content: ""; position: absolute; left: 0; right: 0; height: 42%; pointer-events: none; z-index: 1; }
.banner-break::before { top: 0; background: linear-gradient(#000, transparent); }
.banner-break::after { bottom: 0; background: linear-gradient(transparent, #000); }

/* ---------- §6 POR QUÉ EVA ---------- */
/* W6 · bento asimétrico: la columna del diferenciador (vs IA genérica) es más ancha y con glow */
.why__grid { display: grid; grid-template-columns: 1fr 1.28fr 1fr; gap: 1.2rem; }
.why__card:nth-child(2) {
  border-color: rgba(108,140,255,0.42);
  box-shadow: 0 0 56px -16px rgba(108,140,255,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
.why__card {
  position: relative; padding: 2rem 1.8rem; border: 1px solid var(--color-border);
  border-radius: var(--card-radius); background: linear-gradient(180deg, var(--color-surface-raised), var(--color-surface));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform var(--primitive-duration-normal) var(--ease), border-color var(--primitive-duration-normal) var(--ease), box-shadow var(--primitive-duration-normal) var(--ease);
}
.why__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(130% 70% at 50% -20%, rgba(255,255,255,0.06), transparent 55%); }
.why__card:hover {
  transform: translateY(-4px); border-color: rgba(255,255,255,0.22);
  box-shadow: 0 26px 55px -26px rgba(0,0,0,0.85), 0 0 44px -8px rgba(56,152,236,0.22), inset 0 1px 0 rgba(255,255,255,0.09);
}
.why__card h3 { font-size: 1.2rem; color: var(--color-foreground); margin-bottom: 0.9rem; font-weight: var(--primitive-fontWeight-regular); }
.why__card p { margin: 0; color: var(--color-body-muted); font-size: 0.95rem; }
@media (max-width: 860px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- §7 PRUÉBALO ---------- */
.try { text-align: center; }
.try__inner { max-width: 50rem; margin-inline: auto; }
.try h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.12; letter-spacing: -0.01em; }
.try__body { color: var(--color-body-muted); margin: 1.5rem auto 0; max-width: 52ch; }
.try__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.try__fine { margin-top: 1.2rem; font-size: 0.85rem; color: var(--color-meta); }

/* ---------- §8 CASO ---------- */
.case__quote { font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.25; color: var(--color-foreground); font-weight: var(--primitive-fontWeight-light); letter-spacing: -0.01em; margin: 0; max-width: 22ch; }
.case__attr { color: var(--color-meta); font-size: 0.9rem; margin: 1.5rem 0 0; }
.case__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--color-border); padding-top: 3rem; }
.case__num { font-size: clamp(1.8rem, 3.5vw, 3rem); color: var(--color-foreground); font-variant-numeric: tabular-nums; display: block; line-height: 1; }
.case__num small { font-size: 0.4em; color: var(--color-body-muted); }
.case__label { font-size: 0.82rem; color: var(--color-body-muted); margin-top: 0.7rem; display: block; max-width: 22ch; }
@media (max-width: 760px) { .case__metrics { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; } }

/* ---------- §9 FAQ ---------- */
.faq__inner { max-width: 52rem; margin-inline: auto; }
.faq__list { border-top: 1px solid var(--color-border); }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--color-foreground); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--color-meta); transition: transform var(--primitive-duration-normal) var(--ease); }
.faq__icon::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.faq__icon::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__item p { margin: 0 0 1.6rem; color: var(--color-body-muted); max-width: 62ch; font-size: 0.96rem; }

/* ---------- FOOTER ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--color-border); }
.footer__aurora {
  position: absolute; left: 0; right: 0; bottom: -45%;
  width: 100%; height: 65%; z-index: 0; pointer-events: none; filter: blur(95px);
  background: radial-gradient(closest-side, rgba(108,140,255,0.13), rgba(138,96,210,0.07) 48%, transparent 72%);
}
.footer__inner { position: relative; z-index: 2; }
.footer__cta { text-align: center; max-width: 40rem; margin: 0 auto clamp(4rem, 8vw, 7rem); }
.footer__cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; margin-bottom: 2rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-bottom: 3rem; }
.footer__h { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-meta); margin-bottom: 1rem; }
.footer__cols a { display: block; color: var(--color-body-muted); font-size: 0.92rem; padding: 0.3rem 0; transition: color var(--primitive-duration-normal) var(--ease); }
.footer__cols a:hover { color: var(--color-foreground); }
/* enlaces aún sin página: informativos, no clicables (evita el href="#" que aparenta rotura) */
.footer__soon { display: block; color: var(--color-meta); opacity: 0.55; font-size: 0.92rem; padding: 0.3rem 0; cursor: default; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2rem 0; border-top: 1px solid var(--color-border); font-size: 0.8rem; color: var(--color-meta); }
.footer__wordmark { font-size: clamp(5rem, 22vw, 18rem); font-weight: var(--primitive-fontWeight-light); color: rgba(255,255,255,0.04); text-align: center; line-height: 0.85; letter-spacing: -0.03em; margin-top: -1rem; user-select: none; }
@media (max-width: 760px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- REVEALS (progressive enhancement: solo se ocultan con JS) ---------- */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(26px); }
/* D6 · variante ligada a la identidad: las cards/métricas entran con escala (no solo translate) */
html.js .why__card.reveal:not(.is-visible),
html.js .case__metric.reveal:not(.is-visible) { transform: translateY(26px) scale(0.965); }

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__wave { display: none; }
  .hero__video { display: none; }
  .hero__wave-fallback { opacity: 0.6; }
  .how__visual { transition: opacity 0.3s linear; }
  .how__steps { min-height: auto; }
  .how__step { position: relative; opacity: 1; transform: none; pointer-events: auto; margin-bottom: 1.8rem; }
  .how__seg { background: var(--color-brand); }
  .breather__video { display: none; }
  * { animation: none !important; }
  /* D6 · sin movimiento: los hover no desplazan */
  *:hover { transform: none !important; }
}
