/* ============================================================
   footer.css — Footer
   ============================================================ */

footer {
  background: var(--surface-dark);
  color: white;
  padding-top: 4rem;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-transform: capitalize;
  transition: color 0.2s;
  display: block;
}

.footer-nav-link:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================================
   whatsapp.css — WhatsApp Floating Button
   ============================================================ */

#whatsapp-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

#whatsapp-popup {
  display: none;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  width: 18rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

#whatsapp-popup.open {
  display: block;
}

.wa-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #25D366;
}

.wa-popup-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-popup-body {
  padding: 1rem;
  background: #f0f4f8;
}

.wa-bubble {
  background: white;
  border-radius: 0.75rem;
  border-top-left-radius: 0;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  max-width: 85%;
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
}

.wa-bubble-time {
  font-size: 0.625rem;
  color: #9ca3af;
  text-align: right;
  margin-top: 0.25rem;
}

.wa-popup-cta {
  padding: 1rem;
  background: white;
}

.wa-chat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #25D366;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.wa-chat-btn:hover {
  opacity: 0.9;
}

#whatsapp-fab {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}

#whatsapp-fab:hover {
  transform: scale(1.1);
}

#whatsapp-fab:active {
  transform: scale(0.95);
}
