/* ==========================================================================
   arkasystems.es · site.css
   Golden Arka nocturno: tinta cálida, ámbar solo donde se mira, materia y
   una sola gramática de motion. Sin build. Editar aquí, no en el HTML.
   ========================================================================== */

:root {
  /* Tipografía */
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-serif: 'Instrument Serif', Georgia, serif;

  /* Neutros cálidos (oklch) */
  --bg:        oklch(0.165 0.008 65);
  --surface-1: oklch(0.198 0.009 65);
  --surface-2: oklch(0.232 0.011 65);
  --surface-3: oklch(0.262 0.012 65);
  --line:      oklch(0.31 0.012 65 / 0.55);
  --line-soft: oklch(0.28 0.010 65 / 0.35);
  --ink:       oklch(0.97 0.012 80);
  --ink-2:     oklch(0.82 0.014 75);
  --ink-3:     oklch(0.69 0.012 70);
  --ink-4:     oklch(0.60 0.010 65);

  /* Acento ámbar */
  --accent:      oklch(0.78 0.13 70);
  --accent-2:    oklch(0.85 0.11 80);
  --accent-soft: oklch(0.78 0.13 70 / 0.14);

  /* WhatsApp (solo en su botón) */
  --wa:     oklch(0.72 0.16 150);
  --wa-ink: oklch(0.16 0.02 150);

  /* Materia */
  --edge:        inset 0 1px 0 oklch(1 0 0 / 0.06);
  --edge-strong: inset 0 1px 0 oklch(1 0 0 / 0.11);
  --shadow-1: 0 1px 2px oklch(0 0 0 / 0.35), 0 18px 40px -22px oklch(0 0 0 / 0.7);
  --shadow-2: 0 2px 6px oklch(0 0 0 / 0.4), 0 44px 90px -34px oklch(0 0 0 / 0.8);
  --glow: 0 0 0 1px color-mix(in oklab, var(--accent) 40%, transparent),
          0 24px 80px -28px color-mix(in oklab, var(--accent) 55%, transparent);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 150ms;
  --dur-2: 250ms;
  --dur-3: 450ms;
  --dur-4: 700ms;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 32px);
  --radius: 16px;
  --radius-sm: 10px;
  --section-pad-y: clamp(72px, 9vw, 128px);
  --nav-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: oklch(0.34 0.01 65) var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

/* Grano: una capa fija, muy leve, para que el negro no sea plano */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

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

a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono { font-family: var(--font-mono); font-feature-settings: "zero", "tnum"; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Tipografía ---------- */
h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 22px;
}
h1 .accent { color: var(--accent); }
h1 .em, h2 .em, .em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

h3 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 820px;
}
.section-sub {
  color: var(--ink-2);
  font-size: clamp(17px, 1.7vw, 20px);
  max-width: 60ch;
  line-height: 1.6;
  text-wrap: pretty;
}

section.block {
  padding: var(--section-pad-y) 0;
  position: relative;
}
section.block + section.block::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(100%, var(--maxw));
  transform: translateX(-50%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--edge);
  transition: background var(--dur-1) var(--ease-io),
              border-color var(--dur-1) var(--ease-io),
              box-shadow var(--dur-2) var(--ease-out),
              transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn .i { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #fff; box-shadow: var(--edge), 0 10px 30px -14px oklch(1 0 0 / 0.45); }

.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: oklch(0.76 0.16 150); box-shadow: var(--edge), 0 10px 30px -14px color-mix(in oklab, var(--wa) 60%, transparent); }

.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface-1); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }


/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-2) var(--ease-io),
              border-color var(--dur-2) var(--ease-io),
              box-shadow var(--dur-2) var(--ease-io);
}
.nav.scrolled, .nav.is-open {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-mark { width: 34px; height: 34px; flex: none; mix-blend-mode: screen; }
.brand-name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }

