/* ==========================================================================
   Lab42 Academy — Sistema de diseño de la presentación
   Paleta: LEGO System (Rojo DA291C · Amarillo FFCF00 · Verde 237841 · Azul 0055BF)
   ========================================================================== */

/* ---------- Base ---------- */
:root {
  --ink: #05131D;
  --ink-2: #0A1B2A;
  --ink-3: #0D2133;
  --paper: #F2F6FA;
  --text: #E9EEF4;
  --muted: #A9B7C6;
  --faint: #7C8DA1;
  --red: #DA291C;
  --yellow: #FFCF00;
  --green: #237841;
  --blue: #0055BF;
  --red-t: #FF6A5E;
  --yellow-t: #FFD84D;
  --green-t: #57C77F;
  --blue-t: #6CA5FF;
}

html, body { height: 100%; }

/* ---------- Overrides base de reveal ---------- */
.reveal {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 24px;
  color: var(--text);
}

.reveal-viewport {
  background:
    radial-gradient(rgba(255, 255, 255, .05) 1.3px, transparent 1.4px) 0 0 / 36px 36px,
    radial-gradient(760px 480px at 86% 4%, var(--accent-soft, rgba(255, 207, 0, .08)), transparent 64%),
    radial-gradient(1100px 760px at 88% -12%, rgba(0, 85, 191, .20), transparent 62%),
    radial-gradient(900px 700px at -8% 112%, rgba(218, 41, 28, .13), transparent 60%),
    radial-gradient(700px 520px at 12% -10%, rgba(255, 207, 0, .07), transparent 55%),
    linear-gradient(160deg, #071522 0%, #05131D 48%, #040D15 100%);
  --accent-soft: rgba(255, 207, 0, .08);
}

.reveal .slides { text-align: left; }

/* Todas las diapositivas usan border-box: el padding no suma al ancho 1280 */
.reveal .slides section,
.reveal .slides section * { box-sizing: border-box; }

.reveal .slides section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 76px;
  text-align: left;
}

/* La textura de studs LEGO y el glow de acento viven en .reveal-viewport
   (capa sin costuras); el acento se actualiza por diapositiva desde deck.js. */

