/* ==========================================================================
   Little Paradise Pre-School — Stylesheet
   Palette: Playful Blue / Sunny Yellow-Orange / Joyful Pink / Mint Green
   ========================================================================== */

:root {
  /* Brand colors — bright (for accents, icons, borders, light fills) */
  --blue: #2F80ED;
  --yellow: #FFC93C;
  --orange: #FF7A33;
  --pink: #FF5D8F;
  --mint: #2FD3B5;

  /* Deep variants — for solid fills that carry white text (AA contrast) */
  --blue-deep: #17509E;
  --orange-deep: #C94E14;
  --pink-deep: #C22F5E;
  --mint-deep: #0E8974;
  --whatsapp-deep: #178A46;

  /* Neutrals */
  --ink: #241E3D;
  --ink-soft: #58506f;
  --cream: #FFFCF5;
  --white: #FFFFFF;
  --line: #ECE6F5;

  /* Type */
  --font-display: 'Fredoka', 'Segoe UI', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;

  /* Shape & shadow */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow-sm: 0 4px 14px rgba(36, 30, 61, 0.10);
  --shadow-md: 0 14px 34px rgba(36, 30, 61, 0.16);

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 76px 0; }
@media (max-width: 640px) { section { padding: 52px 0; } }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--pink-deep);
  box-shadow: var(--shadow-sm);
}
.section-head { max-width: 640px; margin: 0 0 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.text-white h1, .text-white h2, .text-white h3, .text-white p { color: var(--white); }

.rainbow-text {
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(90deg, var(--blue), var(--pink) 35%, var(--orange) 65%, var(--mint-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--blue-deep);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-call { background: linear-gradient(135deg, var(--orange-deep), var(--pink-deep)); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp-deep); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid currentColor; color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* Floating call/whatsapp bar on mobile */
.mobile-action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  display: none;
  gap: 2px;
  box-shadow: 0 -6px 20px rgba(36,30,61,.18);
}
.mobile-action-bar a {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-action-bar a svg { width: 18px; height: 18px; }
.mobile-action-bar .bar-call { background: var(--orange-deep); }
.mobile-action-bar .bar-whatsapp { background: var(--whatsapp-deep); }
@media (max-width: 720px) {
  .mobile-action-bar { display: flex; }
  body { padding-bottom: 58px; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 600;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(36,30,61,.08);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.brand-text { line-height: 1.15; }
.brand-text .name { font-size: 1.3rem; }
.brand-text .tag {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mint-deep);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  padding: 6px 2px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;
  height: 3px;
  border-radius: 3px;
  background: var(--pink);
  transition: right .2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--pink-deep); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-deep);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.nav-call-btn:hover { transform: translateY(-2px); }
.nav-call-btn svg { width: 17px; height: 17px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.menu-toggle span {
  width: 26px; height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(36,30,61,.12);
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a { padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta .nav-call-btn span.long { display: none; }
  .menu-toggle { display: flex; }
}
@media (min-width: 901px) {
  .nav-cta .nav-call-btn span.short { display: none; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: 64px 0 84px;
  text-align: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 26px;
  background-image: radial-gradient(circle at 13px 0, transparent 13px, var(--cream) 13.5px);
  background-size: 26px 26px;
  background-repeat: repeat-x;
}
.page-banner .crumb {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  opacity: .9;
}
.page-banner h1 { color: var(--white); margin-top: 10px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 84px 0 108px;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 60%, var(--pink-deep) 130%);
  color: var(--white);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
}
.hero::before { width: 260px; height: 260px; top: -80px; right: 8%; }
.hero::after { width: 160px; height: 160px; bottom: -40px; left: 4%; background: rgba(255,201,60,.18); }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero-sub { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 520px; }
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .mascot-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
  max-width: 320px;
}
.hero-art .mascot-wrap img { border-radius: var(--radius-md); }
.hero-badge {
  position: absolute;
  bottom: -18px;
  right: 6%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transform: rotate(4deg);
  font-size: .92rem;
}
.hero-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 30px;
  background-image: radial-gradient(circle at 15px 0, transparent 15px, var(--cream) 15.5px);
  background-size: 30px 30px;
  background-repeat: repeat-x;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 12px; }
  .hero-badge { right: 50%; transform: translateX(50%) rotate(4deg); }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  padding: 0;
  transform: translateY(-46px);
  position: relative;
  z-index: 3;
}
.stats-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 26px 12px;
  border-right: 1px dashed var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--pink-deep);
}
.stat .label { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }
@media (max-width: 720px) {
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px dashed var(--line); }
  .stat { padding: 20px 10px; border-bottom: 1px dashed var(--line); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
}

