/* =====================================================
   ppt.css — Motor de Presentaciones Web · STMI Campus
   Versión 1.0 · Mayo 2026
===================================================== */

/* === RESET Y BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ppt-navy:      #0B2545;
  --ppt-navy-2:    #0d2d54;
  --ppt-surface:   rgba(255,255,255,0.07);
  --ppt-border:    rgba(255,255,255,0.13);
  --ppt-text:      #FFFFFF;
  --ppt-muted:     rgba(255,255,255,0.6);
  --ppt-topbar-h:  52px;
  --ppt-bottom-h:  58px;
  --module-color:  #2563EB; /* sobreescrito en cada HTML */
  --font-h:        'Plus Jakarta Sans', sans-serif;
  --font-b:        'Inter', sans-serif;
  --tr:            .28s cubic-bezier(.4,0,.2,1);
}

html, body {
  height: 100%; overflow: hidden;
  background: var(--ppt-navy);
  font-family: var(--font-b);
  color: var(--ppt-text);
  -webkit-font-smoothing: antialiased;
}

/* === LAYOUT PRINCIPAL === */
#ppt {
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
  user-select: none;
}

/* === TOPBAR === */
.ppt-topbar {
  height: var(--ppt-topbar-h);
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--ppt-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
  z-index: 100;
}

.ppt-brand { display: flex; flex-direction: column; gap: 2px; }
.ppt-brand .prog { font-family: var(--font-h); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ppt-muted); }
.ppt-brand .mod  { font-family: var(--font-h); font-size: 13px; font-weight: 700; color: var(--ppt-text); }

.ppt-top-btns { display: flex; gap: 8px; }
.ppt-icon-btn {
  width: 34px; height: 34px;
  background: var(--ppt-surface);
  border: 1px solid var(--ppt-border);
  border-radius: 8px;
  color: var(--ppt-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: background var(--tr), color var(--tr);
}
.ppt-icon-btn:hover { background: rgba(255,255,255,.14); color: var(--ppt-text); }
.ppt-icon-btn.active { background: var(--module-color); border-color: var(--module-color); color: #fff; }

/* === SLIDES AREA === */
.ppt-slides {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--ppt-navy);
}

/* Shapes decorativas globales (fondo) */
.ppt-slides::before,
.ppt-slides::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ppt-slides::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%);
  right: -200px; top: -200px;
}
.ppt-slides::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(8,145,178,.06) 0%, transparent 70%);
  left: -100px; bottom: -100px;
}

/* === SLIDES === */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--ppt-slide-py, 48px) var(--ppt-slide-px, 72px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--tr), visibility 0s linear var(--tr);
  z-index: 1;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity var(--tr), visibility 0s linear 0s;
}
.slide.slide-left  { --ppt-slide-px: 64px; align-items: flex-start; }
.slide.slide-top   { justify-content: flex-start; }

/* === BOTTOMBAR === */
.ppt-bottombar {
  height: var(--ppt-bottom-h);
  background: rgba(0,0,0,0.35);
  border-top: 1px solid var(--ppt-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
}

.ppt-progress { height: 3px; background: rgba(255,255,255,0.08); flex-shrink: 0; }
.ppt-progress-fill { height: 100%; background: var(--module-color); transition: width .4s ease; width: 0%; }

.ppt-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.ppt-nav-btn {
  width: 34px; height: 34px;
  background: var(--ppt-surface);
  border: 1px solid var(--ppt-border);
  border-radius: 8px;
  color: var(--ppt-text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: background var(--tr), border-color var(--tr);
}
.ppt-nav-btn:hover:not(:disabled) { background: var(--module-color); border-color: var(--module-color); }
.ppt-nav-btn:disabled { opacity: .3; cursor: not-allowed; }

.ppt-counter {
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 600;
  color: var(--ppt-muted);
  min-width: 64px;
  text-align: center;
}

/* === PANEL NOTAS === */
.ppt-notes {
  position: fixed;
  left: 0; right: 0;
  bottom: var(--ppt-bottom-h);
  background: rgba(5,12,25,0.97);
  border-top: 2px solid var(--module-color);
  padding: 0;
  max-height: 36vh;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  z-index: 200;
  overflow-y: auto;
}
.ppt-notes.open { transform: translateY(0); }
.ppt-notes-head {
  position: sticky; top: 0;
  background: rgba(5,12,25,0.98);
  border-bottom: 1px solid var(--ppt-border);
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.ppt-notes-head span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--module-color); }
.ppt-notes-head button { background: none; border: none; color: var(--ppt-muted); cursor: pointer; font-size: 14px; }
.ppt-notes-body { padding: 16px 24px 20px; }
.ppt-notes-body p, .ppt-notes-body li { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,0.72); }
.ppt-notes-body ul { margin: 8px 0 8px 20px; }
.ppt-notes-body strong { color: var(--module-color); }