/* Progreso estilo bloques LEGO */
.reveal .progress { height: 5px; background: rgba(255, 255, 255, .06); }
.reveal .progress span { background: linear-gradient(90deg, #DA291C, #FFCF00, #237841, #0055BF); }

/* Controles */
.reveal .controls { color: #5F7185; }
.reveal .controls button:hover { color: #FFCF00; }

/* ---------- Acentos por diapositiva ---------- */
section[data-accent="blue"]   { --accent: #4B8FE8; --accent-t: #6CA5FF; --accent-soft: rgba(75, 143, 232, .13); }
section[data-accent="yellow"] { --accent: #FFCF00; --accent-t: #FFD84D; --accent-soft: rgba(255, 207, 0, .09); }
section[data-accent="green"]  { --accent: #2E9E5B; --accent-t: #57C77F; --accent-soft: rgba(46, 158, 91, .14); }
section[data-accent="red"]    { --accent: #E4483C; --accent-t: #FF6A5E; --accent-soft: rgba(228, 72, 60, .12); }

/* ---------- Tipografía compartida ---------- */
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; color: var(--paper); margin: 0; }

.reveal h2 {
  font-size: 47px;
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.08;
  margin: 0 0 16px;
  max-width: 1040px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  font: 600 13.5px "Space Grotesk", sans-serif;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-t, #FFD84D);
  margin: 0 0 20px;
}
.kmark { width: 12px; height: 12px; border-radius: 3px; background: currentColor; }

.lead { font-size: 20.5px; line-height: 1.5; color: var(--muted); max-width: 760px; margin: 0; }
.lead strong, .vs-card strong { color: var(--paper); font-weight: 600; }
.note { margin: 30px 0 0; font-size: 14.5px; letter-spacing: .05em; color: var(--faint); }

.t-blue { color: var(--blue-t); }
.t-yellow { color: var(--yellow-t); }
.t-green { color: var(--green-t); }
.t-red { color: var(--red-t); }

/* ---------- Animaciones (solo se ejecutan con .present) ---------- */
.reveal .slides section.present .anim {
  animation-duration: .68s;
  animation-fill-mode: both;
  animation-delay: var(--d, 0s);
  animation-timing-function: cubic-bezier(.22, .75, .25, 1);
}
.reveal .slides section.present .anim.pop {
  animation-duration: .7s;
  animation-timing-function: cubic-bezier(.2, 1.5, .35, 1);
}
.reveal .slides section.present .anim.blur { animation-duration: .85s; }

.reveal .slides section.present .anim.up    { animation-name: aUp; }
.reveal .slides section.present .anim.left  { animation-name: aLeft; }
.reveal .slides section.present .anim.right { animation-name: aRight; }
.reveal .slides section.present .anim.pop   { animation-name: aPop; }
.reveal .slides section.present .anim.blur  { animation-name: aBlur; }
.reveal .slides section.present .anim.fade  { animation-name: aFade; }

/* Retardos escalonados */
.d1  { --d: .06s; } .d2  { --d: .12s; } .d3  { --d: .18s; } .d4  { --d: .24s; }
.d5  { --d: .30s; } .d6  { --d: .36s; } .d7  { --d: .42s; } .d8  { --d: .48s; }
.d9  { --d: .54s; } .d10 { --d: .66s; } .d11 { --d: .72s; } .d12 { --d: .78s; }
.d13 { --d: .84s; }

@keyframes aUp    { from { opacity: 0; transform: translateY(26px); } }
@keyframes aLeft  { from { opacity: 0; transform: translateX(-36px); } }
@keyframes aRight { from { opacity: 0; transform: translateX(36px); } }
@keyframes aPop   { from { opacity: 0; transform: scale(.55); } }
@keyframes aFade  { from { opacity: 0; } }
@keyframes aBlur  { from { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(10px); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-30px); } }
@keyframes growBar { from { transform: scaleY(0); } }
@keyframes lineX  { from { transform: scaleX(0); } }
@keyframes drawLine { from { stroke-dashoffset: 1; } }
@keyframes ants   { to { stroke-dashoffset: -20; } }
@keyframes ping   { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(26px) rotateX(-50deg); } }
@keyframes wordOut { to { opacity: 0; transform: translateY(-24px) rotateX(40deg); } }
@keyframes dealIn { from { opacity: 0; transform: translate(-50%, -10px) rotate(-2.5deg) scale(.88); } }
@keyframes tileIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes skIn   { from { width: 0; opacity: .25; } }

/* ---------- UI fija (pie) ---------- */
.deck-ui {
  position: absolute;
  left: 30px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 12px Inter, sans-serif;
  color: rgba(255, 255, 255, .42);
  letter-spacing: .06em;
  z-index: 30;
  pointer-events: none;
}
.deck-dots { display: flex; gap: 4px; }
.deck-dots i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }

/* ==========================================================================
   01 · PORTADA
   ========================================================================== */
.logo-lockup { display: block; width: 100%; height: auto; }
.logo-lockup .lg-digits { fill: #F2F6FA; }
.logo-lockup .lg-kicker { fill: #8CA0B5; }
.logo-lockup .lg-lab { fill: #F2F6FA; }
.logo-lockup .lg-42 { fill: #6CA5FF; }
.logo-lockup .lg-dot { fill: #DA291C; }
.logo-lockup .lg-sym,
.logo-lockup .lg-block,
.logo-lockup .lg-wordmark { transform-box: fill-box; transform-origin: center; }

.present.s1 .lg-sym, .present.s11 .lg-sym { animation: aPop .6s cubic-bezier(.2, 1.5, .35, 1) both; }
.present.s1 .lg-sym:nth-of-type(2), .present.s11 .lg-sym:nth-of-type(2) { animation-delay: .12s; }
.present.s1 .lg-sym:nth-of-type(3), .present.s11 .lg-sym:nth-of-type(3) { animation-delay: .24s; }
.present.s1 .lg-digits, .present.s11 .lg-digits { animation: aFade .5s .32s both; }
.present.s1 .lg-block, .present.s11 .lg-block { animation: dropIn .5s cubic-bezier(.2, 1.4, .35, 1) both; }
.present.s1 .lg-block:nth-of-type(1), .present.s11 .lg-block:nth-of-type(1) { animation-delay: .50s; }
.present.s1 .lg-block:nth-of-type(2), .present.s11 .lg-block:nth-of-type(2) { animation-delay: .62s; }
.present.s1 .lg-block:nth-of-type(3), .present.s11 .lg-block:nth-of-type(3) { animation-delay: .74s; }
.present.s1 .lg-block:nth-of-type(4), .present.s11 .lg-block:nth-of-type(4) { animation-delay: .86s; }
.present.s1 .lg-wordmark, .present.s11 .lg-wordmark { animation: aUp .7s cubic-bezier(.22, .75, .25, 1) .72s both; }

.hero-logo { width: 470px; margin: 4px 0 18px; }

.hero-mark {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-54%);
  font: 700 500px/1 "Space Grotesk", sans-serif;
  letter-spacing: -14px;
  color: #6CA5FF;
  opacity: .075;
  pointer-events: none;
  user-select: none;
}

.hero-title {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.06;
  margin: 0 0 20px;
}
.hero-title em { font-style: normal; }
.ht-line { display: block; }

.hero-sub { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 820px; margin: 0 0 26px; }

.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .035);
  font: 500 14px Inter, sans-serif;
  color: #C6D2DF;
}
.chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }

.hero-hint { font-size: 13px; color: #5F7185; letter-spacing: .08em; margin: 0; }

/* ==========================================================================
   02 · CONTEXTO — word rotator
   ========================================================================== */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 30px;
  margin-top: 30px;
}
.vs-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 30px 28px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .09);
}
.vs-tag {
  align-self: flex-start;
  font: 600 13px "Space Grotesk", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 8px;
}
.tag-red { color: #FF8A80; background: rgba(228, 72, 60, .12); border: 1px solid rgba(228, 72, 60, .30); }
.tag-blue { color: #8FBAFF; background: rgba(75, 143, 232, .12); border: 1px solid rgba(75, 143, 232, .30); }
.vs-card p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); }

.rot-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 348px; padding: 0 6px; }
.rot-label {
  font: 600 12.5px "Space Grotesk", sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 16px;
  text-align: center;
}
.rotator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font: 700 34px/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -.5px;
  perspective: 700px;
  text-align: center;
}
.rotator span { display: inline-block; color: var(--yellow); }
.rotator.in span { animation: wordIn .5s cubic-bezier(.2, .9, .3, 1) both; }
.rotator.out span { animation: wordOut .26s cubic-bezier(.5, 0, .8, .4) both; }
.rot-dots { display: flex; gap: 7px; margin-top: 16px; }
.rot-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: background .3s, box-shadow .3s; }
.rot-dots i.on { background: var(--yellow); box-shadow: 0 0 10px rgba(255, 207, 0, .6); }

