/* ═══════════════════════════════════════════════════════════
   MILA — experiencia web
   diseño: light luxury / glass / gradientes vivos
   la sección nocturna permanece oscura a propósito: contraste
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #f7f8fc;
  --bg-2: #ffffff;
  --bg-3: #eef0f8;
  --ink: #0d1022;
  --ink-dim: #4d5571;
  --ink-faint: #8b92ae;

  --rosa: #ff3d8a;
  --violeta: #7c5cff;
  --azul: #2e7cf6;
  --teal: #0eb587;
  --teal-ink: #0a8f6b;
  --wa: #25d366;
  --wa-deep: #00a884;

  --grad: linear-gradient(100deg, var(--rosa) 0%, var(--violeta) 38%, var(--azul) 68%, #2ee6a8 100%);

  --glass: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --line: rgba(13, 16, 34, 0.10);
  --line-strong: rgba(13, 16, 34, 0.20);

  --sombra-s: 0 6px 24px rgba(23, 28, 74, 0.07);
  --sombra-m: 0 18px 50px rgba(23, 28, 74, 0.10);
  --sombra-l: 0 40px 90px rgba(23, 28, 74, 0.16);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-card: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124, 92, 255, 0.35); color: var(--ink); }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }

.mono { font-family: var(--font-mono); font-size: 0.78em; letter-spacing: 0.02em; }
.serif-i { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.grad-text {
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradShift 9s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

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

/* ── cursor ────────────────────────────────────── */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  will-change: transform;
}
.cursor {
  width: 8px; height: 8px;
  background: var(--ink);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(13, 16, 34, 0.3);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              border-color 0.35s, background 0.35s;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: rgba(124, 92, 255, 0.8);
  background: rgba(124, 92, 255, 0.10);
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* ── barra scroll ──────────────────────────────── */
.scrollbar-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 9995;
  background: rgba(13, 16, 34, 0.05);
}
.scrollbar-progress i {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
}

/* ── preloader ─────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: transform 0.9s var(--ease-out), opacity 0.6s;
}
.preloader.is-done {
  transform: translateY(-100%);
  opacity: 0.4;
  pointer-events: none;
}
.preloader__inner { text-align: center; }
.preloader__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.35em;
  margin-left: 0.35em;
  display: flex; justify-content: center;
}
.preloader__word span {
  display: inline-block;
  background: var(--grad);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(40px) rotate(6deg);
  animation: plIn 0.7s var(--ease-spring) forwards, gradShift 4s ease-in-out infinite;
}
.preloader__word span:nth-child(1) { animation-delay: 0.05s, 0s; }
.preloader__word span:nth-child(2) { animation-delay: 0.15s, 0s; }
.preloader__word span:nth-child(3) { animation-delay: 0.25s, 0s; }
.preloader__word span:nth-child(4) { animation-delay: 0.35s, 0s; }
@keyframes plIn { to { opacity: 1; transform: none; } }
.preloader__bar {
  width: min(240px, 60vw); height: 2px;
  margin: 28px auto 14px;
  background: rgba(13, 16, 34, 0.08);
  border-radius: 2px; overflow: hidden;
}
.preloader__bar i {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
  transition: width 0.3s ease;
}
.preloader__hint { color: var(--ink-faint); }

/* ── nav ───────────────────────────────────────── */
.nav {
  position: fixed; z-index: 9000;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: min(1060px, calc(100vw - 32px));
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, background 0.5s;
}
.nav.is-hidden { transform: translateX(-50%) translateY(-140%); }
.nav.is-scrolled { box-shadow: var(--sombra-m); background: rgba(255, 255, 255, 0.88); }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.7);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.7); opacity: 0.6; } }
.nav__logo-word {
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.28em; font-size: 0.95rem;
}
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-size: 0.86rem; color: var(--ink-dim);
  position: relative;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute;
  left: 0; bottom: -4px; height: 1.5px; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--grad);
  background-size: 180% 180%;
  color: #fff;
  transition: box-shadow 0.4s, transform 0.3s var(--ease-spring);
  animation: gradShift 7s ease-in-out infinite;
}
.nav__cta:hover { box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35); transform: translateY(-1px); }
.nav__cta-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  animation: pulseDot 1.8s ease-in-out infinite;
}