.nav-links { display: none; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 10px 12px;
  color: var(--ink-2);
  font-size: 15px;
  border-radius: 8px;
  transition: color var(--dur-1) var(--ease-io), background var(--dur-1) var(--ease-io);
}
.nav-links a:hover { color: var(--ink); background: oklch(1 0 0 / 0.04); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 5px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links a[aria-current="true"]::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--edge);
  transition: background var(--dur-1) var(--ease-io), transform 120ms var(--ease-out);
}
.nav-cta:hover { background: #fff; }
.nav-cta:active { transform: scale(0.98); }
.nav-cta .i { width: 15px; height: 15px; }

.nav-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--ink);
}
.nav-toggle:hover { background: oklch(1 0 0 / 0.05); }
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1);
}
.nav-toggle span + span { margin-top: 5px; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  padding: 8px var(--gutter) 20px;
  background: color-mix(in oklab, var(--bg) 98%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.nav.is-open .nav-panel { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.nav-panel a {
  display: flex; align-items: center;
  min-height: 48px;
  padding: 0 8px;
  font-size: 18px;
  color: var(--ink-2);
  border-radius: 10px;
}
.nav-panel a:hover { color: var(--ink); background: oklch(1 0 0 / 0.04); }
.nav-panel .nav-cta { justify-content: center; margin-top: 10px; font-size: 16px; color: var(--bg); }
.nav-panel .nav-cta:hover { background: #fff; color: var(--bg); }

@media (min-width: 820px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-panel { display: none; }
}
@media (max-width: 819px) {
  .nav-inner > .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(min(100dvh, 920px) - var(--nav-h));
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vh, 72px) 0 clamp(56px, 8vh, 96px);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--bg); }
.hero-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity 800ms var(--ease-io);
  pointer-events: none;
}
.hero-vid.active { opacity: 0.34; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in oklab, var(--bg) 96%, transparent) 30%, color-mix(in oklab, var(--bg) 78%, transparent) 50%, color-mix(in oklab, var(--bg) 38%, transparent) 100%),
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 70%, transparent) 0%, transparent 30%, transparent 66%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(44px, 6vw, 72px);
  align-items: center;
}
.hero-copy { max-width: 600px; }
@media (max-width: 1299px) { .hero .lede br { display: none; } }
.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ink-2);
  max-width: 54ch;
  line-height: 1.55;
  margin-bottom: 32px;
  text-wrap: pretty;
}

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
.hero-stage::before {
  content: "";
  position: absolute;
  width: 440px; height: 440px;
  left: 50%; top: 50%;
  transform: translate(-50%, -46%);
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 34%, transparent), transparent 72%);
  filter: blur(28px);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.hero-pause {
  position: absolute;
  left: var(--gutter);
  bottom: 18px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-2);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: color var(--dur-1), border-color var(--dur-1), transform 120ms var(--ease-out);
}
.hero-pause:hover { color: var(--ink); border-color: var(--ink-3); }
.hero-pause:active { transform: scale(0.96); }
.hero-pause svg { width: 16px; height: 16px; }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }

