.gaic-whatsapp-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: #25d366;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(10, 92, 46, 0.42), 0 0 0 0 rgba(37, 211, 102, 0.58);
  cursor: pointer;
  animation: gaic-whatsapp-pulse 2.1s ease-out infinite;
}

.gaic-whatsapp-launcher:hover,
.gaic-whatsapp-launcher:focus-visible {
  background: #1ebc5b;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.gaic-whatsapp-launcher svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.gaic-whatsapp-launcher__badge {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 13px;
  height: 13px;
  background: #e4b948;
  border: 2px solid #111722;
  border-radius: 50%;
}

.gaic-whatsapp-dialog[hidden] {
  display: none;
}

.gaic-whatsapp-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  align-items: end;
  justify-items: end;
  padding: 24px;
  background: rgba(4, 9, 16, 0.55);
}

.gaic-whatsapp-dialog__panel {
  position: relative;
  width: min(100%, 392px);
  padding: 28px;
  color: #f7f5ee;
  background: #10151c;
  border: 1px solid rgba(220, 176, 75, 0.5);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.gaic-whatsapp-dialog__header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-right: 32px;
  margin-bottom: 20px;
}

.gaic-whatsapp-dialog__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
}

.gaic-whatsapp-dialog__mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.gaic-whatsapp-dialog h2 {
  margin: 0;
  color: #f0ca69;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.gaic-whatsapp-dialog p {
  margin: 5px 0 0;
  color: rgba(247, 245, 238, 0.76);
  font-size: 0.88rem;
  line-height: 1.45;
}

.gaic-whatsapp-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 31px;
  height: 31px;
  padding: 0;
  color: #f7f5ee;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.gaic-whatsapp-close:hover,
.gaic-whatsapp-close:focus-visible {
  color: #f0ca69;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.gaic-whatsapp-form {
  display: grid;
  gap: 13px;
}

.gaic-whatsapp-form label {
  display: grid;
  gap: 6px;
  color: #f7f5ee;
  font-size: 0.82rem;
  font-weight: 700;
}

.gaic-whatsapp-form input,
.gaic-whatsapp-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 11px;
  color: #f7f5ee;
  font: inherit;
  background: #171f29;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.gaic-whatsapp-form input:focus,
.gaic-whatsapp-form textarea:focus {
  border-color: #e1b647;
  outline: 2px solid rgba(225, 182, 71, 0.18);
}

.gaic-whatsapp-form textarea {
  min-height: 92px;
  resize: vertical;
}

.gaic-whatsapp-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  background: #25d366;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.gaic-whatsapp-submit:hover,
.gaic-whatsapp-submit:focus-visible {
  background: #1ebc5b;
  outline: 2px solid rgba(225, 182, 71, 0.6);
  outline-offset: 2px;
}

@keyframes gaic-whatsapp-pulse {
  0%, 58% { box-shadow: 0 8px 22px rgba(10, 92, 46, 0.42), 0 0 0 0 rgba(37, 211, 102, 0.58); }
  72% { box-shadow: 0 8px 22px rgba(10, 92, 46, 0.42), 0 0 0 13px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 22px rgba(10, 92, 46, 0.42), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
  .gaic-whatsapp-launcher { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .gaic-whatsapp-dialog { align-items: end; padding: 12px; }
  .gaic-whatsapp-dialog__panel { max-height: calc(100vh - 24px); padding: 23px 20px; overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .gaic-whatsapp-launcher { animation: none; }
  .gaic-whatsapp-launcher:hover, .gaic-whatsapp-launcher:focus-visible { transform: none; }
}
