/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0F172A;
  --bg2:     #1E293B;
  --bg3:     #334155;
  --blue:    #3B82F6;
  --blue-l:  #93C5FD;
  --blue-d:  #1D4ED8;
  --emerald: #10B981;
  --emr-l:   #6EE7B7;
  --amber:   #F59E0B;
  --rose:    #F43F5E;
  --white:   #F8FAFC;
  --muted:   #94A3B8;
  --dim:     rgba(148,163,184,.35);
  --font:    'Inter', system-ui, sans-serif;
  --glass-bg:     rgba(15, 23, 42, 0.55);
  --glass-border: rgba(148, 163, 184, 0.18);
  --glass-glow:   0 8px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.04) inset;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ─── Slideshow container ────────────────────────────────────── */
.ss {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

/* ─── Glass card shared ──────────────────────────────────────── */
.metric-card,
.col-panel,
.contact-item,
.phase-card,
.prob-card,
.tracking-panel,
.waste-bar-item,
.waste-hero,
.canib-metric,
.canib-table-wrap,
.canib-case,
.agency-stat,
.budget-table-wrap,
.meta-sub-card,
.meta-signals-wrap,
.is-row,
.plan-col {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--glass-glow);
}

/* ─── Slides ─────────────────────────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(24px, 3.5vw, 56px) clamp(24px, 6vw, 100px) clamp(72px, 9vh, 92px);
  background: var(--bg);
  opacity: 0;
  transform: translateX(60px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
  will-change: transform, opacity;
  overflow-y: auto;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: var(--noise);
  z-index: -1;
}
.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.slide.exiting-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity .35s ease, transform .35s ease;
}

/* ─── Slide: cover ───────────────────────────────────────────── */
.slide-cover {
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(59,130,246,.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(16,185,129,.07) 0%, transparent 55%),
    var(--bg);
  text-align: center;
  gap: 0;
}
.cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.28);
  border-radius: 99px;
  padding: 6px 18px;
  font-size: clamp(10px, 1.2vw, 13px);
  font-weight: 700;
  color: var(--blue-l);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.cover-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}
.cover-title {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: clamp(12px, 1.5vw, 20px);
}
.cover-title span { color: var(--blue); }
.cover-sub {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.cover-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cover-chip {
  padding: 8px 20px;
  border-radius: 10px;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 600;
}
.cover-chip.conf {
  background: rgba(244, 63, 94, .1);
  border: 1px solid rgba(244,63,94,.2);
  color: #FDA4AF;
}
.cover-chip.date {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
}
.cover-chip.by {
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  color: var(--emr-l);
}

/* ─── Slide: section divider ─────────────────────────────────── */
.slide-section {
  background:
    radial-gradient(circle 500px at 50% 50%, rgba(59,130,246,.08) 0%, transparent 70%),
    var(--bg);
  text-align: center;
  gap: 16px;
}
.section-num {
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(59,130,246,.14);
  letter-spacing: -.06em;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
}
.section-sub {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  color: var(--muted);
  max-width: 500px;
}

/* ─── Slide: generic content ─────────────────────────────────── */
.slide-content { align-items: flex-start; gap: 0; }
.slide-content.centered { align-items: center; text-align: center; }

.s-eyebrow {
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: clamp(10px, 1.5vw, 18px);
}
.s-title {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: clamp(8px, 1vw, 14px);
}
.s-sub {
  font-size: clamp(.85rem, 1.4vw, 1rem);
  color: var(--muted);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: clamp(20px, 3vw, 40px);
}

/* ─── Metrics grid ───────────────────────────────────────────── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(12px, 2vw, 24px);
  width: 100%;
  max-width: 1000px;
}
.metric-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: clamp(18px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.metric-card.blue::before  { background: var(--blue); }
.metric-card.green::before { background: var(--emerald); }
.metric-card.amber::before { background: var(--amber); }
.metric-card.rose::before  { background: var(--rose); }
.metric-label {
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.metric-value {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}
.metric-value.blue  { color: var(--blue-l); }
.metric-value.green { color: var(--emr-l); }
.metric-value.amber { color: #FDE68A; }
.metric-value.rose  { color: #FDA4AF; }
.metric-detail {
  font-size: clamp(10px, 1.1vw, 12px);
  color: var(--muted);
  line-height: 1.4;
}

/* ─── Bullet list ────────────────────────────────────────────── */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vw, 18px);
  width: 100%;
  max-width: 820px;
}
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.5vw, 18px);
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  color: rgba(248,250,252,.75);
  line-height: 1.55;
}
.bullet-icon {
  flex-shrink: 0;
  width: clamp(22px, 2.5vw, 30px);
  height: clamp(22px, 2.5vw, 30px);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 800;
  margin-top: 2px;
}
.bullet-icon.blue  { background: rgba(59,130,246,.15); color: var(--blue-l); }
.bullet-icon.green { background: rgba(16,185,129,.15); color: var(--emr-l); }
.bullet-icon.amber { background: rgba(245,158,11,.15); color: #FDE68A; }
.bullet-icon.rose  { background: rgba(244,63,94,.15);  color: #FDA4AF; }

/* ─── Two-column ─────────────────────────────────────────────── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 40px);
  width: 100%;
  max-width: 1100px;
  align-items: start;
}
.col-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 18px);
}
.col-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(.85rem, 1.2vw, 1rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-bottom: clamp(10px, 1.5vw, 16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.col-panel-header .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.col-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(.82rem, 1.2vw, .95rem);
  color: rgba(248,250,252,.7);
  line-height: 1.5;
}
.col-item::before {
  content: '—';
  color: var(--dim);
  flex-shrink: 0;
  font-weight: 300;
}

/* ─── Findings ───────────────────────────────────────────────── */
.findings-list {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vw, 16px);
  width: 100%;
  max-width: 900px;
}
.finding-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  background: var(--glass-bg);
  border-radius: 14px;
  padding: clamp(14px, 2vw, 22px) clamp(16px, 2.5vw, 28px);
  border: 1px solid rgba(255,255,255,.06);
}
.finding-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.finding-text {
  font-size: clamp(.85rem, 1.3vw, 1rem);
  color: rgba(248,250,252,.8);
  line-height: 1.4;
  flex: 1;
}
.finding-tag {
  flex-shrink: 0;
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 99px;
}

