/* ==========================================================================
   SPN AlphabetZ International School — Design System
   Concept: "Wooden Alphabet Blocks on a Nursery Shelf"
   Blocks = programs & values. The shelf-line, the growth-chart ruler,
   and gently rotated block cards are the signature motifs throughout.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,500&display=swap');

:root{
  /* ---- Color tokens ---- */
  --paper:      #F2F7F6;   /* soft aqua-white background, not cream */
  --paper-deep: #E7F0EE;
  --ink:        #202844;   /* deep indigo-navy, primary text */
  --ink-soft:   #566078;   /* secondary text */
  --line:       #D8E3DF;   /* hairline / shelf lines */

  --block-yellow: #F5B942;
  --block-yellow-ink: #7A5306;
  --block-coral:  #F2694F;
  --block-coral-ink:  #7A2313;
  --block-teal:   #23A38A;
  --block-teal-ink:   #0B4A3E;
  --block-blue:   #3E8FD0;
  --block-blue-ink:   #123A5C;
  --block-purple: #8A5FBF;
  --block-purple-ink: #3B215C;

  --cta: #F2694F;
  --cta-ink: #FFFFFF;
  --cta-hover: #DD5238;

  --surface: #FFFFFF;
  --surface-alt: #FBFEFD;

  /* ---- Type ---- */
  --font-display: 'Baloo 2', ui-rounded, system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;

  /* ---- Radius / shadow ---- */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;
  --shadow-block: 0 10px 24px -8px rgba(32,40,68,0.18), 0 2px 6px rgba(32,40,68,0.08);
  --shadow-soft: 0 20px 45px -20px rgba(32,40,68,0.22);

  --container: 1360px;
  --pad: clamp(20px, 4.2vw, 72px);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
svg{ max-width:100%; }
.media-frame svg,
.block-stage svg,
.program-media svg,
.gallery-item svg{ width:100%; height:100%; display:block; }
html{ overflow-x:hidden; width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; line-height:1.08; color:var(--ink); }
p{ margin:0; }
input,textarea,select{ font-family:inherit; font-size:1rem; }

:focus-visible{
  outline:3px solid var(--block-blue);
  outline-offset:3px;
  border-radius:6px;
}

.container{ max-width:var(--container); margin:0 auto; padding:0 var(--pad); }
.wrap-narrow{ max-width:760px; }

section{ position:relative; }
.section-pad{ padding:clamp(64px, 9vw, 128px) 0; }
.section-pad-sm{ padding:clamp(40px, 6vw, 72px) 0; }

/* ---- Skip link ---- */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--ink); color:#fff;
  padding:12px 20px; border-radius:0 0 10px 0; z-index:999;
}
.skip-link:focus{ left:0; }

/* ---- Utility ---- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-body); font-weight:700; font-size:0.78rem;
  letter-spacing:0.14em; text-transform:uppercase;
  color:var(--block-coral-ink);
  background:#FEE7E0;
  padding:7px 16px 7px 12px;
  border-radius:var(--r-pill);
  margin-bottom:18px;
}
.eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--block-coral); flex:none; }
.eyebrow.teal{ color:var(--block-teal-ink); background:#DCF3EE; }
.eyebrow.teal .dot{ background:var(--block-teal); }
.eyebrow.blue{ color:var(--block-blue-ink); background:#E1EFFA; }
.eyebrow.blue .dot{ background:var(--block-blue); }
.eyebrow.yellow{ color:var(--block-yellow-ink); background:#FCF0D8; }
.eyebrow.yellow .dot{ background:var(--block-yellow); }
.eyebrow.purple{ color:var(--block-purple-ink); background:#EDE3F7; }
.eyebrow.purple .dot{ background:var(--block-purple); }

.h-xl{ font-size:clamp(2.6rem, 5.4vw, 4.6rem); font-weight:800; letter-spacing:-0.01em; }
.h-lg{ font-size:clamp(2.1rem, 3.6vw, 3.1rem); font-weight:800; letter-spacing:-0.01em; }
.h-md{ font-size:clamp(1.5rem, 2.4vw, 2rem); font-weight:700; }
.lede{ font-size:clamp(1.05rem, 1.6vw, 1.22rem); color:var(--ink-soft); line-height:1.65; font-weight:500; }
.body-text{ font-size:1.02rem; color:var(--ink-soft); line-height:1.75; }

.text-center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:700; font-size:0.98rem; padding:15px 28px;
  border-radius:var(--r-pill); border:2px solid transparent;
  transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space:nowrap; position:relative;
}
.btn-primary{
  background:var(--cta); color:var(--cta-ink);
  box-shadow:0 12px 24px -10px rgba(242,105,79,0.55);
}
.btn-primary:hover{ background:var(--cta-hover); transform:translateY(-3px); box-shadow:0 18px 30px -10px rgba(242,105,79,0.6); }
.btn-ghost{
  background:transparent; color:var(--ink); border-color:var(--line);
}
.btn-ghost:hover{ border-color:var(--ink); transform:translateY(-3px); }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:#161b31; transform:translateY(-3px); }
.btn-sm{ padding:10px 20px; font-size:0.88rem; }
.btn svg{ width:18px; height:18px; transition:transform .3s; }
.btn-primary:hover svg, .btn-dark:hover svg{ transform:translateX(3px); }

/* ==========================================================================
   NAV
   ========================================================================== */