/* ── botones ───────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem;
  padding: 16px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.4s, border-color 0.3s, background 0.4s;
  will-change: transform;
}
.btn--primary {
  background: var(--grad);
  background-size: 180% 180%;
  color: #fff;
  animation: gradShift 8s ease-in-out infinite;
  box-shadow: 0 12px 34px rgba(124, 92, 255, 0.3);
}
.btn--primary:hover { box-shadow: 0 16px 50px rgba(255, 61, 138, 0.35); }
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: rgba(124,92,255,0.55); background: rgba(124,92,255,0.06); }
.btn__arrow { transition: transform 0.3s var(--ease-spring); }
.btn--ghost:hover .btn__arrow { transform: translateX(5px); }
.btn--wa {
  background: linear-gradient(120deg, #1fba58, var(--wa));
  color: #04150b;
  font-size: 1.1rem;
  padding: 20px 38px;
  box-shadow: 0 14px 44px rgba(37, 211, 102, 0.35);
}
.btn--wa:hover { box-shadow: 0 18px 60px rgba(37, 211, 102, 0.5); transform: translateY(-2px); }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn:hover::before { transform: translateX(120%); }

/* ── secciones base ────────────────────────────── */
section { position: relative; }
.section-head {
  width: min(1100px, calc(100vw - 48px));
  margin: 0 auto;
  padding-top: clamp(80px, 14vh, 150px);
}
.section-head--center { text-align: center; }
.section-eyebrow {
  color: var(--ink-faint);
  text-transform: lowercase;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.section-title .serif-i { font-size: 1.06em; }
.section-sub {
  margin-top: 22px;
  max-width: 560px;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* reveal genérico */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ── HERO ──────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 40px;
}
.hero__aurora {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero__vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 90% 55% at 50% 112%, var(--bg), transparent 62%),
    linear-gradient(rgba(247, 248, 252, 0.5), transparent 30%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 2;
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  color: var(--ink-dim);
  margin-bottom: 30px;
  box-shadow: var(--sombra-s);
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.8);
  animation: pulseDot 2s ease-in-out infinite;
}
.hero__badge-sep { width: 1px; height: 12px; background: var(--line-strong); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 7.2vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__line--2 { font-size: 1.14em; }
.split .ch {
  display: inline-block;
  will-change: transform, opacity;
}
.ch-grad {
  background-image: var(--grad);
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__sub {
  margin-top: 28px;
  max-width: 520px;
  color: var(--ink-dim);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 38px;
}
.hero__proof {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 44px;
  color: var(--ink-faint);
}
.hero__proof-item i {
  font-style: normal;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* escenario de mila */
.hero__stage {
  position: relative;
  height: clamp(420px, 60vh, 640px);
  display: grid; place-items: center;
}
.hero__halo {
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.20), rgba(255,61,138,0.09) 42%, transparent 68%);
  animation: haloBreath 6s ease-in-out infinite;
}
@keyframes haloBreath { 0%,100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.12); opacity: 1; } }

/* sprite de mila (2 cuadros) */
.mila-sprite {
  position: relative;
  will-change: transform;
}
.mila-sprite img {
  height: clamp(300px, 46vh, 480px);
  width: auto;
  filter: drop-shadow(0 26px 40px rgba(23, 28, 74, 0.25));
}
.mila-frame--b { position: absolute; inset: 0; opacity: 0; }
.mila-sprite.frame-b .mila-frame--a { opacity: 0; }
.mila-sprite.frame-b .mila-frame--b { opacity: 1; }
.mila-sprite--hero { animation: milaFloat 5.5s ease-in-out infinite; }
@keyframes milaFloat {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-16px) rotate(0.8deg); }
}

