/* ================================================
   School Partnership Program — page stylesheet
   All values from tokens.css; no hardcoded colours.
================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--clr-ink);
  background: var(--bg-page);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--clr-teal); }
a:hover { text-decoration: underline; color: var(--clr-teal-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; top: 0; left: 0; width: auto; height: auto;
  padding: 8px 16px; background: var(--clr-teal); color: var(--clr-white);
  font-family: var(--font-head); font-size: 14px; font-weight: 700; z-index: 9999;
}

/* ── CONTAINER ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: var(--pad-btn);
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--clr-white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--clr-teal-dark);
  border-color: var(--clr-teal-dark);
  color: var(--clr-white);
  text-decoration: none;
}
.btn--outline-light {
  background: transparent;
  color: var(--clr-white);
  border-color: var(--clr-white);
}
.btn--outline-light:hover {
  background: var(--clr-white);
  color: var(--clr-ink);
  text-decoration: none;
}
.btn--light {
  background: var(--clr-white);
  color: var(--clr-ink);
  border-color: var(--clr-white);
}
.btn--light:hover {
  background: var(--bg-section);
  color: var(--clr-ink);
  text-decoration: none;
}
.btn--large { font-size: 16px; padding: 14px 32px; }
.btn--submit {
  width: 100%; padding: 14px;
  background: var(--primary); color: var(--clr-white);
  border: none; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 800; font-size: 16px;
  cursor: pointer; transition: background 0.15s;
}
.btn--submit:hover { background: var(--clr-teal-dark); }

/* ── HERO ── */
.hero {
  background: var(--bg-hero);
  padding: 72px 0 60px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-3);
  align-items: center;
}
.hero__label {
  font-family: var(--font-head);
  font-size: var(--text-label); font-weight: 900;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clr-teal); margin-bottom: 6px;
}
.hero__sublabel {
  font-size: var(--text-sm); color: var(--clr-ink-muted);
  margin-bottom: 16px; line-height: 1.5;
}
.hero__title {
  font-size: var(--text-h1); font-weight: 900;
  color: var(--clr-ink); margin-bottom: 20px;
  text-wrap: balance;
}
.hero__lead {
  font-size: var(--text-base); color: var(--clr-ink);
  line-height: 1.75; margin-bottom: 28px; text-wrap: pretty;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}

.trust-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); display: inline-block; flex-shrink: 0;
}
.hero__media img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: var(--bg-hero);
}

/* ================================================
   SECTION A: BEHAVIORAL SUPPORT SERVICES INTRO
   bg: var(--clr-teal)
================================================ */
.sp-intro { background: var(--clr-teal); color: var(--clr-white); padding: var(--section-pad) 0; }
.sp-intro__inner { }
.sp-intro__heading { font-size: var(--text-h2); font-weight: var(--weight-h2); color: var(--clr-white); margin-bottom: 20px; text-wrap: balance; }
.sp-intro__body { font-size: var(--text-base); color: var(--clr-white); line-height: 1.75; margin-bottom: 16px; }
.sp-intro__body:last-of-type { margin-bottom: 0; }

/* ================================================
   SECTION B: SCHOOL PARTNERSHIP SERVICES
   bg: var(--bg-section)
================================================ */
.sp-services { background: var(--bg-hero); padding: var(--section-pad) 0; }
.sp-services__label { font-family: var(--font-head); font-size: var(--text-label); font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clr-teal); margin-bottom: 6px; }
.sp-services__heading { font-size: var(--text-h2); font-weight: var(--weight-h2); color: var(--clr-ink); margin-bottom: 16px; text-wrap: balance; }
.sp-services__intro { font-size: var(--text-base); color: var(--clr-ink-muted); line-height: 1.75; max-width: 680px; margin-bottom: 40px; text-wrap: pretty; }
.sp-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-2); }
.sp-services__card { background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--pad-card); border-top: 3px solid var(--primary); }
.sp-services__card img { margin-bottom: 16px; }
.sp-services__card-title { font-size: var(--text-h3); font-weight: var(--weight-h3); color: var(--clr-ink); margin-bottom: 12px; text-wrap: balance; }
.sp-services__card p { font-size: var(--text-base); color: var(--text-body); line-height: 1.7; }

/* ================================================
   SECTION C: WHO WE SUPPORT
   bg: var(--bg-page)
================================================ */
.sp-who { background: var(--bg-page); padding: var(--section-pad) 0; }
.sp-who__label { font-family: var(--font-head); font-size: var(--text-label); font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clr-teal); margin-bottom: 6px; }
.sp-who__heading { font-size: var(--text-h2); font-weight: var(--weight-h2); color: var(--clr-ink); margin-bottom: 16px; text-wrap: balance; }
.sp-who__intro { font-size: var(--text-base); color: var(--clr-ink-muted); line-height: 1.75; max-width: 680px; margin-bottom: 40px; text-wrap: pretty; }
.sp-who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-2); margin-bottom: 40px; }
.sp-who__card { background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--pad-card); }
.sp-who__card h3 { font-size: var(--text-h3); font-weight: var(--weight-h3); color: var(--clr-ink); margin-bottom: 10px; text-wrap: balance; }
.sp-who__card p { font-size: var(--text-base); color: var(--text-body); line-height: 1.7; }
.sp-focus { background: var(--bg-section); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 28px 32px; max-width: 820px; }
.sp-focus__heading { font-size: var(--text-h3); font-weight: var(--weight-h3); color: var(--clr-ink); margin-bottom: 10px; }
.sp-focus__body { font-size: var(--text-base); color: var(--text-body); line-height: 1.7; }