.topbar{
  background:var(--ink); color:#cdd6f0; font-size:0.82rem; font-weight:600;
}
.topbar .container{ display:flex; justify-content:flex-end; gap:26px; padding-top:9px; padding-bottom:9px; }
.topbar a{ display:inline-flex; align-items:center; gap:7px; opacity:.92; transition:opacity .2s; }
.topbar a:hover{ opacity:1; color:#fff; }
.topbar svg{ width:14px; height:14px; }

.site-nav{
  position:sticky; top:0; z-index:200;
  background:rgba(242,247,246,0.7);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid rgba(32,40,68,0.06);
  transition:box-shadow .3s, background .3s, padding .3s;
}
.site-nav.is-scrolled{ box-shadow:0 8px 30px -18px rgba(32,40,68,0.35); background:rgba(247,251,250,0.92); }
.site-nav .container{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:14px; padding-bottom:14px; transition:padding .3s; }
.site-nav.is-scrolled .container{ padding-top:10px; padding-bottom:10px; }

.brand{ display:flex; align-items:center; gap:11px; flex:none; }
.brand-logo{ height:46px; width:auto; display:block; transition:transform .3s; }
.brand-logo.sm{ height:40px; }
.site-nav.is-scrolled .brand-logo{ height:40px; }
.brand:hover .brand-logo{ transform:scale(1.04); }
.brand-logo-chip{ background:#fff; padding:10px 16px; border-radius:16px; display:inline-flex; align-items:center; box-shadow:0 8px 20px -8px rgba(0,0,0,0.35); }

/* ---- Gradient / trendy text ---- */
.grad-text{
  background:linear-gradient(90deg, var(--block-coral), var(--block-purple) 45%, var(--block-blue) 75%, var(--block-coral));
  background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:gradShift 7s ease infinite;
  display:inline-block;
}
@keyframes gradShift{
  0%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
  100%{ background-position:0% 50%; }
}

/* ---- Aurora blob backgrounds ---- */
.aurora{ position:absolute; inset:0; overflow:hidden; z-index:0; pointer-events:none; border-radius:inherit; }
.aurora span{ position:absolute; border-radius:50%; filter:blur(64px); opacity:.45; animation:auroraDrift 16s ease-in-out infinite; }
.aurora span:nth-child(1){ width:340px; height:340px; background:var(--block-coral); top:-90px; left:8%; animation-duration:15s; }
.aurora span:nth-child(2){ width:300px; height:300px; background:var(--block-blue); top:20%; right:6%; animation-duration:19s; animation-delay:-4s; }
.aurora span:nth-child(3){ width:260px; height:260px; background:var(--block-yellow); bottom:-80px; left:38%; animation-duration:13s; animation-delay:-8s; }
.aurora-dark span{ opacity:.28; filter:blur(70px); }
.aurora-warm span{ opacity:.25; mix-blend-mode:overlay; }
@keyframes auroraDrift{
  0%,100%{ transform:translate(0,0) scale(1); }
  33%{ transform:translate(24px,-18px) scale(1.08); }
  66%{ transform:translate(-18px,14px) scale(0.96); }
}
@media (prefers-reduced-motion: reduce){ .aurora span{ animation:none; } .grad-text{ animation:none; } }
.hero .container, .page-hero .container{ position:relative; z-index:1; }
.stats-band, .cta-band{ isolation:isolate; }
.stats-band .stats-grid, .cta-band > h2, .cta-band > .lede, .cta-band > .hero-actions{ position:relative; z-index:1; }

/* ---- Hero real-photo variant ---- */
.hero-photo{ position:relative; }
.hero-photo::before{
  content:""; position:absolute; inset:-16px; border-radius:calc(var(--r-lg) + 16px);
  background:conic-gradient(from 0deg, var(--block-coral), var(--block-yellow), var(--block-teal), var(--block-blue), var(--block-purple), var(--block-coral));
  opacity:.4; filter:blur(22px); z-index:-1; animation:heroRingSpin 14s linear infinite;
}
.hero-photo-frame{
  border-radius:var(--r-lg); overflow:hidden; position:relative;
  box-shadow:var(--shadow-soft); aspect-ratio:1/1.02;
}
.hero-photo-frame img{
  width:100%; height:100%; object-fit:cover; display:block;
  animation:heroKenBurns 18s ease-in-out infinite alternate; transform-origin:56% 42%;
}
.hero-photo-frame::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,0.4);
  background:linear-gradient(180deg, rgba(32,40,68,0) 55%, rgba(32,40,68,0.28) 100%);
}
@keyframes heroKenBurns{ 0%{ transform:scale(1); } 100%{ transform:scale(1.14); } }
@keyframes heroRingSpin{ to{ transform:rotate(360deg); } }
.hero-photo .media-badge{ position:absolute; bottom:-22px; left:-18px; z-index:2; }
@media (max-width:560px){ .hero-photo .media-badge{ left:8px; bottom:-16px; } }
.hero-photo-sparkle{
  position:absolute; font-size:1.6rem; color:var(--block-yellow); pointer-events:none;
  animation:sparkleTwinkle 2.4s ease-in-out infinite;
}
.hero-photo-sparkle.s1{ top:-14px; right:12%; color:var(--block-coral); }
.hero-photo-sparkle.s2{ bottom:14%; right:-16px; animation-delay:.5s; }