/* Entrada del hero: una sola coreografía, corta */
/* Sin opacidad: el titular es el LCP y tiene que pintarse desde el primer frame */
.js .hero [data-enter] {
  transform: translateY(10px);
  filter: blur(6px);
  transition: transform var(--dur-4) var(--ease-out), filter var(--dur-4) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .hero.is-in [data-enter] { transform: none; filter: none; }

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
@media (max-width: 979px) {
  .hero-bg, .hero-pause { display: none; }
  .hero { min-height: 0; padding-top: 32px; }
  .hero-copy { text-align: left; }
  .hero-stage { padding: 8px 0 0; }
  .hero-stage::before { width: 320px; height: 320px; }
  .hero-vid.active { opacity: 0.2; }
  .hero-scrim {
    background:
      linear-gradient(180deg, color-mix(in oklab, var(--bg) 94%, transparent) 0%, color-mix(in oklab, var(--bg) 80%, transparent) 55%, var(--bg) 100%);
  }
}

/* ---------- Dispositivo (teléfono en código) ---------- */
.device-wrap { display: grid; justify-items: center; gap: 14px; }
.device {
  --dw: 300px;
  width: var(--dw);
  aspect-ratio: 300 / 620;
  position: relative;
  border-radius: 46px;
  background: oklch(0.12 0.006 65);
  box-shadow:
    var(--edge-strong),
    0 0 0 1px oklch(0 0 0 / 0.7),
    0 0 0 3px oklch(0.30 0.012 65 / 0.65),
    var(--shadow-2);
}
.device::after {
  /* reflejo del cristal */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(160deg, oklch(1 0 0 / 0.07) 0%, transparent 32%);
  z-index: 4;
}
.device-island {
  position: absolute; top: 20px; left: 50%;
  width: 84px; height: 24px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.device-screen {
  position: absolute; inset: 10px;
  border-radius: 38px;
  overflow: hidden;
  background: oklch(0.145 0.008 65);
}
.device-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.device-label::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
@media (max-width: 979px) { .device { --dw: 264px; } }

/* Pantallas dentro del teléfono */
.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(4px);
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out), filter 350ms var(--ease-out);
  pointer-events: none;
}
.screen.is-active { opacity: 1; transform: none; filter: none; }

/* Chat */
.chat-head {
  padding: 52px 16px 12px;
  display: flex; align-items: center; gap: 10px;
  background: oklch(0.175 0.009 65);
  border-bottom: 1px solid var(--line-soft);
  flex: none;
}
.chat-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-2), color-mix(in oklab, var(--accent) 55%, var(--surface-2)));
  box-shadow: var(--edge);
  flex: none;
}
.chat-title { font-size: 13px; font-weight: 600; line-height: 1.2; }
.chat-title small {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--ink-3); font-weight: 400; margin-top: 2px;
}
.chat-title small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wa); }
.chat-thread {
  flex: 1;
  padding: 14px 12px 18px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  transition: opacity 300ms var(--ease-io);
}
.chat-thread.is-resetting { opacity: 0; }
.bubble {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  filter: blur(4px);
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out), filter 350ms var(--ease-out);
}
.bubble.in  { align-self: flex-start; background: var(--surface-3); border-bottom-left-radius: 5px; transform-origin: 0 100%; }
.bubble.out { align-self: flex-end; background: color-mix(in oklab, var(--wa) 30%, var(--surface-2)); border-bottom-right-radius: 5px; transform-origin: 100% 100%; }
.chip {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line));
  background: var(--accent-soft);
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  filter: blur(4px);
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out), filter 350ms var(--ease-out);
}
.bubble.is-shown, .chip.is-shown { opacity: 1; transform: none; filter: none; }
.typing {
  align-self: flex-start;
  display: none; gap: 4px;
  padding: 11px 12px;
  background: var(--surface-3);
  border-radius: 16px 16px 16px 5px;
}
.typing.is-shown { display: flex; }
.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3);
  animation: typing 900ms var(--ease-io) infinite;
}
.typing i:nth-child(2) { animation-delay: 150ms; }
.typing i:nth-child(3) { animation-delay: 300ms; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* Pantalla: llamada de voz */
.scr-voice { align-items: center; justify-content: center; gap: 14px; padding: 40px 20px; text-align: center; }
.scr-voice .ring {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--accent-2), color-mix(in oklab, var(--accent) 50%, var(--surface-2)));
  box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 12%, transparent), 0 0 0 20px color-mix(in oklab, var(--accent) 5%, transparent);
}
.scr-voice .ring svg { width: 34px; height: 34px; color: var(--bg); }
.scr-voice .who { font-size: 16px; font-weight: 600; }
.scr-voice .when { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.wave { display: flex; align-items: center; gap: 4px; height: 28px; margin-top: 6px; }
.wave i {
  width: 4px; height: 100%; border-radius: 2px; background: var(--accent);
  transform: scaleY(0.25);
  animation: wave 1.1s var(--ease-io) infinite;
  animation-play-state: paused;
}
.screen.is-active .wave i { animation-play-state: running; }
.wave i:nth-child(1) { animation-delay: 0ms; }
.wave i:nth-child(2) { animation-delay: 120ms; }
.wave i:nth-child(3) { animation-delay: 240ms; }
.wave i:nth-child(4) { animation-delay: 360ms; }
.wave i:nth-child(5) { animation-delay: 480ms; }
.wave i:nth-child(6) { animation-delay: 600ms; }
.wave i:nth-child(7) { animation-delay: 720ms; }
@keyframes wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
.scr-voice .call-actions { display: flex; gap: 18px; margin-top: 14px; }
.scr-voice .call-actions i {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-3); box-shadow: var(--edge);
}
.scr-voice .call-actions i.end { background: oklch(0.6 0.19 25); }
.scr-voice .call-actions svg { width: 18px; height: 18px; color: var(--ink); }

