.services .card {
  position: relative;
  background: #111;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 24px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.services .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  transition: background .3s;
}

.services .card h3,
.services .card p,
.services .card a {
  position: relative;
  z-index: 1;
}

.services .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.services .card:hover::before {
  background: rgba(0,0,0,0.4);
}

.service-page {
  line-height: 1.6;
}

.service-hero {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin: 16px 0;
}

