  /* ===== CUSTOM STYLES ===== */

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

  /* Selection color */
  ::selection {
    background-color: #7B2430;
    color: white;
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  }

  #navbar.scrolled .font-serif,
  #navbar.scrolled a:not(.bg-burgundy-800):not(.bg-burgundy-700) {
    color: #18181b;
  }

  #navbar.scrolled .text-neutral-500,
  #navbar.scrolled .text-neutral-600 {
    color: #52525b;
  }

  /* Service card hover effect */
  .service-card {
    position: relative;
    overflow: hidden;
  }

  .service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #7B2430, #c7204f);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .service-card:hover::after {
    width: 100%;
  }

  /* Fade-in animation */
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered children */
  .stagger-children .fade-in:nth-child(1) { transition-delay: 0.05s; }
  .stagger-children .fade-in:nth-child(2) { transition-delay: 0.1s; }
  .stagger-children .fade-in:nth-child(3) { transition-delay: 0.15s; }
  .stagger-children .fade-in:nth-child(4) { transition-delay: 0.2s; }
  .stagger-children .fade-in:nth-child(5) { transition-delay: 0.25s; }
  .stagger-children .fade-in:nth-child(6) { transition-delay: 0.3s; }

  /* Image hover zoom */
  .img-zoom {
    overflow: hidden;
  }

  .img-zoom img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .img-zoom:hover img {
    transform: scale(1.05);
  }

  /* Mobile menu animation */
  #mobileMenu {
    animation: slideDown 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

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

  /* Counter animation */
  .counter {
    display: inline-block;
  }

  /* Focus visible for accessibility */
  :focus-visible {
    outline: 2px solid #7B2430;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #f4f4f5;
  }

  ::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
  }

  /* Reduce motion for accessibility */
  @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;
    }
  }