/* ==========================================================================
   03 · DIFERENCIAL — shuffle de tarjetas
   ========================================================================== */
.fan { position: relative; height: 394px; margin: 14px auto 0; max-width: 1100px; }
.fan-card {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 310px;
  padding: 28px 26px 32px;
  border-radius: 18px;
  background: linear-gradient(165deg, #0D2133, #081522 72%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  transform: translate(calc(-50% + var(--tx, 0px)), var(--ty, 0px)) rotate(var(--r, 0deg)) scale(var(--s, 1));
  transition: border-color .3s, box-shadow .3s;
}
.fan-card:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 36px 70px rgba(0, 0, 0, .55); }
.fan-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  margin-bottom: 18px;
}
.fan-ico svg { width: 27px; height: 27px; }
.fan-card h3 { font-size: 25px; letter-spacing: -.4px; margin-bottom: 10px; }
.fan-card p { font-size: 16.5px; line-height: 1.52; color: var(--muted); margin: 0 0 20px; max-width: 236px; }
.fan-line { display: block; width: 46px; height: 5px; border-radius: 3px; background: var(--c); opacity: .85; }

.present.s3 .fan-card {
  animation: dealIn .75s cubic-bezier(.2, 1.2, .3, 1) both;
  animation-delay: var(--dd, 0s);
}

