/* Contacto flotante: el enlace funciona también sin JavaScript. */
whatsapp-contact { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: inherit; }
whatsapp-contact [hidden] { display: none !important; }
whatsapp-contact .whatsapp-contact__message { position: relative; width: min(340px, calc(100vw - 32px)); box-sizing: border-box; padding: 20px 46px 20px 20px; border: 0; border-radius: 18px; background: #fff; color: var(--lp-ink, #071A31); box-shadow: 0 12px 40px rgb(7 26 49 / 16%); }
whatsapp-contact .whatsapp-contact__message::after { content: ""; position: absolute; right: 28px; bottom: -5px; width: 12px; height: 12px; transform: rotate(45deg); background: #fff; }
whatsapp-contact .whatsapp-contact__message p { margin: 0 0 10px; font-size: 18px; line-height: 1.3; font-weight: 600; }
whatsapp-contact .whatsapp-contact__message a { display: inline-block; color: #007F5F; font-size: 15px; line-height: 1.4; font-weight: 600; text-decoration: none; }
whatsapp-contact .whatsapp-contact__message a:hover { text-decoration: underline; }
whatsapp-contact .whatsapp-contact__close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 50%; background: transparent; color: #526177; cursor: pointer; }
whatsapp-contact .whatsapp-contact__close:hover { background: #D9ECFF; color: #071A31; }
whatsapp-contact .whatsapp-contact__close svg { width: 18px; height: 18px; }
whatsapp-contact .whatsapp-contact__button { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border: 0; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 8px 24px rgb(7 26 49 / 20%); transition: background .16s ease, transform .16s ease; }
whatsapp-contact .whatsapp-contact__button svg { width: 40px; height: 40px; }
whatsapp-contact .whatsapp-contact__button:hover { background: #20BD5A; transform: translateY(-2px); }
whatsapp-contact :is(a, button):focus-visible { outline: 3px solid #007F5F; outline-offset: 4px; }
@media (max-width: 600px) {
  whatsapp-contact { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  whatsapp-contact .whatsapp-contact__button { width: 64px; height: 64px; }
  whatsapp-contact .whatsapp-contact__button svg { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { whatsapp-contact .whatsapp-contact__button { transition: none; transform: none; } }
