// =============================================================================
// Services Grid & Cards
// =============================================================================

.services-grid {
  margin-bottom: 2rem;
}

.service-card {
  background: var(--surface, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 0.75rem);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;

  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.1));
  }

  &__icon {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
  }

  &__image {
    margin-bottom: 1rem;
    border-radius: var(--radius-sm, 0.5rem);
    overflow: hidden;

    img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }
  }

  &__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text, #1e293b);
  }

  &__text {
    color: var(--text-muted, #64748b);
    font-size: 0.9375rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
  }

  &__link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;

    &:hover {
      color: var(--primary-dark, var(--primary));
      text-decoration: underline;
    }
  }
}

// --- Service detail page ---

.service-detail {
  max-width: 800px;

  &__image {
    img {
      max-height: 400px;
      width: 100%;
      object-fit: cover;
    }
  }
}
