/* Modo presentación (scroll-snap a pantalla completa) para las páginas de beneficios.
   Se activa cuando el JS añade body.presenting + .bene-doc.is-presenting (con ?present=1). */

body.presenting { overflow: hidden; }
body.presenting #navbar,
body.presenting footer { display: none !important; }

.bene-doc.is-presenting {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.bene-doc.is-presenting::-webkit-scrollbar { display: none; }

/* Cada sección = una diapositiva a pantalla completa */
.bene-doc.is-presenting > header.hero,
.bene-doc.is-presenting > section,
.bene-doc.is-presenting > main > .benefit {
  min-height: 100vh;
  box-sizing: border-box;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vh 0 !important;
}
.bene-doc.is-presenting > main { display: block; }

/* FAQ fuera del pitch */
.bene-doc.is-presenting > section.faq { display: none; }

/* En presentación, todo el contenido siempre visible (sin depender del scroll-reveal) */
.bene-doc.is-presenting .reveal { opacity: 1 !important; transform: none !important; }

/* Tipografía un poco más contenida para que quepa en una pantalla */
.bene-doc.is-presenting .hero h1 { font-size: clamp(40px, 6.5vw, 88px); }
.bene-doc.is-presenting .benefit .grid { align-items: center; }

/* ---------- Controles (inyectados por JS) ---------- */
.present-ui .bar {
  position: fixed; z-index: 1000; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  background: rgba(15,17,21,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #fff; padding: 9px 14px; border-radius: 999px;
  box-shadow: 0 12px 32px -10px rgba(0,0,0,.5);
  font: 600 14px/1 'Inter', system-ui, -apple-system, sans-serif;
}
.present-ui .corner {
  position: fixed; z-index: 1000; top: 18px; right: 18px; display: flex; gap: 8px;
}
.present-ui button {
  background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 20px; line-height: 1; padding: 6px 10px; border-radius: 999px;
  transition: background .15s;
}
.present-ui button:hover { background: rgba(255,255,255,.16); }
.present-ui .corner button {
  background: rgba(15,17,21,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  width: 42px; height: 42px; font-size: 17px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
}
.present-ui .count { min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; }
.present-ui .dots { display: flex; gap: 6px; align-items: center; }
.present-ui .dots i {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.38);
  display: block; transition: background .2s, transform .2s;
}
.present-ui .dots i.on { background: #fff; transform: scale(1.35); }

@media (max-width: 640px) {
  .present-ui .dots { display: none; }
}