/* === TIPOGRAFÍA GLOBAL === */
.slide h1, .slide h2, .slide h3, .slide h4 { font-family: var(--font-h); }

.eyebrow {
  display: block;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--module-color);
  margin-bottom: 10px;
}

/* === SLIDE: COVER === */
.slide-cover {
  background: radial-gradient(ellipse at 35% 50%, rgba(37,99,235,.18) 0%, transparent 60%), var(--ppt-navy);
  text-align: center;
  overflow: hidden;
}
.slide-cover .cover-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cover-shape-1 {
  width: 500px; height: 500px;
  border: 1px solid rgba(255,255,255,.04);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: float1 7s ease-in-out infinite alternate;
}
.cover-shape-2 {
  width: 340px; height: 340px;
  border: 1px solid rgba(255,255,255,.06);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: float2 9s ease-in-out infinite alternate;
}

@keyframes float1 { from { transform: translate(-50%,-52%); } to { transform: translate(-50%,-48%); } }
@keyframes float2 { from { transform: translate(-52%,-50%); } to { transform: translate(-48%,-50%); } }
@media (prefers-reduced-motion: reduce) { @keyframes float1 {} @keyframes float2 {} }

.cover-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--module-color);
  margin-bottom: 28px;
}
.cover-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--module-color); }

.slide-cover h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 800px;
  margin: 0 auto 24px;
}
.slide-cover h1 em { color: var(--module-color); font-style: normal; }

.cover-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ppt-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cover-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cover-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 18px;
  border: 1px solid var(--ppt-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ppt-muted);
}
.cover-pill i { color: var(--module-color); font-size: 11px; }

/* === SLIDE: AGENDA === */
.agenda-wrap { width: 100%; max-width: 900px; }
.agenda-wrap > h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 32px; }
.agenda-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.agenda-item {
  background: var(--ppt-surface);
  border: 1px solid var(--ppt-border);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--tr), background var(--tr);
  cursor: default;
}
.agenda-item:hover { border-color: var(--module-color); background: rgba(255,255,255,.09); }
.agenda-num {
  font-family: var(--font-h);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--module-color);
  opacity: .35;
  line-height: 1;
  flex-shrink: 0;
}
.agenda-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.agenda-item p  { font-size: .8rem; color: var(--ppt-muted); line-height: 1.55; }

/* === SLIDE: ACTIVATOR === */
.slide-activator {
  background: linear-gradient(145deg, rgba(37,99,235,.15) 0%, transparent 50%), var(--ppt-navy-2);
  text-align: center;
}
.activator-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--module-color); margin-bottom: 20px; }
.activator-q {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 760px;
  margin: 0 auto 28px;
}
.activator-hint {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--ppt-border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--ppt-muted);
}

/* === SLIDE: QUOTE === */
.slide-quote {
  background: linear-gradient(135deg, rgba(37,99,235,.1) 0%, transparent 55%), var(--ppt-navy);
  text-align: center;
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: .4;
  color: var(--module-color);
  opacity: .35;
  display: block;
  margin-bottom: 12px;
}
.quote-text {
  font-family: var(--font-h);
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  font-weight: 600;
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto 28px;
  font-style: italic;
}
.quote-author { font-size: .9rem; font-weight: 700; color: var(--module-color); }
.quote-author span { color: var(--ppt-muted); font-weight: 400; }

/* === SLIDE: SECTION BREAK === */
.slide-section {
  text-align: center;
  background: linear-gradient(160deg, var(--ppt-navy-2) 0%, var(--ppt-navy) 100%);
  overflow: hidden;
}
.section-bg-num {
  position: absolute;
  font-family: var(--font-h);
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 800;
  opacity: .04;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  user-select: none;
  pointer-events: none;
  letter-spacing: -.04em;
}
.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--module-color); margin-bottom: 16px; }
.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  position: relative;
  z-index: 1;
  line-height: 1.1;
}
.section-accent { color: var(--module-color); }

