/* WhatsApp click-to-chat widget ------------------------------------------*/
.wa-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 30px rgba(0,0,0,0.28); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }
.wa-fab .wa-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.55;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab .wa-ping { animation: none; display: none; } }

.wa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,31,51,0.55);
  backdrop-filter: blur(2px);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 26px;
}
.wa-overlay.wa-open { display: flex; }
@media (max-width: 560px) {
  .wa-overlay { align-items: flex-end; justify-content: center; padding: 0; }
}

.wa-modal {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  animation: wa-rise .25s ease;
}
@keyframes wa-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .wa-modal { animation: none; } }
@media (max-width: 560px) { .wa-modal { max-width: 100%; border-radius: 12px 12px 0 0; } }

.wa-modal-head {
  background: #075E54;
  color: #fff;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.wa-modal-head .wa-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #8cc63f;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-modal-head .wa-avatar svg { width: 22px; height: 22px; fill: #fff; }
.wa-modal-head h3 { margin: 0; font-size: 1rem; color: #fff; }
.wa-modal-head p { margin: 2px 0 0; font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.wa-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 4px;
}
.wa-close svg { width: 18px; height: 18px; }

.wa-modal-body {
  padding: 22px;
  background: #ECE5DD;
}
.wa-modal-body .wa-note {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: #0a0a0a;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.wa-modal-body label {
  color: #4a5248;
  margin-bottom: 6px;
  display: block;
  font-size: 0.88rem;
}
.wa-modal-body input,
.wa-modal-body select,
.wa-modal-body textarea {
  background: #fff;
  margin-bottom: 14px;
  width: 100%;
  border: 1px solid #d4dbd0;
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  box-sizing: border-box;
}
.wa-send-btn {
  width: 100%;
  justify-content: center;
  background: #25D366;
  border: none;
  padding: 13px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wa-send-btn:hover { background: #1DA851; }
.wa-send-btn svg { width: 16px; height: 16px; }
