/* ===== Anti doble-scroll: solo scrollea el documento ===== */
html, body { height: 100%; }
html { overflow-y: auto; overflow-x: hidden; }
body { overflow: visible !important; margin: 0; }

/* El contenido empuja el footer; sin scroll interno */
.site-content { flex: 1 0 auto; overflow: visible !important; }

/* Mata scroll accidental en wrappers comunes */
.page, .container-page,
.hero, .hero .hero-media, .hero .hero-content,
.container { overflow: visible !important; }

/* Si algún bloque tenía 100vh y hacía su propio scroll, relájalo */
.page, .container-page { height: auto !important; max-height: none !important; }

/* Drawer móvil: no debe crear scrollbar cuando está cerrado */
@media (max-width:920px){
  .site-header .main-nav{
    /* puede tener scroll SOLO cuando está abierto */
    overflow-y: auto;
  }
  .site-header[data-drawer="closed"] .main-nav{
    overflow: hidden;
  }
}

/* Sticky footer layout (por si no lo tenías aún) */
body{ display:flex; flex-direction:column; min-height:100dvh; }
.footer{ flex-shrink:0; }
.site-content > :last-child{ margin-bottom:0 !important; }

/* ===== Botón flotante de soporte (WhatsApp) ===== */
.support-fab{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:40;

  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:10px 16px;
  border-radius:999px;
  border:none;

  background:#25D366;           /* color WhatsApp */
  color:#fff;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 10px 30px rgba(15,23,42,.35);
  cursor:pointer;
}

.support-fab:hover{
  background:#22c55e;
}

/* Icono */
.support-fab .wa-icon{
  width:20px;
  height:20px;
  display:block;
}
.support-fab .wa-icon svg{
  width:100%;
  height:100%;
  fill:#fff;
}

/* En móviles, solo el círculo (sin texto) */
@media (max-width:640px){
  .support-fab{
    padding:10px;
  }
  .support-fab-label{
    display:none;
  }
}