/* ─── Timeline / phases ──────────────────────────────────────── */
.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(12px, 2vw, 20px);
  width: 100%;
  max-width: 1100px;
  counter-reset: phase;
}
.phase-card {
  counter-increment: phase;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: clamp(18px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.phase-card::before {
  content: '0' counter(phase);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  opacity: .08;
  position: absolute;
  top: 14px; right: 18px;
}
.phase-period {
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.phase-title {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.phase-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phase-items li {
  font-size: clamp(.78rem, 1.1vw, .88rem);
  color: var(--muted);
  padding-left: 12px;
  position: relative;
}
.phase-items li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--dim);
}

/* ─── Closing slide ──────────────────────────────────────────── */
.slide-closing {
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(16,185,129,.08) 0%, transparent 65%),
    var(--bg);
  text-align: center;
  gap: 20px;
}
.closing-logo {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--blue-l), var(--emr-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.closing-title {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
}
.closing-sub {
  font-size: clamp(.85rem, 1.4vw, 1rem);
  color: var(--muted);
  max-width: 480px;
  line-height: 1.65;
}
.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 32px);
  flex-wrap: wrap;
  margin-top: 8px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(.8rem, 1.2vw, .95rem);
  color: var(--muted);
}
.contact-item strong { color: rgba(248,250,252,.75); }

/* ─── Navigation ─────────────────────────────────────────────── */
.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(42px, 4vw, 54px);
  height: clamp(42px, 4vw, 54px);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 2vw, 22px);
  transition: all .2s;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.nav-btn:hover {
  background: rgba(59,130,246,.15);
  border-color: rgba(59,130,246,.3);
  color: var(--blue-l);
}
.nav-btn:disabled {
  opacity: 0;
  pointer-events: none;
}
.nav-btn.prev { left: clamp(12px, 2vw, 28px); }
.nav-btn.next { right: clamp(12px, 2vw, 28px); }

/* ─── Progress ───────────────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  transition: width .4s ease;
  z-index: 100;
  border-radius: 0 2px 2px 0;
}
.progress-label {
  position: fixed;
  bottom: clamp(14px, 2vw, 22px);
  right: clamp(16px, 2.5vw, 32px);
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 700;
  color: var(--dim);
  z-index: 100;
  letter-spacing: .04em;
  font-family: var(--font);
}
.progress-label span { color: rgba(148,163,184,.6); }

/* ─── Keyboard hint ──────────────────────────────────────────── */
.kbd-hint {
  position: fixed;
  bottom: clamp(36px, 4vw, 48px);
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(9px, 1vw, 11px);
  color: rgba(148,163,184,.22);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  pointer-events: none;
  letter-spacing: .04em;
}

