/* Botón flotante de WhatsApp (js/whatsapp.js, 28-oct-2026). Colores de marca:
   azul #4312d8 y lima #e9ff60; el verde de WhatsApp solo en el icono del botón. */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px; border: 0; border-radius: 999px; background: #4312d8; color: #fff;
  font: 600 14px/1 Poppins, 'Segoe UI', sans-serif; box-shadow: 0 8px 24px rgba(27, 7, 89, .25); cursor: pointer;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .18s; }
.wa-float svg { color: #25d366; flex-shrink: 0; }
.wa-float:hover { background: #2f0bb0; transform: translateY(-2px); }
.wa-float:active { transform: scale(.97); }
.wa-float:focus-visible { outline: 3px solid #e9ff60; outline-offset: 3px; }
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 14px; }
  .wa-float__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Portada en móvil: por encima de la barra fija «Crear cuenta» */
@media (max-width: 899px) { body.con-fijo .wa-float { bottom: calc(92px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } .wa-float:hover { transform: none; } }

.wa-dlg { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 20px; color: #1b0759;
  box-shadow: 0 24px 60px rgba(27, 7, 89, .3); font-family: Poppins, 'Segoe UI', sans-serif; }
.wa-dlg::backdrop { background: rgba(27, 7, 89, .45); }
.wa-dlg__form { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 22px; }
.wa-dlg__x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 999px;
  background: transparent; color: #55577a; font-size: 24px; line-height: 1; cursor: pointer; }
.wa-dlg__x:hover { background: #f2f2f2; color: #4312d8; }
.wa-dlg__title { margin: 0 36px 0 0; font-size: 20px; line-height: 1.3; font-weight: 700; color: #4312d8; }
.wa-dlg__lead { margin: 0 0 4px; font-size: 13px; line-height: 1.55; color: #55577a; }
.wa-dlg__lbl { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.wa-dlg__lbl input, .wa-dlg__lbl textarea { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid #d6d3dc;
  border-radius: 10px; background: #f8f8f8; color: #1b0759; font: 400 14px/1.45 Poppins, 'Segoe UI', sans-serif; }
.wa-dlg__lbl input:focus, .wa-dlg__lbl textarea:focus { outline: 2px solid #4312d8; outline-offset: 1px; background: #fff; }
.wa-dlg__err { margin: 0; padding: 8px 12px; border-radius: 8px; background: #ffdad6; color: #ba1a1a; font-size: 13px; }
.wa-dlg__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 13px 24px;
  border: 0; border-radius: 999px; background: #e9ff60; color: #4312d8; font: 600 15px/1 Poppins, 'Segoe UI', sans-serif; cursor: pointer; }
.wa-dlg__go svg { color: #4312d8; }
.wa-dlg__go:hover { background: #d4ec3c; }
.wa-dlg__go:focus-visible, .wa-dlg__x:focus-visible { outline: 2px solid #4312d8; outline-offset: 3px; }
.wa-dlg__small { margin: 0; font-size: 12px; line-height: 1.5; color: #55577a; text-align: center; }
.wa-dlg__small a { color: #4312d8; font-weight: 600; }