/* Pantalla: conocimiento interno (RAG) */
.scr-rag { padding: 56px 14px 18px; gap: 10px; }
.scr-rag .query {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-3);
  box-shadow: var(--edge);
  font-size: 12px; color: var(--ink);
}
.scr-rag .query svg { width: 14px; height: 14px; color: var(--ink-3); flex: none; }
.scr-rag .docs { display: flex; flex-wrap: wrap; gap: 6px; }
.scr-rag .doc {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.02em;
  padding: 5px 8px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--ink-2);
  transition: border-color var(--dur-2), color var(--dur-2);
  transition-delay: calc(var(--i) * 120ms + 200ms);
}
.screen.is-active .scr-rag .doc, .screen.is-active.scr-rag .doc { border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); color: var(--accent); }
.scr-rag .answer {
  margin-top: auto;
  padding: 12px;
  border-radius: 14px 14px 14px 5px;
  background: color-mix(in oklab, var(--wa) 30%, var(--surface-2));
  font-size: 12px; line-height: 1.45;
}
.scr-rag .answer .src {
  display: block; margin-top: 8px;
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-2);
}

/* Pantalla: factura */
.scr-invoice { padding: 56px 14px 18px; justify-content: center; gap: 10px; }
.scr-invoice .doc-card {
  border-radius: 14px;
  background: var(--surface-3);
  box-shadow: var(--edge);
  padding: 14px;
}
.scr-invoice .doc-card .t { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.scr-invoice .doc-card .t svg { width: 16px; height: 16px; color: var(--accent); }
.scr-invoice .doc-card .lines { margin-top: 12px; display: grid; gap: 6px; }
.scr-invoice .doc-card .lines i { display: block; height: 6px; border-radius: 3px; background: oklch(1 0 0 / 0.08); }
.scr-invoice .doc-card .lines i:nth-child(2) { width: 70%; }
.scr-invoice .doc-card .lines i:nth-child(3) { width: 45%; }
.scr-invoice .status { display: grid; gap: 6px; }
.scr-invoice .status span {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-2);
  padding: 8px 10px; border-radius: 10px;
  background: oklch(1 0 0 / 0.03);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
  transition-delay: calc(var(--i) * 160ms + 150ms);
}
.screen.is-active .scr-invoice .status span, .screen.is-active.scr-invoice .status span { opacity: 1; transform: none; }
.scr-invoice .status svg { width: 14px; height: 14px; color: var(--wa); flex: none; }

