:root {
  --text: #5A4A42;
  --accent: #727D3D;
  --muted: #6b6b6b;
  --anchor-offset: 240px;
  --section-cream: #f7efe1;
  --section-sage: #dbe6cf;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #FFF4E6;
  color: var(--text);
  -webkit-font-smoothing:antialiased;
}

/* Decorative kid-friendly shapes */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-repeat: repeat;
  opacity: 0.25;
  z-index: 0;
}

/* Soft dots */
body::before {
  background-image:
    radial-gradient(circle at 20px 20px, rgba(255, 200, 150, 0.35) 4px, transparent 5px),
    radial-gradient(circle at 60px 60px, rgba(180, 220, 210, 0.35) 5px, transparent 6px);
  background-size: 120px 120px;
}

/* Cloud-like blobs */
body::after {
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(255, 240, 220, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(230, 245, 240, 0.6) 0%, transparent 55%);
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  backdrop-filter: none;
  z-index: 10;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.top-banner {
  background: #333333;
  color: #f4f4f4;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.top-banner .banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding: 6px 0;
}
.banner-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.banner-link:hover { text-decoration: underline; }
.banner-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  opacity: 0.9;
}
.site-header .header-main {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:220px;
  transition: height 0.3s ease;
}
.brand {
  font-family: 'Baloo 2', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight:700;
  color: var(--accent);
  text-decoration:none;
  font-size:1.25rem;
  transition: font-size 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.brand-logo {
  width: 200px;
  height: auto;
  display: block;
  transition: width 0.3s ease;
}
.nav a{ text-decoration:none; color:var(--muted); margin-left:18px; font-weight:700; transition: margin 0.2s ease, color 0.2s ease; }

.site-header.is-shrunk {
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.site-header.is-shrunk .top-banner {
  font-size: 0.84rem;
}
.site-header.is-shrunk .top-banner .banner-inner {
  min-height: 24px;
  padding: 2px 0;
}
.site-header.is-shrunk .banner-icon {
  width: 14px;
  height: 14px;
}
.site-header.is-shrunk .header-main { height:100px; }
.site-header.is-shrunk .brand { font-size:1.05rem; }
.site-header.is-shrunk .brand-logo { width: 90px; }
.site-header.is-shrunk .nav a { margin-left:14px; color:#5a5a5a; }

.hero { padding: 44px 0; }
.hero-inner { display:flex; align-items:center; gap:28px; justify-content:center; flex-wrap:wrap; }
.logo-visual { flex:0 0 280px; display:flex; align-items:center; justify-content:center; }
.logo-image { width:220px; height:auto; display:block; }
.hero-copy { max-width:640px; }
.lead { color:var(--muted); font-size:1.05rem; margin-top:8px; }

.section {
  padding: 36px 0;
  scroll-margin-top: var(--anchor-offset);
}
.section + .section {
  border-top: 1px solid rgba(0,0,0,0.04);
}
.section h2 { margin:0 0 12px 0; color:var(--accent); }
.feature-list {
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.feature-list li { margin-bottom: 8px; }
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}
.choice-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.choice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}
.choice-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.choice-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 700;
}
.grid { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.card { background: white; border-radius:12px; padding:16px; box-shadow: 0 8px 18px rgba(0,0,0,0.06); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
  align-items: start;
}
.service-card {
  background: transparent;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
}
.service-badge {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  border: 2px solid #cdb88b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 0 0 2px #7aa9e6;
  background: #ffffff;
}
.service-badge::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(122, 169, 230, 0.4);
}
.badge-text {
  font-family: 'Baloo 2', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  color: #d58a6a;
  font-size: 1.2rem;
  line-height: 1.1;
}
.service-card h3 {
  margin: 8px 0 6px 0;
  font-size: 1.25rem;
}
.service-card p {
  margin: 0 0 14px 0;
  color: var(--muted);
  max-width: 240px;
  min-height: 84px;
}

.hero {
  background: linear-gradient(180deg, #eef4e7 0%, #e1ecd7 100%);
}
.choose {
  background: linear-gradient(180deg, #f7f1e7 0%, #f0e6d6 100%);
}
.montessori {
  background: linear-gradient(180deg, #f7f1e7 0%, #f0e6d6 100%);
}
.projects {
  background: linear-gradient(180deg, #eef4e7 0%, #e1ecd7 100%);
}
.playcafe {
  background: linear-gradient(180deg, #f7f1e7 0%, #f0e6d6 100%);
}
.location {
  background: linear-gradient(180deg, #f7f1e7 0%, #f0e6d6 100%);
}
.contact {
  background: linear-gradient(180deg, #eef4e7 0%, #e1ecd7 100%);
}
.location-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.4fr);
  gap: 24px;
  align-items: start;
}
.location-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.08);
}
.cta-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.cta-link:hover { text-decoration: underline; }

.site-footer {
  background: linear-gradient(180deg, rgba(0,0,0,0.68), rgba(0,0,0,0.78)), url("assets/images/logo.png") center/contain no-repeat;
  color: #f0f0f0;
}
.footer-top { padding: 48px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 32px;
}
.footer-brand img {
  width: 220px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}
.footer-links a,
.footer-links .footer-link {
  display: block;
  color: #f0f0f0;
  text-decoration: none;
  margin-bottom: 8px;
}
.footer-links a:hover { text-decoration: underline; }
.footer-col h3 { margin: 0 0 12px 0; }
.footer-col a { color: #f0f0f0; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.muted { color: #c7c7c7; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 16px 0;
  font-size: 0.9rem;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-mini-links a {
  color: #e6e6e6;
  text-decoration: none;
  margin-left: 16px;
}
.footer-mini-links a:hover { text-decoration: underline; }

h1 {
  font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(34px, 4.2vw, 60px);
  margin: 0;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #727D3D; /* Montessori olive */
  max-width: min(1200px, 94vw);
  text-wrap: balance;
}

.logos {
  width: min(1200px, 100vw);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; /* keep side by side on all widths */
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(12px, 2vw, 32px);
  margin: 0;
  padding: 0 clamp(12px, 2vw, 24px);
}

.logo-img {
  width: min(520px, 46vw); /* each logo takes ~half of the screen */
  height: auto;
  max-height: 70vh;   /* leave space for headline below */
  object-fit: contain;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,0.12));
  /* legacy selector kept for compatibility */
}

.landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 48px;
  position: relative;
  z-index: 1;
}
.landing-card {
  width: min(760px, 94vw);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 24px 50px rgba(0,0,0,0.12);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}
.landing-logo {
  width: clamp(140px, 20vw, 220px);
  height: auto;
  display: block;
  margin: 0 auto 12px;
}
.landing-kicker {
  margin: 6px 0 6px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 700;
}
.landing-sub {
  margin: 0 0 22px;
  font-size: 1.05rem;
  color: var(--text);
}
.landing-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 16px;
}
.landing-button {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 22px 20px;
  border-radius: 18px;
  border: 2px solid rgba(0,0,0,0.08);
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.landing-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
  border-color: rgba(114, 125, 61, 0.45);
}
.landing-title {
  font-family: 'Baloo 2', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--accent);
}
.landing-desc {
  font-size: 0.98rem;
  color: var(--muted);
}
.landing-note {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  h1 { font-size: 32px; }
  .logos { gap: 20px; }
  .logo-img {
    width: min(460px, 46vw);
    height:auto;
    max-height:260px;
    filter: drop-shadow(0 14px 30px rgba(0,0,0,0.12));
  }
  .hero-inner { gap:18px; }
  .logo-image { width:160px; }
  .grid { grid-template-columns:1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .landing-actions { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .logos {
    flex-direction: column;
    height: auto;
  }
  .logo-img {
    width:90vw;
    max-height:40vh;
  }
  .hero-inner { flex-direction:column-reverse; }
  .logo-visual { flex-basis:180px; }
  .grid { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .choice-grid { grid-template-columns: 1fr; }
  .landing-actions { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .location-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  :root { --anchor-offset: 200px; }
  .site-header .header-main {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 12px 0;
    gap: 8px;
  }
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 8px;
  }
  .nav a { margin: 6px 10px; }
  .site-header.is-shrunk .header-main { height: auto; }
  .top-banner .banner-inner { flex-direction: column; gap: 6px; text-align: center; }
}
