:root {
  --blue: #0071e3;          /* Apple blue */
  --blue-2: #2997ff;
  --teal: #00dfea;          /* Punto Ok teal */
  --ink: #1d1d1f;           /* Apple near-black */
  --ink-soft: #6e6e73;      /* Apple gray text */
  --line: #ededf0;
  --bg: #ffffff;
  --bg-2: #f5f5f7;          /* Apple light gray */
  --dark: #000000;
  --radius: 28px;
  --radius-sm: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);       /* Apple-like spring-out */
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  --grad: linear-gradient(115deg, #0071e3 0%, #2997ff 45%, #00dfea 110%);
  --glass-bg: rgba(255, 255, 255, 0.52);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.78);
  --glass-blur: 22px;
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  --dock-pad-y: 11px;
  --dock-pad-x: 16px;
  --dock-dot: 8px;
  --dock-bar-h: calc(var(--dock-pad-y) * 2 + var(--dock-dot));
  --dock-glass: rgba(255, 255, 255, .55);
  --dock-glass-dark: rgba(40, 40, 44, .55);
  --dock-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -.01em;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
img { -webkit-user-drag: none; user-drag: none; }
a { color: inherit; }
body.no-anim * { transition: none !important; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 500;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.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;
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-ok):not(.allow-motion) .deck {
    transition: none !important;
  }
  html:not(.motion-ok):not(.allow-motion) .anim {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html:not(.motion-ok):not(.allow-motion) .progress__bar {
    transition: none !important;
  }
  html:not(.motion-ok):not(.allow-motion) .cursor-glow {
    opacity: 0 !important;
  }
  html:not(.motion-ok):not(.allow-motion) .chaos-piece {
    animation: none !important;
  }
  html:not(.motion-ok):not(.allow-motion) .slide--hero.is-active .hero-enter,
  html:not(.motion-ok):not(.allow-motion) .slide--hero.is-active .hero-enter--notebook .hero-device-media,
  html:not(.motion-ok):not(.allow-motion) .slide--hero.is-active .hero-enter--cell .hero-device-media {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

:where(a, button, [role="button"], input, select, textarea, [tabindex="0"]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.light { color: #f5f5f7 !important; }
.slide--dark .accent { background: linear-gradient(115deg, #2997ff, #00dfea); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- TOP BAR ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 56px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; background: rgba(255,255,255,.7);
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.brand { display: flex; align-items: center; }
.brand__logo { height: 24px; width: auto; display: block; }
.topbar__right { display: flex; gap: 6px; }
.iconbtn {
  width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--ink-soft); display: grid; place-items: center;
  transition: background .25s var(--ease-soft), color .25s, transform .25s var(--ease);
}
.iconbtn svg { fill: currentColor; }
.iconbtn:hover { background: rgba(0,0,0,.06); color: var(--ink); transform: scale(1.06); }
.iconbtn.is-active { background: rgba(0, 113, 227, .12); color: var(--blue); }
.iconbtn--dark { color: #f5f5f7; }
.iconbtn--dark:hover { background: rgba(255,255,255,.14); color: #fff; }
body.marker-on { cursor: crosshair; }
body.marker-on button, body.marker-on a, body.marker-on .app-play, body.marker-on .iconbtn, body.marker-on .marker-dock { cursor: pointer; }
body.marker-on .mark-side__frame video {
  pointer-events: none;
}

/* ---------- PROGRESS ---------- */
.progress { position: fixed; top: 56px; left: 0; right: 0; height: 2px; z-index: 39; background: transparent; }
.progress__bar { height: 100%; width: 0; background: var(--grad); transition: width .6s var(--ease); }

/* ---------- DECK / SLIDES ---------- */
.deck {
  display: flex; height: 100vh; width: 100vw;
  position: relative; z-index: 1;
  transition: transform .85s var(--ease); will-change: transform;
}
.slide {
  flex: 0 0 100vw; height: 100vh;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 132px 8vw 104px; position: relative; overflow: hidden;
  background: var(--bg);
}
.slide--center { align-items: center; }
.slide--center .s-inner { text-align: center; }
.slide--soft { background: radial-gradient(120% 120% at 50% 30%, #eef5ff 0%, #fbfdff 45%, var(--bg) 75%); overflow: visible; }
.slide--soft .s-inner { overflow: visible; }
.slide--dark { color: #f5f5f7; }
/* Alternating light-gray surfaces for depth */
.slide:nth-child(2), .slide:nth-child(6) { background: var(--bg-2); }

.s-inner { width: 100%; max-width: 940px; margin-top: -8px; }
.s-inner--wide { max-width: 1120px; }
.s-inner--split { max-width: 1160px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; text-align: left; }

/* Typography */
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 24px;
}
.center { text-align: center; }
.display {
  font-size: clamp(2.8rem, 6.6vw, 5.6rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.02;
}
.headline {
  font-size: clamp(2.1rem, 4.8vw, 3.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.06;
}
.subtle { font-size: clamp(1.25rem, 2.1vw, 1.75rem); color: var(--ink-soft); margin-top: 24px; font-weight: 400; letter-spacing: -.02em; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--ink-soft); margin-top: 24px; line-height: 1.5; font-weight: 400; letter-spacing: -.015em; }
.lead.center { margin-left: auto; margin-right: auto; max-width: 760px; }
.lead--1line { max-width: none; white-space: nowrap; }
.slide--dark .lead, .slide--dark .subtle { color: #a1a1a6; }
.footnote { margin-top: 34px; color: var(--ink-soft); font-size: .98rem; letter-spacing: 0; }

/* Pills */
.pill-row { display: flex; gap: 12px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.pill { background: rgba(0,0,0,.04); color: var(--ink); font-weight: 500; padding: 11px 22px; border-radius: 999px; font-size: .98rem; letter-spacing: -.01em; transition: background .25s, transform .25s var(--ease); }
.pill:hover { background: rgba(0,0,0,.07); transform: translateY(-2px); }

/* Logo placements */
.hero-logo { height: clamp(48px, 6.5vw, 82px); width: auto; margin: 0 auto 34px; display: block; }
.slide:not(.slide--center) .hero-logo { margin-left: 0; }
.demo-logo { height: 42px; width: auto; margin: 46px auto 0; display: block; opacity: .85; }

/* ---------- HERO (slide 1) ---------- */
.slide--hero {
  position: relative;
  align-items: center;
  padding: 100px 0 90px;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.slide--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 130% at 80% 20%, #eef4ff 0%, #f8fbff 42%, var(--bg) 72%);
  opacity: 0;
}
.slide--hero.is-active:not(.hero-intro-complete)::before {
  animation: hero-bg-fade 1.35s ease forwards;
}
.slide--hero.hero-intro-complete::before {
  opacity: 1;
}
@keyframes hero-bg-fade {
  to { opacity: 1; }
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 3.5vw;
  display: grid; grid-template-columns: .82fr 1.32fr; column-gap: clamp(40px, 5vw, 84px); align-items: center;
}
.hero-copy { text-align: left; padding-right: 8px; }
.hero-copy .hero-logo { height: clamp(30px, 3.2vw, 44px); margin: 0 0 30px; }
.hero-copy .kicker { margin-bottom: 20px; }
.display--hero { font-size: clamp(2.2rem, 4.2vw, 4rem); letter-spacing: -.045em; white-space: nowrap; line-height: 1.05; }
.hero-copy .subtle { max-width: none; white-space: nowrap; font-size: clamp(1rem, 1.4vw, 1.25rem); margin-top: 20px; }
.pill-row--left { justify-content: flex-start; margin-top: 42px; }

/* Portada · entrada escalonada */
.slide--hero .hero-enter.anim {
  opacity: 0;
  transform: none;
  transition: none;
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-enter--logo {
  animation: hero-fade-up 0.85s var(--ease) 0.06s forwards;
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-enter--kicker {
  animation: hero-fade-up 0.85s var(--ease) 0.12s forwards;
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-enter--title {
  animation: hero-title-in 0.95s var(--ease) 0.2s forwards;
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-enter--subtitle {
  animation: hero-fade-up 0.9s var(--ease) 0.32s forwards;
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-enter--pill[data-anim="4"] {
  animation: hero-pill-in 0.65s var(--ease) 0.72s forwards;
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-enter--pill[data-anim="5"] {
  animation: hero-pill-in 0.65s var(--ease) 0.86s forwards;
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-enter--pill[data-anim="6"] {
  animation: hero-pill-in 0.65s var(--ease) 1s forwards;
}
.slide--hero.hero-intro-complete .hero-enter.anim,
.slide--hero.hero-intro-complete .hero-enter--pill {
  opacity: 1;
  transform: none;
}
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-pill-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-enter--notebook .hero-device-media {
  animation: hero-notebook-in 1.05s var(--ease) 0.42s forwards;
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-enter--cell .hero-device-media {
  animation: hero-cell-in 0.95s var(--ease) 0.62s forwards;
}
.slide--hero:not(.is-active):not(.hero-intro-complete) .hero-enter--notebook .hero-device-media,
.slide--hero:not(.is-active):not(.hero-intro-complete) .hero-enter--cell .hero-device-media {
  opacity: 0;
  animation: none !important;
}
.slide--hero.hero-intro-complete .hero-enter--notebook .hero-device-media,
.slide--hero.hero-intro-complete .hero-enter--cell .hero-device-media {
  opacity: 1;
  animation: none !important;
  transform: translateY(0) scale(1);
  filter: none;
}
.slide--hero.hero-intro-complete .hero-enter--cell .hero-device-media {
  transform: translateY(0) rotate(0deg) scale(1);
}
@keyframes hero-notebook-in {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.94);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@keyframes hero-cell-in {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(3deg) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

.hero-visual { position: relative; display: flex; justify-content: flex-end; align-items: center; min-width: 0; overflow: visible; }
.hero-shot {
  width: 100%; max-width: 900px; height: auto; position: relative; z-index: 2;
  transform: translateX(13%);
  filter: drop-shadow(0 44px 90px rgba(16, 42, 92, .2));
}
.hero-device-stack {
  position: relative;
  width: 100%;
  max-width: 900px;
  transform: translateX(13%);
  filter: drop-shadow(0 44px 90px rgba(16, 42, 92, .2));
  overflow: visible;
  transition: filter 0.55s var(--ease);
}
.hero-device-hit {
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: inherit;
  overflow: visible;
  transition: opacity 0.45s var(--ease);
}
.hero-device-hit:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 12px;
}
.hero-device-hit--notebook {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}
.hero-device-hit--cell {
  position: absolute;
  z-index: 5;
  right: -5%;
  bottom: -2%;
  width: clamp(148px, 36%, 320px);
}
.hero-device-media {
  display: block;
  transform-origin: center bottom;
  will-change: transform, filter, opacity;
}
.hero-device--notebook {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.55s var(--ease);
}
.hero-device--cell {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 32px 52px rgba(16, 42, 92, .32));
  transition: filter 0.55s var(--ease);
}
/* Floating muy sutil (después de la entrada) — solo el contenedor, no la imagen */
.slide--hero.is-active:not(.hero-intro-complete) .hero-device-hit--notebook {
  animation: hero-float 6s ease-in-out 1.5s infinite;
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-device-hit--cell {
  animation: hero-float 6.5s ease-in-out 1.65s infinite;
}
.slide--hero.is-active.hero-intro-complete .hero-device-hit--notebook {
  animation: hero-float 6s ease-in-out infinite;
}
.slide--hero.is-active.hero-intro-complete .hero-device-hit--cell {
  animation: hero-float 6.5s ease-in-out infinite;
}
.slide--hero:not(.is-active) .hero-device-hit--notebook,
.slide--hero:not(.is-active) .hero-device-hit--cell {
  animation: none !important;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.hero-device-caption {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  z-index: 8;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: clamp(.82rem, 1.05vw, .98rem);
  letter-spacing: -.02em;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 36px rgba(0, 113, 227, .14), var(--glass-shadow);
  pointer-events: none;
  transition:
    opacity .42s var(--ease),
    transform .42s var(--ease),
    visibility 0s linear .42s;
}
.hero-device-hit--cell .hero-device-caption {
  bottom: calc(100% + 10px);
}
/* Hover · notebook */
.hero-device-stack:has(.hero-device-hit--notebook:hover) .hero-device-hit--notebook .hero-device-media,
.hero-device-stack:has(.hero-device-hit--notebook:focus-visible) .hero-device-hit--notebook .hero-device-media {
  transform: scale(1.025);
  transition: transform 0.55s var(--ease);
}
.hero-device-stack:has(.hero-device-hit--notebook:hover),
.hero-device-stack:has(.hero-device-hit--notebook:focus-visible) {
  filter: drop-shadow(0 52px 104px rgba(16, 42, 92, .26));
}
.hero-device-stack:has(.hero-device-hit--notebook:hover) .hero-device-hit--cell,
.hero-device-stack:has(.hero-device-hit--notebook:focus-visible) .hero-device-hit--cell {
  opacity: 0.75;
}
/* Hover · teléfono */
.hero-device-stack:has(.hero-device-hit--cell:hover) .hero-device-hit--cell,
.hero-device-stack:has(.hero-device-hit--cell:focus-visible) .hero-device-hit--cell {
  z-index: 6;
}
.hero-device-stack:has(.hero-device-hit--cell:hover) .hero-device-hit--cell .hero-device-media,
.hero-device-stack:has(.hero-device-hit--cell:focus-visible) .hero-device-hit--cell .hero-device-media {
  transform: scale(1.025);
  transition: transform 0.55s var(--ease);
}
.hero-device-stack:has(.hero-device-hit--cell:hover) .hero-device--cell,
.hero-device-stack:has(.hero-device-hit--cell:focus-visible) .hero-device--cell {
  filter: drop-shadow(0 40px 64px rgba(16, 42, 92, .38));
}
.hero-device-stack:has(.hero-device-hit--cell:hover) .hero-device-hit--notebook,
.hero-device-stack:has(.hero-device-hit--cell:focus-visible) .hero-device-hit--notebook {
  opacity: 0.75;
}
.hero-device-stack:has(.hero-device-hit--cell:hover),
.hero-device-stack:has(.hero-device-hit--cell:focus-visible) {
  filter: drop-shadow(0 52px 104px rgba(16, 42, 92, .26));
}
.hero-device-media {
  /* Sin transition en transform por defecto: no compite con keyframes de entrada */
}
.hero-device-hit:hover .hero-device-caption,
.hero-device-hit:focus-visible .hero-device-caption {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity .45s var(--ease) .05s,
    transform .45s var(--ease) .05s,
    visibility 0s;
}

.hero-glow--enter {
  opacity: 0;
}
.slide--hero.is-active:not(.hero-intro-complete) .hero-glow--enter {
  animation: hero-bg-fade 1.6s ease 0.05s forwards;
}
.slide--hero.hero-intro-complete .hero-glow--enter {
  opacity: 1;
}

.hero-glow {
  position: absolute; z-index: 0; top: 50%; right: -4%; transform: translateY(-50%);
  width: 60vw; max-width: 820px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(41,151,255,.22) 0%, rgba(0,223,234,.1) 44%, transparent 66%);
  filter: blur(26px); pointer-events: none;
}
.hero-glow--soft { background: radial-gradient(circle at 50% 50%, rgba(41,151,255,.16) 0%, rgba(0,223,234,.08) 46%, transparent 66%); }

/* ---------- SPLIT (slide 2) ---------- */
.slide--split { align-items: center; padding: 100px 0 90px; overflow: hidden; }
.hero-grid--copy { grid-template-columns: 1.06fr 1.12fr; }
.hero-grid--copy .hero-copy { padding-right: 4px; }
.hero-grid--copy .hero-shot { transform: translateX(10%); }
.lead--2 { white-space: nowrap; font-size: clamp(1rem, 1.4vw, 1.25rem); }

/* Página 2 · información dispersa */
.slide--dispersa .hero-visual {
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.chaos-wrap {
  width: 100%;
  max-width: 620px;
  transform: translateX(4%);
}
.chaos-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  max-height: min(58vh, 500px);
  margin: 0;
  background: transparent;
  overflow: visible;
}
.chaos-piece {
  position: absolute;
  z-index: 2;
  will-change: transform;
}
.chaos-piece__img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 20px 36px rgba(16, 42, 92, .14));
  transform: translate3d(var(--chaos-mag-x, 0), var(--chaos-mag-y, 0), 0);
  transition: transform .32s var(--ease-soft);
}
.chaos-wrap {
  cursor: default;
}
/* Capas · más aire entre planilla, papeles, teléfono y detalles */
.chaos-piece--planilla {
  width: 54%;
  left: 46%;
  top: 14%;
  z-index: 3;
}
.chaos-piece--papel {
  width: 34%;
  left: 4%;
  top: 50%;
  z-index: 6;
}
.chaos-piece--mensajes {
  width: 36%;
  left: 100%;
  top: 18%;
  z-index: 5;
}
.chaos-piece--alertas {
  width: 30%;
  left: 86%;
  top: 0%;
  z-index: 2;
  opacity: 0.55;
}
.chaos-piece--cafe {
  width: 17%;
  left: 10%;
  top: 2%;
  z-index: 1;
  opacity: 0.88;
}
.slide--dispersa.is-active .chaos-piece--planilla {
  animation: chaos-drift-planilla 18s ease-in-out infinite;
}
.slide--dispersa.is-active .chaos-piece--papel {
  animation: chaos-drift-papel 20s ease-in-out infinite;
  animation-delay: -4s;
}
.slide--dispersa.is-active .chaos-piece--mensajes {
  animation: chaos-drift-mensajes 17s ease-in-out infinite;
  animation-delay: -7s;
}
.slide--dispersa.is-active .chaos-piece--alertas {
  animation: chaos-drift-alertas 19s ease-in-out infinite;
  animation-delay: -2s;
}
.slide--dispersa.is-active .chaos-piece--cafe {
  animation: chaos-drift-cafe 22s ease-in-out infinite;
  animation-delay: -9s;
}
.slide--dispersa:not(.is-active) .chaos-piece {
  animation-play-state: paused;
}
@keyframes chaos-drift-planilla {
  0%, 100% { transform: translate(-52%, 0) rotate(-2deg); }
  50% { transform: translate(-52%, -10px) rotate(1deg); }
}
@keyframes chaos-drift-papel {
  0%, 100% { transform: translate(0, 0) rotate(-11deg); }
  50% { transform: translate(6px, -8px) rotate(-7deg); }
}
@keyframes chaos-drift-mensajes {
  0%, 100% { transform: translate(-100%, 0) rotate(10deg); }
  50% { transform: translate(calc(-100% + 8px), -6px) rotate(6deg); }
}
@keyframes chaos-drift-alertas {
  0%, 100% {
    transform: translate(-100%, 0) rotate(5deg);
    opacity: 0.48;
  }
  50% {
    transform: translate(calc(-100% - 4px), 6px) rotate(1deg);
    opacity: 0.62;
  }
}
@keyframes chaos-drift-cafe {
  0%, 100% { transform: translate(0, 0) rotate(-5deg); }
  50% { transform: translate(4px, -6px) rotate(-2deg); }
}

/* Callout */
.callout { display: inline-flex; align-items: center; gap: 14px; margin-top: 38px; padding: 16px 24px; border-radius: 18px; }
.callout--warn { background: rgba(255,59,48,.08); }
.callout__dot {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 5px rgba(255, 59, 48, .14);
}
.callout__dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 59, 48, .5);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
}
.slide--dispersa.is-active .callout__dot {
  animation: callout-dot-pulse 2.2s ease-in-out infinite;
}
.slide--dispersa.is-active .callout__dot::after {
  animation: callout-dot-ring 2.2s ease-out infinite;
}
@keyframes callout-dot-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(255, 59, 48, .14);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 9px rgba(255, 59, 48, .06);
  }
}
@keyframes callout-dot-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: .75;
  }
  75%, 100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}
.callout p { color: #c0392f; font-weight: 500; }

/* Trio tiles */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; text-align: left; }
.tile {
  background: #fff; border: 0; border-radius: var(--radius);
  padding: 36px 32px; box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 18px 50px rgba(0,0,0,.06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.slide:nth-child(2) .tile, .slide:nth-child(6) .tile { box-shadow: 0 2px 8px rgba(0,0,0,.03), 0 18px 50px rgba(0,0,0,.05); }
.tile:hover { transform: translateY(-8px); box-shadow: 0 4px 12px rgba(0,0,0,.05), 0 30px 70px rgba(0,0,0,.1); }
.tile__ico {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  font-size: 1.7rem; background: var(--bg-2); margin-bottom: 22px;
}
.tile__ico--img { width: 84px; height: 84px; background: transparent; margin-bottom: 16px; }
.tile__ico--img img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 10px 20px rgba(41,151,255,.22)); }

/* Tarjetas centradas (slide 3) */
.trio--center .tile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 30px; }
.trio--center .tile__ico--img { width: 118px; height: 118px; margin-bottom: 22px; }
.trio--center .tile__ico--img img { transition: transform .45s var(--ease), filter .45s var(--ease); }
.trio--center .tile:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,.03), 0 32px 64px rgba(0,0,0,.06); }
.trio--center .tile:hover .tile__ico--img img { transform: scale(1.12); filter: drop-shadow(0 16px 28px rgba(41,151,255,.32)); }

/* ---------- IMPACTO (slide 3) ---------- */
.s-inner--impact { max-width: 1180px; }
.impact-wrap {
  position: relative;
  margin-top: 56px;
}
.impact-links {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.impact-links__path {
  fill: none;
  stroke: url(#impactLinkGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(41, 151, 255, .45));
  transition: opacity .5s var(--ease), stroke-dashoffset 1.1s var(--ease);
}
.slide--impact.is-impact-linked .impact-links__path {
  opacity: 1;
  stroke-dashoffset: 0;
}
.impact-trio {
  position: relative;
  z-index: 1;
  margin-top: 0;
}
.impact-card {
  position: relative;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: center;
  min-height: 320px;
  padding: 36px 26px 30px;
  overflow: hidden;
  outline: none;
}
.impact-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 113, 227, .35), 0 18px 50px rgba(0, 0, 0, .06);
}
.impact-card__base,
.impact-scene {
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.impact-card__base {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.impact-scene {
  position: absolute;
  inset: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.96);
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.impact-card:hover .impact-card__base,
.impact-card:focus-visible .impact-card__base,
.impact-card.is-impact-active .impact-card__base {
  opacity: 0;
  transform: translateY(-8px) scale(.94);
}
.impact-card:hover .impact-scene,
.impact-card:focus-visible .impact-scene,
.impact-card.is-impact-active .impact-scene {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s;
}
.impact-trio .impact-card:hover,
.impact-trio .impact-card:focus-visible,
.impact-trio .impact-card.is-impact-active {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05), 0 34px 68px rgba(0, 113, 227, .1);
}
.slide--impact.is-impact-linked .impact-card {
  box-shadow: 0 0 0 2px rgba(0, 113, 227, .22), 0 22px 56px rgba(0, 113, 227, .12);
}
.slide--impact.is-impact-linked .impact-card.is-impact-active {
  box-shadow: 0 0 0 2px var(--blue), 0 26px 60px rgba(0, 113, 227, .16);
}

/* Tiempo */
.impact-scene--time {
  justify-content: center;
}
.impact-time-visual {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.impact-clock {
  position: relative;
  flex: none;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff5f5, #fff);
  box-shadow: inset 0 0 0 2px rgba(255, 59, 48, .22), 0 14px 28px rgba(255, 59, 48, .16);
  transition: transform .5s var(--ease);
}
.impact-card--time:hover .impact-clock,
.impact-card--time:focus-visible .impact-clock,
.impact-card--time.is-impact-active .impact-clock {
  transform: scale(1.06);
}
.impact-clock__hand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 50% 100%;
  border-radius: 999px;
  background: #ff3b30;
}
.impact-clock__hand--h {
  width: 4px;
  height: 24px;
  margin-left: -2px;
  transform: translateY(-100%) rotate(-28deg);
}
.impact-clock__hand--m {
  width: 3px;
  height: 32px;
  margin-left: -1.5px;
  background: #ff3b30;
  transform: translateY(-100%) rotate(62deg);
}
.impact-card--time:hover .impact-clock__hand--m,
.impact-card--time:focus-visible .impact-clock__hand--m,
.impact-card--time.is-impact-active .impact-clock__hand--m {
  animation: impact-clock-tick 14s linear infinite;
}
.impact-card--time:hover .impact-clock__hand--h,
.impact-card--time:focus-visible .impact-clock__hand--h,
.impact-card--time.is-impact-active .impact-clock__hand--h {
  animation: impact-clock-hour 42s linear infinite;
}
@keyframes impact-clock-tick {
  from { transform: translateY(-100%) rotate(62deg); }
  to { transform: translateY(-100%) rotate(422deg); }
}
@keyframes impact-clock-hour {
  from { transform: translateY(-100%) rotate(-28deg); }
  to { transform: translateY(-100%) rotate(332deg); }
}
.impact-clock__center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #ff3b30;
  z-index: 2;
}
.impact-tasks {
  list-style: none;
  width: 100%;
  max-width: 220px;
  display: grid;
  gap: 8px;
  max-height: 168px;
  overflow: hidden;
  transition: max-height .55s var(--ease), opacity .45s var(--ease), transform .45s var(--ease), margin .45s var(--ease);
}
.impact-tasks li {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-2);
  border-radius: 10px;
  padding: 8px 12px;
  transform-origin: center;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.impact-card--time:hover .impact-tasks,
.impact-card--time:focus-visible .impact-tasks,
.impact-card--time.is-impact-active .impact-tasks {
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  margin-top: -6px;
}
.impact-card--time:hover .impact-tasks li,
.impact-card--time:focus-visible .impact-tasks li,
.impact-card--time.is-impact-active .impact-tasks li {
  opacity: 0;
  transform: scale(.86);
}
.impact-card--time:hover .impact-tasks li:nth-child(1),
.impact-card--time:focus-visible .impact-tasks li:nth-child(1) { transition-delay: 0s; }
.impact-card--time:hover .impact-tasks li:nth-child(2),
.impact-card--time:focus-visible .impact-tasks li:nth-child(2) { transition-delay: .05s; }
.impact-card--time:hover .impact-tasks li:nth-child(3),
.impact-card--time:focus-visible .impact-tasks li:nth-child(3) { transition-delay: .1s; }
.impact-card--time:hover .impact-tasks li:nth-child(4),
.impact-card--time:focus-visible .impact-tasks li:nth-child(4) { transition-delay: .15s; }

/* Control */
.impact-panel {
  width: 100%;
  max-width: 230px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 16px 34px rgba(0, 113, 227, .1);
  text-align: left;
}
.impact-panel__head {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.impact-panel__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.impact-panel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.impact-panel__dot--ok { background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .18); }
.impact-panel__dot--warn { background: #ff9f0a; box-shadow: 0 0 0 4px rgba(255, 159, 10, .16); }
.impact-panel__dot--live {
  background: var(--blue);
  animation: impact-pulse 1.4s ease-in-out infinite;
}
@keyframes impact-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 113, 227, .35); }
  50% { box-shadow: 0 0 0 6px rgba(0, 113, 227, 0); }
}
.impact-card--control:hover .impact-panel__row,
.impact-card--control:focus-visible .impact-panel__row,
.impact-card--control.is-impact-active .impact-panel__row {
  animation: impact-row-in .45s var(--ease) both;
}
.impact-card--control:hover .impact-panel__row:nth-child(2),
.impact-card--control:focus-visible .impact-panel__row:nth-child(2),
.impact-card--control.is-impact-active .impact-panel__row:nth-child(2) { animation-delay: .05s; }
.impact-card--control:hover .impact-panel__row:nth-child(3),
.impact-card--control:focus-visible .impact-panel__row:nth-child(3),
.impact-card--control.is-impact-active .impact-panel__row:nth-child(3) { animation-delay: .12s; }
.impact-card--control:hover .impact-panel__row:nth-child(4),
.impact-card--control:focus-visible .impact-panel__row:nth-child(4),
.impact-card--control.is-impact-active .impact-panel__row:nth-child(4) { animation-delay: .19s; }
@keyframes impact-row-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: none; }
}

/* Dinero */
.impact-slip {
  width: 100%;
  max-width: 236px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border-radius: 16px;
  padding: 14px 16px 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, .1), 0 16px 34px rgba(0, 113, 227, .1);
  text-align: left;
}
.impact-slip__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.impact-slip__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, .08);
  opacity: .55;
  transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.impact-slip--bad {
  box-shadow: inset 0 0 0 1px rgba(255, 59, 48, .18), 0 16px 34px rgba(255, 59, 48, .1);
}
.impact-slip__bad {
  color: #ff3b30;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1;
}
.impact-slip__ok {
  color: #34c759;
  font-weight: 800;
}
.impact-slip__sum {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 59, 48, .06);
  border: 1px dashed rgba(255, 59, 48, .28);
  font-size: .72rem;
  line-height: 1.35;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s var(--ease) .12s, transform .4s var(--ease) .12s;
}
.impact-slip__sum-line {
  display: block;
  font-variant-numeric: tabular-nums;
}
.impact-slip__sum-eq {
  display: block;
  margin-top: 4px;
  font-weight: 600;
  color: var(--ink);
}
.impact-slip__sum-eq s {
  color: #ff3b30;
  text-decoration-thickness: 2px;
}
.impact-slip__sum-eq strong {
  color: #ff3b30;
  font-weight: 800;
}
.impact-slip__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
  font-size: .84rem;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--ease) .2s, transform .45s var(--ease) .2s;
}
.impact-slip__total strong {
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.impact-slip__total--wrong strong {
  color: #ff3b30;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.impact-card--money:hover .impact-slip__row,
.impact-card--money:focus-visible .impact-slip__row,
.impact-card--money.is-impact-active .impact-slip__row {
  opacity: 1;
  transform: none;
}
.impact-card--money:hover .impact-slip__row:nth-child(2),
.impact-card--money:focus-visible .impact-slip__row:nth-child(2),
.impact-card--money.is-impact-active .impact-slip__row:nth-child(2) { transition-delay: .04s; }
.impact-card--money:hover .impact-slip__row:nth-child(3),
.impact-card--money:focus-visible .impact-slip__row:nth-child(3),
.impact-card--money.is-impact-active .impact-slip__row:nth-child(3) { transition-delay: .1s; }
.impact-card--money:hover .impact-slip__row:nth-child(4),
.impact-card--money:focus-visible .impact-slip__row:nth-child(4),
.impact-card--money.is-impact-active .impact-slip__row:nth-child(4) { transition-delay: .16s; }
.impact-card--money:hover .impact-slip__sum,
.impact-card--money:focus-visible .impact-slip__sum,
.impact-card--money.is-impact-active .impact-slip__sum {
  opacity: 1;
  transform: none;
}
.impact-card--money:hover .impact-slip__total,
.impact-card--money:focus-visible .impact-slip__total,
.impact-card--money.is-impact-active .impact-slip__total {
  opacity: 1;
  transform: none;
}

.impact-payoff {
  max-width: 720px;
  margin: 36px auto 0;
  text-align: center;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.35;
  color: var(--ink);
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s linear .55s;
}
.slide--impact.is-impact-linked .impact-payoff {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: .35s;
}
.slide--impact.is-impact-linked #impactDualNote {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
#impactDualNote {
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

/* ---------- ACORDEÓN EXPANDIBLE (slide 4) ---------- */
.trio--expand { align-items: start; }
.tile--expand { cursor: pointer; outline: none; padding-bottom: 30px; }
.tile--expand:focus-visible { box-shadow: 0 0 0 3px rgba(0,113,227,.4); }
/* No escalar la tarjeta abierta ni al hover cuando está abierta, para que no salte */
.trio--expand .tile--expand.is-open:hover,
.trio--expand .tile--expand.is-open { transform: none; box-shadow: 0 6px 16px rgba(0,0,0,.04), 0 34px 70px rgba(0,0,0,.1); }
.trio--expand .tile--expand:hover { transform: translateY(-6px) scale(1.03); }

.tile__more {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 16px;
  color: var(--blue); font-weight: 600; font-size: .92rem; letter-spacing: -.01em;
  transition: opacity .3s;
}
.tile__more svg { transition: transform .4s var(--ease); }
.tile--expand.is-open .tile__more svg { transform: rotate(180deg); }

.tile__reveal {
  width: 100%; max-height: 0; overflow: hidden; opacity: 0; transform: translateY(8px);
  transition: max-height .9s cubic-bezier(.16,1,.3,1), opacity .7s ease .1s, transform .9s cubic-bezier(.16,1,.3,1), margin-top .8s cubic-bezier(.16,1,.3,1);
}
.tile--expand.is-open .tile__reveal { max-height: 340px; opacity: 1; transform: none; margin-top: 22px; }

/* Al abrir una tarjeta, compactar el encabezado para que todo entre sin scroll */
.slide .kicker, .slide .headline, .trio--expand, .trio--expand .tile,
.trio--expand .tile__ico--img, .trio--expand .tile p, .trio--expand .tile__more {
  transition: font-size .7s var(--ease), margin .7s var(--ease), width .7s var(--ease), height .7s var(--ease), opacity .5s var(--ease);
}
.slide { transition: padding .7s var(--ease); }
.slide.has-open { padding-top: 92px; padding-bottom: 56px; }
.slide.has-open .kicker { margin-bottom: 8px; }
.slide.has-open .headline { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.slide.has-open .trio--expand { margin-top: 30px; }
.slide.has-open .trio--expand .tile { padding-top: 30px; padding-bottom: 24px; }
.slide.has-open .trio--expand .tile__ico--img { width: 78px; height: 78px; margin-bottom: 14px; }
.slide.has-open .trio--expand .tile p { margin-top: 6px; }

/* Ecosistema conectado (slide 4) */
.s-inner--eco { max-width: 1180px; }
.eco-wrap {
  position: relative;
  margin-top: 56px;
}
.eco-trio { margin-top: 0; }
.slide--eco .tile__ico--img {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 50%;
  overflow: visible;
  box-shadow:
    0 8px 22px rgba(41, 151, 255, .14),
    inset 0 0 0 1px rgba(0, 113, 227, .1);
  isolation: isolate;
  transition: transform .45s var(--ease);
}
.slide--eco .tile__ico--img::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: #fff;
  z-index: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}
.slide--eco .tile__ico--img img {
  position: relative;
  z-index: 1;
  opacity: 1;
  filter: drop-shadow(0 6px 14px rgba(41, 151, 255, .2));
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
.slide--eco .tile:hover .tile__ico--img {
  transform: scale(1.08);
  z-index: 8;
}
.slide--eco .tile:hover .tile__ico--img img {
  transform: scale(1.12);
  filter: drop-shadow(0 12px 22px rgba(41, 151, 255, .28));
}
.slide--eco.has-open .trio--expand .tile__ico--img {
  width: 96px;
  height: 96px;
}
.eco-links {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.eco-links__path {
  fill: none;
  stroke: url(#ecoLinkGrad);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 7px rgba(41, 151, 255, .4));
  transition: opacity .45s var(--ease), stroke-dashoffset .95s var(--ease);
}
.slide--eco.is-eco-linked .eco-links__path {
  opacity: 1;
  stroke-dashoffset: 0;
}
.slide--eco.is-eco-linked #ecoLinkPathB {
  transition-delay: .14s;
}
.eco-trio { position: relative; z-index: 1; }
.slide--eco.is-eco-linked .tile--expand:not(.is-open) {
  opacity: .78;
  transform: scale(.98);
}
.slide--eco.is-eco-linked .tile--expand.is-open {
  box-shadow: 0 0 0 2px rgba(0, 113, 227, .25), 0 26px 60px rgba(0, 113, 227, .12);
}
.tile--expand.is-open .tile__reveal--eco { max-height: 420px; }
.eco-features {
  list-style: none;
  width: 100%;
  display: grid;
  gap: 8px;
  text-align: left;
}
.eco-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-2);
  border-radius: 12px;
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.eco-features li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, .12);
}
.tile--expand.is-open .eco-features li {
  opacity: 1;
  transform: none;
}
.tile--expand.is-open .eco-features li:nth-child(1) { transition-delay: .06s; }
.tile--expand.is-open .eco-features li:nth-child(2) { transition-delay: .12s; }
.tile--expand.is-open .eco-features li:nth-child(3) { transition-delay: .18s; }
.tile--expand.is-open .eco-features li:nth-child(4) { transition-delay: .24s; }
.tile--expand.is-open .eco-features li:nth-child(5) { transition-delay: .3s; }
.eco-flow {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
  font-size: clamp(.98rem, 1.5vw, 1.15rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--ink-soft);
  min-height: 1.5em;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
}
.eco-flow.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: .15s;
}
.eco-flow .eco-flow__step {
  color: var(--ink);
  font-weight: 600;
}
.eco-flow .eco-flow__arrow {
  color: var(--blue);
  font-weight: 700;
  padding: 0 .25em;
}

