/* Burbuja y ventana de WhatsApp (inc/contacto.inc.php · assets/js/contacto.js) */
.bt-wa-burbuja { position: fixed; right: 20px; bottom: 20px; z-index: 8500; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; text-decoration: none; box-shadow: 0 6px 18px rgba(1, 21, 69, 0.35); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.bt-wa-burbuja:hover, .bt-wa-burbuja:focus-visible { color: #fff; transform: scale(1.06); box-shadow: 0 8px 22px rgba(1, 21, 69, 0.45); }
.bt-wa-burbuja:focus-visible { outline: 3px solid var(--azul-secundario, #6cc4f0); outline-offset: 3px; }

.bt-wa-ventana { position: fixed; inset: 0; z-index: 9500; background: rgba(1, 21, 69, 0.6); display: flex; align-items: flex-end; justify-content: flex-end; padding: 1rem; }
.bt-wa-ventana[hidden] { display: none; }
.bt-wa-caja { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 2rem); overflow-y: auto; background: #fff; border-radius: 16px; padding: 1.5rem 1.25rem 1rem; box-shadow: 0 12px 40px rgba(1, 21, 69, 0.4); font-family: "Montserrat", sans-serif; }
.bt-wa-cerrar { position: absolute; top: 0.5rem; right: 0.75rem; border: 0; background: transparent; font-size: 1.75rem; line-height: 1; color: var(--azul-oscuro, #011545); cursor: pointer; }
.bt-wa-titulo { font-family: "Bebas Neue", sans-serif; font-size: 1.75rem; line-height: 1.1; margin: 0 2rem 0.5rem 0; color: var(--azul-oscuro, #011545); }
.bt-wa-titulo .fa-whatsapp { color: #25d366; }
.bt-wa-texto { font-size: 0.9rem; margin: 0 0 0.75rem; color: #333; }
.bt-wa-iframe { width: 100%; height: 560px; border: none; border-radius: 8px; }
.bt-wa-boton { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.5rem 0 0.75rem; padding: 0.6rem 1.4rem; border-radius: 50rem; background: #25d366; color: #fff; font-family: "Bebas Neue", sans-serif; font-size: 1.3rem; text-decoration: none; }
.bt-wa-boton:hover, .bt-wa-boton:focus-visible { background: #1ebe5b; color: #fff; }
html.bt-wa-abierta { overflow: hidden; }

@media (max-width: 575.98px) {
  .bt-wa-burbuja { right: 14px; bottom: 14px; width: 56px; height: 56px; font-size: 1.85rem; }
  .bt-wa-ventana { padding: 0; align-items: stretch; }
  .bt-wa-caja { max-width: none; max-height: none; height: 100%; border-radius: 0; padding-top: 2.5rem; }
}

/* Panel de depuración (?bt_debug=1) */
.bt-debug { position: fixed; left: 8px; bottom: 8px; z-index: 9999; max-width: 340px; padding: 6px 8px; background: rgba(0, 0, 0, 0.82); color: #9f9; font: 11px/1.4 monospace; border-radius: 6px; pointer-events: none; }
