/* SERVICES PAGE ONLY — retains the shared header, footer, colors and fonts.
   Add or remove article.service-card elements in services.html to edit departments. */
.services-section {
  padding: 64px 0 84px;
  background: #f4f7f8;
}
.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 36px;
}
.services-intro h2 {
  font-size: 34px;
  margin: 0;
}
.services-intro .eyebrow {
  margin-bottom: 12px;
}
.services-intro > p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
/* Row-based grid keeps department reading order predictable. */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: 6px;
  padding: 26px;
  scroll-margin-top: 85px;
}
.service-card-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 21px;
  margin-bottom: 17px;
  border-bottom: 1px solid #e7eef0;
  min-height: 80px;
}
.service-icon {
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--teal);
  background: #edf7f5;
}
.service-icon svg {
  width: 27px;
  height: 27px;
}
.service-card h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: break-word;
}
.service-bullets {
  padding: 0 0 0 19px;
  margin: 0;
}
.service-bullets li {
  padding: 5px 0 5px 3px;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: break-word;
}
.service-bullets li::marker {
  color: var(--teal);
  font-size: 0.75em;
}
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .services-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .services-intro > p {
    max-width: none;
  }
}
@media (max-width: 640px) {
  .services-section {
    padding: 42px 0 55px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-intro h2 {
    font-size: 28px;
  }
  .service-card {
    padding: 23px;
  }
  .service-card-heading {
    min-height: 0;
  }
}