/* Imágenes de dispositivos en el desplegable */
.reveal-img { display: block; margin: 0 auto; height: auto; mix-blend-mode: multiply; }
.reveal-img--laptop { width: 100%; max-width: 380px; }
.reveal-img--phone { width: auto; max-height: 300px; }
.tile h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.025em; }
.tile p { color: var(--ink-soft); margin-top: 10px; font-size: 1.05rem; letter-spacing: -.01em; }

.dual-note { display: flex; justify-content: center; gap: 44px; margin-top: 48px; font-weight: 600; font-size: 1.1rem; flex-wrap: wrap; letter-spacing: -.02em; }
.dual-note .down { color: var(--blue); }
.dual-note .up { color: #ff3b30; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 52px; text-align: left; align-items: start; }
.compare-wrap {
  position: relative;
  margin: 52px auto 0;
  max-width: 960px;
  overflow: visible;
  --mark-side-w: min(360px, 33vw);
}
.compare-wrap .compare { margin-top: 0; overflow: visible; }
.ccard--video.is-video-active {
  position: relative;
  z-index: 51;
  box-shadow: 0 0 0 2px var(--blue), 0 16px 44px rgba(0, 113, 227, .12), var(--glass-shadow);
}
.mark-side-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(16, 24, 40, .42);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.slide.has-mark-side .mark-side-backdrop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .5s var(--ease), visibility 0s;
}
.mark-side {
  position: absolute;
  bottom: 0;
  z-index: 52;
  width: var(--mark-side-w);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transform-origin: bottom center;
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.ccard--video[data-video-side="right"] .mark-side {
  left: calc(100% + 22px);
  right: auto;
  transform: translateX(-20px) scale(.94);
}
.ccard--video[data-video-side="left"] .mark-side {
  right: calc(100% + 22px);
  left: auto;
  transform: translateX(20px) scale(.94);
}
.ccard--video.is-mark-open .mark-side,
.ccard--video.is-mark-open[data-video-side="left"] .mark-side,
.ccard--video.is-mark-open[data-video-side="right"] .mark-side {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s;
}
.mark-side__frame {
  width: var(--mark-side-w);
  aspect-ratio: 9 / 16;
  max-height: min(90vh, 860px);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: #0a0a0a;
  transform: translateZ(0);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 22px 40px rgba(16, 42, 92, .22);
}
.mark-side__frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
  border-radius: inherit;
  transform: translateZ(0) scale(1.025);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.mark-side__close {
  position: absolute; top: -6px; right: -6px; z-index: 2;
  width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--ink-soft); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transition: transform .2s, color .2s;
}
.mark-side__close:hover { transform: scale(1.08); color: var(--ink); }
.ccard {
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--glass-shadow), 0 20px 50px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
  display: flex; flex-direction: column; position: relative; isolation: isolate;
}
.ccard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(155deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.12) 42%, rgba(255,255,255,0) 62%);
}
.ccard:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(255,255,255,.95) inset, 0 16px 44px rgba(0,113,227,.08), 0 24px 60px rgba(0,0,0,.07);
}
.ccard.ccard--video {
  overflow: visible;
}
.ccard__head { display: flex; align-items: center; gap: 15px; padding: 26px 28px; position: relative; z-index: 1; }
.ccard__badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; }
.ccard__badge--teal { background: var(--teal); color: #05323a; }
.ccard__badge--blue { background: var(--blue); }
.ccard__badge--img { background: transparent; padding: 0; overflow: hidden; }
.ccard__badge--img img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; display: block; }
.ccard__head strong { display: block; font-size: 1.2rem; letter-spacing: -.02em; font-weight: 600; }
.ccard__head small { color: var(--ink-soft); }
.checks { list-style: none; padding: 0 28px; margin: 0; position: relative; z-index: 1; }
.ccard__stores {
  margin: 0; padding: 14px 28px 22px; position: relative; z-index: 1;
  border-top: 1px solid rgba(29, 29, 31, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.42));
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch;
}
.store-badge {
  position: relative; display: block; width: 100%; min-width: 0;
  padding: 0; border: 0; background: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  text-decoration: none;
  transition: transform .32s var(--ease), filter .32s var(--ease);
}
.store-badge::before,
.store-badge::after { content: none; display: none; }
.store-badge:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 8px 18px rgba(0, 113, 227, 0.14));
}
.store-badge:active { transform: scale(.985); }
.store-badge__img {
  display: block; width: 100%; height: auto; max-height: 46px; object-fit: contain;
}

