html {
  scroll-behavior: smooth;
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}
.faq-answer.open {
  max-height: 400px;
  opacity: 1;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-icon.rotated {
  transform: rotate(180deg);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* WhatsApp float button mobile */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  display: none;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  animation: pulse-wa 2.5s infinite;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 8px 40px rgba(37,211,102,0.7); }
}
@media (max-width: 768px) {
  .wa-float { display: flex; }
}

/* Sticky bottom bar mobile */
.sticky-cta {
  display: none;
}
@media (max-width: 640px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }
}

/* WhatsApp green overrides */
.btn-wa {
  background-color: #25D366;
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 9999px;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-wa:hover {
  background-color: #1ebe5a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.btn-wa:active {
  transform: translateY(0);
}

/* Before/after card */
.ba-before {
  background: #fef2f2;
  border-left: 3px solid #ef4444;
}
.ba-after {
  background: #f0fdf4;
  border-left: 3px solid #22c55e;
}

/* Highlight badge */
.highlight-badge {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #14532d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
}

/* Nav scroll shadow */
#navbar.scrolled {
  box-shadow: 0 1px 16px rgba(0,0,0,0.08);
}

/* Quote card */
.quote-card {
  position: relative;
}
.quote-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 4rem;
  color: #86efac;
  font-family: Georgia, serif;
  line-height: 1;
}
