
/* VOICE: warm, plain, for parents in Mozambique; IDEA: the school route from cot to 6th class;
   PICTURE: flat illustrations in the two logos' colours (stand-ins for photographs);
   COLOUR: white ground, school blue #1d5fa6, logo yellow #f8b318, one navy band; TYPE: Poppins 600/500/400 */
:root {
  --bg: #ffffff; --cream: #fff6dd; --sky: #eef6ff; --ink: #13294b; --muted: #55678a; --blue: #1d5fa6; --blue-d: #164c86;
  --yellow: #f8b318; --navy: #13294b; --line: rgb(19 41 75 / .12);
  --r: 20px; --r-sm: 12px; --gut: clamp(20px, 5.5vw, 80px); --max: 1280px;
  --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-io: cubic-bezier(.77, 0, .175, 1);
  --t-h1: clamp(36px, 3.4vw + 18px, 64px); --t-h2: clamp(28px, 1.6vw + 18px, 44px); --t-lead: clamp(17px, .3vw + 16px, 20px);
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 "Poppins", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.band { padding-block: clamp(72px, 9vw, 128px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--blue); }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--yellow); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink); max-width: 56ch; }
.head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* buttons: press feedback 160ms, hover gated to real pointers */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font: 500 16px/1 "Poppins", sans-serif; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--wa { background: #0f7a3c; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--blue-d); }
  .btn--ghost:hover { border-color: rgb(19 41 75 / .35); }
  .btn--wa:hover { background: #0b6631; }
  .btn:hover .arr { transform: translateX(3px); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .btn-row { flex-direction: column; } .btn-row .btn { width: 100%; } }


.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 76px; background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--line); }
.nav__bar { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #fff; }
.logo span.pair { display: inline-flex; gap: 4px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 12px; font-size: 15px; font-weight: 500; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav .btn { height: 46px; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
@media (max-width: 1023px) {
  .nav__links, .nav__bar > .btn { display: none; }
  .nav__toggle { display: grid; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; position: fixed; top: 76px; left: 0; right: 0; bottom: 0; padding: 16px var(--gut) 120px; background: #fff; gap: 0;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
  @starting-style { .nav.is-open .nav__links { opacity: 0; transform: translateY(-8px); } }
  .nav.is-open .nav__links a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__links a::after { display: none; }
  .nav.is-open > .wrap > .btn { display: inline-flex; position: fixed; left: var(--gut); right: var(--gut); bottom: 24px; }
  body.locked { overflow: hidden; }
}
@media (max-width: 479px) { .logo .name { font-size: 15px; } .logo img { width: 34px; height: 34px; } }


.hero { padding: calc(76px + clamp(32px, 5vw, 64px)) 0 clamp(48px, 6vw, 88px); background: linear-gradient(var(--bg), var(--bg)); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 24px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--cream); color: var(--ink); }
.badges li:first-child { background: var(--blue); color: #fff; }
.hero__art { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: #dff0ff; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__facts { display: flex; gap: 32px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 24px; }
.hero__facts dt { font-size: 13px; color: var(--muted); } .hero__facts dd { font-weight: 600; }
@media (max-width: 1023px) { .hero__grid { grid-template-columns: 1fr; } .hero__art { max-height: 56vh; } }
@media (max-width: 479px) { .hero__facts { gap: 20px; flex-wrap: wrap; } }
/* entrance: once, on load, staggered (opacity + small rise, ease-out) */
.js .enter > * { opacity: 0; transform: translateY(10px); animation: rise 560ms var(--ease-out) forwards; }
.js .enter > :nth-child(2) { animation-delay: 60ms; } .js .enter > :nth-child(3) { animation-delay: 110ms; }
.js .enter > :nth-child(4) { animation-delay: 150ms; } .js .enter > :nth-child(5) { animation-delay: 190ms; }
.js .hero__art { clip-path: inset(3% 3% 3% 3% round 28px); scale: 1.02; animation: unveil 900ms var(--ease-out) 100ms forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 28px); scale: 1; } }


.about { background: var(--sky); }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.about__intro { grid-column: span 5; display: grid; gap: 20px; align-content: start; }
.about__logos { display: flex; gap: 16px; margin-top: 12px; }
.about__logos img { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: var(--r); padding: 10px; }
.values { grid-column: 7 / -1; display: grid; gap: 16px; }
.value { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 28px; background: #fff; border-radius: var(--r); }
.value__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; }
.value__icon svg { width: 34px; height: 34px; }
.value p { color: var(--ink); margin-top: 6px; }
@media (max-width: 1023px) { .about__intro, .values { grid-column: 1 / -1; } }
@media (max-width: 479px) { .value { grid-template-columns: 1fr; padding: 22px; gap: 14px; } .about__logos img { width: 92px; height: 92px; } }


.levels__group { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.levels__group img { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.levels__group h3 { font-size: 18px; }
.levels__group + .cards { margin-bottom: 56px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.card__body { padding: 22px 24px 26px; display: grid; gap: 8px; align-content: start; }
.card__age { justify-self: start; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--cream); }
.card[data-school="denmay"] .card__age { background: #e1edfb; color: var(--blue-d); }
.card p { color: var(--ink); }
.card .shift { font-size: 14px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgb(19 41 75 / .45); }
  .card:hover .card__img img { transform: scale(1.03); }
}
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cards { grid-template-columns: 1fr; } }


.facilities { background: var(--navy); color: #fff; }
.facilities .eyebrow { color: var(--yellow); }
.facilities :focus-visible { outline-color: var(--yellow); }
.facilities .lead { color: rgb(255 255 255 / .86); }
.facilities__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.facilities__head .head { margin: 0; }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.arrows button:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .arrows button:hover { background: rgb(255 255 255 / .1); } }
.gallery { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 calc((100% - 48px) / 2.6); scroll-snap-align: start; min-width: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
@media (max-width: 1023px) { .gallery figure { flex-basis: 70%; } }
@media (max-width: 639px) { .gallery figure { flex-basis: 86%; } }


.enrol__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.enrol__info { grid-column: span 6; display: grid; gap: 28px; }
.shifts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shift-card { padding: 24px; border-radius: var(--r); background: var(--cream); display: grid; gap: 6px; }
.shift-card b { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.shift-card span { color: var(--ink); }
.steps { counter-reset: s; display: grid; gap: 18px; grid-column: 8 / -1; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.steps li::before { content: counter(s); width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 600; }
.steps h3 { font-size: 18px; } .steps p { color: var(--ink); margin-top: 2px; }
@media (max-width: 1023px) { .enrol__info, .steps { grid-column: 1 / -1; } .steps { margin-top: 24px; } }
@media (max-width: 479px) { .shifts { grid-template-columns: 1fr; } }


.cta { background: var(--yellow); }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 72px); }
.cta h2 { max-width: 20ch; }
.cta p { margin-top: 10px; font-size: var(--t-lead); }


.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.contact__info { grid-column: span 5; display: grid; gap: 24px; }
.info-list { display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.info-list span { color: var(--muted); font-size: 15px; }
.info-list b { font-weight: 500; }
.form-card { grid-column: 7 / -1; background: var(--sky); border-radius: 24px; padding: clamp(24px, 3vw, 40px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.field--full, .form > .btn, .form > p { grid-column: 1 / -1; }
.field input, .field select { width: 100%; height: 52px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 400 16px "Poppins", sans-serif; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(29 95 166 / .15); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field__error { color: #b0302a; font-size: 14px; font-weight: 500; }
.field__error[hidden] { display: none; }
.form__status { font-size: 14px; min-height: 1em; }
.form .note { font-size: 14px; color: var(--ink); }
@media (max-width: 1023px) { .contact__info, .form-card { grid-column: 1 / -1; } }
@media (max-width: 639px) { .form { grid-template-columns: 1fr; } .info-list li { grid-template-columns: 1fr; gap: 2px; } }


.footer { background: var(--navy); color: #fff; padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; }
.footer__brand { grid-column: span 5; display: grid; gap: 16px; align-content: start; }
.footer__brand p { color: rgb(255 255 255 / .8); max-width: 36ch; }
.footer__col { grid-column: span 2; }
.footer__col:nth-of-type(2) { grid-column: 7 / span 2; }
.footer__col h3 { font-size: 14px; font-weight: 500; color: rgb(255 255 255 / .7); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; font-size: 15px; }
.footer__col a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { background-size: 100% 1px; } }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .15); font-size: 13px; color: rgb(255 255 255 / .7); }
@media (max-width: 1023px) { .footer__brand { grid-column: 1 / -1; } .footer__col, .footer__col:nth-of-type(2) { grid-column: span 4; } }
@media (max-width: 639px) { .footer__col, .footer__col:nth-of-type(2) { grid-column: span 6; } .footer__col ul a { display: inline-block; padding-block: 8px; } }

/* ---------- multi-page additions ---------- */
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav__phone svg { width: 16px; height: 16px; color: #0f7a3c; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1279px) { .nav__phone { display: none; } }
.page-hero { padding: calc(76px + clamp(40px, 5vw, 72px)) 0 clamp(40px, 5vw, 64px); background: var(--sky); }
.page-hero .wrap { display: grid; gap: 16px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--blue); font-weight: 500; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.quick a { font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: border-color 200ms ease, transform 160ms var(--ease-out); }
.quick a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .quick a:hover { border-color: var(--blue); } }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.split__text { grid-column: span 5; display: grid; gap: 20px; }
.split__img { grid-column: 7 / -1; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .split__text, .split__img { grid-column: 1 / -1; } }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.point { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; }
.point h3 { font-size: 18px; }
@media (max-width: 639px) { .points { grid-template-columns: 1fr; } }
.card__cta { margin-top: 8px; justify-self: start; font-weight: 500; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.card__cta svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover .card__cta svg { transform: translateX(3px); } }
.more { margin-top: 40px; }
.level { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding-block: 40px; border-top: 1px solid var(--line); }
.level:first-of-type { border-top: 0; padding-top: 0; }
.level__img { grid-column: span 5; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.level__img img { width: 100%; height: 100%; object-fit: cover; }
.level__text { grid-column: 7 / -1; display: grid; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: var(--sky); }
@media (max-width: 1023px) { .level__img, .level__text { grid-column: 1 / -1; } }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.extra { padding: 28px; border-radius: var(--r); background: #fff; display: grid; gap: 10px; align-content: start; }
.extra__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; }
.extra__icon svg { width: 30px; height: 30px; }
@media (max-width: 1023px) { .extras { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
table.fees { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.fees th, .fees td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.fees th { font-size: 14px; font-weight: 500; color: var(--muted); background: var(--sky); }
.fees td:last-child, .fees th:last-child { text-align: right; white-space: nowrap; }
.fees tr:last-child td { border-bottom: 0; }
.note-small { font-size: 14px; color: var(--muted); margin-top: 12px; }
.docs { display: grid; gap: 12px; }
.docs li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.docs li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%2313294b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; margin-top: 2px; }
.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.two-col > :first-child { grid-column: span 6; } .two-col > :last-child { grid-column: 8 / -1; }
@media (max-width: 1023px) { .two-col > :first-child, .two-col > :last-child { grid-column: 1 / -1; } }
.visit { background: var(--cream); }
.visit__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.visit__text { grid-column: span 6; display: grid; gap: 18px; }
.visit__img { grid-column: 8 / -1; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.visit__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .visit__text, .visit__img { grid-column: 1 / -1; } }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.contact-card span { font-size: 14px; color: var(--muted); }
.contact-card b { font-size: 20px; font-weight: 600; }
@media (max-width: 1023px) { .contact-cards { grid-template-columns: 1fr; } }
.map { background: var(--sky); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.gallery figcaption { margin-top: 12px; font-size: 15px; color: rgb(255 255 255 / .85); }
.fees-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.poster { margin: 0; } .poster img { border-radius: var(--r); box-shadow: 0 24px 48px -28px rgb(19 41 75 / .5); }
@media (max-width: 1023px) { .fees-grid { grid-template-columns: 1fr; } .poster { max-width: 420px; } }
.card__img img, .level__img img, .split__img img, .visit__img img, .hero__art img { object-position: center; }