/* ==========================================================================
   04 · PORTAFOLIO — bento build
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 196px;
  gap: 16px;
  margin-top: 28px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 24px 26px;
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .09);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--tc); opacity: .92; }
.tile-blue   { grid-column: span 2; --tc: #0055BF; --tcb: #6CA5FF; }
.tile-yellow { --tc: #FFCF00; --tcb: #FFD84D; }
.tile-green  { --tc: #237841; --tcb: #57C77F; }
.tile-red    { grid-column: span 2; --tc: #DA291C; --tcb: #FF6A5E; }
.tile:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tcb) 40%, transparent);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
}
.tile-num {
  position: absolute;
  top: 12px;
  right: 20px;
  font: 700 62px "Space Grotesk", sans-serif;
  color: var(--tcb);
  opacity: .15;
  letter-spacing: -2px;
}
.tile-name { font: 700 27px "Space Grotesk", sans-serif; color: var(--paper); letter-spacing: -.4px; }
.tile-tag { font-size: 15.5px; color: var(--faint); }
.tile-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--tcb);
  background: color-mix(in srgb, var(--tcb) 13%, transparent);
  transition: transform .3s;
}
.tile-arrow svg { width: 17px; height: 17px; }
.tile:hover .tile-arrow { transform: translateX(3px); }

.present.s4 .tile {
  animation: tileIn .6s cubic-bezier(.22, .9, .3, 1) both;
  animation-delay: var(--dd, 0s);
}

/* ==========================================================================
   05–08 · SERVICIOS — layout partido
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 54px;
  align-items: center;
  margin-top: 6px;
}
.split-visual { display: flex; justify-content: center; }

.bullets { list-style: none; margin: 28px 0 0; padding: 0; max-width: 560px; }
.bullets li {
  position: relative;
  padding: 12px 0 12px 30px;
  font-size: 20px;
  color: #DDE6EF;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.bullets li:first-child { border-top: 0; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}
.bullets .sub { color: #8FA0B3; font-size: 15.5px; margin-left: 8px; }
.bullets .sub::before { content: "· "; color: #5A6B7E; }

/* 05 — mock de LMS */
.browser {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: var(--ink-2);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .5), 0 0 90px rgba(0, 85, 191, .15);
}
.browser-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: rgba(255, 255, 255, .045); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.url {
  margin-left: 12px;
  font-size: 12px;
  color: #8FA0B3;
  background: rgba(0, 0, 0, .35);
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: .02em;
}
.browser-body { display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 18px; height: 308px; }
.ui-side { display: flex; flex-direction: column; gap: 11px; padding-top: 4px; }
.sk { height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05)); width: var(--w); }
.ui-side .sk:nth-child(1) { --i: 0s; }
.ui-side .sk:nth-child(2) { --i: .08s; }
.ui-side .sk:nth-child(3) { --i: .16s; }
.ui-side .sk:nth-child(4) { --i: .24s; }
.ui-side .sk:nth-child(5) { --i: .32s; }
.present.s5 .sk { animation: skIn .55s cubic-bezier(.22, .75, .25, 1) both; animation-delay: calc(.45s + var(--i, 0s)); }

