*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* NAVBAR SCROLL */
#site-header { background: transparent; }
#site-header.scrolled { background: rgba(9, 23, 92, 0.95); backdrop-filter: blur(12px); box-shadow: 0 4px 30px rgba(0,0,0,0.15); }

/* HERO ORBS */
.hero-orb { animation: orbFloat 8s ease-in-out infinite; }
.orb-2 { animation-delay: -3s; animation-duration: 10s; }
.orb-3 { animation-delay: -5s; animation-duration: 12s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* SCROLL REVEAL — progressive enhancement, only activates with JS */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* FAQ */
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-content { max-height: 300px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* MOBILE LINKS */
.mobile-link { display: block; }

/* SUBTLE ANIMATIONS */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.service-card { will-change: transform; }

/* SELECTION */
::selection { background: rgba(252, 175, 69, 0.3); color: #0d2189; }

/* FOCUS */
:focus-visible { outline: 2px solid #ffc107; outline-offset: 2px; border-radius: 4px; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f3ff; }
::-webkit-scrollbar-thumb { background: #d9e0ff; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #bcc8ff; }