/* Pantalla: panel */
.scr-panel { padding: 56px 14px 18px; gap: 14px; }
.scr-panel .t { font-size: 13px; font-weight: 600; }
.scr-panel .t small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.scr-panel .bars { display: grid; gap: 12px; }
.scr-panel .bar { display: grid; gap: 5px; font-size: 11px; color: var(--ink-2); }
.scr-panel .bar b { display: block; height: 8px; border-radius: 4px; background: oklch(1 0 0 / 0.06); overflow: hidden; }
.scr-panel .bar b::after {
  content: ""; display: block; height: 100%; width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 70%, var(--surface-3)), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-4) var(--ease-out);
  transition-delay: calc(var(--i) * 120ms + 150ms);
}
.screen.is-active .scr-panel .bar b::after, .screen.is-active.scr-panel .bar b::after { transform: scaleX(1); }
.scr-panel .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.scr-panel .tile { padding: 10px; border-radius: 12px; background: var(--surface-3); box-shadow: var(--edge); font-size: 11px; color: var(--ink-3); }
.scr-panel .tile i { display: block; height: 10px; width: 50%; border-radius: 3px; background: oklch(1 0 0 / 0.1); margin-bottom: 6px; }

/* ---------- Tarjetas (materia) ---------- */
.card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--edge), var(--shadow-1);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease-io), box-shadow var(--dur-3) var(--ease-out);
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, -20%),
    color-mix(in oklab, var(--accent) 13%, transparent), transparent 62%);
  transition: opacity var(--dur-2) var(--ease-io);
}
.card > * { position: relative; }
@media (hover: hover) {
  .card:hover { border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); box-shadow: var(--edge-strong), var(--shadow-1); }
  .card:hover::before { opacity: 1; }
}

/* ---------- Resolvemos ---------- */
.front-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .front-grid { grid-template-columns: repeat(3, 1fr); } }
.front { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.front .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.front h3 { font-size: 22px; }
.card-lede { color: var(--ink-3); font-size: 16px; line-height: 1.5; }
.front ul { list-style: none; display: grid; gap: 10px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.front li {
  display: grid; grid-template-columns: 16px 1fr; gap: 10px;
  color: var(--ink-2); font-size: 16px; line-height: 1.5;
}
.front li::before { content: "→"; color: var(--accent); font-family: var(--font-mono); font-size: 12px; line-height: 1.6; }

/* ---------- Caso real ---------- */
.case { overflow: hidden; }
.case-head {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  padding: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 760px) { .case-head { grid-template-columns: 1fr auto; align-items: end; gap: 48px; } }
.case-client { display: flex; align-items: center; gap: 14px; }
.case-logo {
  width: 52px; height: 52px; border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.08), var(--shadow-1);
  display: grid; place-items: center; overflow: hidden; flex: none;
}
.case-logo img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.case-client-name { font-size: 18px; font-weight: 600; }
.case-client-name small { display: block; color: var(--ink-3); font-weight: 400; font-size: 13px; }
.case-meta {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
  display: grid; gap: 6px; align-content: end;
  font-feature-settings: "tnum";
}
.case-meta b { color: var(--ink-2); font-weight: 500; }

.case-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .case-body { grid-template-columns: 1.25fr 0.75fr; } }
.case-video { position: relative; padding: clamp(24px, 3vw, 36px); background: oklch(0.16 0.008 65 / 0.5); }
.case-video video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 12px; background: #000;
  box-shadow: var(--edge), 0 24px 50px -28px oklch(0 0 0 / 0.8);
}
.play-overlay {
  position: absolute; inset: clamp(24px, 3vw, 36px);
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 50%, oklch(0 0 0 / 0.35));
  transition: opacity var(--dur-2) var(--ease-io), visibility 0s linear var(--dur-2);
}
.play-overlay i {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  box-shadow: 0 10px 40px -10px oklch(0 0 0 / 0.8);
  transition: transform var(--dur-2) var(--ease-out);
}
.play-overlay svg { width: 24px; height: 24px; margin-left: 4px; }
.play-overlay:hover i { transform: scale(1.06); }
.case-video.is-playing .play-overlay { opacity: 0; visibility: hidden; }

