  *, *::before, *::after {
    box-sizing: border-box;
  }

  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);
    color: #0f766e;
  }

  /* Nav scroll state */
  nav.scrolled {
    background: rgba(8, 14, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  nav.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.7);
  }

  nav.scrolled .nav-link:hover {
    color: white;
  }

  /* Mobile menu */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Service cards */
  .service-card {
    transition: background-color 0.5s ease;
  }

  .service-card:hover {
    background-color: #f8fafc;
  }

  /* Scroll reveal (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
      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; }
  }

  /* Reduce motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* Form focus styles */
  input:focus, textarea:focus {
    outline: none;
  }

  /* Subtle hover lift on CTA buttons */
  a:hover {
    transition: all 0.3s ease;
  }

  /* Map section */
  .map-section {
    position: relative;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0f172a;
  }
  ::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
  }

  /* Button focus visible */
  button:focus-visible, a:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
  }
</style>
