/* ══════════════════════════════════════════════
   early-years.css — Early Years page styles
   Accent: var(--pink) | Alt bg: var(--pink-pale)
   ══════════════════════════════════════════════ */

/* ── All split images on this page are real — disable the pending overlay ── */
.split-img::after { display: none; }
.split-img img    { opacity: 1; }

/* ── Page Hero ── */
.main-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding-top: 72px;
}

.main-hero-overlay {
  position: absolute;
  inset: 0;
}

.main-hero-copy {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 640px;
}

.main-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 20px;
}

.main-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.main-hero-h {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 20px;
}

.main-hero-sub {
  font-size: clamp(15px, 1.8vw, 19px);
  color: rgba(255, 255, 255, .88);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.main-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Page Sections ── */
.pg-section {
  padding: 80px 0;
}

.pg-section--alt {
  background: var(--pink-pale);
  padding: 80px 0;
}

.pg-section--center {
  text-align: center;
}

.pg-section--center .section-body {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.pg-section--warm {
  background: var(--off-white);
  padding: 80px 0;
}

.pg-section--dark {
  background: var(--dark);
  padding: 80px 0;
}

/* ── Age Bands ── */
.age-bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* ── Age bands split layout (text left, cards right) ── */
.age-bands-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.age-bands-split-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.age-bands-grid-21 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Third card spans full width and is centred */
.age-band-card--solo {
  grid-column: 1 / -1;
  max-width: calc(50% - 7px);
  margin: 0 auto;
  width: 100%;
}

/* Smaller card variant */
.age-band-card--sm {
  padding: 20px 18px;
}

.age-band-card--sm .age-band-name {
  font-size: 20px;
}

.age-band-card--sm .age-band-ratio-num {
  font-size: 32px;
}

.age-band-card--sm .age-band-ratio-label,
.age-band-card--sm .age-band-desc {
  font-size: 12px;
}

.age-band-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border-top: 5px solid var(--pink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.age-band-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pink);
  margin-bottom: 8px;
}

.age-band-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--dark);
}

.age-band-ages {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 20px;
}

.age-band-ratio {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.age-band-ratio-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--pink);
  line-height: 1;
}

.age-band-ratio-label {
  font-size: 13px;
  color: var(--gray-text);
}

.age-band-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.55;
}

/* ── Highlight Quote ── */
.pg-highlight {
  background: var(--pink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.pg-highlight p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 400;
  line-height: 1.45;
  font-style: italic;
}

/* ── Sessions Grid ── */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.session-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border-left: 4px solid var(--pink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.session-type {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pink);
  margin-bottom: 6px;
}

.session-time {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 4px;
}

.session-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ── Enrichment Pills ── */
.enrichment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.enrichment-pill {
  background: var(--pink-pale);
  color: var(--pink);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
}

/* ── Pathway Next ── */
/* ── Pathway split: text left, card right ── */
.pathway-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.pathway-split-copy {
  display: flex;
  flex-direction: column;
}

.pathway-next--green {
  background: var(--green) !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.pathway-next--green .pathway-next-btns {
  flex-direction: row;
  flex-wrap: wrap;
}

.pathway-next {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  margin-top: 40px;
}

.pathway-next-copy {
  flex: 1;
}

.pathway-next-copy h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}

.pathway-next-copy p {
  font-size: 15px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.65;
  max-width: 520px;
}

.pathway-next-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .age-bands {
    grid-template-columns: 1fr;
  }

  .age-bands-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .age-bands-grid-21 {
    grid-template-columns: 1fr 1fr;
  }

  .age-band-card--solo {
    max-width: calc(50% - 7px);
  }

  .sessions-grid {
    grid-template-columns: 1fr;
  }

  .pg-highlight {
    padding: 32px 24px;
  }

  .pathway-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pathway-next {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 24px;
  }

  .pathway-next-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