/* ─── Divider line ───────────────────────────────────────────── */
.s-divider {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
  margin-bottom: clamp(16px, 2.5vw, 32px);
}

/* ─── Pulse animation ────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .two-col-grid { grid-template-columns: 1fr; }
  .nav-btn.prev { left: 8px; }
  .nav-btn.next { right: 8px; }
  .phases { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .phases { grid-template-columns: 1fr; }
}

/* ─── Slide: portada (McKinsey-style) ────────────────────────── */
.slide-portada {
  background:
    linear-gradient(135deg, #0F172A 55%, #1E293B 100%);
  justify-content: space-between;
  align-items: flex-start;
  padding-top: clamp(48px, 7vw, 100px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.portada-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,.10);
  border: 1px solid rgba(59,130,246,.22);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 800;
  color: var(--blue-l);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.portada-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px) 0;
}
.portada-title {
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: clamp(22px, 3.5vw, 40px);
  white-space: pre-line;
  text-transform: uppercase;
}
.portada-divider {
  width: clamp(64px, 9vw, 130px);
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  margin-bottom: clamp(22px, 3.5vw, 40px);
}
.portada-sub {
  font-size: clamp(.9rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.65;
}
.portada-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: clamp(18px, 2.5vw, 32px);
  border-top: 1px solid rgba(255,255,255,.07);
}
.portada-logos {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 16px);
}
.portada-logo-box {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  padding: 8px 18px;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 700;
  color: rgba(248,250,252,.55);
  letter-spacing: .04em;
}
.portada-date {
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .06em;
}

