/* ================================================
   After School ABA — 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: WHAT IS AFTER SCHOOL ABA?
   bg: var(--clr-teal) — teal brand colour
================================================ */
.as-intro {
  background: var(--clr-teal);
  color: var(--clr-white);
  padding: var(--section-pad) 0;
}
.as-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-3);
  align-items: center;
}
.as-intro__heading {
  font-size: var(--text-h2); font-weight: var(--weight-h2);
  color: var(--clr-white); margin-bottom: 12px; text-wrap: balance;
}
.as-intro__sub {
  font-size: var(--text-h3); font-weight: var(--weight-h3);
  color: var(--clr-white); margin-bottom: 20px;
  opacity: 0.9; text-wrap: balance;
}
.as-intro__content p {
  font-size: var(--text-base); color: var(--clr-white);
  line-height: 1.75; margin-bottom: 16px;
}
.as-intro__content p:last-of-type { margin-bottom: 28px; }
.as-intro__media img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: var(--clr-teal);
}

/* ================================================
   SECTION B: HELPING CHILDREN UNDER 6 BUILD SKILLS
   bg: var(--bg-section) light teal
================================================ */
.as-skills {
  background: var(--bg-section);
  padding: var(--section-pad) 0;
}
.as-skills__heading {
  font-size: var(--text-h2); font-weight: var(--weight-h2);
  color: var(--clr-ink); margin-bottom: 16px; text-wrap: balance;
}
.as-skills__intro {
  font-size: var(--text-base); color: var(--clr-ink-muted);
  line-height: 1.75; max-width: 680px; margin-bottom: 40px;
  text-wrap: pretty;
}
.as-skills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-2);
}
.as-skills__card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--pad-card);
  border-top: 3px solid var(--primary);
}
.as-skills__card-title {
  font-size: var(--text-h3); font-weight: var(--weight-h3);
  color: var(--clr-ink); margin-bottom: 20px; text-wrap: balance;
}
.as-skills__list li {
  font-size: var(--text-base); color: var(--text-body);
  line-height: 1.6; padding: 8px 0 8px 20px; position: relative;
  border-bottom: 1px solid var(--border);
}
.as-skills__list li:last-child { border-bottom: none; }
.as-skills__list li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ================================================
   SECTION C: HYBRID SERVICES ALSO AVAILABLE
   bg: var(--bg-page) white
================================================ */
.as-hybrid {
  background: var(--bg-page);
  padding: var(--section-pad) 0;
}
.as-hybrid__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-3);
  align-items: center;
}
.as-hybrid__heading {
  font-size: var(--text-h2); font-weight: var(--weight-h2);
  color: var(--clr-ink); margin-bottom: 20px; text-wrap: balance;
}
.as-hybrid__content p {
  font-size: var(--text-base); color: var(--text-body);
  line-height: 1.75;
}
.as-hybrid__content a { color: var(--clr-teal); font-weight: 700; }
.as-hybrid__content a:hover { color: var(--clr-teal-dark); }
.as-hybrid__callout {
  background: var(--clr-teal-pale);
  border: 1px solid var(--clr-teal-mid);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex; flex-direction: column; gap: 12px;
}
.as-hybrid__callout-label {
  font-family: var(--font-head);
  font-size: var(--text-label); font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--clr-ink);
}
.as-hybrid__callout-body {
  font-size: var(--text-base); color: var(--text-body); line-height: 1.6;
}
.as-hybrid__callout .btn { align-self: flex-start; }

/* ================================================
   SECTION D: AFTER SCHOOL ABA — WHAT TO EXPECT
   bg: var(--bg-section) light teal
================================================ */
.as-steps {
  background: var(--bg-section);
  padding: var(--section-pad) 0;
}
.as-steps__heading {
  font-size: var(--text-h2); font-weight: var(--weight-h2);
  color: var(--clr-ink); margin-bottom: 40px; text-wrap: balance;
}
.as-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-2);
}
.as-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-page);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.as-step:nth-child(4) { grid-column: 1; }
.as-step:nth-child(5) { grid-column: 2; }
.as-step__num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--clr-teal);
  color: var(--clr-white);
  font-family: var(--font-head); font-weight: 900; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.as-step__body h3 {
  font-size: var(--text-h3); font-weight: var(--weight-h3);
  color: var(--clr-ink); margin-bottom: 8px;
}
.as-step__body p {
  font-size: var(--text-sm); color: var(--text-body); line-height: 1.7;
}
.as-step__body a { color: var(--clr-teal); }
.as-step__body a:hover { color: var(--clr-teal-dark); }

/* ================================================
   SECTION E: WHY FAMILIES CHOOSE FIRST STEPS
   bg: var(--bg-page) white
================================================ */
.as-why {
  background: var(--bg-page);
  padding: var(--section-pad) 0;
}
.as-why__inner { }
.as-why__heading {
  font-size: var(--text-h2); font-weight: var(--weight-h2);
  color: var(--clr-ink); margin-bottom: 20px; text-wrap: balance;
}
.as-why__lead {
  font-size: var(--text-base); color: var(--text-body);
  line-height: 1.75; margin-bottom: 28px; text-wrap: pretty;
}
.as-why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.as-why__list li {
  font-size: var(--text-base); color: var(--text-body);
  line-height: 1.6; padding-left: 20px; position: relative;
}
.as-why__list li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { display: none; }
  .as-intro__inner { grid-template-columns: 1fr; }
  .as-intro__media { display: none; }
  .as-hybrid__inner { grid-template-columns: 1fr; }
  .as-steps__grid { grid-template-columns: 1fr 1fr; }
  .as-step:nth-child(4),
  .as-step:nth-child(5) { grid-column: auto; }
  .as-why__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .as-skills__grid { grid-template-columns: 1fr; }
  .as-steps__grid { grid-template-columns: 1fr; }
  .as-step:nth-child(4),
  .as-step:nth-child(5) { grid-column: auto; }
}
