  /* ─── CUSTOM STYLES ─── */

  /* Smooth scroll */
  html {
    scroll-behavior: smooth;
  }

  /* Selection */
  ::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f1f5f9;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #020617;
  }
  ::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #334155;
  }

  /* ─── NAVBAR ─── */
  #site-header.scrolled {
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  #site-header.scrolled .menu-line {
    background: #f1f5f9;
  }

  /* ─── MOBILE MENU ─── */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  #mobile-menu.open .mobile-link {
    animation: fadeDown 0.3s ease forwards;
  }
  #mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
  #mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
  #mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
  #mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
  #mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Hamburger animation */
  #menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  #menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
  }
  #menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.5rem;
  }

  /* ─── SCROLL REVEAL ─── */
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  /* Progressive enhancement: hidden by default, revealed by JS */
  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
      opacity: 0;
      transform: translateY(30px);
    }
  }

  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger delays */
  .scroll-reveal[data-delay="1"] { transition-delay: 0.1s; }
  .scroll-reveal[data-delay="2"] { transition-delay: 0.2s; }
  .scroll-reveal[data-delay="3"] { transition-delay: 0.3s; }
  .scroll-reveal[data-delay="4"] { transition-delay: 0.4s; }

  /* ─── HERO ─── */
  #hero {
    background: #020617;
  }

  /* ─── BUTTONS ─── */
  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* ─── FORM ─── */
  input:focus,
  select:focus,
  textarea:focus {
    outline: none;
  }

  select option {
    background: #1e293b;
    color: #f1f5f9;
  }

  /* ─── MAP OVERRIDES ─── */
  iframe[src*="google.com/maps"] {
    border-radius: 0.75rem;
  }

  /* ─── UTILITY ─── */
  .text-balance {
    text-wrap: balance;
  }

  /* ─── RESPONSIVE FINE-TUNING ─── */
  @media (max-width: 640px) {
    .font-display {
      line-height: 1.1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
  }
