/* ============================================================
   TALLER IA · SOLVITU — presentation.css
   Identidad visual: Solvitu Brand (glassmorphism suave)
   - Fondo neutro claro editorial (#f5f5f7)
   - Titulos en tinta oscura con tipografia grotesk contundente (Syne)
   - Parrafos y explicaciones en tipografia monoespaciada typewriter (JetBrains Mono)
   - Acento primario en morado Solvitu (#7c3aed)
   - Tarjetas redondeadas blancas con bordes suaves y sombras suaves
   - Motivos graficos: sol radiante, rejilla de puntos, anillos concentricos
   ============================================================ */

:root {
  --bg: #f5f5f7;
  --bg-darker: #ececef;
  --bg-translucent: rgba(245, 245, 247, 0.92);
  --surface: #ffffff;
  --surface-hover: #f8f7fb;
  --surface-alt: #f3f1fa;
  --ink: #1a1a1e;
  --ink-secondary: #3f3f46;
  --ink-muted: #64748b;
  --line-black: rgba(0, 0, 0, 0.12);
  --line-soft: rgba(0, 0, 0, 0.08);
  --lime: #7c3aed;
  --lime-hover: #6d28d9;
  --danger: #ff2d55;
  --blue: #2563eb;
  --green: #10b981;
  --amber: #f59e0b;
  --violet: #9333ea;
  --purple-glow: rgba(124, 58, 237, 0.2);

  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-pill: 999px;
  --radius-card: 20px;
  --radius-box: 10px;
  --pad: clamp(1.2rem, 3.5vw, 4rem);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-float: 0 16px 36px rgba(124, 58, 237, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografía editorial de la presentación */
.mono {
  font-family: var(--font-mono);
}

.typewriter {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--ink);
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==================== Fondo con textura sutil ==================== */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, #E2E2E6 0%, #D4D4D8 100%);
}

.backdrop-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Motivo gráfico: Rejilla de puntos (dot matrix) como en la portada */
.dot-matrix {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: grid;
  grid-template-columns: repeat(6, 9px);
  gap: 14px;
  z-index: 2;
  pointer-events: none;
}
.dot-matrix span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Motivo gráfico: Círculos concéntricos en las esquinas */
.concentric-circles {
  position: absolute;
  width: 220px;
  height: 220px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}
.concentric-circles--top {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}
.concentric-circles--bottom {
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
}
.concentric-circles--left {
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==================== HUD Superior ==================== */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 90;
  background: rgba(0, 0, 0, 0.08);
}
.progress__fill {
  height: 100%;
  width: 0%;
  background: var(--ink);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--pad);
  background: linear-gradient(to bottom, rgba(216, 216, 220, 0.9) 0%, rgba(216, 216, 220, 0) 100%);
  backdrop-filter: blur(4px);
}
.hud__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.hud__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  background: #FFFFFF;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-black);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-weight: 700;
  transition: all 0.2s ease;
}
.hud__back:hover {
  background: var(--ink);
  color: #FFFFFF;
  transform: translateX(-2px);
}
.hud__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.hud__mark {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}
.hud__dot {
  color: #555;
}
.hud__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--line-black);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.65rem;
  font-weight: 700;
}
.hud__tools {
  display: flex;
  gap: 0.5rem;
}
.hud__btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-black);
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  transition: transform 0.2s, background-color 0.2s;
}
.hud__btn:hover {
  background: var(--lime);
  transform: translateY(-2px);
}

/* ==================== Dock Inferior ==================== */
.dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem var(--pad);
  background: linear-gradient(to top, rgba(216, 216, 220, 0.95) 0%, rgba(216, 216, 220, 0) 100%);
}
.dock__counter {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--line-black);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}
.dock__dots {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  max-width: 55vw;
  justify-content: center;
  align-items: center;
}
.dock__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  transition: transform 0.2s, background-color 0.2s;
}
.dock__dot:hover {
  transform: scale(1.6);
  background: var(--ink);
}
.dock__dot.is-active {
  background: var(--ink);
  transform: scale(1.8);
}
.dock__arrows {
  display: flex;
  gap: 0.4rem;
}
.dock__arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-black);
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: background 0.15s, transform 0.15s;
}
.dock__arrow:hover {
  background: var(--lime);
  transform: scale(1.08);
}
.dock__arrow:active {
  transform: scale(0.92);
}

/* ==================== Deck & Slide Core ==================== */
.deck {
  position: relative;
  z-index: 1;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.8rem, 6.5vh, 5.5rem) var(--pad) clamp(4rem, 7vh, 5.5rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s 0.35s;
  overflow-y: auto;
  scrollbar-width: thin;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Encabezados estándar */
.slide__head {
  margin-bottom: clamp(1.2rem, 2.5vh, 2rem);
  position: relative;
  z-index: 3;
}
.slide__title {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.slide__sub {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  color: var(--ink-secondary);
}

/* Botón/Píldora destacada estilo "¿QUÉ VEREMOS HOY?" */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--lime);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: 0.04em;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-card);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ==================== 01 · PORTADA ============ */
.cover-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  height: 100%;
  position: relative;
}