/* === SLIDE: CIERRE === */
.slide-close {
  background: radial-gradient(ellipse at center, rgba(37,99,235,.14) 0%, transparent 65%), var(--ppt-navy);
  text-align: center;
}
.slide-close .close-icon { font-size: 3rem; color: var(--module-color); margin-bottom: 24px; }
.slide-close h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.slide-close p { font-size: 1rem; color: var(--ppt-muted); max-width: 560px; margin: 0 auto 32px; line-height: 1.65; }

.slide-close .next-step {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 32px;
  background: var(--module-color);
  border-radius: 12px;
  font-family: var(--font-h);
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity var(--tr);
  cursor: pointer;
  border: none;
}
.slide-close .next-step:hover { opacity: .88; }

/* === SLIDE: CONTENT (general) ===
   Slides de contenido académico. Patrón unificado:
   - Bloque contenedor de 1080px de ancho centrado horizontalmente
   - Header arriba, componentes apilados con gap consistente
   - `slide-top` mantiene contenido pegado arriba (con padding generoso)
   - Sin `slide-top` el contenido se centra verticalmente (default del .slide base)
*/
.slide-content {
  /* hereda flex column del .slide base */
  align-items: center;          /* centra cada bloque horizontalmente */
  justify-content: center;      /* centrado vertical por defecto */
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.slide-content.slide-top { justify-content: flex-start; }

/* Children directos del slide-content quedan contenidos al ancho canónico */
.slide-content > * {
  width: 100%;
  max-width: 1080px;
  flex-shrink: 0;
}
/* Excepción: slide-header puede ser más estrecho para mejor lectura */
.slide-content > .slide-header { max-width: 1080px; }

.slide-header { margin-bottom: 0; }
.slide-header h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; line-height: 1.2; }
.slide-header h2 em { color: var(--module-color); font-style: normal; }
.slide-header-sub { font-size: .83rem; color: var(--ppt-muted); margin-top: 8px; }

/* === SLIDE: SPLIT === */
.slide-split { flex-direction: row; gap: 56px; align-items: center; justify-content: center; }
.split-left,
.split-right { flex: 1 1 0; max-width: 540px; }
.split-body { color: var(--ppt-muted); font-size: .88rem; line-height: 1.7; margin-top: 14px; }

/* === COMPONENTES GENERALES === */

