/* ============================================================================
   APP — per-section styles for the Kiddos Learning one-pager.
   Shared tokens, buttons and reveal helpers live in kit.css.
   ========================================================================== */

/* ---------- navbar ---------- */

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.navbar--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.navbar__logo { display: flex; align-items: center; gap: 10px; }
.navbar__logo img { height: 40px; width: auto; }
.navbar__links { display: none; align-items: center; gap: 26px; }
.navbar__link {
  position: relative;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.25s;
}
.navbar--scrolled .navbar__link { color: var(--brand-black); }
.navbar__link:hover { color: var(--brand-gold); }
.navbar--scrolled .navbar__link:hover { color: var(--brand-blue); }
.navbar__cta { display: none; padding: 10px 20px; font-size: 11px; }
.navbar__burger {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 12px;
  color: var(--brand-white);
}
.navbar--scrolled .navbar__burger { background: var(--brand-gray); color: var(--brand-black); }

@media (min-width: 1024px) {
  .navbar__links { display: flex; }
  .navbar__cta { display: inline-block; }
  .navbar__burger { display: none; }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 85vw);
  background: var(--brand-white);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 26px 30px;
  box-shadow: -20px 0 60px rgba(23, 23, 23, 0.18);
}
.drawer--open { transform: translateX(0); }
.drawer__close {
  align-self: flex-end;
  background: var(--brand-gray);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 18px;
}
.drawer__links { display: flex; flex-direction: column; gap: 22px; margin-top: 34px; flex: 1; }
.drawer__link {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.1em;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  color: var(--brand-black);
  transition: color 0.25s;
}
.drawer__link:hover { color: var(--brand-blue); }
.drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.45);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.drawer__backdrop--open { opacity: 1; pointer-events: auto; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--brand-green);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.hero__title {
  font-family: var(--font-display);
  color: var(--brand-white);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.hero__intro {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  max-width: 460px;
}
.hero__ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero__art { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
.hero__blob-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: url(#heroBlob);
  aspect-ratio: 440 / 460;
}

/* floating decorations (hero + philosophy) */
.deco { position: absolute; pointer-events: none; }
.deco img { width: 100%; height: 100%; object-fit: contain; }
.deco--circle { border-radius: 50%; }

.hero__scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__mouse i {
  width: 5px;
  height: 12px;
  background: var(--brand-gold);
  border-radius: 999px;
}

/* ---------- scroll video ---------- */

.scroll-video { position: relative; height: 260vh; background: var(--brand-white); }
.scroll-video__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.scroll-video__frame {
  width: 85vw;
  height: 75vh;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-white);
}
.scroll-video__frame video { width: 102%; height: 102%; object-fit: contain; }
.scroll-video__label {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(23, 23, 23, 0.25);
  transition: opacity 0.4s;
}

/* ---------- philosophy ---------- */

.philosophy {
  position: relative;
  background: var(--brand-gray);
  padding: 96px 0 40px;
  overflow: hidden;
}
.philosophy__story {
  max-width: 780px;
  margin: 26px auto 40px;
  text-align: center;
}
.philosophy__story h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.philosophy__story p {
  color: rgba(23, 23, 23, 0.7);
  line-height: 1.75;
  margin: 0 0 12px;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
}
.phil-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding-bottom: 56px;
}
@media (min-width: 768px) { .phil-cards { grid-template-columns: repeat(3, 1fr); } }
.phil-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease);
  color: var(--brand-white);
}
.phil-card::before,
.phil-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.phil-card::before { width: 150px; height: 150px; top: -50px; right: -40px; }
.phil-card::after { width: 90px; height: 90px; bottom: -30px; left: -25px; }
.phil-card:hover { transform: translateY(-6px); }
.phil-card--blue { background: var(--brand-blue); }
.phil-card--green { background: var(--brand-green); }
.phil-card--peach { background: var(--brand-peach); }
.phil-card__icon { color: var(--brand-white); margin-bottom: 20px; position: relative; z-index: 1; }
.phil-card__icon svg { width: 34px; height: 34px; }
.phil-card h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.phil-card p { color: rgba(255, 255, 255, 0.88); line-height: 1.7; margin: 0; font-size: 0.98rem; position: relative; z-index: 1; }

/* ---------- about ---------- */

.about { padding: 110px 0; background: var(--brand-white); overflow: hidden; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1fr 1fr; } }
.about__head { text-align: left; }
.about__head .section-heading { text-align: left; }
.about__paras p {
  color: rgba(23, 23, 23, 0.72);
  line-height: 1.8;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  margin: 0 0 16px;
}
.about__art { position: relative; max-width: 480px; margin: 0 auto; width: 100%; }
.about__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: url(#aboutBlob);
  aspect-ratio: 360 / 480;
  object-position: bottom;
}

/* ---------- programs ---------- */