.cover-left-visual {
  position: absolute;
  left: -2vw;
  bottom: 0;
  height: 92%;
  max-width: 48vw;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  z-index: 2;
}
.cover-left-visual img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

.cover-content {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
  padding-left: clamp(1rem, 2vw, 3rem);
}

.sunburst-icon {
  width: 110px;
  height: auto;
  margin-bottom: 0.8rem;
}

.cover-title {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  line-height: 0.95;
  margin-bottom: 1.6rem;
}
.cover-title .title-italic {
  display: block;
  font-style: italic;
  font-weight: 800;
}

.cover-desc {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  color: #111;
  max-width: 560px;
  margin-bottom: 2.2rem;
}

.cover-footer {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #111;
  border-top: 1.5px solid rgba(0, 0, 0, 0.12);
  padding-top: 1rem;
  max-width: 400px;
}

/* ==================== 02 · PERFIL DANTE ============ */
.speaker-slide {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2.5rem;
  background-size: cover;
  background-position: center;
  gap: 2.2rem;
}

.speaker-header {
  z-index: 2;
  text-align: center;
  max-width: 800px;
}
.speaker-tag {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.speaker-name {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: #FFFFFF;
  line-height: 1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.speaker-contact {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.speaker-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  text-align: left;
}

.speaker-pill-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 1.4rem 1.8rem;
  box-shadow: var(--shadow-float);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.speaker-pill-card ul {
  list-style-type: disc;
  padding-left: 1.3rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.5;
}
.speaker-pill-card li {
  margin-bottom: 0.35rem;
}
.speaker-pill-card li:last-child {
  margin-bottom: 0;
}

/* ==================== 03 & 39 · AGENDA / MÓDULOS ============ */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.agenda-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.agenda-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.12), 1px -1px 0 rgba(0, 0, 0, 0.12), -1px 1px 0 rgba(0, 0, 0, 0.12), 1px 1px 0 rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0,0,0,0.15);
  letter-spacing: 0.05em;
}

.agenda-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  min-height: 2.6rem;
  line-height: 1.25;
}

.agenda-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: #CCC;
}

.agenda-desc {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  line-height: 1.55;
  color: #111;
}

/* Checkmark gigante para la slide de recap (slide 39) */
.agenda-checked {
  position: relative;
}
.agenda-check-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 5;
  pointer-events: none;
}
.agenda-check-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 8px solid rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.4);
}
.agenda-check-circle svg {
  width: 80px;
  height: 80px;
  stroke: rgba(0, 0, 0, 0.2);
  stroke-width: 14;
}

/* ==================== 04 & 25 · ¿QUÉ VEREMOS HOY? ============ */
.section-intro-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  align-items: center;
  gap: 3rem;
}

.robot-runner-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.robot-runner-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.15));
}

.section-table-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-rows-container {
  width: 100%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: #FFFFFF;
}

.section-row-item {
  padding: 1.4rem 1.8rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}
.section-row-item:last-child {
  border-bottom: none;
}
.section-row-item h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.section-row-item p {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: #333333;
}

/* ==================== 05 · QUÉ ES LA IA Y POR QUÉ INTERESA ============ */
.slide-touch-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2rem;
  height: 100%;
  position: relative;
}

.slide-touch-left {
  display: flex;
  flex-direction: column;
}
.slide-touch-title {
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.slide-touch-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}
.slide-touch-text {
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1.5;
  max-width: 460px;
  text-align: right;
}
.slide-touch-oval {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16/10;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 3px solid rgba(0, 0, 0, 0.12);
}
.slide-touch-oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== 06 · ¿QUÉ ES (Y QUÉ NO ES)? ============ */
.boxes-2col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  margin-top: 1rem;
}

.boxed-content-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.black-border-box {
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: #FFFFFF;
  padding: 1.8rem 2.2rem;
  width: 100%;
  min-height: 200px;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}
.black-border-box p {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--ink);
}

.boxed-robot-illus {
  height: 180px;
  width: auto;
  object-fit: contain;
}

/* ==================== 07 · LA IA YA ESTABA EN TU VIDA ============ */
.everyday-grid-pdf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem 3.5rem;
  max-width: 980px;
  margin: 2rem auto 0;
  position: relative;
  z-index: 2;
}

.everyday-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-box);
  padding: 1.2rem 1.6rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, background-color 0.2s;
}
.everyday-item:hover {
  background: #FFFFFF;
  transform: translateX(5px);
  border-color: rgba(0, 0, 0, 0.12);
}
.everyday-icon-wrap {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.everyday-icon-wrap svg {
  width: 42px;
  height: 42px;
  stroke: rgba(0, 0, 0, 0.2);
  fill: none;
  stroke-width: 1.8;
}
.everyday-info h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}
.everyday-info p {
  font-family: var(--font-mono);
  font-size: 1.12rem;
  color: #444;
}