/* Cards grid */
.cards-grid { display: grid; gap: 14px; width: 100%; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.c-card {
  background: var(--ppt-surface);
  border: 1px solid var(--ppt-border);
  border-radius: 14px;
  padding: 20px;
  transition: border-color var(--tr);
}
.c-card.accent { border-color: var(--module-color); }
.c-card.hover:hover { border-color: var(--module-color); background: rgba(255,255,255,.09); }

.c-card-icon { font-size: 1.4rem; color: var(--module-color); margin-bottom: 12px; }
.c-card h4 { font-size: .92rem; font-weight: 700; margin-bottom: 7px; line-height: 1.3; }
.c-card p  { font-size: .8rem; color: var(--ppt-muted); line-height: 1.6; }
.c-card-bordered { border-left: 4px solid var(--module-color); }
.c-card-cta { margin-top: 12px; font-size: .76rem; color: var(--module-color); font-weight: 600; }
.c-card-full { grid-column: 1 / -1; }

/* Tag pill compacto. Sin variante: color módulo. Con variante: ver .tag-* */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--module-color);
  margin-bottom: 10px;
}
.tag-danger { background: rgba(220,38,38,.15); color: #F87171; }
.tag-accent { background: color-mix(in srgb, var(--module-color) 18%, transparent); color: color-mix(in srgb, var(--module-color) 80%, white); }

/* Reveal list */
.reveal-list { list-style: none; display: flex; flex-direction: column; gap: 13px; width: 100%; }
.reveal-item {
  display: flex; gap: 13px; align-items: flex-start;
  opacity: 0; transform: translateX(-18px);
  transition: opacity .4s ease, transform .4s ease;
}
.reveal-item.vis { opacity: 1; transform: none; }
.ri-icon { color: var(--module-color); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.ri-body h4 { font-size: .92rem; font-weight: 700; margin-bottom: 4px; }
.ri-body p  { font-size: .8rem; color: var(--ppt-muted); line-height: 1.55; }

/* Acordeón */
.accordion { width: 100%; }
.acc-item { border: 1px solid var(--ppt-border); border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.acc-head {
  padding: 14px 18px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ppt-surface);
  transition: background var(--tr);
}
.acc-head:hover { background: rgba(255,255,255,.1); }
.acc-head h4 { font-size: .9rem; font-weight: 700; }
.acc-head i  { color: var(--ppt-muted); font-size: 12px; transition: transform var(--tr); }
.acc-head.open i { transform: rotate(180deg); color: var(--module-color); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.acc-body.open { max-height: 250px; }
.acc-body-inner { padding: 14px 18px 16px; }
.acc-body-inner p { font-size: .82rem; color: var(--ppt-muted); line-height: 1.7; }

/* Hint-line: línea de pista bajo un componente (ej: "Seleccionados: 0/5") */
.hint-line { font-size: .78rem; color: var(--ppt-muted); margin-top: 4px; }
.hint-line.hint-center { text-align: center; }

/* Callout informativo neutro (post-componente). Variante accent para énfasis con color módulo. */
.callout {
  padding: 14px 22px;
  background: var(--ppt-surface);
  border: 1px solid var(--ppt-border);
  border-radius: 12px;
  font-size: .85rem;
  color: var(--ppt-muted);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.callout i { color: var(--module-color); margin-right: 8px; }
.callout strong { color: var(--ppt-text); }
.callout.callout-accent {
  background: color-mix(in srgb, var(--module-color) 12%, transparent);
  border-color: color-mix(in srgb, var(--module-color) 30%, transparent);
  color: var(--ppt-text);
  text-align: left;
  font-style: normal;
}
/* Variante callout para mostrar una fórmula/estructura textual (POV, manifiesto, etc.) */
.callout.pov-formula {
  font-size: .9rem;
  line-height: 1.8;
  font-weight: 600;
  padding: 18px 22px;
}
.callout.pov-formula strong { color: var(--module-color); }

/* Steps / flow */
.steps-row { display: flex; align-items: flex-start; gap: 0; width: 100%; max-width: 880px; margin: 0 auto; }
.step-node { flex: 1; text-align: center; position: relative; }
.step-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--module-color);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font-h); font-weight: 700; font-size: .95rem;
}
/* Letra grande dentro del step-circle (S-T-O-P, O-O-D-A, etc.) */
.step-letter { font-family: var(--font-h); font-size: 1rem; font-weight: 800; line-height: 1; }
.step-node + .step-node::before {
  content: '';
  position: absolute;
  top: 26px; left: -50%;
  width: 100%; height: 2px;
  background: var(--ppt-border);
  z-index: -1;
}
.step-node h4 { font-size: .85rem; font-weight: 700; margin-bottom: 4px; }
.step-node p  { font-size: .75rem; color: var(--ppt-muted); line-height: 1.45; max-width: 120px; margin: 0 auto; }

/* Loop diagram */
.loop-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; max-width: 560px; margin: 0 auto; }

/* Check-list: lista vertical con icono de chequeo y texto a la derecha */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li i { color: var(--module-color); margin-top: 3px; flex-shrink: 0; font-size: .95rem; }
.check-list li p { font-size: .85rem; color: var(--ppt-muted); line-height: 1.6; }
.check-list li p strong { color: var(--ppt-text); }

