/* =========================================================
   LITTLE BLOOM PRESCHOOL — Main Stylesheet
   Demo website by CoreWeb AI
   ---------------------------------------------------------
   1. Tokens          6. Programs / Approach / Activities
   2. Base            7. Timeline / Facilities / Safety
   3. Utilities       8. Teachers / Gallery / Festivals
   4. Buttons         9. Admissions / Testimonials / FAQ
   5. Header / Hero  10. Forms / Contact / CTA / Footer
                     11. Floating UI / Modals / Lightbox
                     12. Responsive
   ========================================================= */

/* 1. TOKENS ------------------------------------------------ */
:root {
  --cream: #FFF8F0;
  --cream-2: #FBF0E4;
  --white: #FFFFFF;
  --ink: #2F2A3D;
  --ink-soft: #5F5970;
  --ink-mute: #8A8497;
  --line: #EDE3D6;

  --coral: #C2573E;          /* primary (AA on white) */
  --coral-dark: #A5452F;
  --coral-soft: #E8836B;
  --peach: #FAD9C8;
  --peach-tint: #FDEEE5;
  --sky: #3B78AC;
  --sky-soft: #CFE4F4;
  --sky-tint: #EAF4FB;
  --butter: #F8E3A3;
  --butter-tint: #FDF6DE;
  --sage: #D4E4CC;
  --sage-tint: #EAF2E5;
  --lavender: #E3DCF5;
  --lav-deep: #6A5AA6;
  --plum: #3A3350;
  --wa: #1C9D52;
  --wa-dark: #157F42;

  --font-head: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --sh-sm: 0 2px 8px rgba(58, 51, 80, .06);
  --sh-md: 0 10px 30px rgba(58, 51, 80, .08);
  --sh-lg: 0 24px 60px rgba(58, 51, 80, .12);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .7, .3, 1);
}

/* 2. BASE -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }

/* 3. UTILITIES -------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--coral);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 8px; border-radius: 8px; background: var(--peach); }
.eyebrow--light { color: var(--butter); }
.eyebrow--light::before { background: rgba(255,255,255,.25); }
.section-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); max-width: 18ch; }
.section-sub { font-size: 1.125rem; max-width: 56ch; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .section-title, .section-head.center .section-sub { margin-inline: auto; }
.section-head.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: end; }
.section-head.split .section-sub { margin-bottom: 8px; }
.demo-note { font-size: .9rem; color: var(--ink-mute); font-style: italic; }
.demo-pill {
  display: inline-block; vertical-align: middle; font-family: var(--font-body);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: var(--r-pill); background: var(--butter-tint); color: #8A6A12; border: 1px solid var(--butter);
}
.chip-icon {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.4rem; color: var(--ink);
}
.chip-icon--peach { background: var(--peach-tint); color: var(--coral); }
.chip-icon--sky { background: var(--sky-tint); color: var(--sky); }
.chip-icon--butter { background: var(--butter-tint); color: #A27A0E; }
.chip-icon--lavender { background: #F1EDFA; color: var(--lav-deep); }
.hl { position: relative; white-space: nowrap; color: var(--coral); }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em;
  background: var(--butter); border-radius: 8px; z-index: -1; opacity: .9;
}
.note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; text-align: center; font-size: .95rem; color: var(--ink-mute); }
.ic { font-size: 1.15em; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 4. BUTTONS ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; letter-spacing: .01em;
  border: 2px solid transparent; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(194, 87, 62, .25); }
.btn-primary:hover { background: var(--coral-dark); box-shadow: 0 12px 26px rgba(194, 87, 62, .3); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-soft { background: var(--peach-tint); color: var(--coral-dark); }
.btn-soft:hover { background: var(--peach); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--butter-tint); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.link-btn { color: inherit; text-align: left; transition: color .2s; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem;
  background: #fff; color: var(--ink); box-shadow: var(--sh-sm); border: 1px solid var(--line); transition: background .2s, color .2s, transform .2s;
}
.round-btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* 5. HEADER ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 248, 240, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(58, 51, 80, .08); background: rgba(255, 255, 255, .92); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; stroke: none; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(72deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--ink); letter-spacing: .01em; }
.brand-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; margin-top: 3px; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; display: block; padding: 8px 12px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; color: var(--ink-soft); transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: rgba(250, 217, 200, .45); }
.nav-link.is-active { color: var(--coral-dark); background: var(--peach-tint); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--peach-tint); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* HERO */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 9vw, 120px); overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(10px); z-index: -1; }
.hero-blob--peach { width: 560px; height: 560px; right: -140px; top: -120px; background: radial-gradient(circle at 40% 40%, var(--peach) 0%, rgba(250, 217, 200, 0) 70%); }
.hero-blob--sky { width: 480px; height: 480px; left: -200px; bottom: -160px; background: radial-gradient(circle, var(--sky-soft) 0%, rgba(207, 228, 244, 0) 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.3rem); line-height: 1.06; margin-bottom: 22px; position: relative; z-index: 0; }
.hero-lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); max-width: 50ch; margin-bottom: 30px; }
.hero-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--wa-dark); font-size: .98rem; }
.hero-wa:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-wa .ic { font-size: 1.3rem; }
.hero-trust {
  display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 14px 20px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--r-md); width: fit-content; max-width: 100%;
  font-size: .95rem; box-shadow: var(--sh-sm);
}
.hero-trust strong { color: var(--ink); display: block; }
.trust-dots { display: flex; }
.trust-dots i { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; margin-left: -9px; }
.trust-dots i:first-child { margin-left: 0; background: var(--coral-soft); }
.trust-dots i:nth-child(2) { background: var(--butter); }
.trust-dots i:nth-child(3) { background: var(--sky-soft); }