/* burbujas flotantes hero: WhatsApp modo claro */
.float-bubble {
  position: absolute;
  max-width: 230px;
  padding: 12px 14px 8px;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #111b21;
  border: 1px solid rgba(13, 16, 34, 0.06);
  box-shadow: var(--sombra-m);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-spring);
  will-change: transform;
}
.float-bubble.is-in { opacity: 1; transform: none; }
.float-bubble--in {
  top: 8%; left: -4%;
  background: #ffffff;
  border-bottom-left-radius: 4px;
  animation: bubbleFloatA 7s ease-in-out infinite;
}
.float-bubble--out {
  bottom: 14%; right: -6%;
  background: #d9fdd3;
  border-bottom-right-radius: 4px;
  animation: bubbleFloatB 8s ease-in-out infinite;
}
@keyframes bubbleFloatA { 0%,100% { margin-top: 0; } 50% { margin-top: -12px; } }
@keyframes bubbleFloatB { 0%,100% { margin-top: 0; } 50% { margin-top: 10px; } }
.float-bubble__meta {
  text-align: right; color: #667781;
  margin-top: 4px; font-size: 0.68rem;
}
.ticks { letter-spacing: -0.12em; }
.ticks--blue { color: #53bdeb; }
.float-chip {
  position: absolute;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  color: var(--teal-ink);
  font-size: 0.72rem;
  box-shadow: var(--sombra-s);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-spring);
}
.float-chip.is-in { opacity: 1; transform: none; }
#fc1 { top: 30%; right: -2%; animation: bubbleFloatA 6s 0.5s ease-in-out infinite; }
#fc2 { bottom: 4%; left: 2%; animation: bubbleFloatB 7s 1s ease-in-out infinite; }
#fc3 { top: -2%; right: 30%; animation: bubbleFloatA 8s 1.5s ease-in-out infinite; }

.hero__scrollhint {
  position: absolute; z-index: 3;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-faint);
}
.hero__scrollhint i {
  width: 1px; height: 44px;
  background: linear-gradient(var(--ink-faint), transparent);
  position: relative; overflow: hidden;
}
.hero__scrollhint i::after {
  content: ""; position: absolute; top: -40%;
  width: 100%; height: 40%;
  background: var(--grad);
  animation: scrollDrip 1.8s ease-in-out infinite;
}
@keyframes scrollDrip { to { top: 110%; } }

