/* ============================================================
   Cleankids placeholder theme
   Colors and logo are PLACEHOLDERS. Swap the CSS variables
   below when a final palette and logo are chosen.
   Domain: getcleankids.com
   Colors and logo are still placeholders.
   ============================================================ */

:root {
  --sun: #F5C518;       /* placeholder gold */
  --sun-deep: #E0A800;
  --sky: #2E8BC9;       /* placeholder sky blue */
  --sky-deep: #1F6FA3;
  --leaf: #3FA34D;      /* placeholder green */
  --navy: #16324F;      /* placeholder navy */
  --cream: #FFF8E7;
  --paper: #FFFFFF;
  --ink: #1C2B3A;
  --muted: #5A6A7A;
  --line: #E4D9B8;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(22, 50, 79, 0.08);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--sky-deep); }
a:hover { color: var(--navy); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}

/* Placeholder notice */
.placeholder-bar {
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  text-align: center;
  padding: 0.45rem 1rem;
}
.placeholder-bar strong { color: var(--sun); }

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 4px solid var(--sun);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
}
.brand img, .brand svg {
  width: 52px;
  height: 52px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; }
.brand-tag { font-size: 0.75rem; color: var(--muted); font-weight: 700; }

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}
nav a:hover, nav a[aria-current="page"] {
  background: var(--sun);
  color: var(--navy);
}
nav a.book-link {
  background: var(--sky);
  color: #fff;
}
nav a.book-link:hover, nav a.book-link[aria-current="page"] {
  background: var(--sky-deep);
  color: #fff;
}

/* Layout */
main { display: block; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.4rem 1.1rem 2.4rem;
}
.hero {
  background: linear-gradient(160deg, #fff 0%, #fff3c4 55%, #d7eef9 100%);
  border: 2px solid var(--line);
  border-radius: 28px;
  padding: 2rem 1.4rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}
.hero h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 1.15;
  color: var(--navy);
}
.lede { font-size: 1.12rem; margin: 0 0 1rem; max-width: 40rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.4rem 0 1rem; }
.badge {
  background: #fff;
  border: 2px solid var(--leaf);
  color: #1b6b2a;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.badge.parent { border-color: var(--sky); color: var(--sky-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  border: 2px solid transparent;
}
.btn-primary { background: var(--sky); color: #fff; }
.btn-primary:hover { background: var(--sky-deep); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }

.section { margin-top: 2.4rem; }
.section h2 {
  font-size: 1.55rem;
  color: var(--navy);
  margin: 0 0 0.8rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.3rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
  display: flex;
  flex-direction: column;
}
.card h3 { margin: 0 0 0.4rem; color: var(--navy); }
.card p { margin: 0 0 0.9rem; flex: 1; }
.icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  background: #fff3c4;
}

.steps {
  display: grid;
  gap: 0.8rem;
}
.step {
  background: #fff;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  border-left: 6px solid var(--sun);
  box-shadow: var(--shadow);
}
.step strong { color: var(--navy); }

.note, .price-box, .form-help, .confirm-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  border: 2px dashed var(--sky);
}
.price-box { border-style: solid; border-color: var(--sun); background: #fff8d6; }
.price-box .label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a6a00;
  margin: 0 0 0.3rem;
}
.price-placeholder {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.2rem 0;
}
.suggestion { margin: 0.4rem 0 0; }
.suggestion em { font-style: normal; font-weight: 800; color: #8a6a00; }

.page-hero h1 { margin-top: 0; color: var(--navy); }

/* Forms */
form.booking {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.85rem;
}
.field { display: grid; gap: 0.3rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .field-row.two { grid-template-columns: 1fr 1fr; }
}
label { font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.hint { font-weight: 600; color: var(--muted); font-size: 0.8rem; }
input, select, textarea {
  font: inherit;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  border: 2px solid #d5dbe3;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid #b9e0f7;
  border-color: var(--sky);
}
textarea { min-height: 110px; resize: vertical; }
.required { color: #b42318; }
button[type="submit"] {
  font: inherit;
  font-weight: 800;
  background: var(--sky);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
}
button[type="submit"]:hover { background: var(--sky-deep); }
.confirm-box { display: none; border-color: var(--leaf); background: #edf9ef; }
.confirm-box.show { display: block; white-space: pre-wrap; }

.free-options {
  margin-top: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 2px solid var(--line);
}
.free-options h2 { margin-top: 0; }
.free-options ol { padding-left: 1.2rem; }
.free-options li { margin: 0.45rem 0; }

/* Talk / phone line */
.prefer-talk {
  margin: 0.2rem 0 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.prefer-talk a { font-weight: 800; }

/* Honeypot — hidden from people, present for FormSubmit spam filtering */
.honeypot {
  display: none !important;
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Example prices — one clearly marked, easy-to-edit box per service page */
.price-list {
  list-style: none;
  margin: 0.4rem 0 0.6rem;
  padding: 0;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0e2a8;
  font-weight: 700;
  color: var(--navy);
}
.price-list li:last-child { border-bottom: 0; }
.price-list strong { font-size: 1.05rem; }

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.contact-card .actions { margin-top: 0.7rem; }
.phone-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Thanks */
.thanks-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  border: 2px solid var(--leaf);
  box-shadow: var(--shadow);
  max-width: 40rem;
}

/* Footer */
footer {
  background: var(--navy);
  color: #e8eef4;
  padding: 1.6rem 1.1rem 2rem;
  margin-top: 1rem;
}
footer .wrap { padding: 0; }
footer a { color: var(--sun); }
footer p { margin: 0.35rem 0; }
footer .brand-line { font-size: 1.15rem; }
footer .tagline { margin-top: 0; }
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.8rem 0;
  padding: 0;
}
.footer-nav a { font-weight: 700; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.fine { font-size: 0.85rem; color: #c5d0db; }

/* Mobile menu — keeps six nav links tidy on a phone */
.nav-toggle { position: absolute; left: -9999px; }
.nav-toggle-label {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--navy);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle-label span.bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle-label { display: flex; margin-left: auto; }
  .site-header nav {
    display: none;
    width: 100%;
    padding-bottom: 0.6rem;
  }
  .nav-toggle:checked ~ nav { display: block; }
  .site-header nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }
  .site-header nav a { font-size: 1rem; }
}

/* Homepage story intro */
.story-intro { margin: 1.25rem 0 0.5rem; padding: 1.1rem 1.25rem; background: #fff8d6; border-left: 6px solid #ffd21f; border-radius: 14px; }
.story-intro p { margin: 0 0 0.6rem; font-size: 1.08rem; line-height: 1.6; max-width: 46rem; }
.story-intro p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .story-intro { padding: 0.9rem 1rem; } .story-intro p { font-size: 1rem; } }
