/* Jirani Ndota - teacher's brief (2026-11-20): minimal, colourful, modern. Navy text, orange
   buttons, rainbow accents, warm off-white, big photos, whitespace, consistent buttons. */
:root {
  --navy: #1D2547; --text: #3A3F5A; --muted: #6B6F86;
  --orange: #F26B2A; --orange-d: #DB5717;
  --yellow: #F7B500; --pink: #EC4899; --blue: #3B82F6; --green: #22A35A; --purple: #8B5CF6; --coral: #F0573A;
  --bg: #FBF6F2; --white: #FFFFFF; --line: #EDE4DC;
  --t-yellow: #FDF1D3; --t-pink: #FCE0E2; --t-blue: #DCEBF5; --t-green: #E3F1D3; --t-purple: #ECE4FB;
  --r: 22px;
  --sky: #DCEBF5; --soft: #6B6F86; --ink: #1D2547; --cream: #FBF6F2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Nunito', system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: 'Fredoka', 'Nunito', sans-serif; color: var(--navy); font-weight: 600; line-height: 1.12; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
section { padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: 90px; }
.eyebrow { font-weight: 800; letter-spacing: .32em; font-size: 13px; color: var(--navy); text-transform: uppercase; margin-bottom: 14px; }
.h-xl { font-size: clamp(40px, 5.6vw, 74px); letter-spacing: -1px; }
.h-l { font-size: clamp(32px, 4vw, 48px); }
.h-m { font-size: clamp(24px, 2.6vw, 30px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text); max-width: 38em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.dashes { display: flex; gap: 8px; margin: 12px 0 18px; }
.center .dashes { justify-content: center; }
.dashes i { width: 48px; height: 7px; border-radius: 6px; }
.dashes i:nth-child(1) { background: var(--yellow); } .dashes i:nth-child(2) { background: var(--pink); }
.dashes i:nth-child(3) { background: var(--blue); } .dashes i:nth-child(4) { background: var(--green); }
.little i { font-style: normal; }
.alt { background: var(--white); }

/* Buttons - one family everywhere */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 17px; padding: 13px 28px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-wa { background: #1FAF54; color: #fff; }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-call { background: var(--navy); color: #fff; }
.btn-pay { background: var(--orange); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center .btns { justify-content: center; }

/* Header */
.announce { background: var(--navy); color: #fff; text-align: center; font-weight: 700; font-size: 15px; padding: 8px 16px; }
.announce a { color: #FFD66B; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 242, .96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr .bar { display: flex; align-items: center; gap: 20px; padding-top: 10px; padding-bottom: 10px; position: relative; }
.logo { display: grid; justify-items: center; text-decoration: none; line-height: 1; flex: 0 0 auto; }
.logo svg { margin-bottom: -6px; }
.logo b { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 26px; color: var(--navy); }
.logo small { font-weight: 800; font-size: 9.5px; letter-spacing: .3em; color: var(--navy); margin-top: 4px; }
.menu { display: flex; gap: clamp(12px, 2.2vw, 34px); margin: 0 auto; }
.menu a { text-decoration: none; color: var(--navy); font-weight: 600; padding: 6px 1px; border-bottom: 3px solid transparent; white-space: nowrap; }
.menu a.on, .menu a:hover { border-bottom-color: var(--orange); }
.hdr .pay { flex: 0 0 auto; padding: 11px 24px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; color: var(--navy); }
@media (max-width: 1020px) {
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); flex-direction: column; gap: 0; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(29, 37, 71, .08); }
  .menu.open { display: flex; }
  .menu a { padding: 13px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .menu a.on { color: var(--orange); }
  .burger { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .hdr .pay { padding: 10px 16px; font-size: 15px; }
  .logo b { font-size: 21px; } .logo svg { width: 72px; }
}

/* Hero (home) */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; min-height: 600px; padding: 0; }
.hero .text { padding: 36px clamp(16px, 5vw, 70px) 48px; }
.hero h1 .spark { width: clamp(38px, 4vw, 58px); vertical-align: top; }
.hero .art { position: relative; align-self: stretch; min-height: 540px; overflow: hidden; }
.hero .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; border-radius: 50% 0 0 50% / 50% 0 0 50%; }
.hero .art::before { content: ''; position: absolute; top: -40px; left: 3%; width: 230px; height: 230px; background: var(--yellow); border-radius: 50%; }
.points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; }
.points li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--navy); padding: 4px 18px; border-left: 2px solid var(--line); line-height: 1.25; }
.points li:first-child { border-left: 0; padding-left: 0; }
.points svg { width: 30px; height: 30px; flex: 0 0 auto; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .art { order: -1; min-height: 330px; margin-left: 16px; }
  .hero .art img { border-radius: 44% 0 0 44% / 38% 0 0 38%; }
  .hero .art::before { width: 130px; height: 130px; top: -30px; }
  .points li { padding: 4px 12px; font-size: 14px; }
}

/* Page intro (inner pages) */
.intro { padding: clamp(46px, 7vw, 84px) 0 clamp(30px, 4vw, 50px); }
.intro .lead { font-size: clamp(18px, 1.7vw, 22px); }

/* Split: text + photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: center; }
.split.rev .ph { order: -1; }
.ph img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .ph { order: 0; } }

/* Program tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.tile { border-radius: var(--r); padding: 26px 18px 22px; text-align: center; text-decoration: none; display: block; transition: transform .15s; }
.tile:hover { transform: translateY(-3px); }
.tile svg { width: 48px; height: 48px; margin: 0 auto 10px; display: block; }
.tile h3 { font-size: 20px; margin-bottom: 6px; }
.tile p { font-size: 14.5px; margin: 0; color: var(--text); }
.bg-yellow { background: var(--t-yellow); } .bg-pink { background: var(--t-pink); } .bg-blue { background: var(--t-blue); } .bg-green { background: var(--t-green); } .bg-purple { background: var(--t-purple); }

.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }
.why div { background: var(--white); border-radius: var(--r); padding: 22px; border-top: 6px solid; }
.why h3 { font-size: 20px; margin-bottom: 8px; }
.why p { margin: 0; font-size: 15.5px; }

/* Program detail (programs page) */
.prog { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.prog.flip .ph { order: 2; }
.prog .tag { display: inline-block; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.prog .sub { font-family: 'Fredoka', sans-serif; font-size: 20px; color: var(--orange); margin: 6px 0 10px; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; }
@media (max-width: 860px) { .prog { grid-template-columns: 1fr; } .prog.flip .ph { order: 0; } }
.supports { columns: 2 220px; gap: 24px; padding: 0; list-style: none; margin: 22px 0 0; }
.supports li { break-inside: avoid; padding: 10px 0 10px 34px; position: relative; font-weight: 700; color: var(--navy); }
.supports li::before { content: '✓'; position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%; background: var(--t-green); color: var(--green); display: grid; place-items: center; font-size: 14px; }

/* Philosophy */
.belief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
@media (max-width: 760px) { .belief { grid-template-columns: 1fr; } }
.belief div { border-radius: var(--r); padding: 24px; }
.belief h3 { font-size: 22px; margin-bottom: 8px; }
.belief p { margin: 0; }

/* Photo strip + gallery */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 24px 0 26px; }
.filters button { font: inherit; font-weight: 700; padding: 9px 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.filters button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery.is-empty { columns: auto; }
.gallery figure { break-inside: avoid; margin: 0 0 14px; cursor: zoom-in; }
.gallery img { width: 100%; border-radius: 18px; }
.gallery figcaption { font-weight: 700; font-size: 14.5px; color: var(--muted); padding: 6px 4px 0; }
.empty { text-align: center; color: var(--muted); font-weight: 700; padding: 34px 16px; background: var(--white); border-radius: var(--r); border: 2px dashed var(--line); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(20, 22, 40, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 14px; }
.lightbox p { color: #fff; font-weight: 700; margin-top: 10px; text-align: center; }
.lb-close { position: absolute; top: 14px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; font-size: 20px; cursor: pointer; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 30px; padding: clamp(34px, 6vw, 60px) 24px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #E3E6F2; max-width: 34em; margin: 12px auto 0; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }

/* FAQ */
.faq { max-width: 820px; margin: 10px auto 0; }
.faq details { background: var(--white); border-radius: 18px; margin-bottom: 12px; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 58px 18px 22px; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 19px; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--t-yellow); display: grid; place-items: center; font-size: 22px; color: var(--orange); }
.faq details[open] summary::after { content: '–'; }
.faq .a { padding: 0 22px 20px; }
.faq .a ul { margin: 6px 0 10px; }

/* Fees */
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--white); border-radius: var(--r); padding: 22px 20px; border-top: 7px solid; display: flex; flex-direction: column; gap: 6px; }
.plan .n { font-family: 'Fredoka', sans-serif; font-size: 40px; font-weight: 700; line-height: 1; }
.plan h3 { font-size: 19px; }
.plan .d { color: var(--muted); font-size: 15px; flex: 1; }
.plan .p { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 21px; color: var(--navy); margin-top: 8px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts div { background: var(--white); border-radius: 18px; padding: 16px 18px; }
.facts small { display: block; color: var(--muted); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.facts b { color: var(--navy); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } }
.checks li { padding-left: 30px; position: relative; font-weight: 700; color: var(--navy); }
.checks li::before { content: '★'; position: absolute; left: 0; color: var(--yellow); }
.note-box { background: var(--white); border-radius: var(--r); padding: 24px 26px; }

/* Contact */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
@media (max-width: 800px) { .ways { grid-template-columns: 1fr; } }
.ways a, .ways div { display: block; text-decoration: none; background: var(--white); border-radius: var(--r); padding: 22px; color: var(--text); border-left: 6px solid; }
.ways h3 { font-size: 21px; margin-bottom: 4px; }
.ways p { margin: 0; }
.form { background: var(--white); border-radius: 26px; padding: clamp(22px, 4vw, 38px); max-width: 760px; margin: 26px auto 0; position: relative; }
.form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form .grid { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 800; color: var(--navy); font-size: 15px; margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: #FFFCF9; color: var(--navy); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.form .full { grid-column: 1 / -1; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-weight: 800; margin-top: 12px; }
.msg.ok { color: var(--green); } .msg.err { color: #C0392B; }

/* Pay fees */
.paybox { background: var(--white); border-radius: 26px; padding: clamp(24px, 4vw, 40px); max-width: 640px; margin: 0 auto; text-align: center; }
.paybox .how { background: var(--t-yellow); border-radius: 16px; padding: 16px; margin: 18px 0; font-weight: 700; color: var(--navy); white-space: pre-line; }

/* Footer */
.ftr { background: var(--navy); color: #D8DBEA; padding: 54px 0 30px; margin-top: 40px; }
.ftr .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .ftr .cols { grid-template-columns: 1fr; } }
.ftr h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr .brand { font-family: 'Fredoka', sans-serif; font-size: 26px; color: #fff; font-weight: 700; }
.ftr .tag { letter-spacing: .3em; font-size: 11px; font-weight: 800; color: #FFD66B; margin: 2px 0 10px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ftr .copy { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 34px; padding-top: 18px; font-size: 14px; text-align: center; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #1FAF54; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; }

/* Admin page leftovers */
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); font-family: 'Fredoka', sans-serif; font-size: 22px; font-weight: 700; }
.brand b { color: var(--orange); }
.cta-band .btns { justify-content: center; }

a.plan { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.plan:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(29, 37, 71, .1); }
.plan .go { font-weight: 800; color: var(--orange); font-size: 15px; margin-top: 4px; }