.hero-visual { position: relative; padding: 24px 0 24px 40px; }
.hero-main { border-radius: 220px 220px var(--r-xl) var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 5 / 5.75; background: var(--peach); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-small { position: absolute; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--sh-md); background: var(--sky-soft); }
.hero-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-small--a { width: 34%; aspect-ratio: 1; left: -4%; bottom: 8%; animation: float 7s ease-in-out infinite; }
.hero-small--b { width: 26%; aspect-ratio: 1; right: -4%; top: 4%; animation: float 8s ease-in-out -2s infinite; }
.hero-badge {
  position: absolute; right: 2%; bottom: 0; display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 12px 18px 12px 12px; border-radius: var(--r-pill); box-shadow: var(--sh-md); font-size: .92rem;
}
.hero-badge svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--butter); color: #8A6A12; }
.hero-badge strong { color: var(--ink); font-family: var(--font-head); font-weight: 600; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid var(--ink-mute); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--coral); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ABOUT */
.about { background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; padding-bottom: 70px; padding-right: 60px; }
.about-img { overflow: hidden; box-shadow: var(--sh-md); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img--1 { border-radius: var(--r-xl); aspect-ratio: 4 / 4.7; }
.about-img--2 { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); border: 8px solid #fff; }
.about-sticker {
  position: absolute; left: -16px; bottom: 36px; background: var(--butter); color: var(--ink);
  font-family: var(--font-head); font-weight: 500; line-height: 1.25; padding: 16px 22px; border-radius: 24px 24px 24px 6px;
  transform: rotate(-4deg); box-shadow: var(--sh-md);
}
.about-points { display: grid; gap: 20px; margin: 30px 0 34px; }
.about-point { display: flex; gap: 16px; align-items: flex-start; }
.about-point h3 { font-size: 1.15rem; margin-bottom: 2px; }
.about-point p { margin: 0; font-size: 1rem; }

/* 6. PROGRAMS --------------------------------------------- */
.programs { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.program-card {
  --acc: var(--peach); --acc-tint: var(--peach-tint);
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s;
}
.program-card[data-accent="sky"] { --acc: var(--sky-soft); --acc-tint: var(--sky-tint); }
.program-card[data-accent="butter"] { --acc: var(--butter); --acc-tint: var(--butter-tint); }
.program-card[data-accent="lavender"] { --acc: var(--lavender); --acc-tint: #F4F1FB; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.program-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--acc); }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.program-card:hover .program-img img { transform: scale(1.05); }
.age-tag {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--acc); color: var(--ink); font-weight: 700; font-size: .85rem; box-shadow: var(--sh-sm);
}
.age-tag--static { position: static; display: inline-block; background: var(--peach); margin-bottom: 12px; box-shadow: none; }
.program-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.program-body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.program-body > p { font-size: .97rem; line-height: 1.6; }
.focus-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; }
.focus-list li { font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); background: var(--acc-tint); color: var(--ink-soft); }
.program-body .btn { margin-top: auto; }
.programs-foot {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 24px;
  margin-top: 44px; text-align: center;
}
.programs-foot p { margin: 0; font-weight: 600; color: var(--ink); }