/* ---- Google rating badge ---- */
.google-rating-badge{ display:flex; align-items:center; gap:16px; margin-top:24px; background:var(--surface); border-radius:var(--r-md); padding:16px 20px; box-shadow:var(--shadow-block); max-width:420px; }
.google-rating-stars{ display:flex; gap:2px; color:var(--block-yellow); flex:none; }
.google-rating-stars svg{ width:20px; height:20px; }
.google-rating-badge b{ display:block; font-size:0.95rem; }
.google-rating-badge span{ font-size:0.8rem; color:var(--ink-soft); }
.playarea-banner{ position:relative; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-soft); min-height:420px; display:flex; align-items:center; }
.playarea-banner img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; transition:transform 8s ease-out; }
.playarea-banner:hover img{ transform:scale(1.06); }
.playarea-banner::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg, rgba(32,40,68,0.88) 0%, rgba(32,40,68,0.62) 42%, rgba(32,40,68,0.15) 75%);
}
.playarea-overlay{ position:relative; z-index:2; padding:48px; max-width:640px; }
@media (max-width:760px){
  .playarea-banner{ min-height:520px; align-items:flex-end; }
  .playarea-overlay{ padding:28px 22px 34px; }
  .playarea-banner::before{ background:linear-gradient(180deg, rgba(32,40,68,0.2) 0%, rgba(32,40,68,0.9) 70%); }
}
@media (prefers-reduced-motion: reduce){
  .hero-photo-frame img{ animation:none; }
  .hero-photo::before{ animation:none; }
}
.scene-block{ animation:blockFloat 5.5s ease-in-out infinite; animation-delay:var(--d,0s); transform-box:fill-box; transform-origin:center; }
@keyframes blockFloat{ 0%,100%{ translate:0 0; } 50%{ translate:0 -9px; } }
.scene-orbit{ animation:sceneSpin 22s linear infinite; transform-box:fill-box; }
@keyframes sceneSpin{ to{ transform:rotate(360deg); } }
.scene-sparkle{ animation:sparkleTwinkle 2.4s ease-in-out infinite; animation-delay:var(--sd,0s); transform-box:fill-box; transform-origin:center; }
@keyframes sparkleTwinkle{ 0%,100%{ opacity:.2; transform:scale(0.7); } 50%{ opacity:.9; transform:scale(1.15); } }
@media (prefers-reduced-motion: reduce){
  .scene-block, .scene-orbit, .scene-sparkle{ animation:none; }
}

/* ---- Tilt + magnetic interactive hooks ---- */
[data-tilt]{ transition:transform .15s ease-out; will-change:transform; }
.magnetic{ transition:transform .18s ease-out; }

