/* ==========================================================================
   SMILING RAINBOWS PRESCHOOL & DAYCARE — Design System
   "Every Child Has Their Own Colors"
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root{
  /* Base surfaces */
  --bg:            #FFFEFB;
  --bg-cream:      #FFF9F1;
  --bg-cream-2:    #FFF4E9;
  --bg-lilac:      #FBF7FF;
  --surface:       #FFFFFF;

  /* Ink */
  --ink:           #2B2540;
  --ink-soft:      #5B5470;
  --ink-faint:     #8A84A0;
  --ink-on-color:  #2B2540;

  /* Rainbow accent palette */
  --purple:        #8B6BF2;
  --purple-deep:   #6C46E0;
  --pink:          #FF6FA5;
  --pink-deep:     #F0428A;
  --yellow:        #FFC53D;
  --yellow-deep:   #F5A300;
  --sky:           #34C0F0;
  --sky-deep:      #1AA3D8;
  --green:         #3FCC94;
  --green-deep:    #1FB37C;
  --orange:        #FF9452;
  --orange-deep:   #F5771F;

  --rainbow-gradient: linear-gradient(92deg,
      var(--purple) 0%,
      var(--pink) 22%,
      var(--orange) 42%,
      var(--yellow) 58%,
      var(--green) 76%,
      var(--sky) 100%);

  --rainbow-gradient-soft: linear-gradient(92deg,
      rgba(139,107,242,.16) 0%,
      rgba(255,111,165,.16) 22%,
      rgba(255,148,82,.16) 42%,
      rgba(255,197,61,.16) 58%,
      rgba(63,204,148,.16) 76%,
      rgba(52,192,240,.16) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(43,37,64,.06);
  --shadow-md: 0 10px 30px rgba(43,37,64,.09);
  --shadow-lg: 0 24px 60px rgba(43,37,64,.14);
  --shadow-glow-purple: 0 14px 34px rgba(139,107,242,.35);
  --shadow-glow-pink: 0 14px 34px rgba(255,111,165,.35);

  /* Radii */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;
  --r-pill: 999px;

  /* Type */
  --font-display: 'Quicksand', 'Poppins', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Nunito', sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22,.9,.32,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --dur-fast: .22s;
  --dur-med: .5s;
  --dur-slow: .9s;

  /* Layout */
  --container: 1240px;
  --header-h: 88px;
  --header-h-scrolled: 68px;
}