/* Botón de play junto al título */
.app-play {
  margin-left: auto; flex: none; width: 46px; height: 46px; border: 0; cursor: pointer;
  background: transparent; padding: 0; display: grid; place-items: center;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.1));
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.app-play img { width: 100%; height: 100%; object-fit: contain; display: block; }
.app-play:hover { transform: scale(1.12); filter: drop-shadow(0 5px 10px rgba(0,0,0,.14)); }
.app-play:active { transform: scale(1.02); }
.demo-play { display: grid; place-items: center; margin-bottom: 40px; }
.demo-play__btn {
  display: block; width: 132px; height: 132px;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.12));
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.demo-play__btn:hover { transform: scale(1.06); filter: drop-shadow(0 12px 28px rgba(0,0,0,.16)); }
.demo-play__btn:active { transform: scale(1.02); }
.demo-play__btn img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Modal de video */
.vmodal {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
  padding: 6px; background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.vmodal.is-open { opacity: 1; pointer-events: auto; }
.vmodal__box {
  position: relative; display: flex; flex-direction: column;
  transform: scale(.94); transition: transform .4s var(--ease);
}
.vmodal.is-open .vmodal__box { transform: scale(1); }
.vmodal__bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px; border-radius: 22px 22px 0 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.55), transparent);
}
.vmodal__title { color: #fff; font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.vmodal__close {
  width: 40px; height: 40px; flex: none; border: 0; cursor: pointer; border-radius: 50%; pointer-events: auto;
  background: rgba(0,0,0,.4); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s var(--ease);
}
.vmodal__close:hover { background: rgba(0,0,0,.65); transform: scale(1.06); }
.vmodal video {
  display: block; max-width: min(99vw, 1200px); max-height: 99vh; width: auto; height: auto;
  border-radius: 22px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

/* Modal de tienda */
.smodal {
  position: fixed; inset: 0; z-index: 85; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(0,0,0,.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.smodal.is-open { opacity: 1; pointer-events: auto; }
.smodal__box {
  width: min(92vw, 960px); aspect-ratio: 16 / 9; max-height: 88vh;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.85);
  transform: scale(.94); transition: transform .4s var(--ease);
}
.smodal.is-open .smodal__box { transform: scale(1); }
.smodal__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(245,245,247,.95));
}
.smodal__title { font-weight: 600; font-size: .98rem; letter-spacing: -.02em; color: var(--ink); }
.smodal__close {
  width: 36px; height: 36px; flex: none; border: 0; cursor: pointer; border-radius: 50%;
  background: rgba(0,0,0,.06); color: var(--ink-soft); display: grid; place-items: center;
  transition: background .2s, transform .2s var(--ease), color .2s;
}
.smodal__close:hover { background: rgba(0,0,0,.1); color: var(--ink); transform: scale(1.06); }
.smodal__panel {
  flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 28px 32px; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, #fff 0%, #f5f5f7 100%);
}
.smodal__badge { width: min(220px, 52%); height: auto; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.08)); }
.smodal__hint { color: var(--ink-soft); font-size: 1rem; line-height: 1.45; max-width: 34ch; }
.smodal__reopen {
  border: 0; cursor: pointer; padding: 12px 22px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 600; font-size: .92rem; letter-spacing: -.01em;
  box-shadow: 0 10px 28px rgba(0,113,227,.22); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.smodal__reopen:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0,113,227,.28); }
