/* Flamingo — WhatsApp buttons & floating action */

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
  filter: brightness(1.05);
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.98);
}

.btn-whatsapp.btn-outline {
  background: transparent;
  color: #25d366 !important;
  border: 1.5px solid rgba(37, 211, 102, 0.55);
  box-shadow: none;
}

.btn-whatsapp.btn-outline:hover {
  background: rgba(37, 211, 102, 0.12);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

[data-theme="light"] .btn-whatsapp.btn-outline {
  color: #128c7e !important;
}

.nav-cta.btn-whatsapp {
  white-space: nowrap;
}

.sd-btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.sd-btn-whatsapp:hover {
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
  filter: brightness(1.05);
}

/* Floating button */
.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.wa-fab svg {
  width: 28px;
  height: 28px;
}

.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: wa-pulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

.wa-fab:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.wa-fab:active {
  transform: scale(0.95);
}

body:has(.back-to-top.visible) .wa-fab,
body:has(#backToTop.visible) .wa-fab {
  bottom: 88px;
}

@media (max-width: 768px) {
  .wa-fab {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .wa-fab svg {
    width: 26px;
    height: 26px;
  }
}

/* Footer contact */
.footer-grid--modern {
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.footer-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact-line:hover {
  color: var(--accent-cyan);
}

.footer-contact-icon {
  font-size: 1rem;
  line-height: 1;
}

.footer-bottom--single {
  text-align: center;
  padding-top: 28px;
  margin-top: 8px;
}

.footer-bottom--single p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .footer-grid--modern {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid--modern {
    grid-template-columns: 1fr;
  }
}
