  /* ─── Base ─── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  ::selection { background: rgba(13, 148, 136, 0.2); }

  /* ─── Scroll Reveal ─── */
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
      opacity: 0;
      transform: translateY(24px);
    }
    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ─── Hero Animations ─── */
  @media (prefers-reduced-motion: no-preference) {
    .hero-sub { animation: fadeUp 0.8s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
    .hero-title { animation: fadeUp 0.8s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
    .hero-desc { animation: fadeUp 0.8s 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
    .hero-cta { animation: fadeUp 0.8s 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ─── Navbar ─── */
  #navbar.scrolled {
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  }

  /* ─── Mobile Menu ─── */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }
  #mobile-menu.open .mobile-link {
    animation: fadeUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
  #mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
  #mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.15s; }
  #mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.2s; }
  #mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.25s; }

  /* ─── Service Cards ─── */
  .service-card {
    transition: background 0.3s ease;
  }
  .service-card:hover {
    background: #fafafa;
  }

  /* ─── Form ─── */
  input:focus, textarea:focus {
    border-color: #0d9488 !important;
  }

  /* ─── Custom Scrollbar ─── */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: #f8fafc; }
  ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
