/* ==========================================================================
   Services index (/categories)

   The page lists every active service category, read from the directory, and
   links each one to the directory filtered to that category. The cards are
   scoped to .services-index so they cannot leak into the other pages that
   reuse the theme's own box styles.
   ========================================================================== */

.services-index .section-title {
  margin-bottom: 14px;
}

.services-index__intro {
  max-width: 720px;
  margin: 0 auto 40px;
  color: #6b7280;
  font-size: 16px;
  line-height: 26px;
}

.services-index__empty {
  margin: 0 0 30px;
  color: #6b7280;
  font-size: 16px;
}

.services-index .service-card {
  display: block;
  height: 100%;
  margin-bottom: 30px;
  padding: 24px 18px;
  border: 1px solid #eef1f6;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(37, 37, 37, 0.05);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services-index .service-card:hover,
.services-index .service-card:focus {
  transform: translateY(-4px);
  border-color: #0076d7;
  box-shadow: 0 12px 26px rgba(0, 118, 215, 0.15);
}

.services-index .service-card__icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  object-fit: contain;
}

.services-index .service-card__title {
  margin-bottom: 6px;
  color: #333;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
}

.services-index .service-card__count {
  color: #8898aa;
  font-size: 13px;
}

.services-index__cta {
  margin-top: 10px;
}
