/* ─── Base & Utilities ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, sans-serif; color: #064e3b; background: #fefdf8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ─── Header ─── */
#site-header { background: rgba(254, 253, 248, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(6, 95, 70, 0.08); }
#site-header.scrolled { background: rgba(254, 253, 248, 0.95); box-shadow: 0 4px 30px rgba(6, 78, 59, 0.06); }

/* ─── Nav Links ─── */
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: #059669; border-radius: 2px; transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }

/* ─── Mobile Nav ─── */
#mobile-nav.open .absolute { animation: slideIn 0.3s ease forwards; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-nav-link { border-bottom: 1px solid rgba(6, 95, 70, 0.08); padding-bottom: 0.75rem; }

/* ─── Service Cards ─── */
.service-card { cursor: default; }

/* ─── Floating Animations ─── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes float-delayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 4.5s ease-in-out infinite 0.5s; }

/* ─── Scroll Reveal ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─── Selection ─── */
::selection { background: #a7f3d0; color: #064e3b; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fefdf8; }
::-webkit-scrollbar-thumb { background: #a7f3d0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6ee7b7; }

/* ─── Focus Visible ─── */
:focus-visible { outline: 2px solid #059669; outline-offset: 2px; border-radius: 4px; }

/* ─── Responsive tweaks ─── */
@media (max-width: 640px) {
  .font-serif { font-size: clamp(2rem, 8vw, 3rem); }
}