/* Example-card: caja para mostrar un ejemplo aplicado de un concepto */
.example-card {
  padding: 20px 22px;
  background: var(--ppt-surface);
  border: 1px solid var(--ppt-border);
  border-radius: 16px;
}
.example-card .example-tag {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--module-color);
}
.example-card .example-body {
  font-size: .88rem; line-height: 1.75; margin-top: 12px; font-style: italic;
}
.example-card .example-meta {
  border-top: 1px solid var(--ppt-border);
  margin-top: 14px; padding-top: 14px;
  font-size: .78rem; color: var(--ppt-muted);
}
.example-card .example-meta p { margin-top: 4px; }
.example-card .example-meta p:first-child { margin-top: 0; }
.example-card .example-meta strong { color: var(--module-color); }
.loop-node {
  background: var(--ppt-surface);
  border: 2px solid var(--module-color);
  border-radius: 16px;
  padding: 18px 28px;
  text-align: center;
  width: 100%;
  max-width: 480px;
}
.loop-node h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.loop-node p  { font-size: .78rem; color: var(--ppt-muted); }
.loop-arrow { font-size: 1.3rem; color: var(--module-color); flex-shrink: 0; line-height: 1; }

/* Selector interactivo */
.sel-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.sel-item {
  padding: 8px 18px;
  border: 1px solid var(--ppt-border);
  border-radius: 100px;
  font-size: .83rem;
  cursor: pointer;
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}
.sel-item:hover { border-color: var(--module-color); }
.sel-item.sel { background: var(--module-color); border-color: var(--module-color); color: #fff; }

/* Iceberg visual */
.iceberg-wrap { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.iceberg-above {
  background: linear-gradient(to bottom, rgba(37,99,235,.4), rgba(37,99,235,.2));
  border-radius: 8px 8px 0 0;
  border: 1px solid var(--module-color);
  padding: 16px 20px;
  text-align: center;
}
.iceberg-water { border-top: 2px dashed rgba(255,255,255,.25); margin: 0; position: relative; }
.iceberg-water::before { content: '∼∼∼ Línea de flotación ∼∼∼'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--ppt-muted); background: var(--ppt-navy); padding: 0 8px; white-space: nowrap; }
.iceberg-below {
  background: linear-gradient(to bottom, rgba(11,37,69,.95), rgba(11,37,69,.7));
  border-radius: 0 0 40px 40px;
  border: 1px solid var(--ppt-border);
  border-top: none;
  padding: 16px 20px 24px;
  text-align: center;
  min-height: 120px;
}
.iceberg-above h4, .iceberg-below h4 { font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
.iceberg-above p, .iceberg-below p { font-size: .77rem; color: var(--ppt-muted); }

/* Grid 4 cuadrantes (FODA, matriz impacto/probabilidad, OODA, etc.) */
.quad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }
.quad-item {
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid;
  cursor: pointer;
  transition: opacity var(--tr), transform var(--tr);
}
.quad-item.static { cursor: default; }
.quad-item.static:hover { opacity: 1; transform: none; }
.quad-item:hover { opacity: .88; transform: translateY(-1px); }
.quad-item h4 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.quad-item p  { font-size: .78rem; line-height: 1.55; color: rgba(255,255,255,.75); }
/* Variantes FODA */
.quad-f  { background: rgba(37,99,235,.12); border-color: rgba(37,99,235,.4); }
.quad-o  { background: rgba(5,150,105,.12); border-color: rgba(5,150,105,.4); }
.quad-d  { background: rgba(220,38,38,.12); border-color: rgba(220,38,38,.4); }
.quad-a  { background: rgba(217,119,6,.12); border-color: rgba(217,119,6,.4); }
/* Variantes matriz Impacto/Probabilidad */
.quad-critico   { background: rgba(5,150,105,.12);   border-color: rgba(5,150,105,.4);   }
.quad-critico   h4 { color: #6EE7B7; }
.quad-monitor   { background: rgba(217,119,6,.12);   border-color: rgba(217,119,6,.4);   }
.quad-monitor   h4 { color: #FCD34D; }
.quad-rutina    { background: rgba(37,99,235,.12);   border-color: rgba(37,99,235,.4);   }
.quad-rutina    h4 { color: #93C5FD; }
.quad-ignorar   { background: rgba(100,116,139,.1);  border-color: rgba(100,116,139,.3); }
.quad-ignorar   h4 { color: rgba(255,255,255,.5); }
.quad-ignorar   p  { color: rgba(255,255,255,.5); }
/* Variantes Mapa de Empatía (4 dimensiones de usuario) */
.quad-piensa  { background: rgba(217,119,6,.10);  border-color: rgba(217,119,6,.4);  }
.quad-piensa  h4 { color: #FCD34D; }
.quad-ve      { background: rgba(37,99,235,.10);  border-color: rgba(37,99,235,.4);  }
.quad-ve      h4 { color: #93C5FD; }
.quad-dice    { background: rgba(5,150,105,.10);  border-color: rgba(5,150,105,.4);  }
.quad-dice    h4 { color: #6EE7B7; }
.quad-escucha { background: rgba(124,58,237,.10); border-color: rgba(124,58,237,.4); }
.quad-escucha h4 { color: #A78BFA; }

/* Stat (compacta, inline) */
.stat { text-align: center; }
.stat-num { font-family: var(--font-h); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; color: var(--module-color); line-height: 1; }
.stat-label { font-size: .83rem; color: var(--ppt-muted); margin-top: 6px; }

/* Stat cards (números grandes en formato card con label largo) */
.stats-grid { display: grid; gap: 14px; }
.stats-grid.cols-1 { grid-template-columns: 1fr; }
.stats-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.stat-card {
  background: var(--ppt-surface);
  border: 1px solid var(--ppt-border);
  border-radius: 14px;
  padding: 22px 24px;
  text-align: center;
}
.stat-card-num { font-family: var(--font-h); font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; color: var(--module-color); line-height: 1; }
.stat-card-label { font-size: .82rem; color: var(--ppt-muted); margin-top: 8px; line-height: 1.5; }

/* Intersect list — lista vertical con icono custom + título strong + descripción */
.intersect-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; width: 100%; }
.intersect-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--ppt-surface);
  border: 1px solid var(--ppt-border);
  border-radius: 10px;
  padding: 14px 18px;
}
.intersect-item-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.intersect-item-text { font-size: .85rem; color: rgba(255,255,255,.82); line-height: 1.55; }
.intersect-item-text strong { color: var(--ppt-text); display: block; margin-bottom: 3px; }

/* Why-exercise — caja con label + prompt + fill placeholder */
.why-exercise {
  background: color-mix(in srgb, var(--module-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--module-color) 30%, transparent);
  border-radius: 12px;
  padding: 22px 28px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.why-exercise-label {
  font-size: 11px; font-weight: 700;
  color: var(--module-color);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 10px;
}
.why-exercise-prompt { font-size: 1rem; color: var(--ppt-text); margin-bottom: 14px; line-height: 1.55; }
.why-exercise-fill {
  background: rgba(255,255,255,.05);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: .88rem;
  color: rgba(255,255,255,.42);
  font-style: italic;
}

/* Ecosystem grid — 3 cards horizontales con icono grande arriba */
.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 880px; margin: 0 auto; }
.eco-card {
  background: var(--ppt-surface);
  border: 1px solid var(--ppt-border);
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
  transition: border-color var(--tr), background var(--tr);
}
.eco-card:hover { border-color: var(--module-color); background: rgba(255,255,255,.09); }
.eco-card-icon { font-size: 1.8rem; color: var(--module-color); margin-bottom: 10px; }
.eco-card-title { font-size: .92rem; font-weight: 700; margin-bottom: 6px; }
.eco-card-desc { font-size: .78rem; color: var(--ppt-muted); line-height: 1.55; }

/* IKIGAI diagram — 4 círculos + centro convergente */
.ikigai-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 720px; margin: 0 auto; width: 100%; }
.ikigai-circle {
  background: var(--ppt-surface);
  border: 2px solid var(--module-color);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  max-width: 220px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.ikigai-circle:hover,
.ikigai-circle.active { background: var(--module-color); transform: scale(1.04); }
.ikigai-circle.active .ikigai-circle-icon,
.ikigai-circle:hover .ikigai-circle-icon { color: #fff; }
.ikigai-circle-icon { font-size: 1.8rem; color: var(--module-color); margin-bottom: 8px; transition: color var(--tr); }
.ikigai-circle-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ikigai-circle-sub { font-size: .72rem; color: var(--ppt-muted); margin-top: 4px; }
.ikigai-circle.active .ikigai-circle-sub,
.ikigai-circle:hover .ikigai-circle-sub { color: rgba(255,255,255,.85); }
.ikigai-center {
  grid-column: 1 / -1;
  justify-self: center;
  background: var(--module-color);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 36px color-mix(in srgb, var(--module-color) 50%, transparent);
  margin-top: -10px;
}
.ikigai-center-label { font-size: 1.15rem; font-weight: 800; color: #fff; }
.ikigai-center-sub { font-size: .65rem; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.ikigai-detail {
  background: color-mix(in srgb, var(--module-color) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--module-color) 35%, transparent);
  border-radius: 10px;
  padding: 14px 20px;
  margin-top: 18px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  min-height: 50px;
  font-size: .88rem;
  color: rgba(255,255,255,.88);
  line-height: 1.6;
}
.ikigai-detail.empty { opacity: .45; font-style: italic; font-size: .82rem; }

/* GOLDEN CIRCLE — Simon Sinek */
.golden-wrap { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; width: 100%; }
.golden-diagram { position: relative; width: 280px; height: 280px; flex-shrink: 0; }
.golden-ring {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16px;
  transition: opacity var(--tr);
}
.golden-ring-why  { width: 100%; height: 100%; background: var(--module-color); top: 0; left: 0; }
.golden-ring-how  { width: 66%;  height: 66%;  background: color-mix(in srgb, var(--module-color) 55%, #0B2545); top: 17%; left: 17%; }
.golden-ring-what { width: 33%;  height: 33%;  background: color-mix(in srgb, var(--module-color) 25%, #0B2545); top: 33.5%; left: 33.5%; padding-top: 10px; }
.golden-ring-label { font-size: .9rem; font-weight: 800; letter-spacing: .12em; color: #fff; text-transform: uppercase; }
.golden-ring-what .golden-ring-label { font-size: .7rem; }
.golden-panels { display: flex; flex-direction: column; gap: 12px; max-width: 360px; flex: 1 1 280px; }
.golden-panel {
  background: var(--ppt-surface);
  border-left: 4px solid var(--module-color);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
}
.golden-panel-key { font-size: 10px; font-weight: 700; color: var(--module-color); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.golden-panel-val { font-size: .9rem; color: var(--ppt-text); }
.golden-panel-ex  { font-size: .78rem; color: var(--ppt-muted); margin-top: 4px; font-style: italic; }

/* Tag / pill */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}
.pill-accent { background: rgba(37,99,235,.18); color: var(--module-color); }
.pill-neutral { background: var(--ppt-surface); color: var(--ppt-muted); border: 1px solid var(--ppt-border); }

/* Video embed */
.video-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.video-wrap::before { content: ''; display: block; padding-top: 56.25%; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* Resource cards */
.res-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; width: 100%; }
.res-card {
  background: var(--ppt-surface);
  border: 1px solid var(--ppt-border);
  border-radius: 14px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.res-type { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--module-color); }
.res-icon { font-size: 1.8rem; color: var(--module-color); }
.res-card h4 { font-size: .88rem; font-weight: 700; line-height: 1.3; }
.res-card p  { font-size: .78rem; color: var(--ppt-muted); line-height: 1.5; flex: 1; }
.res-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700;
  color: var(--module-color);
  text-decoration: none;
  border-top: 1px solid var(--ppt-border);
  padding-top: 10px;
  margin-top: auto;
  transition: opacity var(--tr);
}
.res-link:hover { opacity: .75; }

/* Foro card */
.forum-card {
  background: rgba(37,99,235,.1);
  border: 1px solid rgba(37,99,235,.35);
  border-radius: 14px;
  padding: 20px;
}
.forum-card .forum-q { font-size: .88rem; line-height: 1.7; color: var(--ppt-text); font-style: italic; }
.forum-card .forum-note { font-size: .75rem; color: var(--ppt-muted); margin-top: 10px; }

/* Desafío preview */
.challenge-card {
  background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(8,145,178,.08));
  border: 1px solid rgba(37,99,235,.3);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
}
.challenge-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.challenge-step {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--ppt-border);
  border-radius: 100px;
  font-size: 11px; font-weight: 600;
}
.challenge-step i { color: var(--module-color); font-size: 10px; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .slide { padding: 32px 40px; }
  .cols-3 { grid-template-columns: 1fr 1fr; }
  .cols-4 { grid-template-columns: 1fr 1fr; }
  .agenda-grid { grid-template-columns: 1fr; gap: 10px; }
  .slide-split { flex-direction: column; gap: 28px; }
  .res-grid { grid-template-columns: 1fr; }
}

/* === MOTION REDUCE === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