/* ================================================
   SECTION D: FEATURE LIST CARDS
   bg: var(--bg-section)
================================================ */
.sp-detail { background: var(--bg-section); padding: var(--section-pad) 0; }
.sp-detail__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-3); }
.sp-detail__card { background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--pad-card); }
.sp-detail__heading { font-size: var(--text-h2); font-weight: var(--weight-h2); color: var(--clr-ink); margin-bottom: 16px; text-wrap: balance; }
.sp-detail__card > p { font-size: var(--text-base); color: var(--text-body); line-height: 1.75; margin-bottom: 20px; }
.sp-feature-list { display: flex; flex-direction: column; gap: 0; }
.sp-feature-list li { font-size: var(--text-base); color: var(--text-body); line-height: 1.6; padding: 10px 0 10px 24px; position: relative; border-bottom: 1px solid var(--border); }
.sp-feature-list li:last-child { border-bottom: none; }
.sp-feature-list li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

/* ================================================
   SECTION E: CONTINUITY
   bg: var(--bg-page)
================================================ */
.sp-continuity { background: var(--bg-page); padding: var(--section-pad) 0; }
.sp-continuity__inner { }
.sp-continuity__heading { font-size: var(--text-h2); font-weight: var(--weight-h2); color: var(--clr-ink); margin-bottom: 20px; text-wrap: balance; }
.sp-continuity__body { font-size: var(--text-base); color: var(--text-body); line-height: 1.75; margin-bottom: 16px; text-wrap: pretty; }
.sp-quote { border-left: 4px solid var(--primary); background: var(--bg-section); border-radius: var(--radius); padding: 28px 32px; margin-top: 40px; }
.sp-quote p { font-size: var(--text-base); color: var(--clr-ink); line-height: 1.7; margin-bottom: 12px; font-style: italic; }
.sp-quote cite { font-size: var(--text-sm); color: var(--clr-ink-muted); font-style: normal; font-family: var(--font-head); font-weight: 700; }

/* ================================================
   SECTION F: WHY SCHOOLS PARTNER WITH US
   bg: var(--bg-section)
================================================ */
.sp-why { background: var(--bg-section); padding: var(--section-pad) 0; }
.sp-why__label { font-family: var(--font-head); font-size: var(--text-label); font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clr-teal); margin-bottom: 6px; }
.sp-why__heading { font-size: var(--text-h2); font-weight: var(--weight-h2); color: var(--clr-ink); margin-bottom: 16px; text-wrap: balance; }
.sp-why__intro { font-size: var(--text-base); color: var(--clr-ink-muted); line-height: 1.75; max-width: 680px; margin-bottom: 40px; text-wrap: pretty; }
.sp-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-2); }
.sp-why__card { background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--pad-card); }
.sp-why__card h3 { font-size: var(--text-h3); font-weight: var(--weight-h3); color: var(--clr-ink); margin-bottom: 10px; text-wrap: balance; }
.sp-why__card p { font-size: var(--text-base); color: var(--text-body); line-height: 1.7; }

/* ================================================
   SECTION G: SERVICE AREA
   bg: var(--bg-page)
================================================ */
.sp-geo { background: var(--bg-page); padding: var(--section-pad) 0; }
.sp-geo__label { font-family: var(--font-head); font-size: var(--text-label); font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clr-teal); margin-bottom: 6px; }
.sp-geo__heading { font-size: var(--text-h2); font-weight: var(--weight-h2); color: var(--clr-ink); margin-bottom: 20px; text-wrap: balance; }
.sp-geo__body { font-size: var(--text-base); color: var(--text-body); line-height: 1.75; max-width: 820px; margin-bottom: 12px; text-wrap: pretty; }
.sp-geo__note { font-size: var(--text-sm); color: var(--clr-ink-muted); line-height: 1.6; max-width: 760px; margin-bottom: 40px; }
.sp-geo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-2); }
.sp-geo__card { background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--pad-card); }
.sp-geo__card h3 { font-size: var(--text-h3); font-weight: var(--weight-h3); color: var(--clr-ink); margin-bottom: 10px; text-wrap: balance; }
.sp-geo__card p { font-size: var(--text-base); color: var(--text-body); line-height: 1.7; }

/* ── SCHOOL CONTACT BLOCK ── */
.sp-contact { background: var(--bg-section); padding: var(--section-pad-sm) 0; }
.sp-contact__inner { text-align: center; }
.sp-contact__body { font-size: var(--text-base); color: var(--clr-body); line-height: 1.75; max-width: 680px; margin: 0 auto 28px; }
.sp-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { display: none; }
  .sp-services__grid { grid-template-columns: 1fr 1fr; }
  .sp-who__grid { grid-template-columns: 1fr 1fr; }
  .sp-detail__inner { grid-template-columns: 1fr; }
  .sp-why__grid { grid-template-columns: 1fr 1fr; }
  .sp-geo__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .sp-services__grid { grid-template-columns: 1fr; }
  .sp-who__grid { grid-template-columns: 1fr; }
  .sp-why__grid { grid-template-columns: 1fr; }
  .sp-geo__grid { grid-template-columns: 1fr; }
}