.case-stats { display: grid; border-top: 1px solid var(--line-soft); }
@media (min-width: 900px) { .case-stats { border-top: 0; border-left: 1px solid var(--line-soft); grid-template-rows: repeat(3, 1fr); } }
.stat { padding: clamp(22px, 2.6vw, 30px) clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line-soft); }
.stat:last-child { border-bottom: 0; }
.stat .num {
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1; letter-spacing: -0.04em; font-weight: 600; color: var(--ink);
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}
.stat .num span { color: var(--accent); font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.stat .lbl {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.5;
}

.case-flow { padding: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line-soft); background: oklch(0.185 0.009 65); }
.case-flow-title {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px;
}
.flow { display: flex; flex-wrap: wrap; gap: 10px 0; align-items: center; }
.flow-node {
  display: inline-flex; align-items: center;
  padding: 9px 13px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: var(--edge);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-2);
  white-space: nowrap;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.flow-node.accent {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line));
  color: var(--accent);
  background: var(--accent-soft);
}
.flow-arrow {
  position: relative;
  width: 30px; height: 2px;
  color: transparent; font-size: 0; line-height: 0;
  flex: none;
  user-select: none;
}
.flow-arrow::before {
  content: ""; position: absolute; inset: 0;
  background: var(--line);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-3) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + 45ms);
}
.case.in .flow-node { opacity: 1; transform: none; }
.case.in .flow-node.accent { box-shadow: var(--edge), var(--glow); transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms + 300ms); }
.case.in .flow-arrow::before { transform: scaleX(1); }
.flow > :nth-child(1)  { --i: 0; }
.flow > :nth-child(2)  { --i: 1; }
.flow > :nth-child(3)  { --i: 2; }
.flow > :nth-child(4)  { --i: 3; }
.flow > :nth-child(5)  { --i: 4; }
.flow > :nth-child(6)  { --i: 5; }
.flow > :nth-child(7)  { --i: 6; }
.flow > :nth-child(8)  { --i: 7; }
.flow > :nth-child(9)  { --i: 8; }
.flow > :nth-child(10) { --i: 9; }
.flow > :nth-child(11) { --i: 10; }

.case-disclaimer {
  padding: 14px clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); line-height: 1.6;
}

