/* Suburb intro band — service notes, insights cards, How It Works hovers
   Linked on Kanata, Stittsville, Manotick tier-1 pages */

@media (hover: hover) {
  .nepean-service-notes.content-box {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  }
  .nepean-service-notes.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0, 40, 100, 0.14);
    border-color: #b8d4f5;
    border-left-color: #ff6600;
  }

  .nepean-service-notes-aside {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  }
  .nepean-service-notes-aside:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 102, 204, 0.12);
    border-color: #0066cc;
    background: #e4f0ff;
  }

  .nepean-issue-tags li {
    transition: transform 0.25s ease, color 0.25s ease;
  }
  .nepean-issue-tags li:hover {
    transform: translateX(5px);
    color: #0066cc;
  }
  .nepean-issue-tags li:hover::before {
    background: #0066cc;
    transform: scale(1.25);
  }
  .nepean-issue-tags li::before {
    transition: background 0.25s ease, transform 0.25s ease;
  }

  .suburb-insights-card {
    transition: transform 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.1),
      box-shadow 0.32s ease,
      border-color 0.32s ease;
  }
  .suburb-insights-grid .suburb-insights-card:nth-child(1):hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 38px rgba(0, 102, 204, 0.14);
    border-color: #0066cc !important;
  }
  .suburb-insights-grid .suburb-insights-card:nth-child(2):hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 38px rgba(255, 102, 0, 0.14);
    border-color: #ff6600 !important;
  }
  .suburb-insights-grid .suburb-insights-card:nth-child(3):hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 38px rgba(37, 211, 102, 0.14);
    border-color: #25D366 !important;
  }

  .hiw-step {
    transition: transform 0.3s ease;
  }
  .hiw-step:hover {
    transform: translateY(-3px);
  }
  .hiw-step-number {
    transition: box-shadow 0.3s ease;
  }
  .hiw-step:hover .hiw-step-number {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  }
  .hiw-step-detail {
    transition: box-shadow 0.25s ease;
  }
  .hiw-step:hover .hiw-step-detail {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nepean-service-notes.content-box,
  .nepean-service-notes-aside,
  .nepean-issue-tags li,
  .suburb-insights-card,
  .hiw-step,
  .hiw-step-number,
  .hiw-step-detail {
    transition: none !important;
  }
}
