/* cards.css — section head + card grid pattern, reused by Problem and Services. */

.head {
  max-width: 64ch;
  margin-bottom: 44px;
}
.head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.head.center .eyebrow {
  justify-content: center;
}
.head.center .lede {
  margin-left: auto;
  margin-right: auto;
}
.head h2 {
  font-size: var(--h2);
  margin-bottom: 14px;
}

.grid {
  display: grid;
  gap: 24px;
}
.g3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--card-pad);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.section--alt .card {
  background: #fff;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sage);
}
.card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--alt-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 {
  font-size: var(--h3);
  margin-bottom: 10px;
}
.card p {
  color: var(--soft-text);
  font-size: var(--body);
}

@media (max-width: 900px) {
  .g3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .g3 {
    grid-template-columns: 1fr;
  }
}
