/* ============================================================
   BrightSteps Montessori Childcare — Shared Styles
   Brand palette sampled from logo:
   teal #0384A7 · yellow #FCC019 · orange #FE8623 · green #08B98B
   ============================================================ */

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

:root {
  /* Brand */
  --teal: #0c7e98;
  --teal-bright: #0384A7;
  --teal-deep: #075466;
  --teal-ink: #0a3a47;
  --yellow: #FCC019;
  --yellow-soft: #FFD659;
  --orange: #F47A1F;
  --orange-deep: #e2660b;
  --green: #0aa97f;
  --green-bright: #08B98B;

  /* Neutrals (warm, low chroma) */
  --ink: #21343c;
  --body: #43565e;
  --muted: #6c7d84;
  --line: #e4ecee;
  --white: #ffffff;
  --paper: #fbf4e8;       /* warm cream canvas */
  --paper-2: #f7eedd;     /* deeper cream */
  --bg-soft: #eaf5f3;     /* pale teal wash */
  --bg-cream: #fdf3e3;    /* warm wash */
  --bg-mint: #e9f6ee;

  /* System */
  --font-head: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --shadow-sm: 0 2px 10px rgba(12,78,94,.06);
  --shadow: 0 14px 40px -16px rgba(12,78,94,.22);
  --shadow-lg: 0 32px 70px -28px rgba(12,78,94,.34);
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; font-weight: 700; letter-spacing: -.01em; }
::selection { background: var(--yellow); color: var(--teal-ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  padding: 15px 28px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; 
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 24px -10px rgba(244,122,31,.7); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 18px 30px -10px rgba(244,122,31,.75); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 12px 24px -10px rgba(12,126,152,.6); }
.btn-teal:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--teal); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--teal-deep); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 18px 34px; font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,244,232,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(12,78,94,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; color: var(--teal-deep); line-height: 1; }
.brand-text small { display: block; font-size: .56rem; letter-spacing: .22em; color: var(--orange); font-weight: 600; margin-top: 3px; font-family: var(--font-body); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--ink);
  padding: 10px 16px; border-radius: 100px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--teal); }
.nav-links a.active { color: var(--teal); background: var(--bg-soft); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--teal-deep); font-size: 1rem; }
.nav-phone svg { width: 17px; height: 17px; color: var(--green); }
.menu-btn { display: none; background: none; border: 2px solid var(--line); border-radius: 12px; padding: 9px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; color: var(--teal-deep); display: block; }

.mobile-menu { display: none; flex-direction: column; padding: 12px 24px 24px; gap: 4px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-head); font-weight: 500; padding: 13px 16px; border-radius: 12px; color: var(--ink); }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--bg-soft); color: var(--teal); }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- Generic sections ---------- */
section { position: relative; }
.pad { padding: 90px 0; }
.pad-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--bg-cream); }
.bg-mint { background: var(--bg-mint); }
.bg-teal { background: var(--teal-deep); color: #d7eef3; }
.bg-teal h1,.bg-teal h2,.bg-teal h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head);
  font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); background: var(--bg-soft); padding: 7px 16px; border-radius: 100px; white-space: nowrap;
}
.eyebrow.on-dark { color: var(--yellow-soft); background: rgba(255,255,255,.1); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* ---------- Personality layer ---------- */
/* Hand-drawn crayon underline under a word/heading */
.squiggle { position: relative; display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--orange);
  text-decoration-thickness: 3px; text-underline-offset: 7px; }
.squiggle.teal { text-decoration-color: var(--teal); }
.squiggle.cream { text-decoration-color: var(--yellow); }

/* Subtle dot-grid texture, layered behind a section */
.dotted { position: relative; }
.dotted::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(12,126,152,.14) 1.4px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.dotted > * { position: relative; }

/* Sticker-style badge with a playful tilt */
.sticker {
  display: inline-flex; align-items: center; gap: 9px; background: #fff;
  border: 2px solid var(--ink); border-radius: 100px; padding: 9px 17px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink);
  box-shadow: 4px 4px 0 rgba(33,52,60,.14);
}
.sticker svg { width: 17px; height: 17px; }

/* Stepping-path motif — ascending dots */
.steps-motif { display: inline-flex; align-items: flex-end; gap: 7px; height: 30px; }
.steps-motif i { display: block; width: 11px; border-radius: 4px; }
.steps-motif i:nth-child(1) { height: 9px;  background: var(--teal); }
.steps-motif i:nth-child(2) { height: 15px; background: var(--green); }
.steps-motif i:nth-child(3) { height: 21px; background: var(--yellow); }
.steps-motif i:nth-child(4) { height: 28px; background: var(--orange); }

/* Soft wave divider — drop between sections */
.wave { display: block; width: 100%; height: 56px; line-height: 0; }
.wave svg { display: block; width: 100%; height: 100%; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 18px 0 16px; }
.section-head p { font-size: 1.15rem; color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--body); }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-ink); color: #b9d6dd; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-weight: 600; letter-spacing: .02em; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 52px; background: #fff; border-radius: 14px; padding: 5px; }
.footer-brand .brand-text { color: #fff; }
.site-footer p { font-size: .97rem; color: #9fc3cc; line-height: 1.7; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-links a { color: #b9d6dd; font-size: .98rem; transition: color .2s; }
.foot-links a:hover { color: var(--yellow-soft); }
.foot-contact { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.foot-contact li { display: flex; gap: 12px; font-size: .97rem; color: #b9d6dd; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; color: var(--green-bright); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 52px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #7ea6b0; }

/* ---------- Cards & chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 500; font-size: .92rem; padding: 8px 15px; border-radius: 100px; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.chip svg { width: 16px; height: 16px; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links, .nav-phone { display: none; }
  .menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .pad { padding: 64px 0; }
  .pad-sm { padding: 48px 0; }
  .nav-cta .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
