﻿.services-page {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 72px 24px 88px;
}

.services-intro {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.services-eyebrow {
  margin: 0 0 9px;
  color: #4f7c6d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.services-intro h1 {
  margin: 0 0 18px;
  color: #245a4a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.12;
}

.services-intro > p:not(.services-eyebrow) {
  margin: 0;
  color: #4b5d55;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.75;
}

.services-jump-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.services-jump-links a {
  padding: 10px 18px;
  border: 1px solid #b9cfc6;
  border-radius: 999px;
  color: #245a4a;
  font-weight: 700;
  text-decoration: none;
}

.services-jump-links a:hover,
.services-jump-links a:focus-visible {
  color: #ffffff;
  background: #245a4a;
}

.service-section {
  margin-bottom: 32px;
  padding: 38px;
  background: #ffffff;
  border: 1px solid #dce5e1;
  border-radius: 14px;
  box-shadow: 0 7px 24px rgba(31, 55, 46, 0.07);
  scroll-margin-top: 90px;
}

.service-section-heading {
  margin-bottom: 22px;
}

.service-section-heading h2,
.service-section-heading h3 {
  margin: 0;
  color: #245a4a;
  font-family: Georgia, "Times New Roman", serif;
}

.service-section-heading h2 {
  font-size: 2rem;
}

.service-section-heading h3 {
  font-size: 1.55rem;
}

.service-prose {
  color: #3d5048;
  font-size: 1.02rem;
  line-height: 1.8;
}

.service-prose p {
  margin: 0 0 18px;
}

.service-prose p:last-child {
  margin-bottom: 0;
}

.counseling-photo {
  width: min(620px, 100%);
  margin: 28px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 7px 22px rgba(31, 55, 46, 0.1);
}

.counseling-photo img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.services-wide-photo {
  width: 100%;
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 7px 24px rgba(31, 55, 46, 0.1);
}

.services-wide-photo img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.services-detail-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  padding: 26px;
  background: #f5f9f7;
  border: 1px solid #dce8e3;
  border-radius: 10px;
}

.service-card h3,
.resource-group h4 {
  margin: 0 0 14px;
  color: #245a4a;
  font-family: Georgia, "Times New Roman", serif;
}

.service-card p {
  margin: 0 0 14px;
  color: #3d5048;
  line-height: 1.7;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.population-list {
  margin: 0;
  padding-left: 22px;
  color: #3d5048;
  line-height: 1.75;
}

.population-list li {
  padding-left: 4px;
}

.population-list li::marker {
  color: #4f7c6d;
}

.therapy-resources {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid #dce5e1;
}

.resource-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.resource-group {
  padding: 24px;
  background: #f8faf9;
  border-radius: 10px;
}

.resource-group ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
}

.resource-group li + li {
  margin-top: 10px;
}

.resource-group a {
  color: #245a4a;
  text-underline-offset: 3px;
}

.resource-group a:hover,
.resource-group a:focus-visible {
  color: #173f33;
}

.supervision-section {
  background: #eef5f2;
}

.supervision-layout {
  display: block;
}

@media (max-width: 760px) {
  .services-page {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .service-section {
    padding: 28px 22px;
  }

  .services-detail-grid,
  .resource-columns {
    grid-template-columns: 1fr;
  }

  .counseling-photo img,
  .services-wide-photo img {
    max-height: none;
  }
}