.checks li {
  position: relative; padding: 12px 0 12px 40px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  font-size: 1.02rem; letter-spacing: -.01em;
}
.checks li:first-child { border-top: 1px solid rgba(29, 29, 31, 0.1); }
.checks li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; background: url("check.png") center/contain no-repeat; }

/* Quad */
.qcard { background: #fff; border: 0; border-radius: var(--radius-sm); padding: 32px 28px; box-shadow: 0 2px 8px rgba(0,0,0,.03), 0 16px 44px rgba(0,0,0,.05); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; align-items: center; }
.qcard:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 6px 16px rgba(0,0,0,.03), 0 28px 56px rgba(0,0,0,.07); }
.qcard__ico { width: 96px; height: 96px; margin-bottom: 16px; }
.qcard__ico img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .45s var(--ease); }
.qcard:hover .qcard__ico img { transform: scale(1.1); }
.qcard h4 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; }
.qcard h4 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qcard p { color: var(--ink-soft); margin-top: 8px; font-size: 1rem; letter-spacing: -.01em; }
.qcard--side { cursor: pointer; outline: none; }
.qcard--side.is-active { box-shadow: 0 0 0 2px var(--blue), 0 16px 44px rgba(0,113,227,.12); }

/* Layout con panel lateral (página 6) — sale del lado de la tarjeta clickada */
.s-inner--feat { max-width: 1120px; width: 100%; text-align: center; }
.quad-wrap { position: relative; margin: 52px auto 0; max-width: 720px; --feat-side-w: 320px; }
.quad-wrap .quad { margin: 0; }
.feat-side-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(16, 24, 40, .42);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.slide.has-feat-side .feat-side-backdrop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .5s var(--ease), visibility 0s;
}
.slide.has-feat-side .qcard--side.is-active { position: relative; z-index: 51; }
.feat-side {
  position: absolute; top: var(--feat-side-top, 0); z-index: 52;
  width: var(--feat-side-w); opacity: 0; visibility: hidden; pointer-events: none;
  display: flex; align-items: flex-start; justify-content: center;
  transition: opacity .5s var(--ease), transform .5s var(--ease), top .5s var(--ease), visibility 0s .5s;
}
.slide.has-feat-side--left .feat-side {
  right: calc(100% + 22px); transform: translateY(-50%) translateX(20px) scale(.94);
}
.slide.has-feat-side--right .feat-side {
  left: calc(100% + 22px); transform: translateY(-50%) translateX(-20px) scale(.94);
}
.slide.has-feat-side .feat-side {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%);
  transition: opacity .5s var(--ease), transform .5s var(--ease), top .5s var(--ease), visibility 0s;
}
.feat-side__frame {
  width: var(--feat-side-w); max-height: min(78vh, 680px);
  border-radius: 22px; overflow: hidden; cursor: zoom-in; outline: none;
  filter: drop-shadow(0 22px 40px rgba(16,42,92,.22));
  transition: box-shadow .45s var(--ease);
  touch-action: none; user-select: none;
}
.feat-side__frame.is-zoomed { cursor: grab; box-shadow: 0 0 0 2px var(--blue), 0 22px 40px rgba(0,113,227,.18); }
.feat-side__frame.is-zoomed.is-panning { cursor: grabbing; }
.feat-side__img {
  display: block; width: 100%; height: auto; max-height: min(78vh, 680px); object-fit: contain;
  transform-origin: center center;
  transform: translate(var(--feat-pan-x, 0px), var(--feat-pan-y, 0px)) scale(1);
  transition: transform .55s var(--ease);
  will-change: transform;
}
.feat-side__frame.is-zoomed .feat-side__img {
  transform: translate(var(--feat-pan-x, 0px), var(--feat-pan-y, 0px)) scale(1.5);
}
.feat-side__frame.is-panning .feat-side__img { transition: none; }
.feat-side__close {
  position: absolute; top: -6px; right: -6px; z-index: 2;
  width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--ink-soft); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.12); transition: transform .2s, color .2s;
}
.feat-side__close:hover { transform: scale(1.08); color: var(--ink); }