.ui-main { display: flex; flex-direction: column; gap: 14px; }
.ui-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ucard {
  height: 66px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(108, 165, 255, .16), rgba(255, 255, 255, .03));
  border: 1px solid rgba(108, 165, 255, .18);
}
.present.s5 .ucard { animation: aPop .5s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: var(--dd); }
.ui-chart { display: flex; gap: 10px; align-items: flex-end; height: 150px; padding-top: 6px; }
.ubar { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgba(108, 165, 255, .75), rgba(0, 85, 191, .28)); transform-origin: bottom; }
.ubar.hot { background: linear-gradient(180deg, #6CA5FF, rgba(0, 85, 191, .35)); box-shadow: 0 0 24px rgba(108, 165, 255, .35); }
.present.s5 .ubar { animation: growBar .55s cubic-bezier(.25, .9, .3, 1) both; animation-delay: var(--dd); }

/* 06 — rotador de formatos */
.fmt-deck { position: relative; width: 100%; max-width: 464px; height: 372px; }
.fmt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 36px 34px;
  border-radius: 20px;
  background: linear-gradient(160deg, #0D2133, #081522 78%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(20px) scale(.97);
  transition: opacity .55s cubic-bezier(.22, .75, .25, 1), transform .55s cubic-bezier(.22, .75, .25, 1);
  pointer-events: none;
}
.fmt.on { opacity: 1; transform: none; }
.fmt-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.fmt-ico svg { width: 28px; height: 28px; }
.fmt b { font: 700 30px "Space Grotesk", sans-serif; letter-spacing: -.3px; color: var(--paper); }
.fmt > span:last-child { color: #8FA0B3; font-size: 17px; line-height: 1.5; max-width: 330px; }
.fmt-dots { position: absolute; left: 0; right: 0; bottom: -36px; display: flex; justify-content: center; gap: 9px; }
.fmt-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: background .3s, box-shadow .3s; }
.fmt-dots i.on { background: var(--accent); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }

/* 07 — topología de red (process draw) */
.net { width: 100%; max-width: 480px; }
.net-line, .net-ants { fill: none; stroke-linecap: round; }
.net-line { stroke: rgba(255, 255, 255, .22); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.net-ants { stroke: var(--green-t); stroke-width: 2.5; stroke-dasharray: 5 15; opacity: .85; }
.present.s7 .net-line { animation: drawLine 1.3s cubic-bezier(.3, .6, .3, 1) .2s both; }
.present.s7 .net-ants { animation: ants 1.2s linear infinite; }
.net-node { transform-box: fill-box; transform-origin: center; }
.present.s7 .net-node { animation: aPop .55s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: var(--dd); }
.net-node circle { fill: var(--ink-2); stroke: var(--c); stroke-width: 3; }
.net-ico path, .net-ico rect, .net-ico circle { stroke: #E9EEF4; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.net-ico .wdot { fill: #E9EEF4; stroke: none; }
.net text { text-anchor: middle; }
.net-name { font: 600 15px "Space Grotesk", sans-serif; fill: #E9EEF4; }
.net-cap { font: 400 12.5px Inter, sans-serif; fill: var(--faint); letter-spacing: .02em; }
.present.s7 .net text { animation: aFade .5s both; }
.present.s7 .net text:nth-of-type(1), .present.s7 .net text:nth-of-type(2) { animation-delay: .85s; }
.present.s7 .net text:nth-of-type(3), .present.s7 .net text:nth-of-type(4) { animation-delay: 1.2s; }
.present.s7 .net text:nth-of-type(5), .present.s7 .net text:nth-of-type(6) { animation-delay: 1.55s; }

/* 08 — dashboard analítico */
.dash {
  width: 100%;
  max-width: 500px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: var(--ink-2);
  padding: 22px 22px 18px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .5), 0 0 80px rgba(218, 41, 28, .08);
}
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dh { font: 600 15px "Space Grotesk", sans-serif; color: #DDE6EF; letter-spacing: .02em; }
.dash-chips { display: flex; gap: 6px; }
.dash-chips i {
  font-style: normal;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #8FA0B3;
  border: 1px solid rgba(255, 255, 255, .13);
  padding: 4px 9px;
  border-radius: 999px;
}
.dash-plot { position: relative; height: 196px; display: flex; align-items: flex-end; gap: 11px; margin-top: 18px; padding: 0 2px; }
.dbar { flex: 1; height: var(--h); border-radius: 7px 7px 2px 2px; background: rgba(255, 255, 255, .10); transform-origin: bottom; }
.dbar.hot { background: linear-gradient(180deg, #FF6A5E, rgba(218, 41, 28, .35)); box-shadow: 0 0 26px rgba(255, 106, 94, .3); }
.dash-plot .dbar:nth-child(1) { --dd: .50s; }
.dash-plot .dbar:nth-child(2) { --dd: .58s; }
.dash-plot .dbar:nth-child(3) { --dd: .66s; }
.dash-plot .dbar:nth-child(4) { --dd: .74s; }
.dash-plot .dbar:nth-child(5) { --dd: .82s; }
.dash-plot .dbar:nth-child(6) { --dd: .90s; }
.dash-plot .dbar:nth-child(7) { --dd: .98s; }
.present.s8 .dbar { animation: growBar .55s cubic-bezier(.25, .9, .3, 1) both; animation-delay: var(--dd); }
.trend { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trend polyline { fill: none; stroke: #FF6A5E; stroke-width: 2.5; opacity: .9; stroke-dasharray: 1; stroke-dashoffset: 0; }
.present.s8 .trend polyline { animation: drawLine 1.2s cubic-bezier(.3, .6, .3, 1) 1.35s both; }
.dash-foot { display: flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 13.5px; color: #8FA0B3; }
.dotpulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #FF6A5E; }
.dotpulse i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 106, 94, .7); opacity: 0; }
.present.s8 .dotpulse i { animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }

/* ==========================================================================
   09 · PROCESO — process draw
   ========================================================================== */
.process { position: relative; margin-top: 76px; }
.proc-line {
  position: absolute;
  top: 4px;
  left: 12.5%;
  right: 12.5%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #6CA5FF, #FFCF00, #57C77F, #FF6A5E);
  transform-origin: left center;
}
.present.s9 .proc-line { animation: lineX 1.35s cubic-bezier(.35, .6, .3, 1) .15s both; }
.proc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 44px; }
.step-dot {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border-radius: 50%;
  background: #061420;
  border: 4px solid var(--c);
}
.present.s9 .step-dot { animation: aPop .5s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: var(--dd); }
.step-num { display: inline-block; font: 700 13px "Space Grotesk", sans-serif; letter-spacing: .22em; color: var(--c); margin-bottom: 7px; }
.present.s9 .step-num { animation: aFade .5s both; animation-delay: var(--dd); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { font-size: 15.5px; line-height: 1.5; color: #8FA0B3; margin: 0; }

/* ==========================================================================
   10 · POR QUÉ LAB42 — count-up
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.stat-num {
  display: block;
  font: 700 88px/1 "Space Grotesk", sans-serif;
  letter-spacing: -2px;
  color: var(--c);
  font-variant-numeric: tabular-nums;
}
.stat-line { display: block; width: 52px; height: 5px; border-radius: 3px; background: var(--c); opacity: .85; margin: 18px 0 14px; transform-origin: left center; }
.present.s10 .stat-line { animation: lineX .6s cubic-bezier(.3, .7, .3, 1) both; animation-delay: var(--dd); }
.stat-label { display: block; font: 600 14.5px "Space Grotesk", sans-serif; letter-spacing: .07em; text-transform: uppercase; color: #DDE6EF; margin-bottom: 8px; }
.stat p { font-size: 15px; line-height: 1.5; color: #8FA0B3; margin: 0; }

/* ==========================================================================
   11 · CIERRE
   ========================================================================== */
.s11 { align-items: center; text-align: center; }
.closing { display: flex; flex-direction: column; align-items: center; }
.closing-logo { width: 420px; margin-bottom: 24px; }
.closing h2 { text-align: center; }
.contact-row { display: flex; gap: 26px; margin-top: 28px; }
.contact { color: #DDE6EF; text-decoration: none; font: 500 18px Inter, sans-serif; border-bottom: 1px dashed rgba(255, 255, 255, .25); padding-bottom: 2px; }
a.contact:hover { color: var(--blue-t); border-color: var(--blue-t); }
.places { margin: 18px 0 0; color: #8FA0B3; font-size: 15px; letter-spacing: .04em; }
.fine { margin: 34px 0 0; color: #5A6B7E; font-size: 12.5px; }

/* Modo estático (capturas/QA): animaciones y transiciones al instante */
html.deck-static .reveal *,
html.deck-static .reveal-viewport * {
  animation-duration: .001s !important;
  animation-delay: 0s !important;
  transition: none !important;
}
