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

  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #fff;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0f0f0f;
  }
  ::-webkit-scrollbar-thumb {
    background: #2d2d2d;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #FF6B4A;
  }

  /* Nav scroll state */
  #nav.scrolled {
    background: rgba(8, 8, 8, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
  }

  /* Service card shimmer on hover */
  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,107,74,0.03) 0%, transparent 50%, rgba(201,168,76,0.03) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }
  .service-card:hover::before {
    opacity: 1;
  }

  /* Gold accent line animations */
  @keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }

  /* Fade-in for scroll sections (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-hidden {
      opacity: 0;
      transform: translateY(30px);
    }
    .reveal-hidden.delay-1 { transition-delay: 0.1s; }
    .reveal-hidden.delay-2 { transition-delay: 0.2s; }
    .reveal-hidden.delay-3 { transition-delay: 0.3s; }
    .reveal-hidden.delay-4 { transition-delay: 0.4s; }
    .reveal-hidden.delay-5 { transition-delay: 0.5s; }
  }

  /* Mobile menu transition */
  #mobileMenu {
    animation: slideDown 0.3s ease forwards;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Back to top button */
  #backToTop.visible {
    opacity: 1 !important;
    pointer-events: all !important;
  }

  /* Focus styles */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Image loading placeholder */
  img {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  }