/* ==================== 08 · LÍNEA DE TIEMPO HISTÓRICA ============ */
.timeline-pdf-layout {
  position: relative;
  margin-top: 3rem;
  padding: 2rem 0;
}
.timeline-pdf-axis {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ink);
  transform: translateY(-50%);
  z-index: 1;
}
.timeline-pdf-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.timeline-pill-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.timeline-pill-card:hover, .timeline-pill-card.is-active {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.12);
}
.timeline-pill-card .tl-card-year {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}
.timeline-pill-card .tl-card-desc {
  font-family: var(--font-mono);
  font-size: 1.08rem;
  line-height: 1.5;
  color: #222;
  text-align: center;
}

/* ==================== 09, 10, 11, 12 · DUAL HEADER BANNERS ============ */
.dual-banner-slide {
  justify-content: space-between;
  padding-top: clamp(3.6rem, 6vh, 4.8rem);
  padding-bottom: clamp(3.6rem, 6vh, 4.8rem);
}

.dual-banner-header,
.dual-banner-footer {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.4rem 0;
  flex-shrink: 0;
}

.dual-banner-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
  padding: 1.5rem var(--pad);
  z-index: 3;
}

.dual-banner-text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.dual-banner-text p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  font-weight: 450;
  line-height: 1.65;
  color: var(--ink);
}
.dual-banner-text p.quote-style {
  padding-left: 2rem;
  font-style: italic;
}

.dual-banner-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.dual-banner-visual img {
  max-width: 100%;
  max-height: 52vh;
  object-fit: contain;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  border-radius: 8px;
}

/* ==================== 13, 16, 18, 19, 27, 29, 30, 34, 36 · SLIDES CON DIAGRAMA GRANDE ============ */
.diagram-slide-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.diagram-img-card {
  max-width: 90vw;
  max-height: 65vh;
  object-fit: contain;
  background: #FFFFFF;
  padding: 0.6rem;
  border-radius: var(--radius-box);
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: var(--shadow-float);
}

/* ==================== 14 · GRANDES MODELOS (LLM) ============ */
.llm-slide-grid {
  display: grid;
  grid-template-columns: 1fr 0.35fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
}
.llm-logos-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.llm-logos-column img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

/* ==================== 15 · TOKENS ============ */
.tokens-slide-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.tokens-sandbox {
  background: #FFFFFF;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-box);
  padding: 1.2rem;
  margin-top: 1rem;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}
.tokens-sandbox-input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 0.8rem;
  outline: none;
}
.tokens-sandbox-output {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 50px;
  padding: 0.5rem;
  background: #F4F4F6;
  border-radius: 6px;
  border: 1px dashed #999;
  margin-bottom: 0.6rem;
}
.token-chip-badge {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  background: var(--lime);
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

/* ==================== 17 · PROBABILIDADES DEMO ============ */
.prob-slide-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.prob-demo-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #FFFFFF;
  border: 2px solid rgba(0, 0, 0, 0.12);
  padding: 1.8rem 2.4rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  max-width: 900px;
}
.prob-robot-img {
  width: 160px;
  height: auto;
}
.prob-calc-side {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.prob-sentence-display {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  background: #F2F2F4;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
}
.prob-list-interactive {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.prob-bar-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.prob-bar-btn:hover {
  background: var(--lime);
}

/* ==================== 20 · LA IA MIENTE Y ALUCINA ============ */
.hallucination-cover-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.hallucination-title-zone h2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  color: var(--ink);
}
.hallucination-alucina-text {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: 0.1em;
  color: var(--ink);
  text-shadow: 2px 2px 0px #FFF, 4px 4px 0px rgba(0,0,0,0.6);
  margin-top: 0.3rem;
}
.hallucination-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.hallucination-pill {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s, background-color 0.15s;
}
.hallucination-pill:hover {
  background: var(--lime);
  transform: translateY(-2px);
}

/* ==================== 23 · ALUCINACIONES Y MENTIRAS (3 CARDS) ============ */
.cards-3col-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2rem;
}
.white-pill-card-3 {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.card-3-icon-box {
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.white-pill-card-3 h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.white-pill-card-3 p {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  line-height: 1.55;
  color: #222;
}

/* ==================== 28 & 37 · CATÁLOGO DE MODELOS ============ */
.models-columns-layout {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
  align-items: start;
}
.model-company-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.model-company-head {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  line-height: 1.15;
}
.model-logo-circle {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.model-logo-circle img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.model-variants-list {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1.7;
  color: #111;
}

/* ==================== 31 · NO TODO NECESITA IA ============ */
.no-todo-slide-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 100%;
}
.no-todo-title-left h2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  margin-bottom: 0.5rem;
}
.no-todo-neon-text {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  font-weight: 900;
  font-style: italic;
  color: #E2FA24;
  -webkit-text-stroke: 2.5px var(--ink);
  text-shadow: 4px 4px 0px #00FFFF, 6px 6px 0px rgba(0, 0, 0, 0.12);
  display: block;
}
.no-todo-mech-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

/* ==================== 40 - 43 · HERRAMIENTAS & DIVULGACIÓN ============ */
.tool-presentation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}
.tool-screen-frame {
  background: #FFFFFF;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: var(--shadow-float);
  max-width: 80vw;
  max-height: 60vh;
}
.tool-screen-frame img {
  max-width: 100%;
  max-height: 55vh;
  object-fit: contain;
  display: block;
}

