/* Presentation shell: every slide keeps the exact Figma canvas (1440 wide,
   own height) and the stage scales it to fit the window, like Figma's
   presentation mode. Slides switch by hash (#portada, #inicio, ...). */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #0d1420;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.stage {
  position: fixed;
  left: 50%;
  top: 50%;
  transform-origin: 0 0;
  /* left/top/scale are set by deck.js */
}
.slide {
  position: relative;
  display: none;
  width: 1440px;
  overflow: hidden;
  font-family: "Roboto", system-ui, sans-serif;
}
.slide.is-active { display: flex; }

/* Navigation pill: appears on mouse movement, never in clean screenshots. */
.deck-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(13, 20, 32, 0.82);
  color: #e7eefa;
  font: 500 13px/1 "Roboto", system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 10;
}
.deck-nav.is-visible,
.deck-nav:focus-within { opacity: 1; }
.deck-nav button,
.deck-nav select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 999px;
  height: 30px;
  cursor: pointer;
}
.deck-nav button { width: 30px; font-size: 18px; }
.deck-nav button:hover,
.deck-nav select:hover { background: rgba(255, 255, 255, 0.12); }
.deck-nav select { padding: 0 10px; max-width: 280px; }
.deck-nav select option { color: #002d62; }
.deck-nav .count { padding: 0 6px; opacity: 0.75; font-variant-numeric: tabular-nums; }
html.clean .deck-nav { display: none; }
