/* ── Base & Animations ── */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in    { animation: fadeIn 0.6s ease both; }
.animate-slide-up   { animation: fadeInUp 0.7s cubic-bezier(.22,.61,.36,1) both; }
.animate-slide-up-delay { animation: fadeInUp 0.7s cubic-bezier(.22,.61,.36,1) 0.12s both; }
.animate-slide-up-delay-2 { animation: fadeInUp 0.7s cubic-bezier(.22,.61,.36,1) 0.24s both; }

/* ── Scroll Reveal ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.22,.61,.36,1), transform 0.65s cubic-bezier(.22,.61,.36,1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Header ── */
#header {
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
#header.scrolled {
  background: rgba(253, 248, 240, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(5, 150, 105, 0.08);
}

/* ── Mobile Menu ── */
#mobile-menu {
  animation: fadeIn 0.2s ease;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDF8F0; }
::-webkit-scrollbar-thumb { background: #A7F3D0; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #34D399; }

/* ── Selection ── */
::selection { background: #D1FAE5; color: #064E3B; }