/* ── MARQUEE ───────────────────────────────────── */
.marquee {
  padding: clamp(50px, 9vh, 100px) 0 0;
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.marquee__row { overflow: hidden; white-space: nowrap; }
.marquee__track {
  display: inline-flex;
  will-change: transform;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.marquee__row--a .marquee__track {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  color: var(--ink);
}
.marquee__row--b .marquee__track {
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  -webkit-text-stroke: 1px rgba(13, 16, 34, 0.30);
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-top: 12px;
}
.marquee__track em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.35em;
}
.marquee__row--b .marquee__track em { -webkit-text-stroke: 0; }

/* ── PODERES / BENTO ───────────────────────────── */
.poderes { padding-bottom: 40px; }
.bento {
  width: min(1100px, calc(100vw - 48px));
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento__cell {
  position: relative;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 28px;
  overflow: hidden;
  box-shadow: var(--sombra-s);
  transition: border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}
.bento__cell::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(124,92,255,0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.bento__cell:hover::before { opacity: 1; }
.bento__cell:hover { border-color: rgba(124, 92, 255, 0.35); box-shadow: var(--sombra-m); }
.bento__cell--wide { grid-column: span 2; }
.bento__label {
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.bento__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.bento__desc {
  margin-top: 10px;
  color: var(--ink-dim);
  font-size: 0.92rem;
  max-width: 420px;
}

/* micro-demos bento */
.mini-chat { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.mini-chat__b {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.83rem;
  color: #111b21;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.is-in .mini-chat__b { opacity: 1; transform: none; }
.is-in .mini-chat__b:nth-child(2) { transition-delay: 0.55s; }
.mini-chat__b--in { align-self: flex-start; background: #f0f2f5; border-bottom-left-radius: 4px; }
.mini-chat__b--out { align-self: flex-end; background: #d9fdd3; border-bottom-right-radius: 4px; }

.mini-cal { margin-top: 20px; display: flex; flex-direction: column; gap: 7px; }
.mini-cal__day { color: var(--ink-faint); margin-bottom: 2px; }
.mini-cal__slot {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--ink-dim);
  opacity: 0; transform: translateX(-14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.is-in .mini-cal__slot:nth-child(2) { transition-delay: 0.15s; }
.is-in .mini-cal__slot:nth-child(3) { transition-delay: 0.35s; }
.is-in .mini-cal__slot:nth-child(4) { transition-delay: 0.6s; }
.is-in .mini-cal__slot { opacity: 1; transform: none; }
.mini-cal__slot span { color: var(--ink-faint); }
.mini-cal__slot:last-child { border-color: rgba(14, 181, 135, 0.45); color: var(--teal-ink); }

.mini-sale { margin-top: 20px; font-size: 0.86rem; }
.mini-sale__row {
  display: flex; justify-content: space-between;
  padding: 7px 0;
  color: var(--ink-dim);
  border-bottom: 1px dashed var(--line);
}
.mini-sale__total {
  display: flex; justify-content: space-between;
  padding-top: 10px;
  font-weight: 600;
}
.mini-sale__total .mono { font-size: 1.05rem; }

.mini-mem { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.mini-mem__chip {
  padding: 7px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.74rem;
  color: var(--ink-dim);
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.5s var(--ease-spring), transform 0.5s var(--ease-spring);
}
.is-in .mini-mem__chip { opacity: 1; transform: none; }
.is-in .mini-mem__chip:nth-child(2) { transition-delay: 0.2s; }
.is-in .mini-mem__chip:nth-child(3) { transition-delay: 0.4s; }

.mini-think { margin-top: 20px; display: flex; flex-direction: column; gap: 7px; font-size: 0.76rem; }
.mini-think__node {
  padding: 7px 12px;
  border-left: 2px solid var(--violeta);
  background: linear-gradient(90deg, rgba(124,92,255,0.08), transparent);
  color: var(--ink-dim);
  border-radius: 0 8px 8px 0;
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.is-in .mini-think__node { opacity: 1; transform: none; }
.is-in .mini-think__node:nth-child(2) { transition-delay: 0.3s; }
.is-in .mini-think__node:nth-child(3) { transition-delay: 0.6s; border-left-color: var(--teal); color: var(--teal-ink); }

.mini-follow {
  margin-top: 22px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.76rem;
}
.mini-follow__step {
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-dim);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mini-follow__step i { display: block; font-style: normal; color: var(--ink-faint); font-size: 0.66rem; margin-bottom: 2px; }
.mini-follow__arrow { color: var(--ink-faint); opacity: 0; transition: opacity 0.4s; }
.is-in .mini-follow__step, .is-in .mini-follow__arrow { opacity: 1; transform: none; }
.is-in .mini-follow__step:nth-child(3) { transition-delay: 0.3s; }
.is-in .mini-follow__arrow:nth-child(2) { transition-delay: 0.2s; }
.is-in .mini-follow__arrow:nth-child(4) { transition-delay: 0.5s; }
.is-in .mini-follow__step--win { transition-delay: 0.6s; border-color: rgba(14, 181, 135, 0.5); color: var(--teal-ink); }

/* ── PIENSA (pin cinemático) ───────────────────── */
.piensa { background: linear-gradient(180deg, transparent, rgba(124,92,255,0.05) 30%, transparent); }
.piensa__pin {
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 60px 0;
}
.piensa__scene {
  width: min(1050px, calc(100vw - 40px));
  margin: clamp(30px, 6vh, 70px) auto 0;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
}
.piensa__mila { justify-self: center; }
.piensa__mila img { height: clamp(240px, 34vh, 360px); }
.piensa__flow { display: flex; flex-direction: column; gap: 18px; }
.piensa__msg {
  max-width: 420px;
  padding: 14px 18px 10px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #111b21;
  border: 1px solid rgba(13, 16, 34, 0.06);
  box-shadow: var(--sombra-m);
}
.piensa__msg i {
  display: block; text-align: right;
  color: #667781;
  font-size: 0.68rem; margin-top: 5px;
}
.piensa__msg--in {
  align-self: flex-start;
  background: #ffffff;
  border-bottom-left-radius: 5px;
}
.piensa__msg--out {
  align-self: flex-end;
  background: #d9fdd3;
  border-bottom-right-radius: 5px;
}
.piensa__chain {
  display: flex; flex-direction: column; gap: 10px;
  padding-left: 14px;
  border-left: 1px dashed rgba(124,92,255,0.45);
  margin-left: 8px;
}
.piensa__node {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 0.8rem;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.06);
  border: 1px solid rgba(124,92,255,0.18);
  color: var(--ink-dim);
}
.piensa__node b { color: var(--violeta); font-weight: 600; white-space: nowrap; }
.piensa__node:last-child b { color: var(--teal-ink); }
.piensa__node:last-child { border-color: rgba(14, 181, 135, 0.35); background: rgba(14, 181, 135, 0.06); }

/* ── SIMULADOR ─────────────────────────────────── */
.simulador { padding-bottom: clamp(80px, 12vh, 140px); }
/* las dos versiones de Mila */
.sim__versiones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: min(760px, calc(100vw - 40px));
  margin: 44px auto 0;
}
.version-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  text-align: left;
  padding: 22px 22px 18px;
  border-radius: var(--r-card);
  border: 1.5px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--sombra-s);
  cursor: pointer;
  font-family: var(--f-body, inherit);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, border-color 0.3s;
}
.version-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-m); }
.version-card.is-activa { border-color: rgba(124, 92, 255, 0.55); }
.version-card--pro {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
}
.version-card__badge {
  position: absolute; top: 14px; right: 14px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--grad);
  background-size: 180% 180%;
  color: #fff; font-weight: 700; font-size: 0.62rem;
  animation: gradShift 6s ease-in-out infinite;
}
.version-card__icono { font-size: 1.6rem; }
.version-card__nombre {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.12rem;
  color: var(--ink);
}
.version-card__desc { font-size: 0.85rem; color: var(--ink-dim); line-height: 1.5; }
.version-card__cta {
  margin-top: 6px;
  color: var(--violeta);
  font-weight: 600;
}
.version-card--pro .version-card__cta {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 640px) {
  .sim__versiones { grid-template-columns: 1fr; }
}

.sim__rubros {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  width: min(860px, calc(100vw - 40px));
  margin: 44px auto 0;
}
.rubro-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-dim);
  font-family: var(--font-display);
  font-size: 0.88rem; font-weight: 500;
  cursor: pointer;
  box-shadow: var(--sombra-s);
  transition: all 0.35s var(--ease-out);
  will-change: transform;
}
.rubro-chip:hover { transform: translateY(-3px); border-color: var(--line-strong); color: var(--ink); box-shadow: var(--sombra-m); }
.rubro-chip.is-active {
  background: var(--grad);
  background-size: 200% 200%;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(124,92,255,0.35);
  animation: gradShift 6s ease-in-out infinite;
}
/* mila despidiendo la sección de demos (el celular vive en basica.html) */
.sim__mila-suelo {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin: 48px auto 0;
  text-align: center;
}
.sim__mila-suelo .mila-sprite img { height: clamp(170px, 24vh, 240px); margin: 0 auto; }
.sim__mila-suelo .sim__mila-status {
  color: var(--ink-faint);
  font-size: 0.74rem;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--sombra-s);
}

.sim__stage {
  position: relative;
  width: min(1100px, calc(100vw - 32px));
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(10px, 3vw, 50px);
  perspective: 1200px;
}
.sim__mila { text-align: center; padding-bottom: 30px; }
.sim__mila img { height: clamp(200px, 30vh, 330px); margin: 0 auto; }
.sim__mila-status {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--sombra-s);
  display: inline-block;
}