/* APPROACH */
.approach-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.approach-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.approach-img { margin-top: 28px; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 120px; overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 19 / 14; }
.approach-img img { width: 100%; height: 100%; object-fit: cover; }
.principles { display: grid; gap: 16px; counter-reset: p; }
.principle {
  display: flex; gap: 20px; align-items: flex-start; padding: 26px 28px; background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s;
  position: relative; counter-increment: p;
}
.principle::after { content: "0" counter(p); position: absolute; right: 24px; top: 20px; font-family: var(--font-head); font-size: .9rem; color: var(--ink-mute); opacity: .6; }
.principle:hover { transform: translateX(6px); box-shadow: var(--sh-md); }
.principle-icon { width: 58px; height: 58px; border-radius: 20px 20px 20px 6px; background: var(--c); display: grid; place-items: center; font-size: 1.6rem; color: var(--ink); flex-shrink: 0; }
.principle h3 { font-size: 1.25rem; margin-bottom: 4px; }
.principle p { margin: 0; font-size: 1rem; }

/* ACTIVITIES */
.activities { background: var(--sage-tint); border-radius: var(--r-xl); margin-inline: clamp(0px, 1.5vw, 20px); }
.activity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-flow: dense; }
.activity-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; background: var(--sage);
  box-shadow: var(--sh-sm); isolation: isolate;
}
.activity-card--wide { grid-column: span 2; aspect-ratio: auto; }
.activity-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); z-index: -2; }
.activity-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(47,42,61,0) 35%, rgba(47,42,61,.78) 100%); }
.activity-card:hover img { transform: scale(1.06); }
.activity-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: #fff; }
.activity-info h3 { color: #fff; font-size: 1.22rem; margin-bottom: 4px; }
.activity-info p { margin: 0; font-size: .92rem; line-height: 1.5; opacity: .92; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.activity-card:hover .activity-info p, .activity-card:focus-within .activity-info p { max-height: 80px; }
.activity-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: rgba(255,255,255,.92); color: var(--coral); font-size: 1.2rem; margin-bottom: 10px; }

/* 7. TIMELINE --------------------------------------------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 46px 20px; }
.tl-item { position: relative; text-align: center; padding: 0 6px; }
.tl-item:not(:nth-child(4n))::after { content: ""; position: absolute; top: 32px; left: 50%; width: calc(100% + 20px); border-top: 3px dashed var(--peach); }
.tl-dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--c); color: var(--ink); font-size: 1.6rem; border: 5px solid var(--cream); box-shadow: var(--sh-sm);
}
.tl-item time { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--coral-dark); background: #fff; padding: 3px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); margin-bottom: 8px; }
.tl-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.tl-item p { font-size: .93rem; margin: 0; line-height: 1.55; }

/* FACILITIES */
.facilities { background: #fff; }
.facility-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facility-photo { border-radius: var(--r-lg); overflow: hidden; background: var(--cream); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.facility-photo:nth-child(even) { transform: translateY(28px); }
.facility-photo:hover { box-shadow: var(--sh-md); }
.facility-photo img { aspect-ratio: 9 / 9.5; width: 100%; object-fit: cover; }
.facility-photo div { padding: 18px 20px 22px; }
.facility-photo h3 { font-size: 1.15rem; margin-bottom: 4px; }
.facility-photo p { font-size: .94rem; margin: 0; line-height: 1.55; }
.facility-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.facility-item { padding: 24px; border-radius: var(--r-lg); background: var(--cream); }
.facility-item .chip-icon { margin-bottom: 14px; }
.facility-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.facility-item p { font-size: .93rem; margin: 0; line-height: 1.55; }

/* SAFETY */
.safety { background: var(--plum); color: rgba(255,255,255,.82); border-radius: var(--r-xl); margin-inline: clamp(0px, 1.5vw, 20px); overflow: hidden; }
.safety::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(232,131,107,.28), transparent 70%); }
.safety-wrap { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.safety .section-title { color: #fff; }
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.safety-grid li { padding: 22px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .3s; }
.safety-grid li:hover { background: rgba(255,255,255,.1); }
.safety-grid svg { font-size: 1.6rem; color: var(--butter); margin-bottom: 10px; }
.safety-grid h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.safety-grid p { margin: 0; font-size: .92rem; line-height: 1.5; }

/* 8. TEACHERS --------------------------------------------- */
.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.teacher-card { text-align: center; background: #fff; border-radius: var(--r-lg); padding: 34px 28px 30px; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.teacher-photo { position: relative; width: 168px; height: 168px; margin: 0 auto 20px; }
.teacher-photo::before { content: ""; position: absolute; inset: -10px; border-radius: 50% 50% 50% 18%; background: var(--c); transform: rotate(-8deg); }
.teacher-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 5px solid #fff; }
.teacher-card h3 { font-size: 1.35rem; margin-bottom: 2px; }
.role { color: var(--coral); font-weight: 700; font-size: .93rem; margin-bottom: 12px; }
.teacher-card > p:not(.role) { font-size: .98rem; }
.teacher-card blockquote { margin: 16px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; }

/* GALLERY */
.gallery { background: #fff; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.filter-btn { padding: 10px 20px; min-height: 44px; border-radius: var(--r-pill); font-weight: 700; font-size: .95rem; background: var(--cream); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.filter-btn:hover { border-color: var(--coral-soft); }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--cream-2); transition: opacity .35s, transform .35s; }
.g-item.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(47,42,61,.7)); opacity: 0; transition: opacity .35s; }
.g-cap { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff; font-family: var(--font-head); font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); }
.g-item:hover::after, .g-item:focus-visible::after, .g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item.is-hidden { display: none; }

/* FESTIVALS */
.festivals { padding-bottom: calc(var(--section-y) - 20px); }
.festival-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 24vw, 300px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding: 6px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 24px;
  scrollbar-width: none;
}
.festival-track::-webkit-scrollbar { display: none; }
.fest-card { position: relative; scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--peach); isolation: isolate; box-shadow: var(--sh-sm); }
.fest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.fest-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(47,42,61,.82)); }
.fest-card:hover img { transform: scale(1.06); }
.fest-card div { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: rgba(255,255,255,.9); }
.fest-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 2px; }
.fest-card p { margin: 0; font-size: .92rem; line-height: 1.5; }
.track-nav { display: flex; justify-content: flex-end; gap: 10px; }