/* ---------- Cómo trabajamos (línea de tiempo) ---------- */
.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 35%, var(--line)));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-4) var(--ease-out) 120ms;
}
.timeline.in::before { transform: scaleX(1); }
.step { padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: visible; }
.step::before {
  content: "";
  position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px color-mix(in oklab, var(--accent) 40%, transparent);
  transform: scale(0.6); opacity: 0;
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-3) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 200ms + 200ms);
}
.timeline.in .step::before { transform: scale(1); opacity: 1; }
.timeline .step:nth-child(1) { --i: 0; }
.timeline .step:nth-child(2) { --i: 1; }
.timeline .step:nth-child(3) { --i: 2; }
@media (min-width: 820px) {
  .timeline { grid-template-columns: repeat(3, 1fr); padding-top: 34px; }
  .timeline::before { top: 5px; left: 28px; right: 28px; height: 2px; }
  .step::before { top: -34px; left: 22px; }
}
@media (max-width: 819px) {
  .timeline { padding-left: 30px; }
  .timeline::before { top: 28px; bottom: 28px; left: 5px; width: 2px; transform: scaleY(0); transform-origin: top; }
  .timeline.in::before { transform: scaleY(1); }
  .step::before { left: -31px; top: 28px; }
}
.how-step-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.how-step-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.how-step-time {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  padding: 4px 9px; border-radius: 6px;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line-soft));
  background: var(--accent-soft);
  white-space: nowrap;
}
.step h3 { color: var(--ink); }
.step p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* ---------- Servicios (teléfono fijo + tarjetas) ---------- */
.svc-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
.svc-stage { display: none; }
@media (min-width: 980px) {
  .svc-layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
  .svc-stage { display: block; position: sticky; top: max(calc(var(--nav-h) + 24px), calc(50vh - 350px)); }
  .svc-list { gap: 22px; padding-bottom: clamp(120px, 22vh, 240px); }
  .svc-card { padding: 32px; }
  .svc-stage .device-wrap { padding-top: 8px; }
}
.svc-list { display: grid; gap: 16px; }
.svc-card { padding: 26px 28px; display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.svc-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--surface-2);
  box-shadow: var(--edge);
  display: grid; place-items: center;
  color: var(--accent);
}
.svc-icon svg { width: 21px; height: 21px; }
.svc-icon :is(path, line, rect) {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset var(--dur-4) var(--ease-out) 120ms;
}
.in .svc-icon :is(path, line, rect) { stroke-dashoffset: 0; }
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.svc-card.is-active {
  border-color: color-mix(in oklab, var(--accent) 45%, var(--line));
  box-shadow: var(--edge-strong), var(--shadow-1), var(--glow);
}
.svc-card.is-active .svc-icon { background: var(--accent); color: var(--bg); }
.svc-mini { display: none; }
@media (max-width: 979px) {
  .svc-mini {
    display: block;
    grid-column: 1 / -1;
    position: relative;
    height: 250px;
    border-radius: 14px;
    overflow: hidden;
    background: oklch(0.145 0.008 65);
    box-shadow: var(--edge);
    margin-top: 4px;
  }
  .svc-mini .screen { opacity: 1; transform: none; filter: none; }
  .svc-mini .chat-head, .svc-mini .scr-rag, .svc-mini .scr-invoice, .svc-mini .scr-panel { padding-top: 16px; }
  .svc-mini .scr-voice { padding: 18px 20px; gap: 8px; }
  .svc-mini .scr-voice .ring { width: 56px; height: 56px; }
  .svc-mini .scr-voice .ring svg { width: 22px; height: 22px; }
  .svc-mini .scr-voice .call-actions { display: none; }
  .svc-mini .chat-head { display: none; }
  .svc-mini .chat-thread { padding-top: 10px; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  cursor: pointer; list-style: none;
  padding: 22px 0;
  font-size: clamp(18px, 2vw, 21px); font-weight: 500; color: var(--ink); line-height: 1.4;
  transition: color var(--dur-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono); font-size: 22px; color: var(--ink-3);
  flex-shrink: 0;
  transition: transform var(--dur-2) var(--ease-out), color var(--dur-2);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq .ans {
  padding-bottom: 24px;
  color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 70ch;
}
.faq .ans p + p { margin-top: 10px; }
.faq details[open] .ans {
  opacity: 1; transform: none;
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  @starting-style { opacity: 0; transform: translateY(-6px); }
}
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size var(--dur-2) var(--ease-out), content-visibility var(--dur-2) allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
}

/* ---------- Fundadores ---------- */
.founder { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 760px) { .founder { grid-template-columns: 240px 1fr; gap: 56px; } }
.founder-photo {
  width: 100%; aspect-ratio: 1; max-width: 240px;
  border-radius: var(--radius);
  object-fit: cover; object-position: center top;
  box-shadow: var(--edge), var(--shadow-1);
}
.founder-text p {
  color: var(--ink); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55;
  margin-bottom: 16px; text-wrap: pretty;
}
.founder-sig {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 12px 22px;
  font-family: var(--font-mono); font-size: 13px; color: var(--ink-3);
}
.founder-sig a { text-underline-offset: 4px; }
.founder-sig a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
.founder-sig b { color: var(--ink); font-weight: 500; }

/* ---------- CTA final ---------- */
.final {
  position: relative;
  padding: var(--section-pad-y) 0;
  text-align: center;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute; left: 50%; top: 0;
  width: min(900px, 120vw); height: 520px;
  transform: translate(-50%, -40%);
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.final > .container { position: relative; }
.final .label { display: inline-block; margin-bottom: 18px; }
.final h2 { margin-bottom: 20px; }
.final-sub {
  color: var(--ink-2); font-size: clamp(18px, 1.8vw, 21px);
  max-width: 56ch; margin: 0 auto 36px; line-height: 1.55;
}
.final .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
footer.site { padding: 36px 0 56px; border-top: 1px solid var(--line-soft); position: relative; z-index: 1; }
.foot-inner {
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  justify-content: space-between; align-items: center;
  color: var(--ink-3); font-size: 13px; font-family: var(--font-mono);
}
.foot-inner a { text-underline-offset: 4px; transition: color var(--dur-1); }
.foot-inner a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.foot-links a, .foot-inner a { display: inline-flex; align-items: center; min-height: 32px; }
.foot-note { margin-top: 10px; opacity: 0.8; }
.foot-note > div:last-child { font-style: italic; }

/* ---------- Reveal (jerárquico) ---------- */
.js .reveal, .js .reveal-lead { opacity: 0; transform: translateY(12px); }
.js .reveal-lead { transform: translateY(14px); filter: blur(8px); }
.reveal, .reveal-lead {
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-4) var(--ease-out), filter var(--dur-4) var(--ease-out);
}
.reveal.in, .reveal-lead.in { opacity: 1; transform: none; filter: none; }
.js .stagger > * {
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms + 120ms);
}
.js .stagger.in > *, .js .in .stagger > * { opacity: 1; transform: none; }
.stagger > :nth-child(1) { --i: 0; }
.stagger > :nth-child(2) { --i: 1; }
.stagger > :nth-child(3) { --i: 2; }
.stagger > :nth-child(4) { --i: 3; }
.stagger > :nth-child(5) { --i: 4; }
.stagger > :nth-child(6) { --i: 5; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px var(--gutter) 120px; color: var(--ink-2); line-height: 1.65; }
.legal .back { color: var(--ink-3); font-size: 14px; display: inline-flex; align-items: center; min-height: 32px; margin-bottom: 36px; }
.legal .back:hover { color: var(--accent); }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 12px; }
.legal .meta { color: var(--ink-3); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 20px; margin: 36px 0 12px; letter-spacing: -0.01em; color: var(--ink); }
.legal p { margin-bottom: 16px; }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal a:hover { text-decoration: underline; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 6px; }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 48px 0 24px; }
.legal .small { font-size: 13px; color: var(--ink-3); }
.legal b { color: var(--ink); font-weight: 500; }