/* teléfono: WhatsApp modo claro */
.phone {
  position: relative;
  width: min(390px, calc(100vw - 40px));
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(160deg, #ffffff, #dcdfec 45%, #f2f3fa);
  box-shadow:
    var(--sombra-l),
    0 0 0 1px rgba(13, 16, 34, 0.08),
    inset 0 1px 1px rgba(255,255,255,0.9),
    0 0 80px rgba(124,92,255,0.10);
  will-change: transform;
}
.phone__notch {
  position: absolute; z-index: 5;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  border-radius: 100px;
  background: #0b0d14;
}
.phone__screen {
  position: relative;
  height: min(680px, 72vh);
  border-radius: 36px;
  overflow: hidden;
  display: flex; flex-direction: column;
  background: #efeae2;
}
/* header whatsapp */
.wa__header {
  display: flex; align-items: center; gap: 10px;
  background: #f0f2f5;
  border-bottom: 1px solid rgba(13, 16, 34, 0.06);
  padding: 40px 14px 10px;
  z-index: 4;
}
.wa__back { color: #54656f; font-size: 1.5rem; line-height: 1; }
.wa__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #fff;
  font-family: var(--font-display);
  background: var(--grad);
  background-size: 200% 200%;
  animation: gradShift 8s ease-in-out infinite;
  flex-shrink: 0;
}
.wa__id { flex: 1; min-width: 0; }
.wa__name {
  color: #111b21; font-weight: 600; font-size: 0.95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa__status {
  color: #667781; font-size: 0.74rem;
  transition: color 0.3s;
}
.wa__status.is-typing { color: var(--wa-deep); }
.wa__icons { display: flex; gap: 16px; color: #54656f; font-size: 0.95rem; }

/* chat */
.wa__chat {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 8px;
  display: flex; flex-direction: column; gap: 4px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23000000' stroke-opacity='0.045' stroke-width='1.4'%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3Cpath d='M120 30q14 8 0 22'/%3E%3Crect x='180' y='40' width='22' height='16' rx='4'/%3E%3Cpath d='M60 130l14 12-14 12'/%3E%3Ccircle cx='200' cy='150' r='11'/%3E%3Cpath d='M30 210q16-14 30 0'/%3E%3Cpath d='M150 200h34m-34 10h20'/%3E%3Ccircle cx='120' cy='110' r='5'/%3E%3Cpath d='M230 90q10 12-4 20'/%3E%3C/g%3E%3C/svg%3E"),
    #efeae2;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 16, 34, 0.15) transparent;
}
.wa__daychip {
  align-self: center;
  background: #ffffff;
  color: #54656f;
  font-size: 0.66rem;
  padding: 5px 12px;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(11,20,26,0.1);
  margin-bottom: 8px;
}
.wa-msg {
  position: relative;
  max-width: 82%;
  padding: 7px 10px 6px;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.42;
  color: #111b21;
  box-shadow: 0 1px 0.5px rgba(11,20,26,0.13);
  animation: msgIn 0.38s var(--ease-spring);
  transform-origin: bottom;
  word-wrap: break-word;
  white-space: pre-line;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(14px) scale(0.92); }
  to { opacity: 1; transform: none; }
}
.wa-msg--in { align-self: flex-start; background: #ffffff; border-top-left-radius: 3px; }
.wa-msg--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.wa-msg__meta {
  float: right;
  margin: 8px -2px -2px 10px;
  font-size: 0.64rem;
  color: #667781;
  font-family: var(--font-mono);
  display: inline-flex; align-items: center; gap: 3px;
  user-select: none;
}
.wa-msg__meta .ticks { font-size: 0.72rem; color: #8696a0; transition: color 0.4s; }
.wa-msg__meta .ticks--blue { color: #53bdeb; }
/* typing indicator */
.wa-typing {
  align-self: flex-start;
  background: #ffffff;
  border-radius: 10px;
  border-top-left-radius: 3px;
  padding: 12px 14px;
  display: inline-flex; gap: 5px;
  box-shadow: 0 1px 0.5px rgba(11,20,26,0.13);
  animation: msgIn 0.3s var(--ease-spring);
}
.wa-typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #8696a0;
  animation: typingDot 1.2s ease-in-out infinite;
}
.wa-typing i:nth-child(2) { animation-delay: 0.18s; }
.wa-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* quick replies */
.wa__quick {
  display: flex; gap: 8px;
  padding: 8px 12px;
  overflow-x: auto;
  background: #efeae2;
  scrollbar-width: none;
}
.wa__quick::-webkit-scrollbar { display: none; }
.wa__quick:empty { display: none; }
.quick-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(0, 168, 132, 0.5);
  color: #067a5f;
  background: #ffffff;
  font-size: 0.78rem;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(11,20,26,0.08);
  transition: all 0.3s var(--ease-out);
  animation: msgIn 0.4s var(--ease-spring) backwards;
}
.quick-chip:nth-child(2) { animation-delay: 0.08s; }
.quick-chip:nth-child(3) { animation-delay: 0.16s; }
.quick-chip:hover { background: rgba(0, 168, 132, 0.1); transform: translateY(-2px); }

/* input */
.wa__input {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px 14px;
  background: #f0f2f5;
}
.wa__emoji { font-size: 1.15rem; opacity: 0.6; }
.wa__input input {
  flex: 1;
  background: #ffffff;
  border: none; outline: none;
  border-radius: 100px;
  padding: 11px 18px;
  color: #111b21;
  font-family: var(--font-body);
  font-size: 0.9rem;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(11,20,26,0.06);
}
.wa__input input::placeholder { color: #8696a0; }
.wa__send {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--wa-deep);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s;
  flex-shrink: 0;
}
.wa__send:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0,168,132,0.4); }
.wa__send:active { transform: scale(0.92); }