.nav-links{ display:flex; align-items:center; gap:0; flex-wrap:nowrap; }
.nav-links a{
  padding:9px 12px; border-radius:var(--r-pill); font-weight:600; font-size:0.88rem; color:var(--ink-soft);
  position:relative; transition:color .2s, background .2s; white-space:nowrap;
}
.nav-links a:hover{ color:var(--ink); background:rgba(32,40,68,0.05); }
.nav-links a.active{ color:var(--ink); background:#fff; box-shadow:var(--shadow-block); }

.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{
  display:none; width:46px; height:46px; border-radius:var(--r-sm); border:1.5px solid var(--line);
  background:#fff; align-items:center; justify-content:center; flex:none;
}
.nav-toggle svg{ width:22px; height:22px; }

.mobile-menu{
  display:none; position:fixed; inset:0; z-index:300; background:var(--paper);
  padding:20px var(--pad) 40px; overflow-y:auto;
}
.mobile-menu.is-open{ display:block; }
.mobile-menu-head{ display:flex; justify-content:space-between; align-items:center; padding-bottom:22px; border-bottom:1px solid var(--line); margin-bottom:22px; }
.mobile-menu a.mm-link{ display:block; font-family:var(--font-display); font-size:1.5rem; font-weight:700; padding:12px 0; border-bottom:1px solid var(--line); color:var(--ink); }
.mobile-menu .btn{ margin-top:26px; width:100%; }
.mm-close{ width:44px; height:44px; border-radius:50%; border:1.5px solid var(--line); background:#fff; display:flex; align-items:center; justify-content:center; }

@media (max-width: 1240px){
  .topbar{ display:none; }
  .nav-links{ display:none; }
  .nav-cta .btn-primary{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ==========================================================================
   HERO / BLOCK MOTIF
   ========================================================================== */
.hero{
  padding-top:clamp(48px,7vw,88px);
  padding-bottom:clamp(64px,8vw,110px);
  position:relative; overflow:hidden;
}
.hero-grid{ display:grid; grid-template-columns:1fr 0.92fr; gap:56px; align-items:center; }
@media (max-width:980px){ .hero-grid{ grid-template-columns:1fr; } }

.hero-eyebrow-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
.hero h1{ margin-bottom:22px; }
.hero h1 .accent{ color:var(--block-coral); position:relative; display:inline-block; }
.hero h1 .accent svg{ position:absolute; left:0; bottom:-6px; width:100%; height:14px; }

.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }

.hero-stats{ display:flex; gap:34px; margin-top:44px; flex-wrap:wrap; }
.hero-stat b{ display:block; font-family:var(--font-display); font-size:2rem; color:var(--ink); }
.hero-stat span{ font-size:0.85rem; color:var(--ink-soft); font-weight:600; }

/* block stage */
.block-stage{ position:relative; height:520px; }
@media (max-width:640px){ .block-stage{ height:400px; } }
.wood-block{
  position:absolute; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:800; color:#fff;
  border-radius:18px; box-shadow:var(--shadow-block);
  animation:float 6s ease-in-out infinite;
}
.wood-block::after{
  content:""; position:absolute; inset:6px; border-radius:12px; border:2px solid rgba(255,255,255,0.35);
}
@keyframes float{
  0%,100%{ transform:translateY(0) rotate(var(--rot,0deg)); }
  50%{ transform:translateY(-16px) rotate(var(--rot,0deg)); }
}
.shelf-line{
  position:absolute; left:-6%; right:-6%; height:14px; background:linear-gradient(180deg,#DCEAE6,#C7DAD5);
  border-radius:8px; box-shadow:0 18px 30px -10px rgba(32,40,68,0.25);
}
.shelf-shadow{ position:absolute; left:2%; right:2%; height:22px; background:radial-gradient(ellipse at center, rgba(32,40,68,0.16), transparent 70%); filter:blur(2px); }

.scroll-cue{ position:absolute; bottom:18px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:8px; opacity:.7; }
.scroll-cue .mouse{ width:24px; height:38px; border:2px solid var(--ink-soft); border-radius:14px; position:relative; }
.scroll-cue .mouse::before{ content:""; position:absolute; top:6px; left:50%; width:4px; height:8px; background:var(--ink-soft); border-radius:3px; transform:translateX(-50%); animation:scrollDot 1.8s infinite; }
@keyframes scrollDot{ 0%{ opacity:1; top:6px;} 70%{opacity:0; top:20px;} 100%{opacity:0; top:6px;} }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal]{ opacity:0; transform:translateY(28px); transition:opacity .8s cubic-bezier(.16,.8,.24,1), transform .8s cubic-bezier(.16,.8,.24,1); }
[data-reveal].in-view{ opacity:1; transform:translateY(0); }
[data-reveal="fade"]{ transform:none; }
[data-reveal="left"]{ transform:translateX(-32px); }
[data-reveal="left"].in-view{ transform:translateX(0); }
[data-reveal="right"]{ transform:translateX(32px); }
[data-reveal="right"].in-view{ transform:translateX(0); }
[data-reveal="scale"]{ transform:scale(.92); }
[data-reveal="scale"].in-view{ transform:scale(1); }
[data-reveal-group] [data-reveal]{ transition-delay:calc(var(--i,0) * 90ms); }

/* ==========================================================================
   BLOCK CARDS (values / features)
   ========================================================================== */
.block-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media (max-width:980px){ .block-cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .block-cards{ grid-template-columns:1fr; } }

.block-card{
  background:var(--surface); border-radius:var(--r-md); padding:30px 26px;
  box-shadow:var(--shadow-block); border:1px solid rgba(32,40,68,0.05);
  transform:rotate(var(--tilt,0deg));
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.block-card:hover{ transform:rotate(0deg) translateY(-8px); box-shadow:var(--shadow-soft); }
.block-card:nth-child(4n+1){ --tilt:-1.4deg; }
.block-card:nth-child(4n+2){ --tilt:1deg; }
.block-card:nth-child(4n+3){ --tilt:-0.8deg; }
.block-card:nth-child(4n+4){ --tilt:1.4deg; }

.block-icon{
  width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  margin-bottom:20px; color:#fff; flex:none;
}
.block-icon svg{ width:26px; height:26px; }
.bg-coral{ background:var(--block-coral); } .bg-teal{ background:var(--block-teal); }
.bg-blue{ background:var(--block-blue); } .bg-yellow{ background:var(--block-yellow); }
.bg-purple{ background:var(--block-purple); }

.block-card h3{ font-size:1.15rem; margin-bottom:10px; }
.block-card p{ color:var(--ink-soft); font-size:0.95rem; line-height:1.65; }

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head.centered{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head-row{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:52px; }
.section-head-row .section-head{ margin-bottom:0; }
@media (max-width:720px){ .section-head-row{ flex-direction:column; align-items:flex-start; } }

/* ==========================================================================
   ABOUT / SPLIT SECTIONS
   ========================================================================== */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
@media (max-width:920px){ .split{ grid-template-columns:1fr; gap:40px; } }
.split.reverse .split-media{ order:2; }
@media (max-width:920px){ .split.reverse .split-media{ order:0; } }

.split-media{ position:relative; }
.media-frame{
  border-radius:var(--r-lg); overflow:hidden; position:relative; box-shadow:var(--shadow-soft);
  aspect-ratio:4/3.2;
}
.media-badge{
  position:absolute; bottom:-24px; left:-24px; background:#fff; border-radius:var(--r-md);
  padding:18px 22px; box-shadow:var(--shadow-block); display:flex; align-items:center; gap:14px;
  max-width:230px;
}
@media (max-width:560px){ .media-badge{ left:10px; bottom:-18px; padding:14px 16px; } }
.media-badge .num{ font-family:var(--font-display); font-size:1.7rem; font-weight:800; color:var(--block-coral); }

.check-list{ display:flex; flex-direction:column; gap:14px; margin-top:26px; }
.check-list li{ display:flex; align-items:flex-start; gap:12px; font-weight:600; color:var(--ink); font-size:0.98rem; }
.check-list .tick{
  width:24px; height:24px; border-radius:50%; background:var(--block-teal); color:#fff; flex:none;
  display:flex; align-items:center; justify-content:center; margin-top:1px;
}
.check-list .tick svg{ width:13px; height:13px; }

/* Illustration blobs */
.blob{ position:absolute; border-radius:50%; filter:blur(0px); z-index:-1; opacity:.55; }

/* ==========================================================================
   GROWTH RULER (signature — programs timeline)
   ========================================================================== */
.ruler-wrap{ position:relative; padding:20px 0 10px; }
.ruler-track{
  position:relative; display:flex; gap:0; overflow-x:auto; padding:10px 4px 34px;
  scrollbar-width:thin;
}
.ruler-line{
  position:absolute; left:0; right:0; top:64px; height:4px; background:repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 20px);
}
.ruler-item{ flex:1 0 220px; position:relative; padding:0 18px; text-align:center; scroll-snap-align:start; }
.ruler-track{ scroll-snap-type:x proximity; }
.ruler-mark{
  width:54px; height:54px; border-radius:16px; margin:0 auto 18px; display:flex; align-items:center; justify-content:center;
  color:#fff; font-family:var(--font-display); font-weight:800; font-size:1.1rem; box-shadow:var(--shadow-block);
  position:relative; z-index:2; border:4px solid var(--paper);
}
.ruler-item h4{ font-size:1.05rem; margin-bottom:6px; }
.ruler-item p{ font-size:0.85rem; color:var(--ink-soft); }
.ruler-age{ display:inline-block; margin-top:10px; font-size:0.78rem; font-weight:700; color:var(--ink); background:#fff; border:1px solid var(--line); padding:4px 12px; border-radius:var(--r-pill); }

/* ==========================================================================
   PROGRAM CARDS
   ========================================================================== */
.program-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media (max-width:980px){ .program-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .program-grid{ grid-template-columns:1fr; } }

.program-card{
  background:var(--surface); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-block);
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; border:1px solid rgba(32,40,68,.05);
}
.program-card:hover{ transform:translateY(-10px); box-shadow:var(--shadow-soft); }
.program-media{ aspect-ratio:16/11; position:relative; overflow:hidden; }
.program-media svg{ width:100%; height:100%; display:block; }
.program-tag{
  position:absolute; top:16px; left:16px; background:rgba(255,255,255,0.92); backdrop-filter:blur(6px);
  padding:6px 14px; border-radius:var(--r-pill); font-size:0.76rem; font-weight:800; letter-spacing:.03em;
}
.program-body{ padding:26px; }
.program-body h3{ font-size:1.25rem; margin-bottom:10px; }
.program-body p{ color:var(--ink-soft); font-size:0.93rem; line-height:1.6; margin-bottom:18px; }
.program-meta{ display:flex; gap:16px; padding-top:16px; border-top:1px dashed var(--line); flex-wrap:wrap; }
.program-meta div{ display:flex; flex-direction:column; gap:2px; }
.program-meta b{ font-size:0.92rem; }
.program-meta span{ font-size:0.72rem; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; font-weight:700; }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats-band{ background:var(--ink); border-radius:var(--r-lg); padding:52px var(--pad); position:relative; overflow:hidden; }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:30px; position:relative; z-index:1; }
@media (max-width:820px){ .stats-grid{ grid-template-columns:repeat(2,1fr); } }
.stat-item{ text-align:center; color:#fff; }
.stat-item b{ display:block; font-family:var(--font-display); font-size:clamp(2.2rem,4vw,3rem); font-weight:800; }
.stat-item span{ font-size:0.86rem; color:#B9C2DE; font-weight:600; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.tcarousel{ position:relative; }
.tcarousel-track{ overflow:hidden; }
.tcarousel-slides{ display:flex; transition:transform .6s cubic-bezier(.2,.8,.2,1); }
.tcard{
  flex:0 0 100%; padding:4px;
}
.tcard-inner{
  background:var(--surface); border-radius:var(--r-lg); padding:clamp(28px,4vw,48px);
  box-shadow:var(--shadow-block); max-width:820px; margin:0 auto; position:relative;
}
.tcard-stars{ display:flex; gap:4px; margin-bottom:18px; color:var(--block-yellow); }
.tcard-stars svg{ width:18px; height:18px; }
.tcard blockquote{ margin:0 0 24px; font-size:clamp(1.02rem,1.6vw,1.25rem); line-height:1.65; color:var(--ink); font-weight:500; }
.tcard-person{ display:flex; align-items:center; gap:14px; }
.tcard-avatar{
  width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; color:#fff; flex:none; font-size:1.1rem;
}
.tcard-person b{ display:block; font-size:0.98rem; }
.tcard-person span{ font-size:0.82rem; color:var(--ink-soft); }

.tcarousel-controls{ display:flex; justify-content:center; gap:14px; margin-top:30px; align-items:center; }
.tc-btn{
  width:46px; height:46px; border-radius:50%; border:1.5px solid var(--line); background:#fff;
  display:flex; align-items:center; justify-content:center; transition:all .25s;
}
.tc-btn:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
.tc-btn svg{ width:18px; height:18px; }
.tc-dots{ display:flex; gap:8px; }
.tc-dot{ width:8px; height:8px; border-radius:50%; background:var(--line); border:none; padding:0; transition:all .3s; }
.tc-dot.active{ width:26px; border-radius:5px; background:var(--block-coral); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); grid-auto-flow:dense; gap:20px; }
@media (max-width:760px){ .gallery-grid{ grid-template-columns:repeat(2, 1fr); gap:12px; } }
@media (max-width:420px){ .gallery-grid{ grid-template-columns:1fr; } }
.gallery-item{ border-radius:18px; overflow:hidden; position:relative; aspect-ratio:4/3.1; box-shadow:0 10px 22px -12px rgba(32,40,68,0.28); }
.gallery-item svg, .gallery-item img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s cubic-bezier(.2,.8,.2,1); }
.gallery-item:hover svg, .gallery-item:hover img{ transform:scale(1.08); }
.gallery-item.wide{ grid-column:span 2; }
@media (max-width:420px){ .gallery-item.wide{ grid-column:span 1; } }
.gallery-item.tall{ aspect-ratio:4/5.2; }
@media (max-width:760px){ .gallery-item.tall{ aspect-ratio:4/3.1; } }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list{ display:flex; flex-direction:column; gap:14px; max-width:820px; }
.faq-item{ background:var(--surface); border-radius:var(--r-md); box-shadow:var(--shadow-block); overflow:hidden; }
.faq-q{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:22px 26px; background:none; border:none; text-align:left;
  font-family:var(--font-display); font-weight:700; font-size:1.02rem; color:var(--ink);
}
.faq-q .plus{
  width:32px; height:32px; border-radius:50%; background:var(--paper-deep); flex:none;
  display:flex; align-items:center; justify-content:center; transition:transform .35s, background .3s;
}
.faq-q .plus svg{ width:14px; height:14px; }
.faq-item.open .faq-q .plus{ transform:rotate(135deg); background:var(--block-coral); color:#fff; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s cubic-bezier(.2,.8,.2,1); }
.faq-a-inner{ padding:0 26px 24px; color:var(--ink-soft); line-height:1.7; font-size:0.96rem; }
.faq-item.open .faq-a{ max-height:400px; }

/* ==========================================================================
   FORM
   ========================================================================== */
.form-card{ background:var(--surface); border-radius:var(--r-lg); padding:clamp(26px,4vw,44px); box-shadow:var(--shadow-block); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:0.86rem; font-weight:700; color:var(--ink); }
.field label .req{ color:var(--block-coral); }
.field input, .field select, .field textarea{
  border:1.5px solid var(--line); border-radius:12px; padding:13px 16px; background:var(--paper);
  color:var(--ink); transition:border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--block-blue); background:#fff; box-shadow:0 0 0 4px rgba(62,143,208,0.15);
}
.field textarea{ resize:vertical; min-height:110px; font-family:inherit; }
.field .error-msg{ font-size:0.78rem; color:var(--block-coral-ink); min-height:1em; font-weight:600; }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color:var(--block-coral); background:#FFF4F2; }
.form-note{ font-size:0.82rem; color:var(--ink-soft); margin-top:16px; }
.form-success{
  display:none; align-items:center; gap:14px; background:#E4F5EF; border:1.5px solid var(--block-teal);
  color:var(--block-teal-ink); padding:16px 20px; border-radius:14px; font-weight:600; margin-bottom:20px; font-size:0.92rem;
}
.form-success.show{ display:flex; }
.form-success svg{ width:22px; height:22px; flex:none; }

/* ==========================================================================
   CONTACT INFO CARDS
   ========================================================================== */
.info-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:920px){ .info-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .info-grid{ grid-template-columns:1fr; } }
.info-card{ background:var(--surface); border-radius:var(--r-md); padding:26px; box-shadow:var(--shadow-block); }
.info-card .block-icon{ margin-bottom:16px; }
.info-card h4{ font-size:1rem; margin-bottom:8px; }
.info-card p, .info-card a{ font-size:0.9rem; color:var(--ink-soft); line-height:1.6; }
.info-card a:hover{ color:var(--block-blue); }

.map-frame{ border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-block); border:0; width:100%; height:380px; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band{
  background:linear-gradient(135deg, var(--block-coral), #F0885E 60%, var(--block-yellow));
  border-radius:var(--r-lg); padding:clamp(40px,6vw,72px); position:relative; overflow:hidden;
  text-align:center;
}
.cta-band h2, .cta-band p{ color:#fff; }
.cta-band .lede{ color:rgba(255,255,255,0.92); max-width:560px; margin:16px auto 0; }
.cta-band .hero-actions{ justify-content:center; margin-top:30px; }
.cta-band .btn-ghost{ border-color:rgba(255,255,255,0.55); color:#fff; }
.cta-band .btn-ghost:hover{ background:rgba(255,255,255,0.15); }
.cta-band .btn-primary{ background:#fff; color:var(--block-coral-ink); box-shadow:0 12px 24px -10px rgba(0,0,0,0.25); }
.cta-band .btn-primary:hover{ background:#fff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background:var(--ink); color:#B9C2DE; padding:76px 0 0; margin-top:120px; position:relative; }
.footer-top{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1.1fr; gap:44px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,0.1); }
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }
.footer-brand .brand{ color:#fff; margin-bottom:16px; }
.footer-brand p{ font-size:0.92rem; line-height:1.7; max-width:280px; }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{ width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; transition:background .25s, transform .25s; }
.footer-social a:hover{ background:var(--block-coral); transform:translateY(-3px); }
.footer-social svg{ width:17px; height:17px; }
.footer-col h5{ font-family:var(--font-display); color:#fff; font-size:1rem; margin-bottom:20px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:0.92rem; transition:color .2s; }
.footer-col a:hover{ color:#fff; }
.footer-col address{ font-style:normal; }
.footer-newsletter form{ display:flex; gap:0; margin-top:16px; border-radius:var(--r-pill); overflow:hidden; background:rgba(255,255,255,0.08); padding:5px; }
.footer-newsletter input{ flex:1; background:transparent; border:none; padding:10px 16px; color:#fff; font-size:0.9rem; }
.footer-newsletter input::placeholder{ color:#8b94b3; }
.footer-newsletter input:focus{ outline:none; }
.footer-newsletter button{ background:var(--block-coral); color:#fff; border:none; padding:10px 20px; border-radius:var(--r-pill); font-weight:700; font-size:0.86rem; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:26px 0; font-size:0.82rem; gap:14px; flex-wrap:wrap; }
.footer-bottom a{ opacity:.85; }
.footer-bottom a:hover{ opacity:1; }

/* ---- Back to top ---- */
.back-to-top{
  position:fixed; right:24px; bottom:24px; width:52px; height:52px; border-radius:50%;
  background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-soft); opacity:0; visibility:hidden; transform:translateY(12px);
  transition:all .3s; z-index:150; border:none;
}
.back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ background:var(--block-coral); }
.back-to-top svg{ width:20px; height:20px; }

/* ---- WhatsApp float ---- */
.wa-float{
  position:fixed; left:24px; bottom:24px; width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-soft); z-index:150; animation:pulse 2.4s infinite;
}
.wa-float svg{ width:26px; height:26px; }
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 rgba(37,211,102,0.5), var(--shadow-soft);} 70%{ box-shadow:0 0 0 14px rgba(37,211,102,0), var(--shadow-soft);} 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0), var(--shadow-soft);} }

/* ---- Page hero (inner pages) ---- */
.page-hero{ padding:56px 0 64px; text-align:center; position:relative; overflow:hidden; }
.page-hero .section-head{ margin:0 auto; }
.breadcrumb{ display:flex; justify-content:center; gap:8px; font-size:0.85rem; color:var(--ink-soft); margin-bottom:18px; font-weight:600; }
.breadcrumb a:hover{ color:var(--ink); }

/* ---- Timeline (vision/mission/why) ---- */
.duo-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media (max-width:760px){ .duo-grid{ grid-template-columns:1fr; } }
.duo-card{ background:var(--surface); border-radius:var(--r-lg); padding:36px; box-shadow:var(--shadow-block); position:relative; overflow:hidden; }
.duo-card .block-icon{ margin-bottom:22px; }
.duo-card h3{ font-size:1.4rem; margin-bottom:14px; }
.duo-card p{ color:var(--ink-soft); line-height:1.75; }

/* ---- Facilities list grid ---- */
.facility-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:760px){ .facility-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .facility-grid{ grid-template-columns:1fr; } }
.facility-item{ display:flex; align-items:center; gap:12px; background:var(--surface); padding:16px 18px; border-radius:14px; box-shadow:0 4px 14px -6px rgba(32,40,68,0.12); font-weight:600; font-size:0.92rem; }
.facility-item .tick{ width:26px; height:26px; border-radius:50%; background:var(--block-teal); color:#fff; display:flex; align-items:center; justify-content:center; flex:none; }
.facility-item .tick svg{ width:13px; height:13px; }

/* ---- Curriculum pill cloud ---- */
.pill-cloud{ display:flex; flex-wrap:wrap; gap:12px; }
.pill-cloud span{
  display:inline-flex; align-items:center; gap:8px; background:var(--surface); border:1.5px solid var(--line);
  padding:10px 18px; border-radius:var(--r-pill); font-weight:600; font-size:0.9rem;
  transform:rotate(var(--tilt,0deg));
}
.pill-cloud span i{ width:9px; height:9px; border-radius:3px; display:inline-block; }

/* ---- Team / staff style cards for why-choose ---- */
.badge-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.badge-row .badge{ display:flex; align-items:center; gap:10px; background:var(--surface); padding:12px 18px; border-radius:var(--r-pill); box-shadow:0 4px 14px -6px rgba(32,40,68,0.14); font-weight:700; font-size:0.86rem; }
.badge-row .badge svg{ width:18px; height:18px; color:var(--block-coral); }

/* ---- Steps (admissions process) ---- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; }
@media (max-width:920px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }
.step-card{ background:var(--surface); border-radius:var(--r-md); padding:28px 24px; box-shadow:var(--shadow-block); position:relative; }
.step-num{ font-family:var(--font-display); font-size:0.85rem; font-weight:800; color:#fff; background:var(--block-coral); width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.step-card h4{ font-size:1.02rem; margin-bottom:8px; }
.step-card p{ font-size:0.87rem; color:var(--ink-soft); line-height:1.6; }

/* Loading screen */
.loader{
  position:fixed; inset:0; background:var(--paper); z-index:9999; display:flex; align-items:center; justify-content:center;
  transition:opacity .5s ease, visibility .5s ease;
}
.loader.hide{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-blocks{ display:flex; gap:10px; }
.loader-blocks span{
  width:22px; height:22px; border-radius:6px; display:inline-block; animation:loaderBounce 1s ease-in-out infinite;
}
.loader-blocks span:nth-child(1){ background:var(--block-coral); animation-delay:0s; }
.loader-blocks span:nth-child(2){ background:var(--block-yellow); animation-delay:.12s; }
.loader-blocks span:nth-child(3){ background:var(--block-teal); animation-delay:.24s; }
.loader-blocks span:nth-child(4){ background:var(--block-blue); animation-delay:.36s; }
.loader-blocks span:nth-child(5){ background:var(--block-purple); animation-delay:.48s; }
@keyframes loaderBounce{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-18px); } }

::selection{ background:var(--block-yellow); color:var(--ink); }

/* Scroll progress bar */
.scroll-progress{ position:fixed; top:0; left:0; height:3px; background:var(--block-coral); z-index:400; width:0%; transition:width .1s linear; }
