:root {
  --bg: #060708;
  --bg-2: #0c0e11;
  --panel: #121418;
  --ink: #f4f6f8;
  --muted: rgba(244, 246, 248, 0.6);
  --faint: rgba(244, 246, 248, 0.38);
  --blue: #3293ce;
  --blue-deep: #1d6fa5;
  --cyan: #7fd3ff;
  --line: rgba(255, 255, 255, 0.1);
  --navy: #0b1a26;
  --sans: "Sora", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; }

svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.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;
}

.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

/* ---------- Tipografía ---------- */

.display, .display-md {
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.04;
  background: linear-gradient(180deg, #ffffff 25%, #a3aab4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.display { font-size: clamp(2.5rem, 6.2vw, 5.6rem); }
.display-md { font-size: clamp(2.1rem, 4.8vw, 4.2rem); line-height: 1.08; }
.display-md.dark {
  background-image: linear-gradient(180deg, #0b1a26 30%, #35546b 100%);
}
.center { text-align: center; }

.hl, .split .w.hl {
  background: linear-gradient(90deg, #9fe0ff 0%, #4fb1ea 45%, #3293ce 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hl-dark {
  background: linear-gradient(90deg, #1d7fbf, #3293ce 60%, #48aee6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  color: var(--muted);
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  max-width: 40rem;
  margin-top: 22px;
}
.lead.dark { color: rgba(11, 26, 38, 0.68); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #45a6df, #2b86c0);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 0 0 1px rgba(127, 211, 255, 0.35) inset, 0 10px 30px rgba(50, 147, 206, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(127, 211, 255, 0.5) inset, 0 16px 40px rgba(50, 147, 206, 0.5); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; stroke-width: 2; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 34px; }
.cta-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.cta-note svg { width: 18px; height: 18px; color: var(--cyan); }
.cta-note.dark { color: rgba(11, 26, 38, 0.7); }
.cta-note.dark svg { color: var(--blue-deep); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan); text-decoration: none; font-weight: 400; font-size: 0.95rem;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Cabecera ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 7, 8, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { width: 104px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav a:hover { color: #fff; }

/* ---------- Tiles de herramientas ---------- */

.tile {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 32px rgba(50, 147, 206, 0.16);
  color: #fff; font-size: 0.82rem; font-weight: 400; white-space: nowrap;
}
.tile svg {
  width: 36px; height: 36px; padding: 8px; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, #4aaee6, #1d6fa5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 18px rgba(50, 147, 206, 0.5);
  stroke-width: 1.8;
}
.tile.sm { padding: 10px; }

.float { animation: bob 6s ease-in-out infinite; }
.float:nth-of-type(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.float:nth-of-type(3n) { animation-duration: 8.5s; animation-delay: -4s; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  padding-bottom: 90px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 34%;
  background: linear-gradient(180deg, transparent, var(--bg) 85%);
  z-index: 2; pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  position: absolute; left: 50%; top: -4vw;
  width: max(1500px, 118vw); max-width: none; transform: translateX(-50%);
  opacity: 0.95;
}

.hero-frame {
  position: absolute; z-index: 1;
  left: 50%; top: 118px;
  width: min(1000px, 90vw); height: 1400px;
  transform: translateX(-50%);
  padding: 12px;
  border-radius: 70px 70px 0 0;
  background: linear-gradient(150deg, #474c55 0%, #1a1c21 18%, #0e0f12 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 0 4px #0a0b0d, 0 -10px 80px rgba(50, 147, 206, 0.28);
}
.hero-frame::before, .hero-frame::after {
  content: ""; position: absolute; width: 5px; border-radius: 3px; background: #2d3036;
}
.hero-frame::before { left: -5px; top: 170px; height: 60px; box-shadow: 0 90px 0 #2d3036; }
.hero-frame::after { right: -5px; top: 220px; height: 110px; }
.hero-frame-screen {
  height: 100%; border-radius: 60px 60px 0 0;
  background: radial-gradient(120% 50% at 50% 0%, #17324a 0%, #0b1622 40%, #060708 72%);
}

.hero-copy { position: relative; z-index: 3; text-align: center; padding-top: 148px; }
.hero-copy .display { max-width: 15ch; margin-inline: auto; }
.hero-copy .lead { margin-inline: auto; max-width: 36rem; }

.island {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 300px; height: 52px; padding: 0 8px 0 20px;
  border-radius: 999px; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  margin-bottom: 38px; color: rgba(255, 255, 255, 0.82); font-size: 0.9rem;
}
.island-text { flex: 1; text-align: left; transition: opacity 0.3s, transform 0.3s; }
.island-text.swap { opacity: 0; transform: translateY(6px); }
.island-spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(127, 211, 255, 0.25); border-top-color: var(--cyan);
  animation: spin 0.9s linear infinite;
}
.island-dot {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #1f4f72, #0d1b27);
  color: var(--cyan);
}
.island-dot svg { width: 18px; height: 18px; }

.hero-voice { margin-top: 54px; display: flex; justify-content: center; }
.hero-voice .status-bar { display: none; }
.voice-pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 22px 10px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  text-align: left;
}
.voice-orb { width: 54px; height: 54px; border-radius: 50%; mix-blend-mode: screen; transform: scale(1.35); }
.voice-body small { display: block; color: var(--faint); font-size: 0.72rem; letter-spacing: 0.04em; }
.voice-body p { font-size: 1rem; color: #fff; min-height: 1.5em; min-width: 31ch; }
.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--cyan); animation: blink 1s steps(1) infinite; }

.wave { display: inline-flex; align-items: center; gap: 3px; height: 24px; }
.wave i { display: block; width: 3px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--cyan), var(--blue)); animation: wave 1.1s ease-in-out infinite; transform-origin: center; }
.wave i:nth-child(2) { animation-delay: -0.9s; }
.wave i:nth-child(3) { animation-delay: -0.3s; }
.wave i:nth-child(4) { animation-delay: -0.7s; }
.wave i:nth-child(5) { animation-delay: -0.15s; }
.wave i:nth-child(6) { animation-delay: -0.55s; }
.wave i:nth-child(7) { animation-delay: -0.8s; }
.wave i:nth-child(8) { animation-delay: -0.4s; }
.wave i:nth-child(9) { animation-delay: -0.2s; }

.split .w {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 25%, #a3aab4 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.js .split .w { opacity: 0; transform: translateY(0.35em); filter: blur(10px); animation: wordIn 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }

.t-hero-1, .t-hero-2, .t-hero-3, .t-hero-4, .t-hero-5, .t-hero-6 { position: absolute; z-index: 3; }
.t-hero-1 { left: 3%; top: 38%; }
.t-hero-2 { right: 3.5%; top: 31%; }
.t-hero-3 { left: 7%; top: 64%; }
.t-hero-4 { right: 7%; top: 60%; }
.t-hero-5 { left: 11%; top: 20%; }
.t-hero-6 { right: 12%; top: 15%; }

/* ---------- Móvil (marco) ---------- */

.phone { container-type: inline-size; aspect-ratio: 9 / 19.5; position: relative; }
.phone-body {
  position: relative; height: 100%;
  padding: 3.3cqw; border-radius: 15cqw;
  background: linear-gradient(150deg, #4a4f58 0%, #17191d 22%, #0b0c0f 70%, #2f333a 100%);
  box-shadow: inset 0 0 0 0.7cqw #08090b, 0 0 0 1px rgba(255, 255, 255, 0.14), 0 4cqw 12cqw rgba(0, 0, 0, 0.6);
}
.phone-body::before, .phone-body::after { content: ""; position: absolute; width: 1.1cqw; border-radius: 1cqw; background: #2a2d33; }
.phone-body::before { left: -1cqw; top: 22%; height: 7%; box-shadow: 0 10cqw 0 #2a2d33; }
.phone-body::after { right: -1cqw; top: 28%; height: 12%; }
.phone.glow .phone-body {
  box-shadow: inset 0 0 0 0.7cqw #08090b, 0 0 0 1.5px rgba(127, 200, 245, 0.85), 0 0 6cqw rgba(50, 147, 206, 0.85), 0 0 34cqw rgba(50, 147, 206, 0.4);
}
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 12cqw; background: #050607;
  font-size: 3.6cqw; line-height: 1.4; color: #eef2f6; font-weight: 300;
}
.status-bar {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 13cqw; padding: 1.5cqw 8cqw 0 9cqw;
  font-size: 3.7cqw; font-weight: 600; color: #fff;
}
.status-bar i { position: absolute; left: 50%; top: 3cqw; width: 28cqw; height: 8.2cqw; border-radius: 99px; background: #000; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(255,255,255,.04); }
.status-bar .sb { display: inline-flex; gap: 1.6cqw; align-items: center; }
.status-bar .sb svg { width: 5cqw; height: 3cqw; stroke-width: 1.4; }
.status-bar .sb svg + svg { width: 6.6cqw; }

.scr { position: absolute; inset: 13cqw 0 20cqw; padding: 0 5cqw; opacity: 0; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transform: translateY(3cqw); }
.scr.scr-static { opacity: 1; transform: none; }

.chat-head { display: flex; align-items: center; justify-content: center; gap: 2cqw; padding: 2cqw 0 4cqw; font-size: 3.8cqw; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.06); margin: 0 -5cqw 3cqw; }
.chat-head img { width: 5cqw; }

.msg { border-radius: 5cqw; padding: 3.2cqw 4.2cqw; margin-bottom: 3cqw; }
.msg.me { margin-left: auto; width: fit-content; max-width: 80%; background: linear-gradient(180deg, #3d9fda, #2a80b9); color: #fff; border-bottom-right-radius: 1.5cqw; }
.msg-z { max-width: 92%; background: #14171b; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 5cqw; border-bottom-left-radius: 1.5cqw; padding: 3.8cqw; margin-bottom: 3cqw; }
.msg-z p b { font-weight: 600; color: #fff; }
.source { display: flex; align-items: center; gap: 2cqw; color: rgba(255,255,255,.7); font-size: 3.2cqw; }
.source + .source { margin-top: 2.6cqw; }
.source svg { width: 5cqw; height: 5cqw; color: var(--cyan); }
.dots { display: inline-flex; gap: 0.8cqw; margin-left: 1cqw; }
.dots i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: var(--cyan); animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: 0.2s; }
.dots i:nth-child(3) { animation-delay: 0.4s; }

.card-table { margin: 3cqw 0; border-radius: 3cqw; background: #0a0c0f; border: 1px solid rgba(255,255,255,.05); overflow: hidden; }
.card-table .row { display: grid; grid-template-columns: 1fr auto auto; gap: 2cqw; padding: 2.1cqw 3cqw; font-size: 2.95cqw; align-items: center; }
.card-table .row + .row { border-top: 1px solid rgba(255,255,255,.06); }
.card-table .row b { font-weight: 600; }
.card-table .row em { font-style: normal; color: var(--faint); text-align: right; white-space: nowrap; min-width: 9cqw; }
.card-table .row.muted { color: var(--faint); }

.chip { display: inline-flex; align-items: center; gap: 1.4cqw; font-size: 2.7cqw; padding: 1.2cqw 2.6cqw; border-radius: 99px; background: rgba(50, 147, 206, 0.16); color: #a6dcf8; margin: 0.6cqw 0.6cqw 0 0; font-weight: 400; }
.chip svg { width: 3.4cqw; height: 3.4cqw; }
.speaking { display: flex; align-items: center; gap: 2cqw; margin-top: 3cqw; font-size: 2.8cqw; color: var(--faint); }
.speaking .wave { height: 4cqw; gap: 0.6cqw; }
.speaking .wave i { width: 0.8cqw; }
.pos { color: #4ade80; font-weight: 500; }

.composer { position: absolute; left: 4cqw; right: 4cqw; bottom: 6cqw; display: flex; align-items: center; gap: 2cqw; transition: opacity 0.4s; }
.composer > span { height: 10.5cqw; display: grid; place-items: center; border-radius: 99px; }
.c-plus, .c-mic { width: 10.5cqw; flex: none; background: #16191d; }
.c-mic { background: linear-gradient(180deg, #45a6df, #2b86c0); }
.composer svg { width: 5cqw; height: 5cqw; }
.c-input { flex: 1; justify-items: start; padding: 0 4cqw; background: #16191d; color: var(--faint); font-size: 3.2cqw; }

/* pantallas de la historia */
.scr-1 { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 8cqw; inset-block-end: 6cqw; }
.scr-hello { color: var(--faint); font-size: 3.6cqw; }
.scr-ask { font-size: 6.6cqw; font-weight: 300; margin-top: 1cqw; }
.scr-orb { width: 74cqw; margin: 4cqw 0 0; mix-blend-mode: screen; animation: breathe 3.2s ease-in-out infinite; }
.scr-transcript { font-size: 4.6cqw; max-width: 80%; margin-top: 2cqw; }
.scr-transcript b { font-weight: 500; color: var(--cyan); }
.wave-lg { height: 10cqw; gap: 1.3cqw; margin-top: 6cqw; }
.wave-lg i { width: 1.5cqw; }

.albaran {
  position: relative; background: #f2eee5; color: #333; border-radius: 2cqw;
  padding: 3cqw 3.5cqw; margin-bottom: 2.4cqw; transform: rotate(-2.5deg);
  font-size: 2.4cqw; line-height: 1.2; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.35);
}
.albaran b { display: block; font-weight: 600; letter-spacing: 0.1em; }
.albaran small { display: block; color: #777; margin-bottom: 1.6cqw; }
.albaran i { display: block; height: 1.1cqw; background: #d8d1c2; border-radius: 1cqw; margin: 1.4cqw 0; }
.albaran i.short { width: 55%; }
.albaran .stamp { position: absolute; right: 3cqw; bottom: 3cqw; border: 0.5cqw solid #2b86c0; color: #2b86c0; padding: 0.6cqw 1.4cqw; border-radius: 1cqw; font-weight: 600; transform: rotate(-10deg); font-size: 2.2cqw; letter-spacing: 0.08em; }
.msg.me.photo { max-width: 66%; padding: 2.4cqw 2.4cqw 3cqw; }

/* ---------- Problema ---------- */

.manifesto { position: relative; height: 240vh; }
.manifesto-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; --conv: 0; }
.manifesto-text {
  position: relative; z-index: 2; max-width: 17ch; text-align: center; padding: 0 20px;
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  background: none; color: inherit;
  opacity: calc(1 - var(--conv) * 2.2);
  transform: scale(calc(1 - var(--conv) * 0.12));
  filter: blur(calc(var(--conv) * 10px));
}
.manifesto-text .mw {
  background: linear-gradient(180deg, #ffffff 25%, #a3aab4 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.14; transition: opacity 0.35s var(--ease);
}
.manifesto-text .mw.hl { background: linear-gradient(90deg, #9fe0ff, #4fb1ea 45%, #3293ce); -webkit-background-clip: text; background-clip: text; }
.manifesto-text .mw.on { opacity: 1; }
.scatter { position: absolute; inset: 0; }
.scatter .g {
  position: absolute; left: 50%; top: 50%;
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  transform:
    translate(-50%, -50%)
    translate(calc(var(--x) * 1vw * (1 - var(--conv))), calc(var(--y) * 1vh * (1 - var(--conv))))
    scale(calc(1 - var(--conv) * 0.55));
  opacity: calc(0.9 - var(--conv) * 0.9);
}
.scatter .g svg { width: 26px; height: 26px; }
.manifesto-mark {
  position: absolute; z-index: 3; display: grid; justify-items: center; gap: 26px; text-align: center; padding: 0 24px;
  opacity: var(--conv); transform: scale(calc(0.7 + var(--conv) * 0.3));
}
.manifesto-mark img { width: clamp(72px, 9vw, 110px); filter: drop-shadow(0 0 40px rgba(50, 147, 206, 0.8)); }
.manifesto-mark p { font-size: clamp(1.3rem, 2.6vw, 2.2rem); color: #fff; font-weight: 300; letter-spacing: -0.02em; }

/* ---------- Scrollytelling ---------- */

.story { position: relative; height: 460vh; }
.story-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(40% 55% at 50% 52%, rgba(50, 147, 206, 0.16), transparent 70%);
}
.story-words { position: absolute; left: 6vw; top: 44%; width: 34vw; height: 1.2em; font-size: clamp(2.8rem, 4.6vw, 5.2rem); }
.sw {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font-weight: 300; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(180deg, #fff 25%, #9aa1ab 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(40px); filter: blur(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.sw .hl { -webkit-background-clip: text; background-clip: text; }
.sw.on { opacity: 1; transform: none; filter: none; }
.story-captions { position: absolute; left: 6vw; top: calc(44% + clamp(4.2rem, 6.6vw, 7rem)); width: min(30ch, 32vw); margin: 0; padding: 0; list-style: none; }
.story-captions li { position: absolute; color: var(--muted); font-size: 1.05rem; opacity: 0; transform: translateY(12px); transition: opacity 0.5s 0.1s, transform 0.5s 0.1s; }
.story-captions li.on { opacity: 1; transform: none; }

.story-phone { position: absolute; left: 50%; top: 50%; height: min(80svh, 760px); width: calc(min(80svh, 760px) * 9 / 19.5); transform: translate(-50%, -50%); z-index: 3; }

.story-stage[data-step="1"] .scr-1,
.story-stage[data-step="2"] .scr-chat,
.story-stage[data-step="3"] .scr-chat,
.story-stage[data-step="4"] .scr-photo { opacity: 1; transform: none; }
.story-stage[data-step="1"] .composer { opacity: 0; }
.scr-chat .answer { display: none; }
.story-stage[data-step="3"] .scr-chat .thinking { display: none; }
.story-stage[data-step="3"] .scr-chat .answer { display: block; animation: popIn 0.6s var(--ease) both; }
.story-stage[data-step="4"] .scr-photo .answer { animation: popIn 0.6s 0.3s var(--ease) both; }

.story-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.story-lines path { fill: none; stroke: url(#lg-line); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 5 7; opacity: 0; transition: opacity 0.5s; animation: dash 1.2s linear infinite; }
.story-stage[data-step="2"] .story-lines path:nth-child(-n + 3) { opacity: 1; }
.story-stage[data-step="2"] .story-lines path:nth-of-type(3) { opacity: 0.25; }

.story-tiles .tile { position: absolute; left: 79%; transform: translateY(-50%); z-index: 2; opacity: 0.35; filter: grayscale(1); transition: opacity 0.5s, filter 0.5s, box-shadow 0.5s; }
.st-1 { top: 28%; } .st-2 { top: 50%; } .st-3 { top: 72%; }
.story-stage[data-step="2"] .st-1, .story-stage[data-step="2"] .st-2 { opacity: 1; filter: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 1px rgba(127, 211, 255, 0.55), 0 0 40px rgba(50, 147, 206, 0.55); }
.story-stage[data-step="3"] .st-1, .story-stage[data-step="4"] .st-1 { opacity: 0.8; filter: none; }

.story-progress { position: absolute; right: 3vw; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.story-progress i { width: 4px; height: 28px; border-radius: 4px; background: rgba(255, 255, 255, 0.15); transition: background 0.4s, height 0.4s; }
.story-progress i.on { background: var(--cyan); height: 44px; }

/* ---------- Secciones genéricas ---------- */

.section { padding: clamp(80px, 12vw, 150px) 0; }

.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Vídeo ---------- */

.video-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 7vw, 110px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.82); }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--cyan); stroke-width: 2; margin-top: 2px; }
.video-frame {
  width: min(340px, 78vw); aspect-ratio: 9 / 16; border-radius: 34px; padding: 10px;
  background: linear-gradient(150deg, #3b3f46, #121418 40%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 80px rgba(50, 147, 206, 0.35), 0 40px 80px rgba(0,0,0,.6);
}
.video-ph {
  position: relative; height: 100%; border-radius: 26px; background: #2b2e33;
  display: grid; place-items: center; align-content: center; gap: 18px; color: rgba(255,255,255,.55);
}
.video-play { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-label { font-size: 0.85rem; }
.video-sound { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 99px; background: rgba(0,0,0,.45); color: #fff; font-size: 0.8rem; white-space: nowrap; }
.video-sound svg { width: 16px; height: 16px; }

/* ---------- Bloque claro ---------- */

.light {
  position: relative; margin: 0 12px; padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px);
  border-radius: 40px; color: var(--navy); overflow: hidden;
  background: radial-gradient(60% 50% at 50% 55%, #ffffff 0%, transparent 70%), linear-gradient(180deg, #e6f4fc 0%, #c3e5f7 55%, #8fcff0 100%);
}
.light .display-md, .light .lead { text-align: center; margin-inline: auto; }
.light .display-md { max-width: 20ch; }

.ask-grid { display: grid; grid-template-columns: 1fr minmax(220px, 320px) 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; margin-top: 64px; }
.ask-col { display: grid; gap: 20px; }
.ask-col:first-child .widget:nth-child(2) { margin-right: 36px; margin-left: -12px; }
.ask-col:last-child .widget:nth-child(2) { margin-left: 36px; margin-right: -12px; }

.widget {
  background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 22px; padding: 18px 20px 16px; font-size: 0.86rem;
  box-shadow: 0 24px 50px rgba(20, 90, 140, 0.14), 0 2px 6px rgba(20, 90, 140, 0.06);
}
.widget .q { font-weight: 500; font-size: 0.95rem; line-height: 1.35; margin-bottom: 14px; color: var(--navy); }
.bars { display: grid; gap: 8px; }
.bars div { display: grid; grid-template-columns: 1fr 70px 46px; align-items: center; gap: 10px; }
.bars span { color: rgba(11, 26, 38, 0.75); }
.bars i { display: block; height: 8px; border-radius: 8px; width: calc(var(--v) * 100%); background: linear-gradient(90deg, #ff9b9b, #e5484d); }
.bars b { color: #d63c41; font-weight: 600; text-align: right; }
.big-num { font-size: 2.6rem; font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
.big-num small { font-size: 1rem; color: rgba(11,26,38,.6); }
.sub-num { color: rgba(11, 26, 38, 0.65); margin-top: 6px; }
.sub-num b { color: var(--navy); font-weight: 600; }
.spark { width: 100%; height: 54px; }
.spark path { stroke: var(--blue); stroke-width: 2.2; }
.spark .area { fill: rgba(50, 147, 206, 0.14); stroke: none; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(11,26,38,.08); color: rgba(11,26,38,.75); }
.mini-list li b { color: var(--navy); font-weight: 500; }
.mini-list li.total { border: 0; font-weight: 500; color: var(--navy); }
.mini-list li.total b { color: var(--blue-deep); font-weight: 600; }
.mail-sum { display: flex; gap: 12px; align-items: flex-start; }
.mail-sum .avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #4aaee6, #1d6fa5); color: #fff; font-weight: 500; font-size: 0.8rem; }
.mail-sum p { color: rgba(11,26,38,.75); }
.mail-sum p b { display: block; color: var(--navy); font-weight: 500; }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tasks li { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: rgba(11,26,38,.8); }
.tasks em { font-style: normal; font-size: 0.75rem; font-weight: 500; padding: 3px 9px; border-radius: 99px; background: #ffe5e5; color: #c8363b; white-space: nowrap; }
.light-chip { background: rgba(50, 147, 206, 0.12); color: var(--blue-deep); font-size: 0.74rem; padding: 5px 11px; gap: 6px; margin: 14px 0 0; }
.light-chip svg { width: 14px; height: 14px; }

.ask-center { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.light-orb {
  position: relative; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffffff 0%, #c8ecff 16%, #69bdea 42%, #2f88c6 68%, #17598c 100%);
  box-shadow: 0 40px 90px rgba(29, 111, 165, 0.45), inset -16px -26px 50px rgba(5, 40, 75, 0.4), inset 14px 14px 36px rgba(255, 255, 255, 0.55);
  animation: breathe 5s ease-in-out infinite;
  overflow: hidden;
}
.light-orb span {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(rgba(255, 255, 255, 0.75) 1.1px, transparent 1.8px) 0 0 / 11px 11px;
  -webkit-mask-image: radial-gradient(circle at 60% 55%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 60% 55%, #000 0%, transparent 62%);
  animation: drift 18s linear infinite;
}
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(29, 111, 165, 0.25); animation: ring 4.5s ease-out infinite; }
.ring.r2 { animation-delay: 1.5s; }
.ring.r3 { animation-delay: 3s; }

.q-marquee { margin-top: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.q-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.q-track span { padding: 12px 18px; border-radius: 99px; background: rgba(255,255,255,.7); border: 1px solid #fff; color: var(--navy); font-size: 0.9rem; white-space: nowrap; box-shadow: 0 8px 20px rgba(20,90,140,.08); }

/* ---------- Carrusel de tarjetas ---------- */

.carousel { position: relative; height: 320vh; }
.carousel-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--header-h) 0 20px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: clamp(70px, 9vw, 130px) 100%;
}
.carousel-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 60%, transparent, var(--bg) 90%); pointer-events: none; }
.carousel-stage h2 { position: relative; padding: 0 20px; }
.cards3d { position: relative; width: 100%; height: min(470px, 60svh); margin-top: clamp(28px, 5vh, 56px); perspective: 1400px; }
.gcard {
  --w: min(330px, 72vw);
  position: absolute; left: 50%; top: 0; width: var(--w); height: 100%; margin-left: calc(var(--w) / -2);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; border-radius: 30px; overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 55%, rgba(18, 20, 24, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: translateX(var(--tx, 0)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  opacity: var(--o, 1); filter: blur(var(--b, 0px));
  transition: background 0.5s;
  will-change: transform;
}
.gcard.active { background: linear-gradient(165deg, rgba(127, 211, 255, 0.6), rgba(50, 147, 206, 0.28) 38%, rgba(14, 17, 21, 0.92) 78%); border-color: rgba(160, 220, 255, 0.4); }
.gcard img { position: absolute; left: 50%; top: 2%; width: 78%; transform: translateX(-50%); mix-blend-mode: screen; }
.gcard h3 { position: relative; font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; color: #fff; }
.gcard p { position: relative; margin-top: 8px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Escena ---------- */

.scene {
  position: relative; aspect-ratio: 16 / 9; border-radius: 40px; overflow: hidden;
  background: #0a0b0d; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px rgba(0,0,0,.6);
}
.scene-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-word {
  position: absolute; font-size: clamp(1.8rem, 4.6vw, 4.4rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(180deg, #fff 30%, #b6bcc5); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.w-left { left: 7%; top: 30%; transform: perspective(900px) rotateY(22deg); }
.w-right { right: 6%; top: 16%; max-width: 36%; transform: perspective(900px) rotateY(-20deg); text-align: right; }
.scene-phone { position: absolute; left: 50%; bottom: 27%; width: 15.5%; transform: translateX(-50%); }
.scene-phone::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -3%; height: 4%; border-radius: 50%; background: rgba(0,0,0,.55); filter: blur(10px); z-index: -1; }
.scene-phone .scr { font-size: 3.3cqw; }
.mini-bars { display: flex; align-items: flex-end; gap: 1.6cqw; height: 16cqw; margin: 3cqw 0 2cqw; }
.mini-bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 1cqw; background: rgba(127, 211, 255, 0.28); }
.mini-bars i.on { background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.scene-card {
  position: absolute; right: 6%; top: 44%; width: 30%; padding: clamp(14px, 1.8vw, 24px);
  border-radius: 20px; color: #fff; font-size: clamp(0.78rem, 1vw, 0.95rem);
  background: linear-gradient(135deg, #46a7e0, #2470ad);
  box-shadow: 0 30px 60px rgba(29, 111, 165, 0.45), inset 0 1px 0 rgba(255,255,255,.3);
  transform: perspective(900px) rotateY(-16deg);
}
.scene-card-title { font-size: 1.25em; font-weight: 500; margin-bottom: 6px; }
.scene-card p:not(.scene-card-title) { color: rgba(255,255,255,.85); }
.scene-card .link-arrow { color: #fff; margin-top: 12px; font-weight: 500; }
.scene-tiles { position: absolute; left: 10%; top: 52%; display: grid; grid-template-columns: repeat(2, auto); gap: 12px; transform: perspective(900px) rotateY(20deg); }

/* ---------- Cifras ---------- */

.stats-sec { padding-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stat-num {
  font-size: clamp(4.4rem, 10vw, 9rem); font-weight: 200; line-height: 1; letter-spacing: -0.06em; font-style: italic;
  background: linear-gradient(180deg, #fff 30%, #6f7782); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-num sup { font-size: 0.34em; font-style: normal; letter-spacing: -0.02em; vertical-align: 1.4em; margin-left: 6px; color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.stat p:last-child { color: var(--muted); margin-top: 14px; max-width: 26ch; }

/* ---------- Bento ---------- */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.b {
  position: relative; overflow: hidden; min-height: 270px; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  border-radius: 30px; background: linear-gradient(165deg, #16191e, #0c0e11);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.b > * { position: relative; }
.b > img { position: absolute; top: -3%; right: -3%; width: 46%; mix-blend-mode: screen; pointer-events: none; }
.b-med, .b-small { min-height: 310px; }
.b-med > img, .b-small > img { top: 0; left: 50%; right: auto; width: 44%; transform: translateX(-50%); }
.b p:not(.b-title) { color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
.b-title { font-size: 1.32rem; font-weight: 400; letter-spacing: -0.02em; color: #fff; }
.b .link-arrow { margin-top: 8px; }

.b-wall { grid-column: 1 / span 2; justify-content: space-between; min-height: 340px; }
.b-tall {
  grid-column: 3; grid-row: 1 / span 2; min-height: 560px;
  background: linear-gradient(180deg, #0c0e11 0%, #0e2032 55%, #1a5a8a 100%);
}
.b-tall > img { top: 4%; left: 50%; right: auto; width: 92%; transform: translateX(-50%); }
.wall { display: grid; gap: 10px; margin: 18px -28px; }
.wall-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.wall-track { display: flex; gap: 10px; width: max-content; animation: marquee 36s linear infinite; }
.wall-row.rev .wall-track { animation-direction: reverse; animation-duration: 42s; }
.wt { display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.5); font-size: 0.88rem; white-space: nowrap; }
.wt svg { width: 20px; height: 20px; }
.wt.on { color: #fff; border-color: rgba(127, 211, 255, 0.6); background: rgba(50,147,206,.12); box-shadow: 0 0 26px rgba(50, 147, 206, 0.35), inset 0 0 14px rgba(127, 211, 255, 0.12); }
.wt.on svg { color: var(--cyan); }

.b-eu .eu { position: absolute; top: 7%; left: 50%; width: 36%; transform: translateX(-50%); }
.eu .eu-bg { fill: url(#eu-dots); stroke: none; }
.eu .star { fill: #ffd76a; stroke: none; filter: drop-shadow(0 0 3px rgba(255, 215, 106, .7)); animation: twinkle 3s ease-in-out infinite; }
.eu-core { fill: var(--blue); stroke: none; filter: drop-shadow(0 0 12px rgba(50, 147, 206, 0.9)); }
.eu-pulse { fill: none; stroke: var(--cyan); stroke-width: 1.5; transform-origin: 100px 100px; animation: pulseRing 2.6s ease-out infinite; }

.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 auto; }
.keys span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: 0.85rem; color: rgba(255,255,255,.85); }
.keys svg { width: 15px; height: 15px; color: var(--cyan); }
.keys .voice { border-color: rgba(127, 211, 255, 0.35); background: rgba(50, 147, 206, 0.12); }
.b-it { background: linear-gradient(165deg, #12273a, #0c0e11 70%); }
.b-icon { width: 44px; height: 44px; color: var(--cyan); margin-bottom: auto; stroke-width: 1.4; }

/* ---------- Pasos ---------- */

.steps { margin-top: 56px; }
.steps-bar { height: 2px; border-radius: 2px; background: rgba(255,255,255,.1); margin-bottom: 28px; overflow: hidden; }
.steps-bar i { display: block; height: 100%; width: calc(var(--sp, 0) * 100%); background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px var(--cyan); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 26px; border-radius: 24px; background: linear-gradient(165deg, #15181c, #0c0e11); border: 1px solid rgba(255,255,255,.08); }
.step-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(145deg, #4aaee6, #1d6fa5); box-shadow: 0 0 24px rgba(50,147,206,.45); }
.step-ic svg { width: 24px; height: 24px; color: #fff; }
.step-n { position: absolute; top: 26px; right: 26px; color: var(--faint); font-size: 0.85rem; letter-spacing: 0.08em; }
.step h3 { margin-top: 22px; font-size: 1.2rem; font-weight: 400; color: #fff; }
.step p { margin-top: 6px; color: var(--muted); font-size: 0.93rem; }

/* ---------- Construido sobre ---------- */

.built { text-align: center; padding: 10px 20px 90px; }
.built p { color: var(--faint); font-size: 0.85rem; }
.built ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.built li { color: rgba(255,255,255,.48); font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 400; letter-spacing: -0.01em; }

/* ---------- CTA final y pie ---------- */

.final {
  position: relative; margin: 0 12px; padding-top: clamp(80px, 10vw, 130px); text-align: center; overflow: hidden;
  border-radius: 40px 40px 0 0;
  background-color: #cbe9f9;
  background-image:
    linear-gradient(rgba(29,111,165,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,111,165,.07) 1px, transparent 1px),
    linear-gradient(180deg, #eef8fe 0%, #c6e6f8 55%, #82c6ec 100%);
  background-size: 64px 64px, 64px 64px, 100% 100%;
}
.final .display-md { max-width: 16ch; margin-inline: auto; }
.final-art { position: relative; height: clamp(300px, 34vw, 420px); margin-top: 50px; }
.final-phone { position: absolute; left: 50%; top: 0; width: clamp(220px, 22vw, 290px); transform: translateX(-50%); }
.scr-home { padding-top: 4cqw; }
.scr-home .scr-hello { font-size: 4.6cqw; color: #fff; margin-bottom: 4cqw; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-bottom: 5cqw; text-align: left; }
.kpis div { background: #14171b; border-radius: 4cqw; padding: 3.4cqw; border: 1px solid rgba(255,255,255,.06); }
.kpis small { display: block; color: var(--faint); font-size: 2.6cqw; }
.kpis b { display: block; font-size: 4.6cqw; font-weight: 500; margin: 1cqw 0; }
.kpis em { font-style: normal; font-size: 2.6cqw; color: var(--faint); }
.kpis em.pos { color: #4ade80; }
.final-art .tile { position: absolute; }
.ft-1 { left: 16%; top: 6%; } .ft-2 { left: 28%; top: 52%; } .ft-3 { right: 16%; top: 2%; } .ft-4 { right: 27%; top: 50%; }

.site-footer { position: relative; z-index: 2; margin-top: -36px; background: var(--bg); border-radius: 36px 36px 0 0; padding: 64px 0 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; letter-spacing: -0.03em; }
.foot-cta { display: inline-flex; align-items: center; gap: 0.35em; font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 300; color: #a8dcf8; text-decoration: none; }
.foot-cta svg { width: 0.8em; height: 0.8em; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s ease; }
.foot-cta:hover { color: #fff; }
.foot-cta:hover svg { transform: translateX(4px); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding-top: 30px; color: var(--faint); font-size: 0.86rem; }
.foot-bottom img { width: 76px; opacity: 0.85; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-bottom nav a { color: var(--muted); text-decoration: none; }
.foot-bottom nav a:hover { color: #fff; }
.foot-bottom > span { margin-left: auto; }

.sticky-cta { display: none; }

/* ---------- Animaciones ---------- */

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes dot { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes drift { to { background-position: 110px 0; } }
@keyframes ring { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(1.35); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes twinkle { 50% { opacity: 0.45; } }
@keyframes pulseRing { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .t-hero-5, .t-hero-6 { display: none; }
  .t-hero-1 { left: 1.5%; } .t-hero-2 { right: 1.5%; }
  .t-hero-3, .t-hero-4 { display: none; }
}

@media (max-width: 980px) {
  .ask-grid { grid-template-columns: 1fr 1fr; }
  .ask-center { grid-column: 1 / -1; grid-row: 1; width: min(260px, 60vw); margin: 0 auto -10px; }
  .ask-col .widget { margin: 0 !important; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wall { grid-column: 1 / -1; }
  .b-tall { grid-column: auto; grid-row: auto; min-height: 420px; }
  .b-tall > img { width: 70%; }
  .steps ol { grid-template-columns: 1fr 1fr; }
  .story-tiles, .story-lines { display: none; }
  .story-progress { right: 18px; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }

  .hero { min-height: auto; padding-bottom: 0; }
  .hero::after { height: 120px; }
  .hero-frame, .island { display: none; }
  .hero-bg img { top: -2vw; width: 260vw; }
  .hero-copy { padding-top: 120px; }
  .hero-copy .display { font-size: clamp(2.3rem, 10.4vw, 3.4rem); }
  .cta-row { flex-direction: column; gap: 14px; }
  .hero-voice {
    position: relative; display: block; width: min(420px, 92%); height: 330px; margin: 46px auto 0; padding: 0 0 0;
    border-radius: 54px 54px 0 0; border: 9px solid #1c1f24; border-bottom: 0;
    background: radial-gradient(120% 60% at 50% 0%, #142a3e, #070a0e 70%);
    box-shadow: 0 0 0 1px rgba(127, 200, 245, 0.6), 0 0 40px rgba(50, 147, 206, 0.7), 0 0 120px rgba(50, 147, 206, 0.35);
    overflow: hidden;
  }
  .hero-voice .status-bar { display: flex; height: 52px; font-size: 0.9rem; padding: 6px 26px 0 30px; }
  .hero-voice .status-bar i { width: 96px; height: 28px; top: 12px; }
  .hero-voice .status-bar .sb svg { width: 17px; height: 11px; }
  .hero-voice .status-bar .sb svg + svg { width: 23px; }
  .voice-pill { width: 100%; display: flex; flex-direction: column; text-align: center; background: none; border: 0; padding: 8px 20px; gap: 6px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .voice-orb { width: 120px; height: 120px; transform: none; }
  .voice-body { width: 100%; }
  .voice-body p { font-size: 1.05rem; min-width: 0; min-height: 3em; }
  .t-hero-1, .t-hero-2 { display: inline-flex; z-index: 4; top: auto; bottom: 250px; padding: 7px; border-radius: 16px; }
  .t-hero-1 span, .t-hero-2 span { display: none; }
  .t-hero-1 { left: 2%; } .t-hero-2 { right: 2%; bottom: 150px; }
  .tile svg { width: 30px; height: 30px; padding: 6px; }

  .manifesto { height: 200vh; }
  .scatter .g { width: 46px; height: 46px; border-radius: 13px; }
  .scatter .g svg { width: 20px; height: 20px; }

  .story { height: 420vh; }
  .story-words { left: 0; right: 0; width: auto; top: calc(var(--header-h) + 3svh); text-align: center; font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .sw { left: 0; right: 0; }
  .story-captions { left: 24px; right: 24px; width: auto; top: calc(var(--header-h) + 3svh + 4.2rem); text-align: center; }
  .story-captions li { left: 0; right: 0; font-size: 0.95rem; }
  .story-phone { top: auto; bottom: 2svh; height: min(60svh, 560px); width: calc(min(60svh, 560px) * 9 / 19.5); transform: translateX(-50%); }
  .story-progress { display: none; }

  .video-grid { grid-template-columns: 1fr; }
  .video-frame { margin: 0 auto; width: min(300px, 74vw); }

  .light, .final { margin: 0 8px; border-radius: 28px; }
  .final { border-radius: 28px 28px 0 0; }
  .ask-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .ask-col { gap: 14px; }

  .carousel { height: 300vh; }
  .cards3d { height: min(430px, 62svh); }

  .scene { aspect-ratio: auto; display: grid; justify-items: center; gap: 22px; padding: 40px 18px 28px; border-radius: 28px; }
  .scene-bg { object-position: 50% 85%; }
  .scene-word, .scene-card { position: relative; inset: auto; transform: none; text-align: center; max-width: none; }
  .scene-word { font-size: clamp(2.2rem, 10vw, 3rem); }
  .w-right { margin-top: -10px; }
  .scene-phone { position: relative; left: auto; bottom: auto; transform: none; width: min(58%, 240px); }
  .scene-card { width: 100%; }
  .scene-tiles { display: none; }

  .stats { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .stat p:last-child { margin-inline: auto; }

  .bento { grid-template-columns: 1fr; }
  .b, .b-med, .b-small { min-height: 280px; padding: 24px; }
  .b > img { width: 44%; }
  .b-med > img, .b-small > img { width: 40%; }
  .b-tall { min-height: 440px; }
  .wall { margin: 16px -24px; }

  .steps ol { grid-template-columns: 1fr; }

  .ft-1 { left: 2%; } .ft-3 { right: 2%; } .ft-2, .ft-4 { display: none; }
  .final-phone { width: min(250px, 62vw); }
  .foot-bottom > span { margin-left: 0; width: 100%; }

  .sticky-cta {
    display: inline-flex; position: fixed; z-index: 60; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translate(-50%, 140%); transition: transform 0.4s var(--ease);
    min-height: 50px; padding: 0 30px; white-space: nowrap;
  }
  .sticky-cta.show { transform: translate(-50%, 0); }
}

@media (max-width: 420px) {
  .header-inner .btn-sm { padding: 0 14px; font-size: 0.82rem; }
  .bars div { grid-template-columns: 1fr 50px 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .split .w { opacity: 1; transform: none; filter: none; }
}