/* 9. ADMISSIONS ------------------------------------------- */
.admissions { background: linear-gradient(180deg, var(--peach-tint), var(--cream)); border-radius: var(--r-xl); margin-inline: clamp(0px, 1.5vw, 20px); }
.adm-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem; box-shadow: var(--sh-sm); margin-bottom: 18px; }
.status-pill small { color: var(--ink-mute); font-weight: 600; }
.status-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(28,157,82,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(28,157,82,.45); } 70% { box-shadow: 0 0 0 10px rgba(28,157,82,0); } 100% { box-shadow: 0 0 0 0 rgba(28,157,82,0); } }
.age-table { width: 100%; max-width: 480px; border-collapse: separate; border-spacing: 0; margin: 10px 0 30px; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); font-size: .98rem; }
.age-table th, .age-table td { padding: 12px 20px; text-align: left; }
.age-table th { background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .9rem; letter-spacing: .04em; }
.age-table tbody tr + tr td { border-top: 1px solid var(--line); }
.age-table td:first-child { color: var(--ink); font-weight: 700; }
.adm-img { border-radius: 200px 200px var(--r-xl) var(--r-xl); overflow: hidden; aspect-ratio: 76 / 86; box-shadow: var(--sh-lg); }
.adm-img img { width: 100%; height: 100%; object-fit: cover; }
.steps-title { text-align: center; font-size: 1.6rem; margin: clamp(56px, 7vw, 80px) 0 28px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--sh-sm); }
.step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 46px; width: 10px; height: 10px; border-top: 2px solid var(--coral-soft); border-right: 2px solid var(--coral-soft); transform: rotate(45deg); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px 16px 16px 4px; background: var(--coral); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; margin-bottom: 14px; }
.step:nth-child(2) .step-num { background: var(--sky); }
.step:nth-child(3) .step-num { background: var(--lav-deep); }
.step:nth-child(4) .step-num { background: var(--wa-dark); }
.step h4 { font-size: 1.2rem; margin-bottom: 4px; }
.step p { margin: 0; font-size: .95rem; line-height: 1.55; }

