/* ===== BASE & RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ===== NAV ===== */
#nav { transition: box-shadow 0.3s ease, background 0.3s ease; }
#nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); background: rgba(255,255,255,0.97); }

/* ===== MOBILE MENU ===== */
#mobileMenu { transition: opacity 0.3s ease, visibility 0.3s ease; }
#mobileMenu.open { display: flex; opacity: 1; visibility: visible; }
#mobileMenu.closed { opacity: 0; visibility: hidden; }

/* ===== BLOB ANIMATIONS ===== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-coral { background: #F4845F; }
.blob-charcoal { background: #353547; }
.blob:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.blob:nth-child(3) { animation-delay: -5s; animation-duration: 12s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== SCROLL REVEAL ===== */
.reveal-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reduced motion: keep everything visible */
@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .blob { animation: none; }
}

/* ===== FAQ ===== */
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease; }
.faq-item.open .faq-content { max-height: 300px; }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* ===== FOCUS STYLES ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #F4845F;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFF4F0; }
::-webkit-scrollbar-thumb { background: #D4D4DC; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #A1A1B0; }