/* ---------- Reduced motion: menos y más suave, sin perder estado ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-lead, .js .stagger > *, .js .hero [data-enter] {
    transform: none; filter: none;
    transition: opacity var(--dur-2) ease-out;
    transition-delay: 0s;
  }
  .bubble, .chip, .screen, .flow-node, .step::before, .timeline::before, .flow-arrow::before,
  .scr-invoice .status span, .scr-panel .bar b::after, .svc-icon :is(path, line, rect) {
    transition: opacity var(--dur-2) ease-out;
    transform: none !important;
    filter: none !important;
    stroke-dashoffset: 0;
  }
  .flow-arrow::before, .timeline::before, .scr-panel .bar b::after { transform: none !important; }
  .step::before { opacity: 1; }
  .typing i, .wave i { animation: none; transform: none; opacity: 1; }
  .hero-vid { transition: none; }
  .btn:active, .nav-cta:active, .hero-pause:active { transform: none; }
  .play-overlay:hover i { transform: none; }
  .faq details[open] .ans { transition: opacity var(--dur-2) ease-out; }
  .faq details::details-content { transition: none; }
}

/* Orden de entrada del hero (sin estilos inline) */
.hero-copy > :nth-child(1) { --i: 0; }
.hero-copy > :nth-child(2) { --i: 1; }
.hero-copy > :nth-child(3) { --i: 2; }
.hero-copy > :nth-child(4) { --i: 3; }
.hero-stage { --i: 2; }
