/* aba-therapy-services.css — page-specific styles only; tokens and components come from tokens.css and components.css */

/* ── Section A: Programme Hub ────────────────────────────────────────── */

.hub-services {
  background: var(--bg-section);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hub-services__heading {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-heading);
  text-align: center;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.hub-services__lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--clr-body);
}

.hub-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* svc-card styles are in components.css */

/* ── Section B: How We Support ───────────────────────────────────────── */

.hub-how {
  background: var(--bg-section);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hub-how__heading {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-heading);
  text-align: center;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.hub-how__lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--clr-body);
}

.hub-how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.hub-how__item {
  background: var(--bg-page);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.hub-how__icon {
  height: 160px;
  overflow: hidden;
}

.hub-how__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg-page);
}

.hub-how__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-heading);
  margin: 0.75rem 1rem 0.6rem;
  text-wrap: balance;
}

.hub-how__item p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--clr-body);
  margin: 0 1rem 1rem;
}

.hub-how__item a {
  color: var(--secondary);
  font-weight: 700;
}

/* ── Section C: What to Expect ───────────────────────────────────────── */

.hub-steps {
  background: var(--bg-page);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hub-steps__heading {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-heading);
  text-align: center;
  margin: 0 0 2.5rem;
  text-wrap: balance;
}

.hub-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hub-step {
  background: var(--bg-section);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.hub-step__number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-page);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.hub-step__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-heading);
  margin: 0 0 0.6rem;
  text-wrap: balance;
}

.hub-step__text {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--clr-body);
  margin: 0;
}

.hub-step__text a {
  color: var(--secondary);
  font-weight: 700;
}

.hub-insurance {
  border-top: 2px solid var(--bg-section);
  padding-top: 2rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--clr-body);
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .hub-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .hub-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-how__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hub-services__grid {
    grid-auto-flow: column;
    grid-auto-columns: min(280px, 80vw);
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .svc-card {
    scroll-snap-align: start;
  }

  .hub-how__grid {
    grid-template-columns: 1fr;
  }

  .hub-steps__grid {
    grid-template-columns: 1fr;
  }
}