.creators-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 1.5rem auto 0;
}
.creator-card-item {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.creator-card-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== Modal Vista General (Overview) ============ */
.overview {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(216, 216, 220, 0.96);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s 0.25s;
  padding: 4rem var(--pad) 2rem;
  overflow-y: auto;
}
.overview.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}
.overview__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.overview__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
}
.overview__close {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
}
.overview__close:hover {
  background: var(--lime);
}
.overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.ov-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.ov-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}
.ov-card.is-current {
  border-color: rgba(0, 0, 0, 0.12);
  background: #FAFAEA;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}
.ov-card__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.ov-card__t {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.25;
}

/* ==================== Animaciones de Entrada ============ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0, 0, 1);
}
.slide.is-active .reveal {
  opacity: 1;
  transform: translateY(0);
}

.stagger {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.slide.is-active .stagger {
  opacity: 1;
  transform: translateY(0);
}
.slide.is-active .stagger:nth-child(1) { transition-delay: 0.08s; }
.slide.is-active .stagger:nth-child(2) { transition-delay: 0.16s; }
.slide.is-active .stagger:nth-child(3) { transition-delay: 0.24s; }
.slide.is-active .stagger:nth-child(4) { transition-delay: 0.32s; }
.slide.is-active .stagger:nth-child(5) { transition-delay: 0.40s; }

/* ==================== NUEVAS DIAPOSITIVAS: SKILLS & AGENTES ==================== */

/* --- Slide: Anatomía de un Skill --- */
.skills-anatomy-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.15fr;
  gap: 1.5rem;
  max-width: 1280px;
  width: 100%;
  margin: 0.5rem auto 0;
  align-items: stretch;
}

.skill-card-box {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card-box:hover {
  transform: translateY(-3px);
  box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.08);
}

.skill-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--ink);
  color: #FFFFFF;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.skill-card-badge--lime {
  background: var(--lime);
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.skill-card-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--ink);
  line-height: 1.2;
}

.skill-card-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 1rem;
}

.skill-callout {
  margin-top: auto;
  background: var(--surface-alt);
  border-left: 3px solid rgba(0, 0, 0, 0.12);
  padding: 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.skill-compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.skill-compare-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.4;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
}

.skill-compare-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.skill-compare-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  background: #EAEAEA;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.skill-compare-tag--highlight {
  background: var(--lime);
  box-shadow: var(--shadow-card);
}

.skill-parts-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.skill-part-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #FAFAFA;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
}

.skill-part-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  background: var(--ink);
  color: var(--lime);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.skill-part-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.skill-part-item p {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #555555;
  line-height: 1.35;
  margin: 0;
}

/* --- Slide: De Chatbot a Agente --- */
.agent-vs-chatbot-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0.5rem auto 0;
  align-items: stretch;
}

.agent-compare-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-card);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.08);
}

.agent-compare-card--agent {
  border: 2px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-card);
  background: #FFFFFA;
}

.agent-compare-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.agent-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
}

.agent-icon-circle--muted {
  background: #F0F0F2;
  color: #666666;
}

.agent-icon-circle--lime {
  background: var(--lime);
  color: #ffffff;
}

.agent-role-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #777777;
}

.agent-role-tag--lime {
  color: var(--ink);
  font-weight: 800;
}

.agent-compare-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-top: 0.1rem;
}

.agent-loop-box {
  background: var(--surface-alt);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-box);
  padding: 0.8rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.agent-loop-box--linear {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.loop-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.loop-step span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}

.loop-step--stop span {
  background: #888888;
}

.loop-arrow {
  color: #999999;
  font-weight: 700;
}

.agent-loop-box--cycle {
  background: #F3F9CE;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.loop-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink);
}

.loop-cycle-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.cycle-node {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.cycle-node--act {
  background: var(--lime);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
}

.cycle-sep {
  color: var(--ink);
  font-weight: 900;
}

.agent-traits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.agent-traits-list li {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.45;
  color: #333333;
  padding-left: 1.4rem;
  position: relative;
}

.agent-traits-list li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  color: var(--ink);
  font-size: 1.2rem;
}