.quad { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 52px auto 0; text-align: center; max-width: 720px; }

/* Split / chips */
.split-l { text-align: left; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips span {
  background: #fff; border: 0; border-radius: 16px; padding: 17px 20px 17px 44px;
  font-weight: 500; position: relative; box-shadow: 0 2px 6px rgba(0,0,0,.03), 0 10px 30px rgba(0,0,0,.05);
  font-size: 1.02rem; letter-spacing: -.015em; transition: transform .35s var(--ease), box-shadow .35s;
}
.chips span:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(0,0,0,.05), 0 18px 44px rgba(0,0,0,.09); }
.chips span::before { content: ""; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

/* Plataforma · órbita circular (página 7) */
.slide--platform {
  align-items: center;
  overflow: visible;
  background: radial-gradient(120% 120% at 50% 20%, #eef5ff 0%, #f8fbff 42%, var(--bg) 72%);
}
.s-inner--platform { max-width: 1240px; width: 100%; }
.platform-grid {
  display: grid; grid-template-columns: minmax(260px, 0.95fr) minmax(400px, 1.35fr);
  gap: clamp(24px, 4vw, 48px); align-items: center; text-align: left;
}
.platform-copy { max-width: 480px; }
.headline--platform {
  font-size: clamp(2.6rem, 4.75vw, 3.75rem);
  letter-spacing: -.033em;
  line-height: 1.04;
  margin-bottom: 0;
}
.platform-lead {
  margin: 30px 0 0;
  max-width: none;
  font-size: clamp(.88rem, 1.05vw, .98rem);
  line-height: 1.45;
}
.platform-orbit {
  position: relative; width: 100%; max-width: 720px; aspect-ratio: 1; margin: 0;
  --orbit-r: min(28vw, 275px);
  /* -180deg: Colaboradores a las 9; Pagos arriba; horario = orden del listado */
  --orbit-base: -180deg;
  justify-self: end;
  overflow: visible;
}
.platform-orbit__ring {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.platform-orbit__center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(42%, 330px); z-index: 1; pointer-events: none;
}
.platform-orbit__laptop {
  display: block; width: 100%; height: auto; object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(16,42,92,.16));
}
.platform-orbit__items { position: absolute; inset: 0; z-index: 2; overflow: visible; }
.platform-chip {
  position: absolute; left: 50%; top: 50%;
  display: flex; align-items: center; justify-content: center;
  width: 108px; max-width: 108px; min-height: 38px;
  padding: 7px 8px; border-radius: 14px; text-align: center;
  background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 4px 18px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.95);
  font-size: clamp(.64rem, .85vw, .76rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.15;
  color: var(--blue); white-space: normal; text-wrap: balance;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--i) * 30deg + var(--orbit-base, -180deg)))
    translateY(calc(-1 * (var(--orbit-r) + var(--push, 0px))))
    rotate(calc(-1 * (var(--i) * 30deg + var(--orbit-base, -180deg))));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.platform-chip:hover {
  z-index: 5;
  box-shadow: 0 8px 28px rgba(0,113,227,.12), inset 0 1px 0 rgba(255,255,255,1);
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--i) * 30deg + var(--orbit-base, -180deg)))
    translateY(calc(-1 * (var(--orbit-r) + var(--push, 0px)) - 4px))
    rotate(calc(-1 * (var(--i) * 30deg + var(--orbit-base, -180deg))))
    scale(1.5);
}