/* ── MEMORIA ───────────────────────────────────── */
.memoria { overflow: hidden; }
.memoria__board {
  position: relative;
  width: min(1050px, calc(100vw - 32px));
  height: clamp(420px, 60vh, 560px);
  margin: 60px auto 0;
}
.memoria__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.memoria__lines path {
  fill: none;
  stroke: url(#memGrad);
  stroke-width: 1.2;
  stroke-dasharray: 6 7;
  opacity: 0.6;
  animation: dashMove 30s linear infinite;
}
@keyframes dashMove { to { stroke-dashoffset: -600; } }
.mem-card {
  position: absolute;
  left: var(--x, 50%); top: var(--y, 50%);
  padding: 13px 17px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: var(--sombra-m);
  font-size: 0.8rem;
  color: var(--ink-dim);
  white-space: nowrap;
  will-change: transform;
  transition: border-color 0.3s, color 0.3s;
  animation: memFloat 7s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -1.4s);
}
.mem-card:hover { border-color: rgba(124,92,255,0.5); color: var(--ink); }
@keyframes memFloat { 0%,100% { margin-top: 0; } 50% { margin-top: -12px; } }
.mem-card--center {
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 22px 34px;
  border-color: rgba(124,92,255,0.35);
  background: rgba(255, 255, 255, 0.94);
  animation: none;
  z-index: 2;
}
.mem-card__avatar {
  width: 52px; height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.3rem; color: #fff;
  background: var(--grad);
  background-size: 200% 200%;
  animation: gradShift 7s ease-in-out infinite;
}
.mem-card__name { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.mem-card__sub { color: var(--ink-faint); font-size: 0.68rem; margin-top: 4px; }

/* ── NÚMEROS ───────────────────────────────────── */
.numeros { padding: clamp(80px, 14vh, 160px) 0; }
.numeros__grid {
  width: min(1100px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.numeros__item {
  text-align: center;
  padding: 36px 18px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--sombra-s);
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.numeros__item:hover { border-color: rgba(124,92,255,0.4); transform: translateY(-6px); box-shadow: var(--sombra-m); }
.numeros__value {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 600;
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 8s ease-in-out infinite;
}
.numeros__label { margin-top: 8px; color: var(--ink-faint); font-size: 0.86rem; }

/* ── NOCHE: panel oscuro dentro de la página clara ── */
.noche {
  position: relative;
  overflow: hidden;
  width: min(1240px, calc(100vw - 24px));
  margin: 0 auto;
  border-radius: 44px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(70, 62, 140, 0.35), transparent 60%),
    linear-gradient(180deg, #0a0c18, #05060f 40%, #04050c);
  padding: clamp(70px, 11vh, 130px) 0;
  box-shadow: var(--sombra-l);
}
.noche__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.noche__inner {
  position: relative; z-index: 2;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.noche .section-eyebrow { color: #5d6580; }
.noche .section-title { color: #eef0fa; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.noche .section-sub { color: #9aa3c0; }
.noche__scene {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
}
.mila-sprite--noche { animation: milaSleep 6s ease-in-out infinite; }
@keyframes milaSleep { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.mila-sprite--noche img { height: clamp(220px, 30vh, 320px); filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }
.noche__zzz {
  position: absolute;
  top: -6%; right: 6%;
  color: #5d6580;
  animation: zzzFloat 3.2s ease-in-out infinite;
  letter-spacing: 0.3em;
}
@keyframes zzzFloat {
  0% { opacity: 0; transform: translateY(8px) scale(0.8); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-22px) scale(1.15); }
}
.noche__chat {
  width: min(250px, 60vw);
  margin-bottom: 8%;
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 22, 30, 0.92);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; gap: 6px;
}
.noche__chat-time {
  color: #5d6580;
  font-size: 0.66rem;
  text-align: center;
  margin-bottom: 2px;
}
.noche__chat .wa-msg { font-size: 0.78rem; max-width: 92%; box-shadow: none; }
.noche__chat .wa-msg--in { background: #202c33; color: #e9edef; }
.noche__chat .wa-msg--out { background: #005c4b; color: #e9edef; }

/* ── FINAL ─────────────────────────────────────── */
.final {
  position: relative;
  text-align: center;
  padding: clamp(110px, 18vh, 200px) 24px;
  overflow: hidden;
}
.final__glow {
  position: absolute;
  left: 50%; top: 60%;
  width: min(900px, 120vw); aspect-ratio: 2;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(37,211,102,0.12), rgba(124,92,255,0.09) 40%, transparent 70%);
  pointer-events: none;
}
.final__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.final__line { display: block; }
.final__sub {
  position: relative;
  margin: 28px auto 40px;
  max-width: 520px;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.final__micro { margin-top: 22px; color: var(--ink-faint); }

/* ── FOOTER ────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 50px 24px 60px;
  text-align: center;
  background: var(--bg-2);
}
.footer__chibitech {
  height: 96px; width: auto;
  margin: 0 auto 18px;
  transition: transform 0.4s var(--ease-spring);
}
.footer__chibitech:hover { transform: scale(1.06) rotate(-2deg); }
.footer__brand {
  display: flex; align-items: baseline; justify-content: center; gap: 14px;
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.5rem;
  letter-spacing: 0.3em; margin-left: 0.3em;
}
.footer__by { color: var(--ink-faint); }
.footer__tag { margin-top: 10px; color: var(--ink-dim); font-size: 1.15rem; }
.footer__legal { margin-top: 26px; color: var(--ink-faint); font-size: 0.7rem; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--wide { grid-column: span 2; }
  .numeros__grid { grid-template-columns: repeat(2, 1fr); }
  .sim__mila { display: none; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__stage { height: clamp(360px, 48vh, 480px); order: -1; margin-top: 20px; }
  .hero { padding-top: 96px; }
  .hero__sub { max-width: 460px; }
  .float-bubble--in { left: 0; top: 4%; }
  .float-bubble--out { right: 0; bottom: 8%; }
  .piensa__scene { grid-template-columns: 1fr; }
  .piensa__mila { display: none; }
  .noche { border-radius: 30px; }
  .noche__inner { grid-template-columns: 1fr; }
  .noche__chat { margin: 20px auto 0; width: 100%; }
  .noche__scene { flex-direction: column; align-items: center; }
  .memoria__board { height: auto; display: flex; flex-direction: column; gap: 12px; padding: 20px 0 40px; }
  .memoria__lines { display: none; }
  .mem-card { position: relative; left: auto !important; top: auto !important; white-space: normal; animation: none; }
  .mem-card--center { transform: none; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--wide { grid-column: span 1; }
  .numeros__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .numeros__item { padding: 26px 12px; }
  .hero__ctas { justify-content: center; }
  .hero__proof { justify-content: center; gap: 18px; }
  .btn { padding: 14px 24px; font-size: 0.92rem; }
  .phone { border-radius: 38px; padding: 9px; }
  .phone__screen { border-radius: 30px; height: min(620px, 74vh); }
  .nav__cta { font-size: 0.78rem; padding: 9px 16px; }
  .marquee__row--b { display: none; }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .grain { display: none; }
}