/* ---------- About preview / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 460px;
  object-fit: cover;
}
@media (max-width: 640px) {
  .split-media img { height: 320px; }
}
.split-media .sticker {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transform: rotate(-4deg);
  font-size: .9rem;
}
.check-list { margin: 22px 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--ink);
}
.check-list svg {
  width: 22px; height: 22px; flex: none;
  color: var(--mint-deep);
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: -1; }
}

/* ---------- Sticker cards (programs / features) ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-md);
}
.card .icon-badge {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon-badge svg { width: 30px; height: 30px; color: var(--white); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .age-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.card--blue .icon-badge, .age-tag--blue { background: var(--blue); }
.card--blue { border-color: var(--blue); }
.age-tag--blue { color: var(--white); }

.card--pink .icon-badge, .age-tag--pink { background: var(--pink-deep); }
.card--pink { border-color: var(--pink); }
.age-tag--pink { color: var(--white); }

.card--orange .icon-badge, .age-tag--orange { background: var(--orange-deep); }
.card--orange { border-color: var(--orange); }
.age-tag--orange { color: var(--white); }

.card--mint .icon-badge, .age-tag--mint { background: var(--mint-deep); }
.card--mint { border-color: var(--mint); }
.age-tag--mint { color: var(--white); }

/* Feature list variant (why choose us) */
.feature {
  text-align: center;
  padding: 10px;
}
.feature .icon-badge { margin: 0 auto 18px; }
.feature h3 { font-size: 1.1rem; }
.feature p { font-size: .95rem; }

/* ---------- Colored band sections ---------- */
.band {
  position: relative;
  color: var(--white);
}
.band.band-blue { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.band.band-pink { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); }
.band .scallop-top {
  position: absolute; top: -1px; left: 0; right: 0; height: 26px;
  background-image: radial-gradient(circle at 13px 26px, transparent 13px, currentColor 13.5px);
  background-size: 26px 26px;
  background-repeat: repeat-x;
  color: var(--cream);
  transform: scaleY(-1);
}
.band .scallop-bottom {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 26px;
  background-image: radial-gradient(circle at 13px 0, transparent 13px, var(--cream) 13.5px);
  background-size: 26px 26px;
  background-repeat: repeat-x;
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 5;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 18px 14px;
  background: linear-gradient(to top, rgba(23,17,49,.85), transparent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
}

/* ---------- CTA band (mandatory, above footer, every page) ---------- */
.cta-band {
  position: relative;
  padding: 70px 0;
  text-align: center;
  background: linear-gradient(120deg, var(--orange-deep), var(--pink-deep));
  color: var(--white);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 26px;
  background-image: radial-gradient(circle at 13px 26px, transparent 13px, var(--cream) 13.5px);
  background-size: 26px 26px;
  background-repeat: repeat-x;
  transform: scaleY(-1);
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }
.cta-band .btn-call { background: var(--white); color: var(--orange-deep); }
.cta-band .btn-whatsapp { background: var(--whatsapp-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.82);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); padding: 3px; }
.footer-brand .name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--white); }
.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.site-footer p { color: rgba(255,255,255,.72); font-size: .95rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.78); font-size: .95rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: .93rem; color: rgba(255,255,255,.82); }
.footer-contact svg { width: 20px; height: 20px; flex: none; color: var(--mint); margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,.82); }
.footer-contact a:hover { color: var(--yellow); }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.social-row a svg { width: 20px; height: 20px; color: var(--white); }
.social-row a:hover { background: var(--pink-deep); transform: translateY(-3px); }
.footer-bottom {
  padding: 22px 0 26px;
  text-align: center;
  font-size: .86rem;
  color: rgba(255,255,255,.55);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Contact info cards ---------- */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-card .icon-badge { width: 54px; height: 54px; flex: none; margin-bottom: 0; }
.contact-card .icon-badge svg { width: 26px; height: 26px; }
.contact-card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.contact-card a.link { font-weight: 700; color: var(--blue-deep); }

/* ---------- Timeline / routine list ---------- */
.routine-list { max-width: 640px; margin: 0 auto; }
.routine-list li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.routine-list li:last-child { border-bottom: none; }
.routine-list .time {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink-deep);
  min-width: 118px;
  flex: none;
}
.routine-list .what { font-weight: 700; color: var(--ink); }