.programs { background: var(--brand-gray); padding: 100px 0; }
.programs__body { max-width: 820px; margin: 34px auto 0; }
.programs__body p {
  color: rgba(23, 23, 23, 0.72);
  line-height: 1.85;
  font-size: clamp(1rem, 1.45vw, 1.1rem);
  margin: 0 0 20px;
}

/* ---------- saturday creche ---------- */

.creche { padding: 110px 0; background: var(--brand-white); overflow: hidden; }
.creche__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: center;
}
@media (min-width: 1024px) {
  .creche__grid { grid-template-columns: 1.05fr 1fr; }
  .creche__art { order: 2; }
}
.creche__head { text-align: left; }
.creche__head .section-heading { text-align: left; }
.creche__desc {
  margin-top: 22px;
  color: rgba(23, 23, 23, 0.72);
  line-height: 1.75;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  max-width: 520px;
}
.creche__facts { margin-top: 34px; display: grid; gap: 14px; }
.creche__fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--brand-gray);
  border-radius: 16px;
  padding: 18px 22px;
}
.creche__fact-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.creche__fact h5 { margin: 0 0 4px; font-size: 1.02rem; }
.creche__fact p { margin: 0; color: rgba(23, 23, 23, 0.6); font-size: 0.92rem; }
.creche__cta { margin-top: 36px; }
.creche__art img {
  border-radius: 26px;
  box-shadow: var(--shadow-card);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
}

/* ---------- gallery ---------- */

.gallery { background: var(--brand-gray); padding: 100px 0; }
.gallery__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 14px 12px;
  font-size: 0.8rem;
  color: var(--brand-white);
  background: linear-gradient(transparent, rgba(23, 23, 23, 0.75));
  opacity: 0;
  transition: opacity 0.35s;
}
.gallery__item:hover figcaption { opacity: 1; }
.gallery__follow { text-align: center; margin-top: 34px; }
.gallery__follow a {
  font-weight: 700;
  color: var(--brand-blue);
  border-bottom: 2px solid var(--brand-gold);
  padding-bottom: 2px;
  transition: color 0.25s;
}
.gallery__follow a:hover { color: var(--brand-green); }
.gallery__instagram-embed { margin-top: 44px; }
.gallery__instagram-embed iframe { border-radius: 16px; }

/* ---------- testimonials ---------- */

.testimonials { padding: 110px 0; background: var(--brand-white); }
.testimonials__grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }
.test-card {
  background: var(--brand-white);
  border: 1px solid rgba(23, 23, 23, 0.07);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.test-card__quote {
  color: rgba(23, 23, 23, 0.75);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}
.test-card__quote::before {
  content: '“';
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--brand-gold);
  margin-bottom: 12px;
}
.test-card__who { display: flex; align-items: center; gap: 14px; }
.test-card__who img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.test-card__who strong { font-size: 0.98rem; }

/* ---------- contact ---------- */

.contact { background: var(--brand-gray); padding: 110px 0; }
.contact__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1.1fr; } }
.contact__info-card { padding: 10px 0; }
.contact__info-card h4 {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.contact__row {
  display: flex;
  gap: 18px;
  align-items: center;
  color: rgba(23, 23, 23, 0.75);
  font-size: 0.98rem;
  padding: 14px 0;
}
.contact__row-icon {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--brand-peach);
  color: var(--brand-black);
  display: grid;
  place-items: center;
}
.contact__row-icon svg { width: 26px; height: 26px; }
.contact__row a:hover { color: var(--brand-blue); }
.contact__photo {
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
}
.contact__photo img { width: 100%; object-fit: cover; aspect-ratio: 16 / 8; }

.form-card {
  background: var(--brand-white);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}
.form-card h4 {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.form-card__note { color: rgba(23, 23, 23, 0.6); font-size: 0.92rem; margin: 0 0 26px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fdf2e4;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(42, 165, 85, 0.14);
}
.field textarea { min-height: 110px; resize: vertical; }
.days { display: flex; flex-wrap: wrap; gap: 10px; }
.days label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid transparent;
  background: #fdf2e4;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s;
  user-select: none;
}
.days input { display: none; }
.days label:has(input:checked) {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--brand-white);
}
.form-success { text-align: center; padding: 40px 10px; }
.form-success h4 { font-size: 1.6rem; margin-bottom: 12px; }
.form-success p { color: rgba(23, 23, 23, 0.65); line-height: 1.7; }
.form-success__tick {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: grid;
  place-items: center;
}

/* ---------- footer ---------- */

.footer { background: var(--brand-black); color: var(--brand-white); }
.footer__grid {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; } }
.footer__logo { height: 56px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__tag { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; line-height: 1.65; max-width: 240px; }
.footer h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin: 0 0 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a, .footer ul span { color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; transition: color 0.25s; }
.footer ul a:hover { color: var(--brand-gold); }
.footer__sub { color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; margin-top: 4px; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
}
