/* ===== Dayi's Playground Childcare — site styles ===== */
:root {
  --coral: #ff8fab;
  --coral-deep: #f4587e;
  --sun: #ffd166;
  --teal: #4ecdc4;
  --teal-deep: #2fb3aa;
  --ink: #3a3247;
  --ink-soft: #6b6478;
  --cream: #fff9f3;
  --cream-tint: #fdeee2;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(58, 50, 71, 0.10);
  --shadow-sm: 0 6px 18px rgba(58, 50, 71, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0; }
h3 { font-size: 1.25rem; margin: 0 0 .35rem; }
p { margin: 0 0 1rem; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--coral-deep);
  margin: 0 0 .6rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: "Baloo 2", sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(244, 88, 126, .35); }
.btn-primary:hover { background: var(--coral-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #f0e2d6; }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral-deep); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 249, 243, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f2e6da;
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; }
.brand-name { font-weight: 700; font-size: 1.25rem; display: flex; flex-direction: column; line-height: 1; }
.brand-sub { font-size: .8rem; color: var(--teal-deep); font-weight: 600; letter-spacing: .02em; }
.nav { margin-left: auto; display: flex; gap: 1.4rem; }
.nav a { color: var(--ink-soft); font-weight: 600; }
.nav a:hover { color: var(--coral-deep); text-decoration: none; }
.nav-cta { padding: .6rem 1.2rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ===== Language switch ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 2px solid #f0e2d6;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  flex: none;
}
.lang-btn {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: .42rem .8rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-btn:hover { color: var(--coral-deep); }
.lang-btn.is-active {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 12px rgba(244, 88, 126, .35);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem) clamp(3.5rem, 9vw, 6.5rem);
  background: linear-gradient(160deg, #fff6ef 0%, #fde7ef 55%, #eafaf8 100%);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero-art img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}
.hl { color: var(--coral-deep); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.badge {
  background: rgba(255, 255, 255, .8);
  border: 1px solid #f0e2d6;
  border-radius: 999px;
  padding: .4rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-blobs { position: absolute; inset: 0; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .5; }
.blob-a { width: 220px; height: 220px; background: var(--sun); top: -40px; right: 8%; }
.blob-b { width: 160px; height: 160px; background: var(--teal); bottom: 10%; right: 22%; opacity: .35; }
.blob-c { width: 120px; height: 120px; background: var(--coral); top: 40%; right: 4%; opacity: .3; }

/* ===== Sections ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem); }
.section-tint { max-width: none; background: var(--cream-tint); }
.section-tint > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; margin-top: .6rem; }

.about-grid { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); grid-template-columns: 1.1fr .9fr; font-size: 1.08rem; align-items: center; }
.about-copy p { margin: 0 0 1rem; }
.about-copy p:last-child { margin-bottom: 0; }
.about-art img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 4px solid #fff; }

/* ===== Cards ===== */
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f4ebe1;
}
.card-plain { background: var(--cream); }
.card-icon { font-size: 2rem; display: block; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); margin: 0; }

/* Photo cards (programs) */
.card-photo { padding: 0; overflow: hidden; }
.card-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card-body { padding: 1.4rem 1.6rem 1.6rem; }
.card-body h3 { margin-top: 0; }
.fineprint { color: var(--ink-soft); font-size: .92rem; margin-top: 1.4rem; }

/* ===== Timeline ===== */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.timeline li {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f4ebe1;
}
.t-time {
  min-width: 120px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--teal-deep);
}
.t-what { color: var(--ink); }

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; }
.ci-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 700; }
.contact-list a, .contact-list span:not(.ci-label) { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.contact-list a { color: var(--teal-deep); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid #f4ebe1;
}
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
input, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: .7rem .85rem;
  border: 2px solid #eee0d4;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  transition: border .15s ease;
}
input:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
textarea { resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: .9rem 0 0; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #efeaf3; margin-top: 2rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 2.5rem); text-align: center; }
.brand-footer { justify-content: center; color: #fff; margin-bottom: .6rem; }
.brand-footer .brand-name { flex-direction: row; font-size: 1.2rem; }
.footer-meta { color: #cfc7db; margin: .3rem 0; }
.footer-meta a, .site-footer a { color: var(--sun); }
.footer-legal { color: #9990a8; font-size: .85rem; margin: .6rem 0 0; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .lang-switch { margin-left: auto; }
  .site-header.open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    padding: .5rem 0;
    border-bottom: 1px solid #f2e6da;
  }
  .site-header.open .nav a { padding: .8rem clamp(1rem, 4vw, 2.5rem); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-art { max-width: 460px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .timeline li { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .t-time { min-width: 0; }
}