/* Clientes · slide 9 */
.slide--clients {
  padding: 96px 7vw 84px;
  overflow: visible;
  align-items: flex-start;
  background: radial-gradient(125% 125% at 14% 8%, #eef5ff 0%, #f8fbff 40%, var(--bg) 74%);
}
.slide--clients .kicker { margin-bottom: 14px; }
.slide--clients .headline {
  font-size: clamp(2rem, 3.75vw, 3.2rem);
  letter-spacing: -.033em;
  line-height: 1.05;
  margin-bottom: 0;
  text-align: left;
}
.slide--clients .s-inner--wide { container-type: inline-size; }
.slide--clients .clients-wrap {
  width: min(1120px, 100%);
  margin-inline: auto;
  --gap: 14px;
  --fade-gutter: clamp(96px, 14cqi, 160px);
  --cell: calc((min(1120px, 100cqw) - (4 * var(--gap))) / 5);
  /* Alto compartido: tarjeta +400 y grilla de logos */
  --clients-block-h: calc(2 * var(--cell) + var(--gap));
  --logo-col: calc((var(--clients-block-h) - 2 * var(--gap)) / 3);
  /* Tarjeta +400 empresas — ajuste manual del marco (márgenes / escala) */
  --bignum-img-scale: 1.05
  --bignum-shadow: 0 14px 32px -16px rgba(0, 113, 227, .18);
}
.slide--clients .clients-header {
  display: grid;
  grid-template-columns: repeat(5, var(--cell));
  gap: var(--gap);
  margin-top: 28px;
  margin-bottom: 26px;
}
.slide--clients .clients-header__spacer { grid-column: 1; }
.slide--clients .rubros {
  grid-column: 2 / 6;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}
.slide--clients .rubros__pill {
  margin: 0;
  padding: 8px 16px;
  font: inherit;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  background: var(--glass-bg-strong);
  border: 1px solid rgba(0, 113, 227, .08);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.slide--clients .rubros__pill:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 113, 227, .16);
  box-shadow: 0 4px 14px rgba(0, 113, 227, .1);
}
.slide--clients .rubros__pill:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.slide--clients .rubros__pill:active {
  transform: scale(1.02);
}
.slide--clients .clients {
  display: grid;
  grid-template-columns: repeat(5, var(--cell));
  grid-template-rows: repeat(2, var(--cell));
  gap: var(--gap);
  text-align: left;
  overflow: visible;
  position: relative;
}
.slide--clients .bignum {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: stretch;
  justify-self: stretch;
  min-width: 0;
  min-height: 0;
  height: var(--clients-block-h);
  max-height: var(--clients-block-h);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  padding: 0;
  border-radius: calc(var(--radius-sm) - 4px);
  box-shadow: var(--bignum-shadow);
  background: #f8fbff;
  overflow: hidden;
}
.slide--clients .bignum__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
  transform: scale(var(--bignum-img-scale));
  transform-origin: center center;
}
.slide--clients .logos-shell {
  grid-column: 2 / 6;
  grid-row: 1 / 3;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: var(--clients-block-h);
  max-height: var(--clients-block-h);
  align-self: stretch;
  position: relative;
  z-index: 2;
  overflow: hidden;
  container-type: size;
  /* Cuadrado = tercio del alto real del shell (fallback si cqh no aplica) */
  --logo-col: calc((100cqh - 2 * var(--gap)) / 3);
}
.slide--clients .logos-viewport {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  box-sizing: border-box;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.slide--clients .logos-viewport::-webkit-scrollbar { display: none; }
.slide--clients .logos-shell.can-scroll-right:not(.can-scroll-left) .logos-viewport {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--fade-gutter)), transparent 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - var(--fade-gutter)), transparent 100%);
}
.slide--clients .logos-shell.can-scroll-left:not(.can-scroll-right) .logos-viewport {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-gutter));
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-gutter));
}
.slide--clients .logos-shell.can-scroll-left.can-scroll-right .logos-viewport,
.slide--clients .logos-shell.logos-loop-active .logos-viewport {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--fade-gutter),
    #000 calc(100% - var(--fade-gutter)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--fade-gutter),
    #000 calc(100% - var(--fade-gutter)),
    transparent 100%
  );
}
.slide--clients .logos-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.slide--clients .logos-viewport.is-dragging .lbox {
  pointer-events: none;
}
.slide--clients .logos-track {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-auto-columns: var(--logo-col);
  gap: var(--gap);
  width: max-content;
  height: 100%;
  max-height: 100%;
  box-sizing: border-box;
  align-content: stretch;
  overflow: visible;
}
.slide--clients .lbox {
  width: auto;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  place-self: center;
  min-height: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: calc(var(--radius-sm) * 0.72);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
  overflow: visible;
  box-shadow: 0 6px 14px -7px rgba(0, 0, 0, .08);
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.slide--clients .lbox:not(.lbox--placeholder)::before {
  content: "";
  position: absolute;
  inset: -36%;
  z-index: 0;
}
.slide--clients .lbox--placeholder {
  background: var(--bg-2);
  border: 1px dashed rgba(0, 0, 0, .07);
  box-shadow: none;
}
.slide--clients .lbox--placeholder span {
  color: var(--ink-soft);
  font-size: clamp(.62rem, .82vw, .72rem);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.25;
  opacity: .72;
}
.slide--clients .lbox img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  pointer-events: none;
  transform-origin: center center;
  transition: transform .4s var(--ease), filter .4s var(--ease);
}
.slide--clients .lbox:not(.lbox--placeholder):hover {
  z-index: 25;
  border-color: rgba(0, 113, 227, .14);
  box-shadow: 0 10px 22px -8px rgba(0, 113, 227, .12);
}
.slide--clients .lbox:not(.lbox--placeholder):hover img {
  transform: scale(1.28);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .14));
}
.slide--clients .lbox--placeholder:hover {
  transform: translateY(-3px);
  z-index: 1;
}

:fullscreen .slide--clients,
:-webkit-full-screen .slide--clients {
  align-items: center;
  padding-block: clamp(48px, 6vh, 96px);
}