@media (prefers-color-scheme: dark){
  :root{ --scheme-hint: 1; }
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.01em;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
svg{ display: block; }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible{
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link{
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: var(--r-pill); z-index: 9999; transition: top .2s var(--ease);
  font-weight: 700;
}
.skip-link:focus{ top: 12px; }

/* ---------- Layout Utilities ---------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section{ position: relative; padding: 108px 0; }
.section--tight{ padding: 72px 0; }
.section--cream{ background: var(--bg-cream); }
.section--lilac{ background: var(--bg-lilac); }
.section--dark{ background: linear-gradient(180deg,#2B2540,#3B2F5C); color: #fff; }
.section--dark p{ color: rgba(255,255,255,.72); }
.section--dark h2, .section--dark h3{ color: #fff; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-deep);
  background: rgba(139,107,242,.1);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background: var(--pink); }

.section-head{ max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left{ margin-left: 0; text-align: left; }
.section-head h2{ font-size: clamp(2rem, 3.6vw, 2.85rem); }
.section-head p{ font-size: 1.1rem; }

.grad-text{
  background: var(--rainbow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.visually-hidden{
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Buttons ---------- */
.btn{
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-bounce), box-shadow var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex: none; }
.btn:hover{ transform: translateY(-3px) scale(1.015); }
.btn:active{ transform: translateY(-1px) scale(.99); }

.btn--primary{
  color: var(--btn-fg);
  background: linear-gradient(120deg, var(--purple-deep), var(--pink-deep) 60%, var(--orange-deep));
  box-shadow: var(--shadow-glow-purple);
}
.btn--primary:hover{ filter: saturate(1.15) brightness(1.03); box-shadow: 0 18px 40px rgba(139,107,242,.42); }

.btn--secondary{
  color: var(--purple-deep);
  background: #fff;
  border: 2px solid rgba(139,107,242,.28);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover{ border-color: var(--purple); box-shadow: var(--shadow-md); }

.btn--ghost-light{
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover{ background: rgba(255,255,255,.24); }

.btn--sm{ padding: 11px 20px; font-size: .88rem; }
.btn--block{ width: 100%; }
.btn[disabled]{ opacity:.6; cursor:not-allowed; transform:none !important; }

.link-arrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; color: var(--purple-deep);
  border-bottom: 2px solid rgba(139,107,242,.3);
  padding-bottom: 2px;
  transition: gap var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.link-arrow:hover{ gap: 13px; border-color: var(--purple-deep); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header{
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,254,251,.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(139,107,242,.08);
  transition: height var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.site-header.is-scrolled{
  height: var(--header-h-scrolled);
  background: rgba(255,254,251,.92);
  box-shadow: 0 8px 30px rgba(43,37,64,.08);
}
.nav-inner{
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand{
  display: flex; align-items: center; gap: 12px; flex: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink);
}
.brand img{ height: 44px; width: auto; flex: none; transition: height var(--dur-fast) var(--ease); }
.site-header.is-scrolled .brand img{ height: 36px; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-text small{ font-family: var(--font-body); font-weight: 600; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

.nav-links{ display: flex; align-items: center; gap: 20px; }
.nav-links a{
  font-family: var(--font-display); font-weight: 600; font-size: .89rem; color: var(--ink-soft);
  position: relative; padding: 6px 2px; white-space: nowrap;
}
.nav-links a::after{
  content:''; position:absolute; left:0; right:100%; bottom:-2px; height:3px; border-radius: 3px;
  background: var(--rainbow-gradient); transition: right var(--dur-fast) var(--ease);
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after{ right:0; }
.nav-links a.active{ color: var(--ink); }

.nav-ctas{ display: flex; align-items: center; gap: 12px; }

.hamburger{
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 10px;
}
.hamburger span{ width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav{
  position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 360px);
  background: var(--surface); z-index: 1100;
  box-shadow: -20px 0 60px rgba(43,37,64,.18);
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease);
  display: flex; flex-direction: column;
  padding: 26px 26px 30px;
}
.mobile-nav.is-open{ transform: translateX(0); }
.mobile-nav-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 30px; }
.mobile-nav-close{ background: var(--bg-cream); border:none; width:40px; height:40px; border-radius:50%; font-size:1.2rem; }
.mobile-nav a{
  display: block; padding: 14px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.14rem;
  border-bottom: 1px solid rgba(139,107,242,.1); color: var(--ink);
}
.mobile-nav .nav-ctas{ flex-direction: column; margin-top: 22px; }
.mobile-nav .btn{ width: 100%; }
.nav-scrim{
  position: fixed; inset: 0; background: rgba(43,37,64,.4); z-index: 1050;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-med) var(--ease);
}
.nav-scrim.is-open{ opacity: 1; pointer-events: auto; }

/* Rainbow scroll progress */
.scroll-progress{
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 1200;
  background: var(--rainbow-gradient);
  transition: width .08s linear;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 100px;
  overflow: hidden;
  background:
    radial-gradient(1200px 560px at 12% -8%, rgba(255,197,61,.16), transparent 60%),
    radial-gradient(900px 520px at 105% 10%, rgba(139,107,242,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-lilac), var(--bg) 60%);
}
.hero-grid{
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy .eyebrow{ animation: fadeUp .7s var(--ease) both; }
.hero-copy h1{
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  animation: fadeUp .8s .08s var(--ease) both;
}
.hero-copy p.lead{
  font-size: 1.15rem; max-width: 540px;
  animation: fadeUp .8s .16s var(--ease) both;
}
.hero-ctas{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; animation: fadeUp .8s .24s var(--ease) both; }
.hero-trust{
  display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap;
  animation: fadeUp .8s .32s var(--ease) both;
}
.hero-trust div{ display:flex; flex-direction:column; }
.hero-trust strong{ font-family: var(--font-display); font-size: 1.5rem; }
.hero-trust span{ font-size: .82rem; color: var(--ink-faint); font-weight: 600; }

.hero-visual{ position: relative; height: 560px; animation: fadeIn 1s .2s var(--ease) both; }
.hero-arc{ position:absolute; inset: -60px -20% auto auto; width: 640px; height: 640px; opacity:.9; z-index: 0; animation: rotateSlow 60s linear infinite; }
.hero-frame{
  position: absolute; border-radius: 42% 58% 60% 40% / 46% 40% 60% 54%;
  overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff;
}
.hero-frame img{ width: 100%; height: 100%; object-fit: cover; }
.hero-frame--main{ width: 78%; height: 88%; left: 4%; top: 4%; z-index: 3; animation: floatY 7s ease-in-out infinite; }
.hero-float{
  position: absolute; display:flex; align-items:center; justify-content:center;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-md);
  font-size: 1.5rem; z-index: 5;
}
.hero-float--1{ width: 62px; height:62px; top: 6%; right: 18%; animation: floatY 5s ease-in-out infinite; }
.hero-float--2{ width: 48px; height:48px; bottom: 12%; left: -2%; animation: floatY 6s .5s ease-in-out infinite; }
.hero-float--3{ width: 40px; height:40px; top: 44%; right: -2%; animation: floatY 5.4s .3s ease-in-out infinite; }
.hero-blob{
  position: absolute; border-radius: 50%; filter: blur(2px); z-index: 1; opacity: .55;
}
.hero-blob--1{ width: 130px; height: 130px; background: var(--yellow); top: -4%; left: 30%; animation: driftBlob 9s ease-in-out infinite; }
.hero-blob--2{ width: 90px; height: 90px; background: var(--sky); bottom: 6%; right: 8%; animation: driftBlob 10s 1s ease-in-out infinite; }

.hero-scroll-cue{
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:6px;
  font-size: .72rem; letter-spacing:.1em; color: var(--ink-faint); font-weight:700; text-transform:uppercase;
}
.hero-scroll-cue .mouse{
  width: 24px; height: 38px; border: 2px solid var(--ink-faint); border-radius: 14px; position: relative;
}
.hero-scroll-cue .mouse::after{
  content:''; position:absolute; top:6px; left:50%; width:4px; height:4px; background: var(--purple);
  border-radius:50%; transform: translateX(-50%); animation: scrollCue 1.8s ease-in-out infinite;
}

/* ==========================================================================
   BRAND STATEMENT
   ========================================================================== */
.brand-statement{ text-align:center; padding: 80px 0; position: relative; }
.brand-statement .container{ max-width: 880px; }
.brand-statement .kicker{ font-family: var(--font-display); font-weight:800; font-size: 1rem; color: var(--pink-deep); text-transform: uppercase; letter-spacing:.12em; }
.brand-statement h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 10px; }
.brand-statement p{ font-size: 1.15rem; max-width: 680px; margin-left:auto; margin-right:auto; }
.brand-statement .highlight{
  display:inline-block; margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  background: var(--rainbow-gradient); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.mini-arc{ width: 120px; margin: 0 auto 22px; }

/* ==========================================================================
   INFO STRIP
   ========================================================================== */
.info-strip{ padding: 8px 0 0; }
.info-strip-inner{
  display:grid; grid-template-columns: repeat(4,1fr);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  overflow: hidden; margin-top: -46px; position: relative; z-index: 20;
}
.info-item{
  padding: 30px 22px; text-align:center; position:relative;
  border-right: 1px solid rgba(139,107,242,.09);
}
.info-item:last-child{ border-right:none; }
.info-item .icon-badge{ margin: 0 auto 12px; }
.info-item strong{ display:block; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.info-item span{ font-size: .82rem; color: var(--ink-faint); font-weight:600; }

.icon-badge{
  width: 54px; height: 54px; border-radius: 18px; display:flex; align-items:center; justify-content:center;
  font-size: 1.5rem;
}
.icon-badge--1{ background: rgba(139,107,242,.12); }
.icon-badge--2{ background: rgba(255,111,165,.12); }
.icon-badge--3{ background: rgba(255,197,61,.14); }
.icon-badge--4{ background: rgba(52,192,240,.12); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
.about-media{ position: relative; }
.about-media img{ border-radius: var(--r-xl); box-shadow: var(--shadow-lg); width:100%; height: 560px; object-fit: cover; }
.about-badge{
  position:absolute; left: -26px; bottom: -26px; background:#fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 18px 22px; display:flex; align-items:center; gap:14px;
}
.about-badge .num{ font-family: var(--font-display); font-weight:800; font-size:1.8rem; background: var(--rainbow-gradient); -webkit-background-clip:text; background-clip:text; color:transparent; }
.about-badge .label{ font-size:.78rem; color: var(--ink-faint); font-weight:700; line-height:1.3; max-width:110px; }
.about-copy .founder-line{
  display:flex; align-items:center; gap:12px; margin-top: 26px; padding: 16px 20px;
  background: var(--bg-cream); border-radius: var(--r-md); font-weight:700;
}
.about-copy .founder-line span.role{ display:block; font-weight:600; font-size:.8rem; color: var(--ink-faint); }
.about-copy .founder-line .founder-photo{
  width: 96px; height: 60px; border-radius: var(--r-sm); object-fit: contain; flex: none;
  box-shadow: var(--shadow-sm); border: 2px solid #fff; background: #fff;
}
.founder-spotlight{
  display:grid; grid-template-columns: minmax(0,560px) 1fr; gap: 48px; align-items:center;
  margin-top: 72px; padding: 40px; background: var(--bg-cream); border-radius: var(--r-xl);
}
.founder-spotlight-media{
  background:#fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 10px;
}
.founder-spotlight-media img{ display:block; width:100%; height:auto; border-radius: var(--r-md); }
.founder-spotlight-copy h3{
  font-family: var(--font-display); font-size: 1.9rem; font-weight:800; margin: 10px 0 4px;
}
.founder-spotlight-copy .role{ font-weight:700; color: var(--ink-faint); font-size: 1rem; }

@media (max-width: 940px){
  .founder-spotlight{ grid-template-columns: 1fr; padding: 28px; margin-top: 48px; }
}
@media (max-width: 520px){
  .about-copy .founder-line{ flex-wrap: wrap; }
  .about-copy .founder-line .founder-photo{ width: 84px; height: 52px; }
}

/* ==========================================================================
   PROGRAMS
   ========================================================================== */
.programs-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.program-card{
  background:#fff; border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  border: 1px solid rgba(43,37,64,.05);
  display:flex; flex-direction:column;
}
.program-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-media{ position:relative; height: 180px; overflow:hidden; }
.program-media img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.program-card:hover .program-media img{ transform: scale(1.08); }
.program-age{
  position:absolute; top:14px; left:14px; background:#fff; padding:6px 14px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight:800; font-size:.78rem; box-shadow: var(--shadow-sm);
}
.program-body{ padding: 24px 24px 26px; flex:1; display:flex; flex-direction:column; }
.program-icon{ font-size: 1.7rem; margin-bottom: 10px; }
.program-body h3{ font-size: 1.25rem; margin-bottom:8px; }
.program-body p{ font-size:.95rem; flex:1; }
.program-card .link-arrow{ margin-top: 8px; font-size:.9rem; }

.program-card[data-accent="purple"] .program-age{ color: var(--purple-deep); }
.program-card[data-accent="pink"] .program-age{ color: var(--pink-deep); }
.program-card[data-accent="yellow"] .program-age{ color: var(--yellow-deep); }
.program-card[data-accent="sky"] .program-age{ color: var(--sky-deep); }
.program-card[data-accent="green"] .program-age{ color: var(--green-deep); }
.program-card[data-accent="orange"] .program-age{ color: var(--orange-deep); }

/* ==========================================================================
   LEARNING APPROACH — TIMELINE
   ========================================================================== */
.timeline-wrap{ position: relative; }
.timeline-track{
  display:grid; grid-template-columns: repeat(5,1fr); gap: 20px; position:relative; padding-top: 10px;
}
.timeline-track::before{
  content:''; position:absolute; top: 56px; left: 6%; right:6%; height:4px; border-radius:4px;
  background: var(--rainbow-gradient); opacity:.35;
}
.timeline-track::after{
  content:''; position:absolute; top: 56px; left: 6%; height:4px; border-radius:4px; width: var(--tl-progress, 0%);
  background: var(--rainbow-gradient); transition: width .6s var(--ease);
}
.timeline-step{ text-align:center; position:relative; }
.timeline-num{
  width: 68px; height:68px; border-radius:50%; background:#fff; box-shadow: var(--shadow-md);
  display:flex; align-items:center; justify-content:center; margin: 0 auto 18px; position:relative; z-index:2;
  font-family: var(--font-display); font-weight:800; font-size:1.3rem; border: 3px solid #fff;
}
.timeline-step:nth-child(1) .timeline-num{ color: var(--purple-deep); box-shadow: 0 0 0 4px rgba(139,107,242,.16), var(--shadow-md); }
.timeline-step:nth-child(2) .timeline-num{ color: var(--pink-deep); box-shadow: 0 0 0 4px rgba(255,111,165,.16), var(--shadow-md); }
.timeline-step:nth-child(3) .timeline-num{ color: var(--orange-deep); box-shadow: 0 0 0 4px rgba(255,148,82,.16), var(--shadow-md); }
.timeline-step:nth-child(4) .timeline-num{ color: var(--green-deep); box-shadow: 0 0 0 4px rgba(63,204,148,.16), var(--shadow-md); }
.timeline-step:nth-child(5) .timeline-num{ color: var(--sky-deep); box-shadow: 0 0 0 4px rgba(52,192,240,.16), var(--shadow-md); }
.timeline-step h3{ font-size: 1.08rem; margin-bottom:8px; }
.timeline-step p{ font-size:.9rem; }

/* Mobile vertical variant (hidden on desktop; swapped in under 720px) */
.timeline-track.is-vertical{ display:none; flex-direction:column; gap: 0; }
.timeline-track.is-vertical::before,.timeline-track.is-vertical::after{
  top:0; bottom:0; left: 33px; right:auto; width:4px; height:auto; top:10px;
}
.timeline-track.is-vertical .timeline-step{ display:flex; align-items:flex-start; gap:20px; text-align:left; padding-bottom: 34px; }
.timeline-track.is-vertical .timeline-num{ margin:0; flex: none; }

/* ==========================================================================
   MONTESSORI / FEATURE CARDS
   ========================================================================== */
.montessori-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.montessori-media{ position:relative; }
.montessori-media img{ border-radius: var(--r-xl); box-shadow: var(--shadow-lg); width:100%; height:520px; object-fit:cover; }
.feature-cards{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card{
  background:#fff; border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43,37,64,.05);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card .fc-icon{
  width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; margin-bottom: 12px;
}
.feature-card h4{ font-size:1rem; margin-bottom:6px; }
.feature-card p{ font-size:.85rem; margin:0; }
.feature-card:nth-child(6n+1) .fc-icon{ background: rgba(139,107,242,.12); }
.feature-card:nth-child(6n+2) .fc-icon{ background: rgba(255,111,165,.12); }
.feature-card:nth-child(6n+3) .fc-icon{ background: rgba(255,197,61,.15); }
.feature-card:nth-child(6n+4) .fc-icon{ background: rgba(63,204,148,.14); }
.feature-card:nth-child(6n+5) .fc-icon{ background: rgba(52,192,240,.14); }
.feature-card:nth-child(6n+6) .fc-icon{ background: rgba(255,148,82,.14); }

/* ==========================================================================
   WHAT MAKES US SPECIAL
   ========================================================================== */
.special-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.special-card{
  background:#fff; border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43,37,64,.05); position:relative; overflow:hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.special-card::before{
  content:''; position:absolute; inset:0 0 auto 0; height:6px; background: var(--card-accent, var(--purple));
  transform: scaleX(0); transform-origin:left; transition: transform var(--dur-med) var(--ease);
}
.special-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.special-card:hover::before{ transform: scaleX(1); }
.special-emoji{ font-size: 2.1rem; margin-bottom: 14px; display:inline-block; }
.special-card h3{ font-size: 1.12rem; margin-bottom: 8px; }
.special-card p{ font-size: .89rem; margin:0; }

/* ==========================================================================
   PHILOSOPHY (emotional highlight)
   ========================================================================== */
.philosophy{
  position: relative; border-radius: var(--r-xl); overflow:hidden; padding: 90px 60px;
  background: linear-gradient(120deg, #EFE7FF, #FFEFF6 45%, #FFF6E3 100%);
}
.philosophy-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items:center; }
.philosophy h2{ font-size: clamp(2rem,3.6vw,2.7rem); }
.philosophy .highlight-line{
  font-family: var(--font-display); font-weight:800; font-size:1.25rem; margin-top: 20px;
  color: var(--ink);
}
.philosophy-media{ position: relative; }
.philosophy-media img{ width:100%; height: 420px; object-fit:cover; border-radius: 50% 50% 46% 54% / 56% 46% 54% 44%; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.philosophy-arc{ position:absolute; top:-40px; left:-40px; width: 180px; opacity:.8; z-index:-1; }

/* ==========================================================================
   VISION & MISSION
   ========================================================================== */
.vm-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card{
  border-radius: var(--r-xl); padding: 44px 40px; position:relative; overflow:hidden;
}
.vm-card--vision{ background: linear-gradient(150deg,#EFE9FF,#F7F2FF); }
.vm-card--mission{ background: linear-gradient(150deg,#FFF0E4,#FFF8EC); }
.vm-card h3{ font-size: 1.5rem; }
.vm-card > p{ font-size: 1rem; margin-bottom: 26px; }
.vm-qualities{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom: 8px; }
.vm-quality{
  background:#fff; padding: 9px 18px; border-radius: var(--r-pill); font-weight:700; font-size:.86rem;
  box-shadow: var(--shadow-sm);
}
.vm-list{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.vm-list li{ display:flex; align-items:flex-start; gap:10px; font-size:.92rem; font-weight:600; color: var(--ink); }
.vm-list li .e{ font-size:1.1rem; flex:none; }

/* ==========================================================================
   LEARNING BEYOND CLASSROOM (collage)
   ========================================================================== */
.collage{ display:grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2,180px); gap: 14px; }
.collage-item{ position:relative; border-radius: var(--r-md); overflow:hidden; box-shadow: var(--shadow-sm); }
.collage-item img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.collage-item:hover img{ transform: scale(1.1); }
.collage-item:nth-child(1){ grid-column: span 2; grid-row: span 2; }
.collage-item:nth-child(4){ grid-column: span 2; }
.collage-label{
  position:absolute; left:14px; bottom:14px; background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  padding: 7px 16px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight:800; font-size:.8rem;
  opacity:0; transform: translateY(8px); transition: all var(--dur-fast) var(--ease);
}
.collage-item:hover .collage-label{ opacity:1; transform:translateY(0); }

/* ==========================================================================
   PARENT CONNECTION
   ========================================================================== */
.parent-connect{ display:grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items:center; }
.window-frame{
  position:relative; border-radius: var(--r-xl); padding: 10px; background: #fff; box-shadow: var(--shadow-lg);
}
.window-frame img{ border-radius: calc(var(--r-xl) - 8px); width:100%; height: 460px; object-fit:cover; }
.window-frame::after{
  content:'🌈'; position:absolute; top:-22px; right: 30px; width:56px; height:56px; background:#fff; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:1.5rem; box-shadow: var(--shadow-md);
}
.parent-points{ display:flex; flex-direction:column; gap: 16px; margin: 26px 0 30px; }
.parent-point{ display:flex; align-items:center; gap:14px; font-weight:700; }
.parent-point .pp-icon{ width:38px; height:38px; border-radius:12px; background: var(--bg-cream); display:flex; align-items:center; justify-content:center; flex:none; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom: 40px; }
.g-filter{
  padding: 10px 20px; border-radius: var(--r-pill); border: 1.5px solid rgba(43,37,64,.12);
  background:#fff; font-weight:700; font-size:.86rem; font-family: var(--font-display); color: var(--ink-soft);
  transition: all var(--dur-fast) var(--ease);
}
.g-filter:hover{ border-color: var(--purple); color: var(--ink); }
.g-filter.active{ background: var(--rainbow-gradient); color:#fff; border-color:transparent; box-shadow: var(--shadow-glow-purple); }

.gallery-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; grid-auto-flow: dense;
}
.g-item{
  position:relative; border-radius: var(--r-md); overflow:hidden; cursor: zoom-in; box-shadow: var(--shadow-sm);
  aspect-ratio: 1/1; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), opacity .3s var(--ease);
}
.g-item.g-tall{ grid-row: span 2; aspect-ratio: 1/2.05; }
.g-item.g-wide{ grid-column: span 2; aspect-ratio: 2/1; }
.g-item img{ width:100%; height:100%; object-fit:cover; transition: transform .55s var(--ease); }
.g-item:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.g-item:hover img{ transform: scale(1.08); }
.g-item .g-overlay{
  position:absolute; inset:0; background: linear-gradient(0deg, rgba(43,37,64,.72), transparent 55%);
  opacity:0; transition: opacity var(--dur-fast) var(--ease);
  display:flex; align-items:flex-end; padding: 16px;
}
.g-item:hover .g-overlay{ opacity:1; }
.g-overlay span{ color:#fff; font-weight:700; font-size:.86rem; font-family: var(--font-display); }
.g-item.g-hide{ display:none; }

.lightbox{
  position: fixed; inset:0; background: rgba(20,16,32,.92); z-index: 2000;
  display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none;
  transition: opacity var(--dur-fast) var(--ease);
}
.lightbox.is-open{ opacity:1; pointer-events:auto; }
.lightbox-inner{ position:relative; max-width: 90vw; max-height: 86vh; }
.lightbox-inner img{ max-width: 90vw; max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-caption{ color:#fff; text-align:center; margin-top:14px; font-weight:600; opacity:.85; }
.lightbox-close, .lightbox-nav{
  position:absolute; background: rgba(255,255,255,.14); color:#fff; border:none; width:46px; height:46px;
  border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.3rem;
  transition: background var(--dur-fast) var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover{ background: rgba(255,255,255,.28); }
.lightbox-close{ top:-56px; right:0; }
.lightbox-nav.prev{ left:-64px; top:50%; transform:translateY(-50%); }
.lightbox-nav.next{ right:-64px; top:50%; transform:translateY(-50%); }

/* ==========================================================================
   VIDEO SECTION
   ========================================================================== */
.video-feature{
  position:relative; border-radius: var(--r-xl); overflow:hidden; box-shadow: var(--shadow-lg);
  max-width: 920px; margin: 0 auto; background:#000;
}
.video-feature video{ width:100%; display:block; aspect-ratio: 16/9; object-fit:cover; }
.video-play-btn{
  position:absolute; top:50%; left:50%; transform: translate(-50%,-50%);
  width: 88px; height:88px; border-radius:50%; background: rgba(255,255,255,.92); border:none;
  display:flex; align-items:center; justify-content:center; font-size:1.6rem; color: var(--purple-deep);
  box-shadow: var(--shadow-lg); transition: transform var(--dur-fast) var(--ease-bounce), opacity var(--dur-fast) var(--ease);
}
.video-play-btn:hover{ transform: translate(-50%,-50%) scale(1.08); }
.video-play-btn.is-hidden{ opacity:0; pointer-events:none; }
.video-caption{ text-align:center; margin-top: 22px; color: var(--ink-faint); font-weight:600; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-track-wrap{ overflow:hidden; }
.testimonial-track{ display:flex; gap: 22px; transition: transform var(--dur-med) var(--ease); }
.t-card{
  flex: 0 0 calc(33.333% - 15px); background:#fff; border-radius: var(--r-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(43,37,64,.05);
}
.t-stars{ color: var(--yellow-deep); letter-spacing:2px; margin-bottom:14px; }
.t-quote{ font-size:.98rem; color: var(--ink); margin-bottom: 22px; min-height: 96px; }
.t-person{ display:flex; align-items:center; gap:12px; }
.t-avatar{
  width:46px; height:46px; border-radius:50%; background: var(--rainbow-gradient);
  display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-family: var(--font-display);
  flex: none;
}
.t-person strong{ display:block; font-size:.92rem; }
.t-person span{ font-size:.78rem; color: var(--ink-faint); }
.video-testimonials{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items:start; }
.vt-card{
  background:#fff; border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43,37,64,.05); transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.vt-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vt-video-wrap{ position:relative; border-radius: var(--r-md); overflow:hidden; background:#000; }
.vt-video-wrap video{ width:100%; height:auto; max-height: 480px; display:block; object-fit:cover; }
.vt-video-wrap.vt-portrait video{ aspect-ratio: 9/16; object-fit:cover; }
.vt-play{ width:64px; height:64px; font-size:1.2rem; }
.vt-meta{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding: 14px 8px 6px; }
.vt-meta p{ margin:0; font-weight:700; font-size:.88rem; color: var(--ink); }

.t-controls{ display:flex; justify-content:center; gap:12px; margin-top: 34px; }
.t-dot{ width:9px; height:9px; border-radius:50%; background: rgba(43,37,64,.15); border:none; transition: all var(--dur-fast) var(--ease); }
.t-dot.active{ width: 26px; border-radius: 6px; background: var(--rainbow-gradient); }
.t-placeholder-badge{
  display:inline-block; font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em;
  background: rgba(255,197,61,.18); color: var(--yellow-deep); padding:4px 10px; border-radius: var(--r-pill); margin-bottom:12px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list{ max-width: 820px; margin: 0 auto; display:flex; flex-direction:column; gap: 14px; }
.faq-item{ background:#fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow:hidden; border: 1px solid rgba(43,37,64,.05); }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap: 16px;
  background:none; border:none; padding: 22px 26px; text-align:left;
  font-family: var(--font-display); font-weight:700; font-size:1.02rem; color: var(--ink);
}
.faq-q .plus{
  width: 30px; height:30px; border-radius:50%; background: var(--bg-cream); flex:none;
  display:flex; align-items:center; justify-content:center; position:relative;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:''; position:absolute; background: var(--purple-deep); border-radius:2px;
}
.faq-q .plus::before{ width:12px; height:2.4px; }
.faq-q .plus::after{ width:2.4px; height:12px; transition: transform var(--dur-fast) var(--ease); }
.faq-item.is-open .faq-q .plus::after{ transform: rotate(90deg) scaleY(0); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height var(--dur-med) var(--ease); }
.faq-a-inner{ padding: 0 26px 24px; font-size:.95rem; color: var(--ink-soft); }
.faq-item.is-open .faq-a{ max-height: 320px; }

/* ==========================================================================
   CONTACT / ADMISSION
   ========================================================================== */
.contact-wrap{
  display:grid; grid-template-columns: .85fr 1.15fr; gap: 0; background:#fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow:hidden;
}
.contact-side{
  background: linear-gradient(160deg, var(--purple-deep), #B23FD1 55%, var(--pink-deep));
  color:#fff; padding: 54px 44px; position:relative; overflow:hidden;
}
.contact-side h3{ color:#fff; font-size:1.5rem; }
.contact-side p{ color: rgba(255,255,255,.82); }
.contact-detail{ display:flex; align-items:center; gap:14px; margin-top: 22px; font-weight:700; }
.contact-detail .cd-icon{
  width:42px; height:42px; border-radius:12px; background: rgba(255,255,255,.16); display:flex; align-items:center; justify-content:center; flex:none;
}
.contact-detail a, .contact-detail span.txt{ color:#fff; }
.contact-side .deco-blob{ position:absolute; border-radius:50%; background: rgba(255,255,255,.12); }
.contact-side .deco-blob--1{ width:200px; height:200px; top:-60px; right:-60px; }
.contact-side .deco-blob--2{ width:140px; height:140px; bottom:-40px; left:-40px; }

.contact-form{ padding: 54px 48px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field{ margin-bottom: 18px; }
.field label{ display:block; font-weight:700; font-size:.86rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea{
  width:100%; padding: 13px 16px; border-radius: 14px; border: 1.6px solid rgba(43,37,64,.12);
  font-family: var(--font-body); font-size: .95rem; background: var(--bg-cream); color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--purple); background:#fff; outline:none; }
.field textarea{ resize: vertical; min-height: 100px; }
.field .error-msg{ display:none; color: var(--pink-deep); font-size:.78rem; margin-top:5px; font-weight:600; }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: var(--pink-deep); }
.field.has-error .error-msg{ display:block; }
.form-foot{ display:flex; align-items:center; justify-content:space-between; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.form-note{ font-size:.78rem; color: var(--ink-faint); }
.form-status{ margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-weight:700; font-size:.9rem; display:none; }
.form-status.show{ display:block; }
.form-status.ok{ background: rgba(63,204,148,.14); color: var(--green-deep); }
.form-status.err{ background: rgba(255,111,165,.14); color: var(--pink-deep); }

/* ==========================================================================
   MAP
   ========================================================================== */
.map-wrap{ border-radius: var(--r-xl); overflow:hidden; box-shadow: var(--shadow-lg); position:relative; }
.map-wrap iframe{ width:100%; height: 420px; border:0; display:block; filter: saturate(1.05); }
.map-card{
  position:absolute; top: 24px; left: 24px; background:#fff; padding: 20px 24px; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); max-width: 280px;
}
.map-card h4{ font-size:1.02rem; margin-bottom:6px; }
.map-card p{ font-size:.86rem; margin-bottom: 14px; }

/* ==========================================================================
   SOCIAL
   ========================================================================== */
.social-row{ display:flex; justify-content:center; gap: 20px; flex-wrap:wrap; }
.social-pill{
  display:flex; align-items:center; gap: 12px; background:#fff; padding: 14px 24px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm); font-weight:700; font-size:.92rem; border: 1px solid rgba(43,37,64,.06);
  transition: all var(--dur-fast) var(--ease-bounce);
}
.social-pill:hover{ transform: translateY(-5px) scale(1.03); box-shadow: var(--shadow-md); }
.social-pill .s-icon{ width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; flex:none; }
.social-pill[data-brand="facebook"] .s-icon{ background:#1877F2; }
.social-pill[data-brand="instagram"] .s-icon{ background: radial-gradient(circle at 30% 110%, #ffdb73, #fd5, #ff543e 45%, #c837ab 60%, #7038c1 75%); }
.social-pill[data-brand="youtube"] .s-icon{ background:#FF0000; }
.social-pill[data-brand="email"] .s-icon{ background: var(--ink); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: #1F1A33; color: rgba(255,255,255,.72); padding: 76px 0 0; position: relative; overflow: hidden; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ height: 44px; }
.footer-brand strong{ font-family: var(--font-display); font-size:1.15rem; color:#fff; }
.site-footer h5{ color:#fff; font-family: var(--font-display); font-size:.92rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom: 18px; }
.site-footer ul li{ margin-bottom: 11px; }
.site-footer ul a{ font-size:.92rem; transition: color var(--dur-fast) var(--ease); }
.site-footer ul a:hover{ color:#fff; }
.footer-social{ display:flex; gap:10px; margin-top: 18px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center;
  transition: all var(--dur-fast) var(--ease-bounce);
}
.footer-social a:hover{ background: var(--rainbow-gradient); transform: translateY(-4px); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding: 24px 0; flex-wrap:wrap; gap: 10px; font-size:.82rem; }
.footer-bottom a{ font-weight:700; }

/* ==========================================================================
   FLOATING BUTTONS — WhatsApp + Chatbot
   ========================================================================== */
.floating-stack{ position: fixed; right: 22px; bottom: 22px; z-index: 900; display:flex; flex-direction:column; gap: 14px; align-items:flex-end; }

.fab{
  width: 62px; height:62px; border-radius:50%; border:none; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg); font-size: 1.6rem; color:#fff; position:relative;
  transition: transform var(--dur-fast) var(--ease-bounce);
}
.fab:hover{ transform: scale(1.08); }
.fab--whatsapp{ background: #25D366; }
.fab--chat{ background: var(--rainbow-gradient); }
.fab-pulse{
  position:absolute; inset:-6px; border-radius:50%; border: 2px solid rgba(37,211,102,.5);
  animation: pulseRing 2.4s ease-out infinite;
}
.fab--chat .fab-pulse{ border-color: rgba(139,107,242,.45); }

.wa-menu{
  position:absolute; bottom: 76px; right: 0; background:#fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  width: 270px; padding: 18px; opacity:0; transform: translateY(12px) scale(.96); pointer-events:none;
  transition: all var(--dur-fast) var(--ease-bounce);
}
.wa-menu.is-open{ opacity:1; transform: translateY(0) scale(1); pointer-events:auto; }
.wa-menu h5{ font-family: var(--font-display); margin-bottom: 12px; font-size:.92rem; }
.wa-menu a{
  display:flex; align-items:center; gap:10px; padding: 10px 12px; border-radius:12px; font-size:.88rem; font-weight:700;
  transition: background var(--dur-fast) var(--ease);
}
.wa-menu a:hover{ background: var(--bg-cream); }

/* ==========================================================================
   CHATBOT "ASK RAINBOW"
   ========================================================================== */
.chat-window{
  position:absolute; bottom: 76px; right: 0; width: 360px; max-width: 88vw; height: 500px; max-height: 70vh;
  background:#fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow:hidden;
  display:flex; flex-direction:column; opacity:0; transform: translateY(16px) scale(.96); pointer-events:none;
  transition: all var(--dur-fast) var(--ease-bounce);
}
.chat-window.is-open{ opacity:1; transform: translateY(0) scale(1); pointer-events:auto; }
.chat-head{
  background: var(--rainbow-gradient); color:#fff; padding: 18px 20px; display:flex; align-items:center; gap:12px;
}
.chat-head .avatar{ width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.25); display:flex; align-items:center; justify-content:center; font-size:1.2rem; }
.chat-head strong{ display:block; font-family: var(--font-display); font-size:.96rem; }
.chat-head span{ font-size:.72rem; opacity:.9; }
.chat-head .chat-close{ margin-left:auto; background:none; border:none; color:#fff; font-size:1.2rem; opacity:.9; }
.chat-body{ flex:1; overflow-y:auto; padding: 18px; display:flex; flex-direction:column; gap: 12px; background: var(--bg-cream); }
.chat-msg{ max-width: 85%; padding: 11px 15px; border-radius: 16px; font-size:.87rem; line-height:1.5; }
.chat-msg.bot{ background:#fff; border-bottom-left-radius: 4px; align-self:flex-start; box-shadow: var(--shadow-sm); }
.chat-msg.user{ background: var(--purple-deep); color:#fff; border-bottom-right-radius: 4px; align-self:flex-end; }
.chat-quick{ display:flex; flex-wrap:wrap; gap:8px; padding: 0 18px 14px; background: var(--bg-cream); }
.chat-quick button{
  background:#fff; border: 1.4px solid rgba(139,107,242,.25); color: var(--purple-deep); font-weight:700; font-size:.78rem;
  padding: 8px 14px; border-radius: var(--r-pill); transition: all var(--dur-fast) var(--ease);
}
.chat-quick button:hover{ background: var(--purple-deep); color:#fff; }
.chat-input-row{ display:flex; gap:8px; padding: 14px; border-top: 1px solid rgba(43,37,64,.08); }
.chat-input-row input{
  flex:1; border: 1.6px solid rgba(43,37,64,.12); border-radius: var(--r-pill); padding: 11px 16px; font-size:.86rem;
  font-family: var(--font-body);
}
.chat-input-row input:focus{ outline:none; border-color: var(--purple); }
.chat-input-row button{
  width: 42px; height:42px; border-radius:50%; border:none; background: var(--rainbow-gradient); color:#fff; font-size:1rem; flex:none;
}
.chat-typing{ display:flex; gap:4px; padding: 4px 2px; }
.chat-typing span{ width:6px; height:6px; border-radius:50%; background: var(--ink-faint); animation: typingDot 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2){ animation-delay:.2s; }
.chat-typing span:nth-child(3){ animation-delay:.4s; }

/* ==========================================================================
   ENQUIRY POPUP MODAL
   ========================================================================== */
.enquiry-modal-overlay{
  position: fixed; inset: 0; z-index: 2500; background: rgba(30,24,48,.58);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-fast) var(--ease);
}
.enquiry-modal-overlay.is-open{ opacity: 1; pointer-events: auto; }
.enquiry-modal{
  position: relative; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  padding: 40px 36px 30px; text-align: center;
  transform: translateY(24px) scale(.96); opacity: 0;
  transition: transform var(--dur-med) var(--ease-bounce), opacity var(--dur-med) var(--ease);
}
.enquiry-modal-overlay.is-open .enquiry-modal{ transform: translateY(0) scale(1); opacity: 1; }
.enquiry-modal h3{ font-size: 1.5rem; margin-bottom: 8px; }
.enquiry-modal > p{ font-size: .94rem; margin-bottom: 24px; }
.enquiry-modal .eyebrow{ margin-bottom: 12px; }
.enquiry-modal form{ text-align: left; }
.enquiry-modal .field{ margin-bottom: 16px; }
.enquiry-modal-close{
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-cream); border: none; font-size: 1.05rem; color: var(--ink-soft);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.enquiry-modal-close:hover{ background: rgba(255,111,165,.16); transform: rotate(90deg); }
.enquiry-modal-alt{ margin: 18px 0 0; font-size: .84rem; color: var(--ink-faint); text-align:center; }
.enquiry-modal-alt a{ font-weight: 700; color: var(--purple-deep); }

@media (max-width: 520px){
  .enquiry-modal{ padding: 34px 22px 24px; border-radius: var(--r-lg); }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeUp{ from{ opacity:0; transform: translateY(26px); } to{ opacity:1; transform:none; } }
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes floatY{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-16px); } }
@keyframes driftBlob{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(14px,-18px) scale(1.08); } }
@keyframes rotateSlow{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }
@keyframes scrollCue{ 0%{ opacity:0; top:6px; } 30%{ opacity:1; } 100%{ opacity:0; top:22px; } }
@keyframes pulseRing{ 0%{ transform: scale(.9); opacity:.8; } 100%{ transform: scale(1.5); opacity:0; } }
@keyframes typingDot{ 0%,60%,100%{ transform: translateY(0); opacity:.5; } 30%{ transform: translateY(-4px); opacity:1; } }
@keyframes countUpFade{ from{ opacity:0; transform: translateY(8px);} to{ opacity:1; transform:none; } }

.reveal{ opacity:0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-visible > *{ opacity:1; transform:none; }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: .04s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .22s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .28s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: .34s; }
.reveal-stagger.is-visible > *:nth-child(7){ transition-delay: .4s; }

/* Section curve divider */
.curve-divider{ position: relative; height: 90px; margin-top: -1px; }
.curve-divider svg{ width:100%; height:100%; display:block; }

/* Rainbow Moment badges */
.rainbow-moment{
  display:inline-flex; align-items:center; gap:10px; background:#fff; padding: 10px 18px 10px 10px;
  border-radius: var(--r-pill); box-shadow: var(--shadow-sm); font-size:.82rem; font-weight:700; margin-bottom: 18px;
}
.rainbow-moment .rm-num{
  width:28px; height:28px; border-radius:50%; background: var(--rainbow-gradient); color:#fff; display:flex;
  align-items:center; justify-content:center; font-size:.72rem; font-family: var(--font-display);
}

/* Cursor trail dot (desktop only, JS-driven) */
.cursor-dot{
  position: fixed; width: 9px; height:9px; border-radius:50%; pointer-events:none; z-index: 3000;
  transform: translate(-50%,-50%); opacity: .7; will-change: transform, opacity;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px){
  .programs-grid{ grid-template-columns: repeat(2,1fr); }
  .special-grid{ grid-template-columns: repeat(2,1fr); }
  .gallery-grid{ grid-template-columns: repeat(3,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .t-card{ flex: 0 0 calc(50% - 11px); }
}

@media (max-width: 940px){
  .nav-links{ display:none; }
  .hamburger{ display:flex; flex: none; }
  .nav-inner .nav-ctas .btn--secondary{ display:none; }
  .nav-inner{ padding: 0 16px; gap: 8px; }
  .brand{ gap: 8px; min-width:0; }
  .brand img{ height: 36px; }
  .site-header.is-scrolled .brand img{ height: 32px; }
  .brand-text{ font-size: .92rem; }
  .brand-text small{ font-size: .52rem; }
  .nav-ctas{ gap: 8px; }
  .nav-ctas .btn--primary{ padding: 11px 16px; font-size: .82rem; white-space: nowrap; }
  .hamburger{ padding: 8px 4px; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ height: 420px; order:-1; }
  .about-grid, .montessori-grid, .parent-connect, .philosophy-grid{ grid-template-columns: 1fr; }
  .montessori-media img, .about-media img{ height: 380px; }
  .info-strip-inner{ grid-template-columns: repeat(2,1fr); }
  .info-item:nth-child(2){ border-right:none; }
  .vm-grid{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .collage{ grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(3,160px); }
  .collage-item:nth-child(1){ grid-column: span 2; grid-row: span 1; }
  .philosophy{ padding: 60px 28px; }
}

@media (max-width: 720px){
  .section{ padding: 76px 0; }
  .programs-grid, .special-grid{ grid-template-columns: 1fr; }
  .video-testimonials{ grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); }
  .g-item.g-tall{ grid-row: span 1; aspect-ratio: 1/1; }
  .g-item.g-wide{ grid-column: span 2; }
  .t-card{ flex: 0 0 100%; }
  .timeline-track{ grid-template-columns: 1fr; }
  .timeline-track:not(.is-vertical){ display:none; }
  .timeline-track.is-vertical{ display:flex; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .lightbox-nav.prev{ left: 10px; }
  .lightbox-nav.next{ right: 10px; }
  .lightbox-close{ top: 10px; right: 10px; background: rgba(0,0,0,.4); }
  .chat-window{ width: 92vw; right: -4px; }
  .floating-stack{ right: 16px; bottom: 16px; }
}

@media (max-width: 520px){
  .hero-copy h1{ font-size: 2.1rem; }
  .info-strip-inner{ grid-template-columns: 1fr 1fr; margin-top: -30px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
  .collage{ grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3,140px); }
  .brand-text small{ display:none; }
  .nav-inner{ padding: 0 12px; }
  .nav-ctas .btn--primary{ padding: 10px 13px; font-size: .76rem; }
}

@media (max-width: 360px){
  .brand-text{ display:none; }
  .brand img{ height: 34px; }
}
