:root {
  --teal: #4ebfa5;
  --teal-dark: #3aaf94;
  --yellow: #ffd166;
  --coral: #ef767a;
  --blue: #7b9fe0;
  --dark: #2d2a32;
  --cream: #fffcf7;
  --warm: #fff8ee;
  --line: #f0ede6;
  --muted: #666;
  --radius: 24px;
  font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); }
body.menu-open, body.lightbox-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 80px 0; }
.eyebrow { margin: 0 0 8px; color: var(--teal); font-size: 0.88rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.title { margin: 0; font-family: "Baloo 2", cursive; font-size: clamp(2.15rem, 4vw, 3rem); line-height: 1.08; font-weight: 800; }
.lead { color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 24px; border-radius: 999px; border: 0; background: var(--yellow); color: var(--dark); font-weight: 800; text-decoration: none; box-shadow: 0 4px 16px rgba(255, 209, 102, 0.25); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 209, 102, 0.35); }
.button.secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.42); box-shadow: none; }

.nav { position: sticky; top: 0; z-index: 50; background: var(--warm); box-shadow: 0 1px 8px rgba(0,0,0,0.04); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.logo img { width: 172px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.95rem; font-weight: 800; text-decoration: none; }
.nav-links a:not(.button):hover, .nav-links .active { color: var(--teal-dark); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--dark); font: inherit; font-weight: 800; }

.hero { position: relative; overflow: hidden; padding: 80px 0 64px; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 50%, #45b89e 100%); color: #fff; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); animation: float 8s ease-in-out infinite; }
.hero::before { width: 260px; height: 260px; top: -70px; right: -40px; }
.hero::after { width: 160px; height: 160px; bottom: -40px; left: 40px; animation-delay: 1s; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 56px; align-items: center; }
.badge { display: inline-flex; margin-bottom: 24px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,0.18); font-weight: 800; backdrop-filter: blur(8px); }
.hero h1 { margin: 0 0 20px; font-family: "Baloo 2", cursive; font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.02; font-weight: 800; }
.hero p { max-width: 520px; margin: 0 0 32px; color: rgba(255,255,255,0.9); font-size: 1.12rem; line-height: 1.7; }
.hero-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.hero-card img { width: 100%; height: 480px; object-fit: cover; }

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 32px 20px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust strong { display: block; font-family: "Baloo 2", cursive; font-size: 2.35rem; line-height: 1; }
.trust span { display: block; margin-top: 4px; color: #888; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.center { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 42px; }
.program { padding: 34px 30px; border: 2px solid; border-radius: var(--radius); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.program:hover { transform: translateY(-6px); }
.program.seedlings { background: #fffbf0; border-color: #ffe8a3; }
.program.sprouts { background: #f0faf7; border-color: #a8e0d0; }
.program.blossoms { background: #fff0f0; border-color: #f5b0b3; }
.program-number { font-family: "Baloo 2", cursive; font-size: 3.2rem; font-weight: 800; line-height: 1; opacity: 0.65; }
.program h3 { margin: 8px 0 6px; font-family: "Baloo 2", cursive; font-size: 1.7rem; line-height: 1.1; }
.age { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255,209,102,0.25); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.program p { color: var(--muted); line-height: 1.7; }
.program img { width: 100%; height: 140px; object-fit: cover; border-radius: 16px; }

.story { background: #fff; border-block: 1px solid var(--line); }
.story .container { max-width: 760px; }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.text-link { color: var(--dark); font-weight: 900; text-decoration: none; }
.text-link:hover { color: var(--teal-dark); }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 180px 180px; gap: 16px; }
.gallery-grid a:first-child { grid-row: span 2; }
.gallery-grid img, .masonry img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }

.assurances { background: var(--warm); border-top: 1px solid var(--line); }
.assurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.assurance { padding: 30px; border-radius: 20px; background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,0.04); }
.assurance h3 { margin: 0 0 10px; font-family: "Baloo 2", cursive; font-size: 1.45rem; }
.assurance p { margin: 0; color: var(--muted); line-height: 1.7; }

.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-dark, .split-light { padding: 72px 56px; }
.split-dark { background: var(--dark); color: #fff; }
.split-dark p { color: rgba(255,255,255,0.72); }
.split-light { background: #fff; border-top: 1px solid var(--line); }
.contact-list { display: grid; gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.icon { display: inline-grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #f0faf7; font-size: 0.68rem; font-weight: 900; }
.map { width: 100%; height: 170px; border: 0; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

.gallery-hero { text-align: center; }
.gallery-hero .container { max-width: 760px; }
.masonry { columns: 3 260px; column-gap: 16px; }
.masonry button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: transparent; break-inside: avoid; cursor: pointer; }
.masonry img { height: auto; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.masonry button:hover img { transform: scale(1.015); box-shadow: 0 12px 40px rgba(0,0,0,0.18); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,0.88); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 86vh; border-radius: 12px; object-fit: contain; }
.lightbox-close { position: absolute; top: 18px; right: 24px; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.8rem; cursor: pointer; }

.footer { background: var(--dark); color: #fff; border-top: 4px solid var(--teal); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 56px; align-items: start; }
.footer-logo { display: inline-block; padding: 6px; border-radius: 12px; background: #fff; }
.footer-logo img { width: 150px; }
.footer p, .footer a { color: rgba(255,255,255,0.7); }
.footer h2 { margin: 0 0 14px; color: rgba(255,255,255,0.45); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.45); font-size: 0.85rem; }

.content-page { max-width: 840px; padding: 64px 0; }
.content-page h1, .content-page h2 { font-family: "Baloo 2", cursive; }
.content-page p, .content-page li { color: var(--muted); line-height: 1.75; }

[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
[data-animate].is-visible { opacity: 1; transform: none; }
@keyframes float { 50% { transform: translateY(-12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  [data-animate] { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 40px, 1200px); }
  .section { padding: 52px 0; }
  .nav-inner { min-height: 76px; }
  .logo img { width: 140px; }
  .menu-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 76px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 20px 24px; background: var(--warm); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; }
  .nav-links .button { margin-top: 8px; }
  .hero { padding: 44px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-card img { height: 280px; }
  .trust-grid, .cards, .assurance-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .gallery-head { align-items: start; flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; grid-template-rows: none; }
  .gallery-grid a:first-child { grid-row: auto; }
  .split-dark, .split-light { padding: 44px 24px; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .hero-card img { height: 240px; }
}
