  /* ── Base ── */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { margin: 0; }
  img { max-width: 100%; display: block; }

  /* ── Selection ── */
  ::selection { background: rgba(52, 192, 90, 0.3); color: #f0f4f8; }

  /* ── Scrollbar ── */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #0a1a2e; }
  ::-webkit-scrollbar-thumb { background: #243b53; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #334e68; }

  /* ── Nav transition ── */
  #nav.scrolled {
    background: rgba(10, 26, 46, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* ── Service card hover lift ── */
  .service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .service-card:hover {
    transform: translateY(-4px);
  }

  /* ── Showcase card ── */
  .showcase-card {
    cursor: pointer;
  }

  /* ── Reduced motion ── */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .service-card, .showcase-card img { transition: none; }
    .showcase-card img { transform: none !important; }
    .service-card:hover { transform: none; }
  }

  /* ── Focus visible ── */
  :focus-visible {
    outline: 2px solid #34c05a;
    outline-offset: 2px;
  }
</style>