/* TESTIMONIALS */
.carousel { max-width: 820px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--r-xl); }
.carousel-track { display: flex; transition: transform .6s var(--ease); }
.t-card { flex: 0 0 100%; padding: clamp(30px, 5vw, 52px); background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); text-align: center; }
.stars { display: inline-flex; gap: 4px; color: #E3A82B; font-size: 1.2rem; margin-bottom: 18px; }
.t-card blockquote { margin: 0 0 26px; font-family: var(--font-head); font-weight: 400; color: var(--ink); font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); line-height: 1.45; }
.t-card figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.t-card strong { display: block; color: var(--ink); }
.t-card small { color: var(--ink-mute); font-size: .9rem; }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c); color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: var(--r-pill); background: var(--line); transition: width .3s, background .3s; position: relative; }
.carousel-dots button::before { content: ""; position: absolute; inset: -12px -6px; }
.carousel-dots button[aria-selected="true"] { width: 30px; background: var(--coral); }

/* FAQ */
.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.accordion { display: grid; gap: 12px; }
.acc-item { border-radius: var(--r-md); background: var(--cream); border: 1px solid transparent; transition: background .3s, border-color .3s; }
.acc-item.is-open { background: #fff; border-color: var(--line); box-shadow: var(--sh-sm); }
.acc-item h3 { margin: 0; font-size: 1.06rem; }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 1.08rem; min-height: 56px; }
.acc-btn svg { font-size: 1.1rem; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #fff; color: var(--coral); transition: transform .35s var(--ease), background .3s; }
.acc-item.is-open .acc-btn svg { transform: rotate(45deg); background: var(--peach-tint); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner p { padding: 0 22px 20px; margin: 0; font-size: 1rem; }

/* 10. FORMS ----------------------------------------------- */
.enquiry { background: var(--sky-tint); border-radius: var(--r-xl); margin-inline: clamp(0px, 1.5vw, 20px); }
.enquiry-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.enquiry-perks { display: grid; gap: 12px; margin: 24px 0; }
.enquiry-perks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.enquiry-perks svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #fff; color: var(--sky); margin-top: 1px; }
.form-card { position: relative; background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--sh-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin-bottom: 12px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field label span { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5970' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(59,120,172,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .input-prefix { border-color: #C9443A; background: #FFF6F5; }
.field.is-valid input, .field.is-valid select { border-color: #9CC8A8; }
.input-prefix { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.input-prefix:focus-within { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(59,120,172,.14); background: #fff; }
.input-prefix span { display: grid; place-items: center; padding: 0 12px 0 16px; font-weight: 700; color: var(--ink-soft); border-right: 1.5px solid var(--line); }
.input-prefix input { border: 0 !important; box-shadow: none !important; background: transparent !important; border-radius: 0; }
.error { min-height: 1.35em; margin: 4px 2px 6px; font-size: .84rem; font-weight: 600; color: #B23A31; line-height: 1.35; }
.btn-submit { position: relative; margin-top: 4px; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn-submit.is-loading { pointer-events: none; opacity: .85; }
.btn-submit.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 36px; text-align: center; background: #fff; border-radius: inherit; animation: fadeIn .45s var(--ease); }
.form-success[hidden] { display: none; }
.form-success p { max-width: 46ch; color: var(--ink); font-size: 1.08rem; margin: 0; }
.success-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--sage); color: #2F6B3F; font-size: 2.2rem; }
.success-icon svg { stroke-width: 2.4; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* VISIT */
.visit-card { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--butter-tint); border-radius: var(--r-xl); overflow: hidden; border: 1px solid #F3E3B5; }
.visit-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.visit-copy { padding: clamp(32px, 5vw, 64px); align-self: center; }
.visit-copy .section-title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }

/* CONTACT */
.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.contact-card > h3 { font-size: 1.4rem; margin-bottom: 22px; }
.contact-list { display: grid; gap: 18px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-mute); }
.contact-list a, .contact-list span:not(.chip-icon):not(.demo-pill) { color: var(--ink); font-weight: 600; line-height: 1.5; }
.contact-list a:hover { color: var(--coral); }
.map-card { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 380px; background: var(--sky-tint); border: 1px solid var(--line); }
.map-art, .map-art svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: none; }
.map-pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); width: 58px; height: 58px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--coral); display: grid; place-items: center; box-shadow: var(--sh-md); animation: bob 2.4s ease-in-out infinite; }
.map-pin svg { rotate: 45deg; color: #fff; font-size: 1.6rem; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.map-label { position: absolute; left: 20px; right: 20px; bottom: 20px; background: #fff; border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--sh-md); display: grid; gap: 2px; }
.map-label strong { color: var(--ink); font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.map-label span { font-size: .9rem; color: var(--ink-mute); }
.map-label a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: var(--coral); width: fit-content; }
.map-label a:hover { text-decoration: underline; }

/* FINAL CTA */
.final-cta { position: relative; padding: clamp(100px, 13vw, 170px) 0; margin: 0 clamp(0px, 1.5vw, 20px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; text-align: center; color: #fff; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(58,51,80,.55), rgba(58,51,80,.78)); }
.final-inner h2 { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.8rem); max-width: 16ch; margin: 0 auto 18px; }
.final-inner p { font-size: 1.18rem; max-width: 52ch; margin: 0 auto 34px; color: rgba(255,255,255,.9); }

/* FOOTER */
.site-footer { padding: clamp(64px, 8vw, 96px) 0 24px; color: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer-brand p { font-size: .97rem; max-width: 36ch; margin-top: 18px; }
.footer-tag { font-family: var(--font-head); color: var(--coral); font-size: 1.05rem !important; font-weight: 500; }
.site-footer h3 { font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 9px; font-size: .96rem; }
.site-footer ul a:hover, .site-footer .link-btn:hover { color: var(--coral); }
.footer-contact li { line-height: 1.5; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-size: 1.2rem; color: var(--ink); transition: background .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-mute); }
.footer-bottom p { margin: 0; }

/* 11. FLOATING UI ----------------------------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.9rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .4); transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-tip { position: absolute; right: 72px; white-space: nowrap; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
.to-top {
  position: fixed; right: 26px; bottom: 94px; z-index: 89; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-md); display: grid; place-items: center; font-size: 1.2rem;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 140%); max-width: calc(100% - 32px);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--r-md); box-shadow: var(--sh-lg); font-weight: 600; font-size: .95rem;
  transition: transform .45s var(--ease), opacity .3s, visibility .45s; pointer-events: none; opacity: 0; visibility: hidden;
}
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* MODALS */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(47, 42, 61, .55); backdrop-filter: blur(4px); animation: fade .3s; }
.modal-dialog { position: relative; width: 100%; max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); animation: pop .4s var(--ease); overscroll-behavior: contain; }
.modal-dialog--program { max-width: 940px; display: grid; grid-template-columns: .85fr 1.15fr; }
.modal-dialog--form { max-width: 700px; padding: clamp(26px, 4vw, 44px); }
.modal-dialog--form h2 { font-size: 1.9rem; margin-bottom: 6px; }
.modal-sub { margin-bottom: 22px; }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.2rem; color: var(--ink); box-shadow: var(--sh-sm); transition: background .2s, transform .2s; }
.modal-close:hover { background: var(--peach-tint); transform: rotate(90deg); }
.pm-img { background: var(--peach); min-height: 100%; }
.pm-img img { width: 100%; height: 100%; object-fit: cover; }
.pm-body { padding: clamp(26px, 4vw, 44px); }
.pm-body h2 { font-size: 2rem; margin-bottom: 10px; }
.pm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; }
.pm-cols h3 { font-size: 1rem; margin-bottom: 10px; }
.tick-list { display: grid; gap: 7px; }
.tick-list li { position: relative; padding-left: 26px; font-size: .95rem; line-height: 1.45; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6B3F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pm-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; }
.pm-meta div { background: var(--cream); border-radius: var(--r-sm); padding: 12px 16px; }
.pm-meta dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-mute); }
.pm-meta dd { margin: 0; font-weight: 700; color: var(--ink); font-size: .95rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(28, 25, 38, .94); display: flex; align-items: center; justify-content: center; padding: 70px 80px; animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lb-figure { max-width: 1100px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-height: calc(100dvh - 180px); width: auto; max-width: 100%; border-radius: var(--r-md); object-fit: contain; animation: fadeIn .35s var(--ease); }
.lb-figure figcaption { display: flex; justify-content: space-between; gap: 16px; width: 100%; max-width: 760px; margin-top: 14px; color: rgba(255,255,255,.85); font-family: var(--font-head); }
#lbCount { color: rgba(255,255,255,.55); }
.lb-close, .lb-nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: rgba(255,255,255,.1); transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* 12. RESPONSIVE ------------------------------------------ */
@media (max-width: 1180px) {
  .main-nav ul { gap: 0; }
  .nav-link { padding: 8px 9px; font-size: .9rem; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
}

@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: #fff; padding: 16px var(--gutter) 28px; box-shadow: 0 20px 40px rgba(58,51,80,.12);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { padding: 13px 16px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 14px; }

  .hero-grid, .about-grid, .approach-grid, .safety-wrap, .adm-hero, .faq-grid, .enquiry-wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .approach-intro, .faq-intro { position: static; }
  .about-media { max-width: 560px; }
  .section-head.split { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .tl-item::after { display: none; }
  .facility-photos, .facility-icons { grid-template-columns: repeat(2, 1fr); }
  .facility-photo:nth-child(even) { transform: none; }
  .facility-icons { margin-top: 24px; }
  .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-card:last-child { grid-column: 1 / -1; max-width: 420px; justify-self: center; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .adm-img { max-width: 460px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .modal-dialog--program { grid-template-columns: 1fr; }
  .pm-img { aspect-ratio: 16 / 8; min-height: 0; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .hero { padding-top: 28px; }
  .hero-visual { padding: 10px 0 30px 14px; }
  .hero-badge { font-size: .82rem; padding: 8px 14px 8px 8px; }
  .hero-badge svg { width: 32px; height: 32px; }
  .scroll-cue { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .hero .btn-row .btn { width: 100%; }
  .about-media { padding-right: 30px; padding-bottom: 50px; }
  .about-sticker { left: -6px; font-size: .9rem; padding: 12px 16px; }
  .program-grid { grid-template-columns: 1fr; }
  .principle { padding: 22px; gap: 16px; }
  .principle-icon { width: 50px; height: 50px; font-size: 1.4rem; }
  .activity-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .activity-card--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
  .activity-info { padding: 14px; }
  .activity-info h3 { font-size: 1.02rem; }
  .activity-icon { width: 34px; height: 34px; font-size: 1rem; margin-bottom: 6px; }
  .activity-info p { display: none; }
  .activity-card--wide .activity-info p { display: block; max-height: none; }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
  .timeline::before { content: ""; position: absolute; left: 39px; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 3px dashed var(--peach); }
  .tl-item { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
  .tl-dot { grid-row: span 3; margin: 0; width: 60px; height: 60px; font-size: 1.4rem; }
  .tl-item time { justify-self: start; }
  .facility-photos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .facility-photo div { padding: 14px; }
  .facility-photo h3 { font-size: 1rem; }
  .facility-photo p { font-size: .86rem; }
  .facility-icons { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .teacher-grid { grid-template-columns: 1fr; }
  .teacher-card:last-child { max-width: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .g-cap { opacity: 1; transform: none; font-size: .88rem; left: 12px; bottom: 10px; }
  .g-item::after { opacity: 1; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .visit-card { grid-template-columns: 1fr; }
  .visit-img img { min-height: 0; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .pm-cols, .pm-meta { grid-template-columns: 1fr; }
  .lightbox { padding: 64px 12px 90px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .to-top { right: 20px; bottom: 84px; width: 44px; height: 44px; }
  .wa-tip { display: none; }
  .age-table th, .age-table td { padding: 11px 14px; }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
  .hero-title { font-size: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