/* ─── Slide: problems (stagger animation) ─────────────────────── */
.slide-problems { align-items: flex-start; justify-content: flex-start; }
.prob-cards {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 20px);
  width: 100%;
  max-width: 820px;
}
.prob-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left-width: 4px;
  border-left-style: solid;
  border-radius: 14px;
  padding: clamp(18px, 2.5vw, 26px) clamp(20px, 3vw, 34px);
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 22px);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s ease, transform .5s ease;
}
.prob-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.prob-icon {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}
.prob-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prob-title {
  font-size: clamp(.92rem, 1.5vw, 1.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.prob-desc {
  font-size: clamp(.8rem, 1.2vw, .93rem);
  color: var(--muted);
  line-height: 1.55;
}

/* ─── Slide: tracking (two-column tables) ─────────────────────── */
.slide-tracking { align-items: flex-start; justify-content: flex-start; }
.tracking-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 28px);
  width: 100%;
  max-width: 1100px;
  margin-top: clamp(6px, 1vw, 12px);
}
.tracking-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: clamp(16px, 2vw, 24px);
}
.tracking-panel-header {
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  padding-bottom: clamp(10px, 1.2vw, 14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: clamp(10px, 1.2vw, 14px);
}
.tracking-table {
  width: 100%;
  border-collapse: collapse;
}
.tracking-table th {
  text-align: left;
  font-size: clamp(9px, .95vw, 11px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 4px 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tracking-table td {
  padding: clamp(7px, .9vw, 10px) 6px;
  font-size: clamp(.78rem, 1.1vw, .9rem);
  color: rgba(248,250,252,.8);
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: middle;
}
.tracking-table tr:last-child td { border-bottom: none; }
.tracking-table td:first-child { color: var(--muted); }
.badge-susp {
  display: inline-flex;
  align-items: center;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.25);
  color: #FDE68A;
  border-radius: 99px;
  padding: 2px 8px;
  font-size: clamp(8px, .85vw, 10px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  margin-left: 6px;
}
.badge-red {
  display: inline-flex;
  align-items: center;
  background: rgba(244,63,94,.12);
  border: 1px solid rgba(244,63,94,.25);
  color: #FDA4AF;
  border-radius: 99px;
  padding: 2px 8px;
  font-size: clamp(8px, .85vw, 10px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  margin-left: 6px;
}
.tracking-alert {
  background: rgba(244,63,94,.08);
  border: 1px solid rgba(244,63,94,.20);
  border-radius: 12px;
  padding: clamp(12px, 1.5vw, 18px) clamp(14px, 2vw, 22px);
  margin-top: clamp(12px, 1.8vw, 20px);
  width: 100%;
  max-width: 1100px;
  font-size: clamp(.82rem, 1.2vw, .95rem);
  color: #FCA5A5;
  line-height: 1.5;
}
.tracking-alert strong { color: #FECACA; font-weight: 800; }
.tracking-alert p { margin: 0; line-height: 1.5; }
.tracking-alert p + p { margin-top: clamp(5px, .7vw, 8px); }
.tracking-val-red { color: #FDA4AF; font-weight: 800; }
.tracking-td-project { color: rgba(248,250,252,.75); }
.tracking-footnote {
  margin-top: clamp(8px, 1vw, 14px);
  font-size: clamp(9px, .95vw, 11px);
  color: rgba(148,163,184,.5);
  font-style: italic;
  width: 100%;
  max-width: 1100px;
}

@media (max-width: 640px) {
  .tracking-cols { grid-template-columns: 1fr; }
  .portada-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ─── Slide: waste (gasto ineficiente) ───────────────────────── */
.slide-waste { align-items: flex-start; justify-content: flex-start; }
.waste-hero {
  width: 100%;
  text-align: center;
  margin-bottom: clamp(16px, 2.5vw, 32px);
}
.waste-big-number {
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  color: #FDA4AF;
  margin-bottom: clamp(6px, .8vw, 10px);
}
.waste-big-sub {
  font-size: clamp(.78rem, 1.2vw, .95rem);
  color: var(--muted);
  line-height: 1.5;
}
.waste-bars {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 16px);
  width: 100%;
  max-width: 940px;
}
.waste-bar-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: clamp(14px, 1.8vw, 22px) clamp(16px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.waste-bar-top {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
}
.waste-bar-icon {
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  flex-shrink: 0;
  line-height: 1;
}
.waste-bar-label {
  font-size: clamp(.82rem, 1.25vw, .98rem);
  font-weight: 700;
  color: var(--white);
  flex: 1;
  line-height: 1.3;
}
.waste-bar-amount {
  font-size: clamp(.82rem, 1.25vw, .98rem);
  font-weight: 800;
  color: #FDA4AF;
  white-space: nowrap;
  flex-shrink: 0;
}
.waste-bar-desc {
  font-size: clamp(.74rem, 1.05vw, .85rem);
  color: var(--muted);
  line-height: 1.5;
  padding-left: clamp(28px, 3.2vw, 42px);
}
.waste-bar-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: clamp(28px, 3.2vw, 42px);
}
.waste-bar-rail {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,.07);
  border-radius: 3px;
  overflow: hidden;
}
.waste-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #F43F5E, #F97316);
}
.waste-bar-pct {
  font-size: clamp(9px, .95vw, 11px);
  font-weight: 700;
  color: #FDA4AF;
  white-space: nowrap;
  min-width: 38px;
  text-align: right;
}

/* ─── Slide: canib (cannibalization) ────────────────────────── */
.slide-canib { align-items: flex-start; justify-content: flex-start; }
.canib-explanation {
  background: rgba(59,130,246,.06);
  border: 1px solid rgba(59,130,246,.15);
  border-radius: 10px;
  padding: clamp(10px, 1.2vw, 14px) clamp(12px, 1.8vw, 18px);
  width: 100%;
  max-width: 1080px;
  font-size: clamp(.76rem, 1.05vw, .88rem);
  color: rgba(147,197,253,.85);
  line-height: 1.5;
  margin-bottom: clamp(12px, 1.6vw, 18px);
}
.canib-cols {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(280px, 2fr);
  gap: clamp(16px, 2.5vw, 32px);
  width: 100%;
  max-width: 1080px;
  align-items: start;
}
.canib-section-label {
  font-size: clamp(9px, .95vw, 11px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: clamp(7px, .9vw, 10px);
}
.canib-metrics {
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.2vw, 13px);
}
.canib-metric {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.canib-metric-value {
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--white);
  line-height: 1.1;
}
.canib-metric-label {
  font-size: clamp(.71rem, .98vw, .82rem);
  color: var(--muted);
  line-height: 1.4;
}
.canib-right {
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.2vw, 13px);
}
.canib-table-wrap {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  overflow: hidden;
}
.canib-table {
  width: 100%;
  border-collapse: collapse;
}
.canib-table thead th {
  text-align: left;
  font-size: clamp(9px, .88vw, 10px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding: clamp(9px, 1.1vw, 12px) clamp(12px, 1.6vw, 16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.canib-table td {
  padding: clamp(9px, 1.1vw, 12px) clamp(12px, 1.6vw, 16px);
  font-size: clamp(.76rem, 1.04vw, .88rem);
  color: rgba(248,250,252,.8);
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: middle;
}
.canib-table tr:last-child td { border-bottom: none; }
.canib-cost { font-weight: 700; color: #FDA4AF; white-space: nowrap; }
.canib-badge {
  font-size: clamp(8px, .84vw, 10px);
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
.canib-badge-crit {
  background: rgba(244,63,94,.12);
  border: 1px solid rgba(244,63,94,.25);
  color: #FDA4AF;
}
.canib-badge-high {
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.25);
  color: #FDBA74;
}
.canib-case {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: clamp(12px, 1.5vw, 16px);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.canib-case-icon { font-size: clamp(1rem, 1.4vw, 1.2rem); flex-shrink: 0; line-height: 1; margin-top: 2px; }
.canib-case-title { font-size: clamp(.8rem, 1.1vw, .92rem); font-weight: 700; color: var(--white); margin-bottom: 4px; line-height: 1.3; }
.canib-case-text  { font-size: clamp(.72rem, 1vw, .83rem); color: var(--muted); line-height: 1.5; }
.canib-footnote {
  margin-top: clamp(8px, 1vw, 12px);
  font-size: clamp(9px, .88vw, 11px);
  color: rgba(148,163,184,.45);
  font-style: italic;
  max-width: 1080px;
}
@media (max-width: 640px) {
  .canib-cols { grid-template-columns: 1fr; }
}

/* ─── Slide: agency (timeline) ──────────────────────────────── */
.slide-agency { align-items: flex-start; justify-content: flex-start; }
.agency-timeline {
  width: 100%;
  max-width: 940px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 40px);
  margin: clamp(4px, 1vw, 10px) 0 clamp(14px, 2vw, 24px);
}
.tl-month { display: flex; flex-direction: column; gap: 6px; }
.tl-month-label {
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 4px;
}
.tl-rail-wrap {
  position: relative;
  padding: 10px 0;
}
.tl-rail {
  height: 3px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
}
.tl-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(10px, 1.2vw, 13px);
  height: clamp(10px, 1.2vw, 13px);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(59,130,246,.55);
  cursor: default;
}
.tl-dot.multi {
  width: clamp(13px, 1.6vw, 17px);
  height: clamp(13px, 1.6vw, 17px);
  background: var(--blue-l);
  box-shadow: 0 0 12px rgba(147,197,253,.6);
}
.tl-day-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 2px;
}
.tl-day-pill {
  font-size: clamp(8px, .88vw, 10px);
  color: var(--muted);
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.15);
  border-radius: 99px;
  padding: 2px 7px;
  line-height: 1.6;
}
.tl-day-pill em {
  font-style: normal;
  color: var(--blue-l);
  font-weight: 700;
}
/* Agency stat cards */
.agency-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
  width: 100%;
  max-width: 940px;
}
.agency-stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: clamp(14px, 1.8vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.agency-stat-icon {
  font-size: clamp(.95rem, 1.5vw, 1.3rem);
  line-height: 1;
  margin-bottom: 4px;
}
.agency-stat-value {
  font-size: clamp(.95rem, 1.6vw, 1.25rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.agency-stat-label {
  font-size: clamp(.72rem, 1vw, .83rem);
  color: var(--muted);
  line-height: 1.4;
}
.agency-stat-note {
  font-size: clamp(.68rem, .9vw, .78rem);
  color: rgba(148,163,184,.55);
  line-height: 1.4;
  margin-top: 2px;
  font-style: italic;
}
/* Agency note box */
.agency-note {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.22);
  border-radius: 12px;
  padding: clamp(11px, 1.4vw, 16px) clamp(14px, 2vw, 22px);
  margin-top: clamp(10px, 1.4vw, 16px);
  width: 100%;
  max-width: 940px;
  font-size: clamp(.78rem, 1.1vw, .92rem);
  color: #FDE68A;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .agency-stats    { grid-template-columns: repeat(2, 1fr); }
  .agency-timeline { grid-template-columns: 1fr; }
}

/* ─── Slide: budget (tabla distribución presupuesto) ─────────── */
.slide-budget { align-items: flex-start; justify-content: flex-start; }
.budget-table-wrap {
  width: 100%;
  max-width: 900px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  margin: clamp(4px, .5vw, 7px) 0;
}
.budget-table {
  width: 100%;
  border-collapse: collapse;
}
.budget-table thead th {
  text-align: left;
  font-size: clamp(9px, .95vw, 11px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  padding: clamp(8px, 1vw, 11px) clamp(12px, 1.6vw, 18px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}
.budget-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.budget-table tbody tr:last-child { border-bottom: none; }
.budget-table tbody tr:hover { background: rgba(255,255,255,.02); }
.budget-table td {
  padding: clamp(6px, .8vw, 9px) clamp(12px, 1.6vw, 18px);
  vertical-align: middle;
}
.budget-rank {
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 800;
  color: rgba(148,163,184,.3);
  width: 24px;
}
.budget-project {
  font-size: clamp(.82rem, 1.2vw, .95rem);
  font-weight: 600;
  color: var(--white);
}
.budget-cpl-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.budget-cpl-value {
  font-size: clamp(.82rem, 1.2vw, .93rem);
  font-weight: 700;
  white-space: nowrap;
  min-width: 52px;
}
.budget-cpl-rail {
  width: clamp(32px, 5vw, 64px);
  height: 4px;
  background: rgba(255,255,255,.07);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.budget-cpl-fill {
  height: 100%;
  border-radius: 2px;
  opacity: .85;
}
.budget-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  padding: 3px 10px;
  font-size: clamp(9px, .92vw, 11px);
  font-weight: 700;
  white-space: nowrap;
}
.budget-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(.78rem, 1.05vw, .88rem);
  font-weight: 600;
  white-space: nowrap;
}
.budget-insight {
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.20);
  border-radius: 12px;
  padding: clamp(8px, 1vw, 12px) clamp(12px, 1.6vw, 18px);
  width: 100%;
  max-width: 900px;
  font-size: clamp(.8rem, 1.15vw, .93rem);
  color: rgba(147,197,253,.9);
  line-height: 1.55;
}
.budget-footnote {
  margin-top: clamp(6px, .8vw, 10px);
  font-size: clamp(9px, .88vw, 11px);
  color: rgba(148,163,184,.45);
  font-style: italic;
  max-width: 900px;
}

/* ─── Slide: meta (Meta Ads diagnosis) ──────────────────────── */
.slide-meta { align-items: flex-start; justify-content: flex-start; }
.meta-sections {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 20px);
  width: 100%;
  max-width: 980px;
}
.meta-section-label {
  font-size: clamp(9px, .95vw, 11px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: clamp(8px, 1vw, 11px);
}
/* Main problem card */
.meta-main-card {
  background: rgba(244,63,94,.06);
  border: 1px solid rgba(244,63,94,.22);
  border-radius: 13px;
  padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 24px);
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.5vw, 16px);
  margin-bottom: clamp(8px, 1.2vw, 12px);
}
.meta-main-icon {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  flex-shrink: 0;
  line-height: 1;
}
.meta-main-title {
  font-size: clamp(.84rem, 1.3vw, .98rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 1.3;
}
.meta-main-text {
  font-size: clamp(.76rem, 1.05vw, .88rem);
  color: var(--muted);
  line-height: 1.5;
}
/* Sub-problem cards */
.meta-sub-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.2vw, 14px);
}
.meta-sub-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: clamp(12px, 1.5vw, 16px);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.meta-sub-icon {
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.meta-sub-title {
  font-size: clamp(.8rem, 1.15vw, .92rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.3;
}
.meta-sub-text {
  font-size: clamp(.72rem, 1vw, .83rem);
  color: var(--muted);
  line-height: 1.5;
}
/* Signals table */
.meta-signals-wrap {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  overflow: hidden;
}
.meta-signals-table {
  width: 100%;
  border-collapse: collapse;
}
.meta-signals-table thead th {
  text-align: left;
  font-size: clamp(9px, .92vw, 11px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding: clamp(10px, 1.2vw, 13px) clamp(14px, 2vw, 20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.meta-signals-table td {
  padding: clamp(9px, 1.1vw, 12px) clamp(14px, 2vw, 20px);
  font-size: clamp(.78rem, 1.1vw, .9rem);
  color: rgba(248,250,252,.8);
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: middle;
}
.meta-signals-table tr:last-child td { border-bottom: none; }
.meta-sig-project { color: var(--muted); font-weight: 600; white-space: nowrap; }
.meta-sig-cpl { font-weight: 700; color: var(--white); white-space: nowrap; }
.meta-sig-red .meta-sig-cpl { color: #FDA4AF; }
.meta-sig-warn .meta-sig-cpl { color: #FDE68A; }
.meta-sig-red .meta-sig-signal { color: #FDA4AF; }
.meta-sig-warn .meta-sig-signal { color: #FDE68A; }
/* Meta note box */
.meta-note {
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.20);
  border-radius: 12px;
  padding: clamp(11px, 1.3vw, 15px) clamp(14px, 2vw, 22px);
  margin-top: clamp(10px, 1.3vw, 14px);
  width: 100%;
  max-width: 980px;
  font-size: clamp(.78rem, 1.1vw, .92rem);
  color: rgba(147,197,253,.9);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .meta-sub-cards { grid-template-columns: 1fr; }
}

/* ─── Slide: impress (Impression Share) ─────────────────────── */
.slide-impress { align-items: flex-start; justify-content: flex-start; }
.is-bars {
  display: flex;
  flex-direction: column;
  gap: clamp(7px, 1vw, 12px);
  width: 100%;
  max-width: 960px;
}
.is-row {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 16px);
}
.is-label {
  width: clamp(140px, 18vw, 200px);
  flex-shrink: 0;
  font-size: clamp(.75rem, 1.05vw, .88rem);
  color: rgba(248,250,252,.75);
  font-weight: 600;
  text-align: right;
  line-height: 1.3;
}
.is-bar-wrap {
  flex: 1;
  display: flex;
  height: clamp(20px, 2.4vw, 30px);
  border-radius: 6px;
  overflow: hidden;
  gap: 2px;
}
.is-seg-won     { background: var(--emerald); min-width: 2px; }
.is-seg-quality { background: var(--rose);    min-width: 2px; }
.is-seg-budget  { background: var(--amber);   min-width: 2px; }
.is-badge {
  flex-shrink: 0;
  font-size: clamp(8px, .88vw, 10px);
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  padding: 3px 9px;
  border-radius: 99px;
  width: clamp(95px, 12vw, 130px);
  text-align: center;
}
.is-badge-red {
  background: rgba(244,63,94,.12);
  border: 1px solid rgba(244,63,94,.25);
  color: #FDA4AF;
}
.is-badge-budget {
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.25);
  color: #FDE68A;
}
.is-legend {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  margin-top: clamp(6px, .9vw, 10px);
  padding-left: clamp(150px, 19.4vw, 216px);
  flex-wrap: wrap;
}
.is-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(9px, .9vw, 11px);
  font-weight: 600;
  color: var(--muted);
}
.is-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.is-insight {
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.20);
  border-radius: 12px;
  padding: clamp(11px, 1.4vw, 16px) clamp(14px, 2vw, 22px);
  margin-top: clamp(10px, 1.4vw, 14px);
  width: 100%;
  max-width: 960px;
  font-size: clamp(.76rem, 1.05vw, .9rem);
  color: rgba(147,197,253,.9);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: clamp(5px, .7vw, 8px);
}
.is-insight p { margin: 0; }
.is-insight strong { color: rgba(191,219,254,.95); }

/* ─── Slide: plan (action plan) ─────────────────────────────── */
.slide-plan { align-items: flex-start; justify-content: flex-start; }
.plan-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 36px);
  width: 100%;
  max-width: 1080px;
  align-items: start;
}
.plan-col {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.3vw, 14px);
}
.plan-col-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: clamp(10px, 1.3vw, 14px);
  margin-bottom: clamp(4px, .6vw, 6px);
}
.plan-period {
  font-size: clamp(9px, .95vw, 11px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.plan-heading {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.plan-item {
  display: flex;
  gap: clamp(10px, 1.2vw, 13px);
  align-items: flex-start;
}
.plan-check {
  flex-shrink: 0;
  width: clamp(19px, 2.1vw, 24px);
  height: clamp(19px, 2.1vw, 24px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 800;
  margin-top: 2px;
}
.plan-item-body { display: flex; flex-direction: column; gap: 3px; }
.plan-item-title {
  font-size: clamp(.8rem, 1.15vw, .92rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.plan-item-desc {
  font-size: clamp(.71rem, .98vw, .82rem);
  color: var(--muted);
  line-height: 1.45;
}
/* Red column (weeks 1-2) */
.plan-col-red .plan-period { color: #FDA4AF; }
.plan-col-red .plan-col-header { border-bottom: 1px solid rgba(244,63,94,.18); }
.plan-col-red .plan-check {
  background: rgba(244,63,94,.10);
  border: 1px solid rgba(244,63,94,.22);
  color: #FDA4AF;
}
/* Blue column (weeks 3-4) */
.plan-col-blue .plan-period { color: var(--blue-l); }
.plan-col-blue .plan-col-header { border-bottom: 1px solid rgba(59,130,246,.18); }
.plan-col-blue .plan-check {
  background: rgba(59,130,246,.10);
  border: 1px solid rgba(59,130,246,.22);
  color: var(--blue-l);
}
@media (max-width: 640px) {
  .plan-cols { grid-template-columns: 1fr; }
}

/* ─── Navigation dots ────────────────────────────────────────── */
.slide-dots {
  position: fixed;
  bottom: clamp(14px, 2vw, 20px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 100;
  align-items: center;
}
.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(148,163,184,.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.slide-dot:hover { background: rgba(148,163,184,.55); }
.slide-dot.active {
  background: var(--blue);
  transform: scale(1.55);
}


/* ─── Download PPT button ────────────────────────────────────── */
.ppt-btn {
  position: fixed;
  bottom: clamp(14px, 2vw, 20px);
  right: clamp(16px, 2.5vw, 32px);
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.28);
  border-radius: 8px;
  color: var(--blue-l);
  cursor: pointer;
  font-size: clamp(10px, 1.05vw, 12px);
  font-weight: 600;
  padding: 6px 14px;
  z-index: 100;
  transition: background .15s, color .15s, border-color .15s;
  font-family: var(--font);
  letter-spacing: .04em;
  white-space: nowrap;
}
.ppt-btn:hover {
  background: rgba(59,130,246,.22);
  border-color: rgba(59,130,246,.5);
  color: #fff;
}
.ppt-btn:disabled {
  opacity: .5;
  cursor: wait;
}

/* ─── Presenter panel ────────────────────────────────────────── */
.pp {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 88vw);
  height: 100%;
  background: #080d18;
  border-left: 1px solid rgba(255,255,255,.07);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.pp.open { transform: translateX(0); }
.pp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.pp-headline {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pp-close {
  background: none;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  font-family: var(--font);
  line-height: 1;
}
.pp-close:hover { background: rgba(255,255,255,.07); color: var(--white); }
.pp-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.pp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 9px 16px;
  color: var(--muted);
  font-size: .82rem;
  font-family: var(--font);
  transition: background .15s, color .15s;
  line-height: 1.35;
}
.pp-item:hover { background: rgba(255,255,255,.04); color: var(--white); }
.pp-item.pp-current {
  background: rgba(59,130,246,.1);
  color: var(--blue-l);
}
.pp-num {
  font-size: .7rem;
  font-weight: 800;
  color: rgba(148,163,184,.35);
  width: 20px;
  text-align: right;
  flex-shrink: 0;
}
.pp-item.pp-current .pp-num { color: var(--blue); }
.pp-text { flex: 1; }

/* ─── Stagger entrance animations ───────────────────────────── */
@keyframes slideUp {
  from { transform: translateY(14px); }
  to   { transform: translateY(0); }
}
.slide.active .s-eyebrow { animation: slideUp .3s ease both; animation-delay: .38s; }
.slide.active .s-title   { animation: slideUp .3s ease both; animation-delay: .44s; }
.slide.active .s-sub     { animation: slideUp .3s ease both; animation-delay: .50s; }
.slide.active .s-divider { animation: slideUp .3s ease both; animation-delay: .46s; }

/* ─── Period indicator (inline con eyebrow) ─────────────────── */
.s-eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(5px, .7vw, 8px);
}
.s-eyebrow-sep {
  color: rgba(248,250,252,.3);
  font-weight: 300;
  font-size: clamp(10px, 1.1vw, 13px);
  line-height: 1;
}
.s-eyebrow-periods {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.s-eyebrow-period {
  font-size: clamp(10px, 1.05vw, 13px);
  font-weight: 600;
  text-transform: none;
  letter-spacing: .02em;
  color: rgba(248,250,252,.75);
  line-height: 1.35;
  white-space: nowrap;
}

/* ─── Print / PDF ────────────────────────────────────────────── */
@media print {
  @page { size: A4 landscape; margin: 0; }
  html, body { overflow: visible; height: auto; }
  .ss { position: static; height: auto; overflow: visible; }
  .slide {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    width: 100vw;
    min-height: 100vh;
    page-break-after: always;
    break-after: page;
    display: flex !important;
    animation: none !important;
  }
  .nav-btn, .progress-bar, .progress-label,
  .kbd-hint, .slide-dots, .pp {
    display: none !important;
  }
}
