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

/* ── Navbar ── */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
#navbar.scrolled {
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(6, 95, 70, 0.08);
}

/* ── Hero Blobs ── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
  width: 500px; height: 500px;
  background: #34d399;
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: #6ee7b7;
  bottom: -50px; right: -50px;
  animation-delay: -3s;
}
.blob-3 {
  width: 250px; height: 250px;
  background: #a7f3d0;
  top: 40%; left: 60%;
  animation-delay: -5s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Process section blobs */
.process-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  animation: blobFloat 10s ease-in-out infinite;
}
.process-blob.blob-1 {
  width: 600px; height: 600px;
  background: #047857;
  top: -200px; right: -200px;
  animation-delay: -2s;
}
.process-blob.blob-2 {
  width: 400px; height: 400px;
  background: #10b981;
  bottom: -100px; left: -100px;
  animation-delay: -6s;
}

/* ── Scroll Reveal ── */
.scroll-reveal {
  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);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Mobile Menu ── */
#mobileMenu {
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
}
.mobile-link:last-child {
  border-bottom: none;
}

/* ── Select arrow ── */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

/* ── Print ── */
@media print {
  #navbar, .scroll-reveal { opacity: 1 !important; transform: none !important; }
  .hero-blob, .process-blob { display: none; }
}