.rubros { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.rubros span { background: rgba(0,113,227,.07); color: var(--blue); font-weight: 600; font-size: .9rem; padding: 9px 18px; border-radius: 999px; letter-spacing: -.01em; }

/* Testimonios · slide 10 */
.slide--testimonials {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.testimonials-bg {
  position: absolute;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 55% at 18% 22%, rgba(41, 151, 255, 0.16), transparent 62%),
    radial-gradient(50% 50% at 82% 78%, rgba(0, 223, 234, 0.12), transparent 58%),
    radial-gradient(140% 140% at 50% 8%, #eef5ff 0%, #f3f6fa 42%, var(--bg-2) 78%);
  transform: translate3d(0, 0, 0) scale(1);
  will-change: transform;
}
.slide--testimonials.has-quote-focus .testimonials-bg {
  animation: testimonials-bg-drift 32s ease-in-out infinite;
}
@keyframes testimonials-bg-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(-2.5%, 1.2%, 0) scale(1.04); }
  66% { transform: translate3d(2.2%, -1.4%, 0) scale(1.03); }
}
.slide--testimonials .testimonials-layout {
  position: relative;
  z-index: 1;
  width: 100%;
}
.slide--testimonials .headline { margin-bottom: 0; }
.testimonials-shell {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100vw;
  margin-top: 48px;
  margin-left: calc(50% - 50vw);
  padding: 0 clamp(20px, 4vw, 48px);
}
.testimonials-shell::before,
.testimonials-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 28px;
  width: clamp(56px, 10vw, 140px);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.testimonials-shell::before {
  left: 0;
  background: linear-gradient(
    90deg,
    var(--bg-2) 0%,
    rgba(245, 245, 247, 0.92) 28%,
    rgba(245, 245, 247, 0.45) 58%,
    transparent 100%
  );
}
.testimonials-shell::after {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--bg-2) 0%,
    rgba(245, 245, 247, 0.92) 28%,
    rgba(245, 245, 247, 0.45) 58%,
    transparent 100%
  );
}
.testimonials-shell.has-overflow::before,
.testimonials-shell.has-overflow::after {
  opacity: 1;
}
.testimonials-shell.has-overflow.at-scroll-start::before,
.testimonials-shell.has-overflow.at-scroll-end::after {
  opacity: 1;
}
.testimonials-track {
  overflow: hidden;
  overflow-y: visible;
  padding: 10px 0 26px;
  cursor: default;
  outline: none;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000  clamp(36px, 7vw, 100px),
    #000  calc(100% - clamp(36px, 7vw, 100px)),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000  clamp(36px, 7vw, 100px),
    #000  calc(100% - clamp(36px, 7vw, 100px)),
    transparent 100%
  );
}
.testimonials-shell.is-centered .testimonials-track {
  mask-image: none;
  -webkit-mask-image: none;
}
.testimonials-marquee {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 22px;
  width: max-content;
  margin-inline: 0;
  padding-inline: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.testimonials-shell.is-centered .testimonials-marquee {
  margin-inline: auto;
  padding-inline: max(
    clamp(20px, 4vw, 48px),
    calc(50vw - clamp(144px, 15vw, 180px))
  );
  animation: none !important;
}
.slide--testimonials.is-active .testimonials-shell.is-marquee-active .testimonials-marquee {
  animation: testimonial-drift var(--testimonial-duration, 120s) linear infinite;
}
@keyframes testimonial-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(var(--testimonial-loop, 0px) * -1), 0, 0); }
}
.slide--testimonials.is-active .testimonials-shell.is-marquee-active .quote--testimonial {
  animation: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
.testimonials-row {
  display: flex;
  align-items: stretch;
  gap: 22px;
  width: max-content;
  min-height: 100%;
  text-align: left;
}
.slide--testimonials .quote--testimonial {
  position: relative;
  flex: 0 0 auto;
  width: clamp(288px, 30vw, 360px);
  scroll-snap-align: center;
  cursor: default;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 0 0 22px;
  box-shadow: 0 10px 36px rgba(16, 42, 92, 0.08);
  display: flex;
  flex-direction: column;
  outline: none;
  overflow: hidden;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(22px) scale(0.985);
  transition:
    width 0.9s var(--ease),
    transform 0.9s var(--ease),
    box-shadow 0.9s var(--ease),
    opacity 0.75s var(--ease),
    filter 0.75s var(--ease),
    border-color 0.5s var(--ease);
}
.quote__accent {
  height: 4px;
  background: var(--grad);
  border-radius: 22px 22px 0 0;
}
.quote__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 0;
}
.quote__badge {
  flex: none;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  background: linear-gradient(115deg, #0071e3, #2997ff);
  padding: 7px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.28);
  white-space: nowrap;
}
.quote__content {
  position: relative;
  padding: 8px 22px 0;
  flex: 1;
}
.quote__mark {
  display: block;
  font-size: 3.2rem;
  line-height: 0.85;
  font-weight: 700;
  color: rgba(0, 113, 227, 0.14);
  margin-bottom: 4px;
  pointer-events: none;
  user-select: none;
}
.slide--testimonials.is-active .quote--testimonial {
  animation: quote-testimonial-enter 1s var(--ease) forwards;
}
.slide--testimonials.is-active .quote--testimonial:nth-child(1) { animation-delay: 0.12s; }
.slide--testimonials.is-active .quote--testimonial:nth-child(2) { animation-delay: 0.24s; }
.slide--testimonials.is-active .quote--testimonial:nth-child(3) { animation-delay: 0.36s; }
.slide--testimonials.is-active .quote--testimonial:nth-child(4) { animation-delay: 0.48s; }
.slide--testimonials:not(.is-active) .quote--testimonial {
  animation: none !important;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(22px) scale(0.985);
}
@keyframes quote-testimonial-enter {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}
.slide--testimonials .quote--testimonial:focus-visible {
  outline: none;
}
.slide--testimonials .stars { color: #ff9f0a; letter-spacing: 2px; font-size: 0.82rem; line-height: 1; }
.slide--testimonials .quote__body {
  font-size: 0.98rem;
  line-height: 1.58;
  letter-spacing: -.015em;
  color: var(--ink-soft);
  font-style: italic;
}
.slide--testimonials .quote__lead {
  font-weight: 500;
  color: inherit;
}
.slide--testimonials .quote__foot {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  padding: 18px 22px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.slide--testimonials .av {
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.slide--testimonials .av--logo {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 10px rgba(16, 42, 92, 0.06);
  padding: 7px;
  overflow: hidden;
}
.slide--testimonials .av--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.slide--testimonials .quote__foot strong { display: block; letter-spacing: -.02em; font-size: 0.95rem; }
.slide--testimonials .quote__foot small { color: var(--blue); font-size: 0.82rem; line-height: 1.35; }

.testimonials-row--clone {
  pointer-events: none;
  user-select: none;
}
.testimonials-row--clone * {
  pointer-events: none;
}
.testimonials-track.is-auto-paused .testimonials-marquee {
  will-change: transform;
}

/* Soporte · slide 11 */
.slide--support {
  background: radial-gradient(140% 140% at 50% 16%, #181a20 0%, #0a0a0c 58%, #000 100%);
  isolation: isolate;
}
.slide--support .support-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.slide--support .support-bg__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.1;
  display: block;
}
.slide--support .s-inner {
  position: relative;
  z-index: 1;
}
.slide--support .support {
  list-style: none;
  margin: 40px auto 0;
  max-width: 480px;
  text-align: left;
}
.slide--support .support li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -.02em;
}
.slide--support .support li:last-child { border-bottom: 0; }
.slide--support .support__ico {
  width: 48px;
  height: 48px;
  flex: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  display: grid;
  place-items: center;
  padding: 8px;
  box-sizing: border-box;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.slide--support .support li:hover .support__ico {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 8px 22px rgba(0, 113, 227, .18);
}
.slide--support .support__ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.slide--support .cta-btn {
  display: inline-block;
  margin-top: 40px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-weight: 600;
  padding: 16px 38px;
  border-radius: 999px;
  font-size: 1.08rem;
  letter-spacing: -.02em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.slide--support .cta-btn:hover { transform: scale(1.05); background: #fff; }

/* ---------- ENTRANCE ANIMATIONS ---------- */
.anim { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.slide.is-active .anim { opacity: 1; transform: none; }
.slide.is-active [data-anim="1"] { transition-delay: .08s; }
.slide.is-active [data-anim="2"] { transition-delay: .18s; }
.slide.is-active [data-anim="3"] { transition-delay: .28s; }
.slide.is-active [data-anim="4"] { transition-delay: .38s; }
.slide.is-active [data-anim="5"] { transition-delay: .48s; }
.slide.is-active [data-anim="6"] { transition-delay: .58s; }
.slide.is-active [data-anim="7"] { transition-delay: .68s; }

/* ---------- PREMIUM MOTION (CSS nativo) ---------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(circle, rgba(41, 151, 255, .11) 0%, rgba(0, 223, 234, .05) 40%, transparent 68%);
  filter: blur(20px);
  transform: translate3d(var(--glow-x, 50vw), var(--glow-y, 50vh), 0);
  will-change: transform;
}
html.motion-ok .cursor-glow { opacity: 1; }
body.on-dark .cursor-glow {
  background: radial-gradient(circle, rgba(41, 151, 255, .14) 0%, rgba(0, 223, 234, .07) 42%, transparent 70%);
}

html.motion-ok .slide.is-active.slide-entering:not(.slide--hero) > .s-inner,
html.motion-ok .slide.is-active.slide-entering:not(.slide--hero) > .s-inner--wide,
html.motion-ok .slide.is-active.slide-entering:not(.slide--hero) > .s-inner--split,
html.motion-ok .slide.is-active.slide-entering:not(.slide--hero) > .s-inner--eco,
html.motion-ok .slide.is-active.slide-entering:not(.slide--hero) > .s-inner--impact,
html.motion-ok .slide.is-active.slide-entering:not(.slide--hero) > .s-inner--feat,
html.motion-ok .slide.is-active.slide-entering:not(.slide--hero) > .s-inner--platform,
html.motion-ok .slide.is-active.slide-entering:not(.slide--hero) > .hero-grid {
  animation: slide-depth-in .72s var(--ease) both;
}
@keyframes slide-depth-in {
  from {
    opacity: .9;
    transform: translateY(12px) scale(.988);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html.motion-ok .hero-device-stack {
  --hero-nx: 0;
  --hero-ny: 0;
}
html.motion-ok .slide--hero.hero-intro-complete .hero-device-hit--notebook .hero-device-media {
  transform: translate3d(calc(var(--hero-nx) * -11px), calc(var(--hero-ny) * -7px), 0);
  transition: transform .45s var(--ease-soft);
}
html.motion-ok .slide--hero.hero-intro-complete .hero-device-hit--cell .hero-device-media {
  transform: translate3d(calc(var(--hero-nx) * 14px), calc(var(--hero-ny) * 9px), 0);
  transition: transform .45s var(--ease-soft);
}
html.motion-ok .slide--hero.hero-intro-complete .hero-glow--enter {
  transform: translateY(-50%) translate3d(calc(var(--hero-nx) * 18px), calc(var(--hero-ny) * 12px), 0);
  transition: transform .8s var(--ease-soft);
}

html.motion-ok .tilt-card .tile__ico--img,
html.motion-ok .tilt-card .qcard__ico,
html.motion-ok .tilt-card .ccard__badge {
  transform: perspective(760px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .38s var(--ease-soft);
}
html.motion-ok .magnetic {
  transition: transform .28s var(--ease-soft);
  transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0);
}
html.motion-ok .arrow.magnetic {
  transform: translateY(-50%) translate3d(var(--mag-x, 0), var(--mag-y, 0), 0);
}
html.motion-ok .arrow.magnetic:hover {
  transform: translateY(-50%) translate3d(var(--mag-x, 0), var(--mag-y, 0), 0) scale(1.1);
}

/* ---------- ARROWS ---------- */
.arrow {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 35;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink);
  box-shadow: 0 6px 24px rgba(0,0,0,.1); display: grid; place-items: center;
  transition: opacity .35s var(--ease), transform .3s var(--ease), background .25s; opacity: 0;
}
body:hover .arrow { opacity: 1; }
.arrow:hover { background: rgba(255,255,255,.9); transform: translateY(-50%) scale(1.1); }
.arrow--prev { left: 24px; }
.arrow--next { right: 24px; }
.arrow:disabled { opacity: 0 !important; pointer-events: none; }
body.on-dark .arrow { background: rgba(255,255,255,.12); color: #fff; }
body.on-dark .arrow:hover { background: rgba(255,255,255,.22); }

/* ---------- DOTS ---------- */
.dots {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 35;
  display: flex; align-items: center; gap: 11px;
  padding: var(--dock-pad-y) var(--dock-pad-x);
  background: var(--dock-glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 999px; box-shadow: var(--dock-shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #c7c7cc; cursor: pointer; padding: 0; transition: .35s var(--ease); }
.dot:hover { background: #9a9a9f; }
.dot.is-active { background: var(--blue); width: 28px; border-radius: 999px; }
body.on-dark .dots { background: var(--dock-glass-dark); }
body.on-dark .dot { background: #55555a; }
body.on-dark .dot.is-active { background: var(--blue-2); }

.marker-dock {
  position: fixed;
  left: 26px;
  bottom: 28px;
  z-index: 35;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--dock-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--dock-shadow);
  color: var(--ink-soft);
  transition: transform .25s var(--ease), background .25s var(--ease-soft), color .25s, box-shadow .25s var(--ease-soft);
}
.marker-dock svg { fill: none; width: 18px; height: 18px; }
.marker-dock:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
}
.marker-dock.is-active {
  background: rgba(255, 55, 95, .14);
  color: #ff375f;
  box-shadow: 0 6px 24px rgba(255, 55, 95, .16);
}
.marker-dock.is-active:hover {
  background: rgba(255, 55, 95, .2);
  color: #ff375f;
}
body.on-dark .marker-dock {
  background: var(--dock-glass-dark);
  color: #c7c7cc;
}
body.on-dark .marker-dock:hover {
  background: rgba(58, 58, 62, .72);
  color: #fff;
}
body.on-dark .marker-dock.is-active {
  background: rgba(255, 55, 95, .18);
  color: #ff6482;
}

.presenter-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  z-index: 45;
  max-width: min(92vw, 420px);
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(29, 29, 31, .88);
  color: #f5f5f7;
  font-size: .84rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  pointer-events: none;
}
.presenter-toast[hidden] { display: none; }
body.presenter-detached .presenter-toast {
  bottom: 28px;
}

.counter { position: fixed; bottom: 32px; right: 26px; z-index: 35; font-size: .84rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; background: var(--dock-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 7px 15px; border-radius: 999px; }
body.on-dark .counter { color: #c7c7cc; background: var(--dock-glass-dark); }

/* ---------- OVERVIEW (page selector) ---------- */
.overview {
  position: fixed; inset: 0; z-index: 60; background: rgba(245,245,247,.8);
  backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  display: flex; flex-direction: column;
}
.overview.is-open { opacity: 1; pointer-events: auto; }
.overview__head { display: flex; align-items: center; justify-content: space-between; padding: 26px 34px; }
.overview__head h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.overview__head .iconbtn { color: var(--ink); }
.overview__head .iconbtn:hover { background: rgba(0,0,0,.07); }
.overview__grid {
  flex: 1; overflow-y: auto; padding: 8px 34px 44px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; align-content: start;
}
.ov-thumb {
  position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; cursor: pointer;
  background: #fff; border: 2px solid transparent; box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 14px 40px rgba(0,0,0,.08);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
  display: flex; flex-direction: column; justify-content: space-between; padding: 20px;
}
.ov-thumb:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 4px 12px rgba(0,0,0,.06), 0 24px 56px rgba(0,0,0,.14); }
.ov-thumb.is-current { border-color: var(--blue); }
.ov-thumb--dark { background: radial-gradient(120% 120% at 50% 20%, #16181d, #000 70%); color: #fff; }
.ov-thumb__num { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.ov-thumb--dark .ov-thumb__num { color: #a1a1a6; }
.ov-thumb__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.ov-thumb__bar { height: 4px; width: 44px; border-radius: 4px; background: var(--grad); }

/* ---------- MARCADOR (dibujo a mano alzada) ---------- */
.marker-layer {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  width: 100vw; height: 100vh;
}
.marker-stroke {
  fill: none; stroke: #ff375f; stroke-width: 6;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
  animation: marker-life 3s linear forwards;
}
@keyframes marker-life { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- GOOGLE MEET MAIN STAGE (iframe) ---------- */
html.meet-stage .skip-link,
html.meet-stage .topbar,
html.meet-stage .progress,
html.meet-stage .arrow,
html.meet-stage .dots,
html.meet-stage .counter,
html.meet-stage .marker-dock {
  display: none !important;
}
html.meet-stage .slide {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; padding: 0 26px; }
  .hero-copy { text-align: center; }
  .hero-copy .hero-logo { margin: 0 auto 26px; }
  .hero-copy .subtle { margin-left: auto; margin-right: auto; }
  .pill-row--left { justify-content: center; }
  .hero-visual { justify-content: center; }
  .hero-shot { width: 100%; max-width: 560px; transform: none; }
  .hero-device-stack { max-width: 560px; transform: none; }
  .chaos-wrap { max-width: 100%; transform: none; }
  .hero-device-hit--cell {
    width: clamp(132px, 38%, 240px);
    right: -4%;
    bottom: -1%;
  }
  .hero-glow { width: 100%; right: 0; }
  .display--hero { white-space: normal; }
  .hero-copy .subtle { white-space: normal; }
  .lead--2 { white-space: normal; }
  .lead--2 br { display: none; }
  .slide.has-feat-side .feat-side { position: static; width: min(280px, 84vw); margin: 16px auto 0; transform: none !important; opacity: 1; visibility: visible; }
  .slide.has-feat-side .feat-side__frame { width: min(280px, 84vw); }
  .slide.has-feat-side--left .feat-side,
  .slide.has-feat-side--right .feat-side { right: auto; left: auto; }
}
@media (max-width: 820px) {
  .slide { padding: 96px 26px 96px; }
  .trio, .compare, .quad, .s-inner--split { grid-template-columns: 1fr; }
  .slide.has-mark-side .ccard--video.is-mark-open .mark-side {
    position: static;
    width: min(300px, 88vw);
    margin: 16px auto 0;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    left: auto;
    right: auto;
  }
  .slide.has-mark-side .ccard--video.is-mark-open .mark-side__frame {
    width: min(300px, 88vw);
    margin-inline: auto;
  }
  .slide--clients { padding: 92px 26px 88px; }
  .slide--clients .headline { font-size: clamp(1.75rem, 7vw, 2.35rem); }
  .slide--clients .clients-wrap {
    width: 100%;
    --cell: calc((100cqw - var(--gap)) / 2);
    --clients-block-h: calc(2 * var(--cell) + var(--gap));
    --logo-col: calc((var(--clients-block-h) - 2 * var(--gap)) / 3);
  }
  .slide--clients .clients-header {
    grid-template-columns: 1fr;
    margin-top: 20px;
    margin-bottom: 16px;
  }
  .slide--clients .clients-header__spacer { display: none; }
  .slide--clients .rubros { grid-column: 1; justify-content: center; }
  .slide--clients .clients {
    grid-template-columns: repeat(2, var(--cell));
    grid-template-rows: auto;
    width: 100%;
  }
  .slide--clients .bignum {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: var(--clients-block-h);
    max-height: var(--clients-block-h);
    justify-self: center;
    box-shadow: 0 18px 38px -12px rgba(0, 113, 227, .16);
  }
  .slide--clients .logos-shell {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: var(--clients-block-h);
    max-height: var(--clients-block-h);
    --logo-col: calc((100cqh - 2 * var(--gap)) / 3);
  }
  .slide--clients .lbox { width: auto; height: 100%; max-width: 100%; aspect-ratio: 1 / 1; place-self: center; }
  .chips { grid-template-columns: 1fr; }
  .arrow { display: none; }
  .slide--support .support li { font-size: 1.05rem; }
  .testimonials-shell { margin-top: 28px; padding: 0 18px; }
  .slide--testimonials .quote--testimonial {
    width: min(88vw, 340px);
  }
  .lead--1line { white-space: normal; }
  .platform-grid { grid-template-columns: 1fr; gap: 28px; }
  .platform-copy { max-width: none; text-align: center; }
  .platform-orbit { max-width: 540px; margin: 0 auto; justify-self: center; --orbit-r: min(36vw, 235px); }
  .platform-orbit__center { width: min(46%, 240px); }
  .platform-chip { width: 96px; max-width: 96px; min-height: 34px; padding: 6px 7px; font-size: .64rem; }
  .platform-lead { font-size: .9rem; }
  .headline--platform { font-size: clamp(1.85rem, 7.2vw, 2.65rem); margin-bottom: 0; }
}
@media (max-width: 820px) and (min-height: 500px) {
  .slide, .slide--center { align-items: flex-start; overflow-y: auto; }
}
