/* Khun Clean — Custom Styles */

/* Serif headings */
h1, h2, h3, .font-serif {
  font-family: 'Merriweather', Georgia, serif;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Wizard step transitions */
.wizard-step {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.wizard-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* Card selection */
.select-card {
  cursor: pointer;
  transition: all 0.2s ease;
}
.select-card:hover {
  border-color: #059669 !important; /* emerald-600 */
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}
.select-card.selected {
  border-color: #059669 !important;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}
.select-card.selected .card-check {
  display: flex;
}
.card-check {
  display: none;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #059669;
  border-radius: 9999px;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Progress bar */
.wizard-progress-fill {
  transition: width 0.4s ease;
}

/* Mobile nav */
.nav-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.nav-menu.open {
  max-height: 500px;
  opacity: 1;
}
@media (min-width: 768px) {
  .nav-menu {
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer.open {
  max-height: 500px;
}

/* Time slot buttons */
.time-slot {
  transition: all 0.15s ease;
}
.time-slot.selected {
  background-color: #059669;
  color: white;
  border-color: #059669;
}

/* CTA pulse */
@keyframes pulse-amber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}
.btn-pulse {
  animation: pulse-amber 2s infinite;
}