/* --- Slide: Los 4 Pilares de un Agente --- */
.agent-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1300px;
  width: 100%;
  margin: 0.5rem auto 0;
}

.pillar-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  background: #FAFAEA;
}

.pillar-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--ink);
  color: var(--lime);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.pillar-desc {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.45;
  color: #444444;
}

.pillar-details {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
}

.pillar-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: #F4F4F6;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  line-height: 1.3;
}

/* --- Slide: Sistemas Multi-Agente y MCP --- */
.multi-agent-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  max-width: 1240px;
  width: 100%;
  margin: 0.5rem auto 0;
}

.ma-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.08);
}

.ma-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--ink);
  color: #FFFFFF;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.ma-card-badge--lime {
  background: var(--lime);
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.ma-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.ma-subtitle {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.45;
  color: #444444;
  margin-bottom: 1.2rem;
}

.team-flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  background: #F8F8FA;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-box);
  padding: 1.2rem;
}

.team-leader-node {
  background: var(--ink);
  color: #FFFFFF;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  width: 80%;
  box-shadow: var(--shadow-glow);
}

.node-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: 0.05em;
}

.team-leader-node strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.team-leader-node small {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #CCCCCC;
}

.team-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.team-branch-item {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0.75rem 0.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.06);
}

.branch-icon {
  font-size: 1.4rem;
}

.team-branch-item strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.team-branch-item small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #666666;
  line-height: 1.3;
}

.mcp-diagram-box {
  background: #F8F8FA;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-box);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mcp-layer {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mcp-layer-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #666666;
  text-transform: uppercase;
}

.mcp-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mcp-pills-row span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.mcp-bus {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.2rem 0;
}

.mcp-bus-line {
  flex: 1;
  height: 2px;
  background: var(--ink);
}

.mcp-bus-badge {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  background: var(--lime);
  color: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}

.mcp-footnote {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #333333;
  line-height: 1.5;
  background: #FFFFEA;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  border-left: 3px solid var(--lime);
}

/* Responsive móvil / tablets */
@media (max-width: 900px) {
  .cover-layout,
  .section-intro-layout,
  .slide-touch-layout,
  .tokens-slide-grid,
  .hallucination-cover-layout,
  .no-todo-slide-layout,
  .skills-anatomy-layout,
  .agent-vs-chatbot-layout,
  .agent-pillars-grid,
  .multi-agent-layout {
    grid-template-columns: 1fr;
  }
  .team-branches {
    grid-template-columns: 1fr;
  }
  .cover-left-visual {
    display: none;
  }
  .cover-content {
    grid-column: 1;
    padding-left: 0;
  }
  .agenda-grid,
  .timeline-pdf-cards,
  .cards-3col-layout,
  .models-columns-layout {
    grid-template-columns: 1fr 1fr;
  }
  .boxes-2col-layout,
  .everyday-grid-pdf,
  .creators-grid {
    grid-template-columns: 1fr;
  }
  .dual-banner-body {
    grid-template-columns: 1fr;
  }
  .dual-banner-visual {
    display: none;
  }
}

/* Niveles de razonamiento y pasos */
.effort-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1280px;
  width: 100%;
  margin: 0.8rem auto 0;
  align-items: stretch;
}
.effort-card .skill-card-text { flex: 1; }
.effort-meters {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.25);
  padding-top: 0.7rem;
}
.effort-meters b { letter-spacing: 0.15em; margin-left: 0.4rem; }
.effort-steps { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .effort-grid, .effort-steps { grid-template-columns: 1fr 1fr; }
}

/* Demos en vivo (iframes) */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  max-width: 1180px;
  width: 100%;
  margin: 0.6rem auto 0;
}
.demo-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.demo-card:hover { transform: translateY(-3px); box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.1); }
.demo-frame {
  position: relative;
  height: clamp(100px, 17vh, 200px);
  background: #F4F5F8;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.12);
}
.demo-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  display: block;
}
.demo-caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 0.9rem 0.8rem;
  font-size: 0.9rem;
  line-height: 1.35;
}
.demo-caption strong { font-size: 0.8rem; letter-spacing: 0.04em; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }

/* ==================== APPS DE ESCRITORIO ============ */
.desktop-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 1.5rem auto 0;
}
.desktop-app-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
}
.desktop-app-shot {
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  background: #F3F3F3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.desktop-app-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.desktop-app-shot a { display: block; width: 100%; height: 100%; }
.desktop-app-shot--empty { flex-direction: column; gap: 0.5rem; border-style: dashed; color: #777; }
.desktop-app-shot--empty .desktop-app-logo { width: 56px; height: 56px; object-fit: contain; }
.desktop-app-shot--contain { background: #FFFFFF; }
.desktop-app-shot--contain img { object-fit: contain; }

/* ==================== AGENTE ORQUESTADOR (flujo animado, ciclo 19.0s) ============ */
@property --on { syntax: "<number>"; inherits: false; initial-value: 0; }
.orch-wrap {
  width: min(100%, 1100px, calc((100vh - 270px) * 1000 / 560));
  margin: 0.5rem auto 0;
}
.orch-stage { position: relative; width: 100%; aspect-ratio: 1000 / 560; }
.orch-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orch-lines line { stroke: rgba(0, 0, 0, 0.2); stroke-width: 2; stroke-dasharray: 6 8; opacity: 0.3; }
.orch-agentbox {
  position: absolute; left: 21%; top: 6%; width: 48%; height: 72%;
  border: 2px dashed rgba(0, 0, 0, 0.12); border-radius: 18px; background: rgba(255, 255, 255, 0.35);
}
.orch-agentbox .node-tag {
  position: absolute; top: -0.7rem; left: 1rem;
  background: var(--ink); padding: 0.15rem 0.6rem; border-radius: 6px;
}
.orch-node {
  position: absolute; translate: -50% -50%; z-index: 1;
  width: 18%; padding: 0.5rem 0.5rem;
  background: color-mix(in srgb, #ede4fb calc(var(--on) * 100%), #ffffff);
  border: 1.5px solid rgba(0, 0, 0, 0.12); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem; text-align: center;
  box-shadow: var(--shadow-card), 0 0 0 calc(var(--on) * 5px) var(--lime);
  scale: calc(1 + var(--on) * 0.05);
}
.orch-node strong { font-family: var(--font-display); font-size: clamp(0.65rem, 1vw, 0.95rem); }
.orch-node small { font-family: var(--font-mono); font-size: clamp(0.55rem, 0.75vw, 0.74rem); color: #666; line-height: 1.25; }
.orch-node--core { width: 22%; background: color-mix(in srgb, #2e1065 calc(var(--on) * 100%), #1a1a1e); color: #FFF; box-shadow: var(--shadow-glow), 0 0 0 calc(var(--on) * 6px) rgba(124, 58, 237, 0.45); }
.orch-node--core small { color: #CCC; }
.orch-node--user { width: 14%; }
.orch-node--sub { width: 22%; }
.orch-think {
  position: absolute; translate: -50% -50%; z-index: 2; opacity: 0;
  background: #FFF; border: 1.5px solid rgba(0, 0, 0, 0.12); border-radius: 999px;
  padding: 0.25rem 0.8rem; font-family: var(--font-mono); font-size: clamp(0.55rem, 0.8vw, 0.78rem); white-space: nowrap;
}
.orch-packet {
  position: absolute; z-index: 3; translate: -50% -50%; opacity: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--lime); border: 2px solid rgba(0, 0, 0, 0.12);
  animation-duration: 19.0s; animation-timing-function: linear; animation-iteration-count: infinite;
  animation-play-state: paused;
}
.orch-packet.ret { background: #4ADE80; }
.orch-packet.pill {
  width: auto; height: auto; padding: 0.25rem 0.7rem; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-mono); font-size: clamp(0.55rem, 0.8vw, 0.78rem); font-weight: 700; color: var(--ink);
}
.orch-caption { position: relative; height: 2.6rem; margin-top: 0.4rem; }
.orch-cap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  opacity: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(0.85rem, 1.4vw, 1.3rem);
  animation-duration: 19.0s; animation-timing-function: linear; animation-iteration-count: infinite; animation-play-state: paused;
}
.orch-cap b {
  background: var(--lime); border: 1.5px solid rgba(0, 0, 0, 0.12); border-radius: 50%;
  width: 1.9em; height: 1.9em; display: inline-flex; align-items: center; justify-content: center;
}
.slide.is-active .orch-packet, .slide.is-active .orch-cap { animation-play-state: running; }
.slide.is-active .orch-node { animation-duration: 19.0s; animation-iteration-count: infinite; animation-timing-function: linear; }
.slide.is-active .orch-node[data-act="user"] { animation-name: act-user; }
.slide.is-active .orch-node[data-act="llm"] { animation-name: act-llm; }
.slide.is-active .orch-node[data-act="mem"] { animation-name: act-mem; }
.slide.is-active .orch-node[data-act="tools"] { animation-name: act-tools; }
.slide.is-active .orch-node[data-act="sub"] { animation-name: act-sub; }
.slide.is-active .orch-think { animation: think 19.0s linear infinite; }
@keyframes act-user {0%{--on:0}0.0%{--on:0}0.4%{--on:1}13.158%{--on:1}13.558%{--on:0}84.211%{--on:0}84.611%{--on:1}100.0%{--on:1}100.4%{--on:0}100%{--on:0}}
@keyframes act-llm {0%{--on:0}0.0%{--on:0}0.4%{--on:1}42.105%{--on:1}42.505%{--on:0}77.368%{--on:0}77.768%{--on:1}100.0%{--on:1}100.4%{--on:0}100%{--on:0}}
@keyframes act-mem {0%{--on:0}13.158%{--on:0}13.558%{--on:1}28.947%{--on:1}29.347%{--on:0}100%{--on:0}}
@keyframes act-tools {0%{--on:0}28.947%{--on:0}29.347%{--on:1}84.211%{--on:1}84.611%{--on:0}100%{--on:0}}
@keyframes act-sub {0%{--on:0}42.105%{--on:0}42.505%{--on:1}84.211%{--on:1}84.611%{--on:0}100%{--on:0}}
@keyframes cap-0 {0%{opacity:1;transform:none}12.558%{opacity:1;transform:none}13.158%,100%{opacity:0;transform:translateY(-6px)}}
@keyframes cap-1 {0%,13.158%{opacity:0;transform:translateY(6px)}13.758%,28.347%{opacity:1;transform:none}28.947%,100%{opacity:0;transform:translateY(-6px)}}
@keyframes cap-2 {0%,28.947%{opacity:0;transform:translateY(6px)}29.547%,41.505%{opacity:1;transform:none}42.105%,100%{opacity:0;transform:translateY(-6px)}}
@keyframes cap-3 {0%,42.105%{opacity:0;transform:translateY(6px)}42.705%,57.295%{opacity:1;transform:none}57.895%,100%{opacity:0;transform:translateY(-6px)}}
@keyframes cap-4 {0%,57.895%{opacity:0;transform:translateY(6px)}58.495%,83.611%{opacity:1;transform:none}84.211%,100%{opacity:0;transform:translateY(-6px)}}
@keyframes cap-5 {0%,84.211%{opacity:0;transform:translateY(6px)}84.811%,99.4%{opacity:1;transform:none}100.0%,100%{opacity:0;transform:translateY(-6px)}}
@keyframes think {0%,13.158%{opacity:0;scale:.8}14.158%,41.605%{opacity:1;scale:1}42.105%,100%{opacity:0;scale:.8}}
@keyframes pk-0_0-13_158-one {0%,0.0%{left:var(--x0);top:var(--y0);opacity:0}1.316%{left:var(--x0);top:var(--y0);opacity:1}10.526%{left:var(--x1);top:var(--y1);opacity:1}12.5%,100%{left:var(--x1);top:var(--y1);opacity:0}}
@keyframes pk-13_158-28_947-round {0%,13.158%{left:var(--x0);top:var(--y0);opacity:0}14.737%{left:var(--x0);top:var(--y0);opacity:1}20.263%{left:var(--x1);top:var(--y1);opacity:1}21.842%{left:var(--x1);top:var(--y1);opacity:1}27.368%{left:var(--x0);top:var(--y0);opacity:1}28.473%,100%{left:var(--x0);top:var(--y0);opacity:0}}
@keyframes pk-28_947-42_105-one {0%,28.947%{left:var(--x0);top:var(--y0);opacity:0}30.263%{left:var(--x0);top:var(--y0);opacity:1}39.473%{left:var(--x1);top:var(--y1);opacity:1}41.447%,100%{left:var(--x1);top:var(--y1);opacity:0}}
@keyframes pk-42_105-57_895-one {0%,42.105%{left:var(--x0);top:var(--y0);opacity:0}43.684%{left:var(--x0);top:var(--y0);opacity:1}54.737%{left:var(--x1);top:var(--y1);opacity:1}57.106%,100%{left:var(--x1);top:var(--y1);opacity:0}}
@keyframes pk-71_053-77_368-one {0%,71.053%{left:var(--x0);top:var(--y0);opacity:0}71.684%{left:var(--x0);top:var(--y0);opacity:1}76.105%{left:var(--x1);top:var(--y1);opacity:1}77.052%,100%{left:var(--x1);top:var(--y1);opacity:0}}
@keyframes pk-77_368-84_211-one {0%,77.368%{left:var(--x0);top:var(--y0);opacity:0}78.052%{left:var(--x0);top:var(--y0);opacity:1}82.842%{left:var(--x1);top:var(--y1);opacity:1}83.869%,100%{left:var(--x1);top:var(--y1);opacity:0}}
@keyframes pk-84_211-100_0-one {0%,84.211%{left:var(--x0);top:var(--y0);opacity:0}85.79%{left:var(--x0);top:var(--y0);opacity:1}96.842%{left:var(--x1);top:var(--y1);opacity:1}99.211%,100%{left:var(--x1);top:var(--y1);opacity:0}}
@media (prefers-reduced-motion: reduce) {
  .orch-packet, .orch-think { display: none; }
  .orch-cap { animation: none !important; }
  .orch-cap:first-child { opacity: 1; }
}

/* ==================== MCP (animado, ciclo 12.0s) ============ */
.mcpa-stage { aspect-ratio: 1000 / 500; }
.mcpa-node {
  position: absolute; translate: -50% -50%; z-index: 1; width: 18%; padding: 0.55rem 0.4rem;
  background: #FFF; border: 1.5px solid rgba(0, 0, 0, 0.12); border-radius: 999px; text-align: center;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
  font-family: var(--font-display); font-size: clamp(0.65rem, 1vw, 0.95rem);
}
.mcpa-node--model { background: var(--ink); color: #FFF; box-shadow: var(--shadow-glow); }
.mcpa-mesh { stroke: var(--danger); stroke-width: 2; stroke-dasharray: 6 6; opacity: 0.55; }
.mcpa-hubline { stroke: rgba(0, 0, 0, 0.2); stroke-width: 2.5; opacity: 0.6; }
.mcpa-hubgroup, .mcpa-hubnode { opacity: 0; }
.mcpa-hubnode {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; width: 18%;
  background: var(--lime); border: 2px solid rgba(0, 0, 0, 0.12); border-radius: 14px; padding: 0.6rem 0.4rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem; text-align: center;
  box-shadow: var(--shadow-card);
}
.mcpa-hubnode strong { font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.8rem); line-height: 1; }
.mcpa-hubnode small { font-family: var(--font-mono); font-size: clamp(0.55rem, 0.75vw, 0.74rem); }
.mcpa-hubnode .node-tag { color: var(--ink); }
.mcpa-packet {
  position: absolute; z-index: 3; translate: -50% -50%; opacity: 0; width: 14px; height: 14px;
  border-radius: 50%; background: var(--lime); border: 2px solid rgba(0, 0, 0, 0.12);
  animation-duration: 12.0s; animation-timing-function: linear; animation-iteration-count: infinite; animation-play-state: paused;
}
.slide.is-active .mcpa-packet { animation-play-state: running; }
.slide.is-active .mcpa-mesh { animation: mcpa-mesh 12.0s linear infinite; }
.slide.is-active .mcpa-hubgroup, .slide.is-active .mcpa-hubnode { animation: mcpa-hub 12.0s linear infinite; }
@keyframes mcpa-pk0 {0%,56.667%{left:var(--x0);top:var(--y0);opacity:0}58.0%{left:var(--x0);top:var(--y0);opacity:1}65.0%{left:var(--xh);top:var(--yh);opacity:1}72.0%{left:var(--x1);top:var(--y1);opacity:1}73.0%,100%{left:var(--x1);top:var(--y1);opacity:0}}
@keyframes mcpa-pk1 {0%,65.0%{left:var(--x0);top:var(--y0);opacity:0}66.333%{left:var(--x0);top:var(--y0);opacity:1}73.334%{left:var(--xh);top:var(--yh);opacity:1}80.334%{left:var(--x1);top:var(--y1);opacity:1}81.334%,100%{left:var(--x1);top:var(--y1);opacity:0}}
@keyframes mcpa-pk2 {0%,73.333%{left:var(--x0);top:var(--y0);opacity:0}74.666%{left:var(--x0);top:var(--y0);opacity:1}81.666%{left:var(--xh);top:var(--yh);opacity:1}88.667%{left:var(--x1);top:var(--y1);opacity:1}89.667%,100%{left:var(--x1);top:var(--y1);opacity:0}}
@keyframes mcpa-pk3 {0%,81.667%{left:var(--x0);top:var(--y0);opacity:0}83.0%{left:var(--x0);top:var(--y0);opacity:1}90.0%{left:var(--xh);top:var(--yh);opacity:1}97.0%{left:var(--x1);top:var(--y1);opacity:1}98.0%,100%{left:var(--x1);top:var(--y1);opacity:0}}
@keyframes mcpa-mesh {0%,33.333%{opacity:1}38.333%,99%{opacity:0}100%{opacity:1}}
@keyframes mcpa-hub {0%,33.333%{opacity:0}38.333%,95.833%{opacity:1}100%{opacity:0}}
@keyframes mcpa-cap-0 {0%{opacity:1;transform:none}32.733%{opacity:1;transform:none}33.333%,100%{opacity:0;transform:translateY(-6px)}}
@keyframes mcpa-cap-1 {0%,33.333%{opacity:0;transform:translateY(6px)}33.933%,53.567%{opacity:1;transform:none}54.167%,100%{opacity:0;transform:translateY(-6px)}}
@keyframes mcpa-cap-2 {0%,54.167%{opacity:0;transform:translateY(6px)}54.767%,99.4%{opacity:1;transform:none}100.0%,100%{opacity:0;transform:translateY(-6px)}}
@media (prefers-reduced-motion: reduce) {
  .mcpa-packet { display: none; }
  .mcpa-hubgroup, .mcpa-hubnode { opacity: 1; }
  .mcpa-mesh { display: none; }
}
.orch-lines .mcpa-mesh { stroke: var(--danger); }
.orch-lines .mcpa-hubline { stroke-dasharray: none; opacity: 0.6; }
.mcpa-stage .pillar-tag { white-space: nowrap; }
