/* progressive enhancement: reveal content visible without JS */
html:not(.js) .reveal,html:not(.js) [class*="reveal"]{opacity:1!important;transform:none!important;filter:none!important}

/* ==========================================================================
   Sprout — Daycare & Preschool Website Template
   Custom design layer over Bootstrap 5
   Palette: sunny yellow + warm coral primary, sky-blue & leafy-green supports,
   soft cream base. Rounded friendly shapes. Fraunces (display) + Nunito (sans).
   ========================================================================== */

:root {
  /* Core palette */
  --sprout-coral: #ff7a59;
  --sprout-coral-dark: #f0603f;
  --sprout-sun: #ffc94d;
  --sprout-sun-deep: #ffb020;
  --sprout-sky: #57c4e5;
  --sprout-sky-deep: #2ba4c9;
  --sprout-leaf: #7ac74f;
  --sprout-leaf-deep: #5aa832;
  --sprout-berry: #d94f70;

  /* Neutrals */
  --sprout-cream: #fff8ee;
  --sprout-cream-2: #fdeede;
  --sprout-ink: #3b2f2a;
  --sprout-ink-soft: #6d5f57;
  --sprout-white: #ffffff;
  --sprout-line: #f0e2cf;

  /* Semantic */
  --sprout-primary: var(--sprout-coral);
  --sprout-primary-dark: var(--sprout-coral-dark);
  --sprout-bg: var(--sprout-cream);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(59, 47, 42, 0.06);
  --shadow: 0 14px 40px rgba(59, 47, 42, 0.10);
  --shadow-lg: 0 28px 70px rgba(59, 47, 42, 0.16);
  --shadow-coral: 0 14px 30px rgba(255, 122, 89, 0.35);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--sprout-ink);
  background-color: var(--sprout-bg);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sprout-ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

a {
  color: var(--sprout-primary-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--sprout-coral); }

p { margin-bottom: 1rem; }

img { max-width: 100%; height: auto; }

::selection { background: var(--sprout-sun); color: var(--sprout-ink); }

.container { max-width: 1180px; }

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--sprout-sky-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--sprout-ink);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------------------
   Reusable helpers
   -------------------------------------------------------------------------- */
.section { padding: 5.5rem 0; }
.section-sm { padding: 4rem 0; }
@media (max-width: 767.98px) {
  .section { padding: 3.75rem 0; }
}

.bg-cream { background-color: var(--sprout-cream); }
.bg-cream-2 { background-color: var(--sprout-cream-2); }
.bg-white { background-color: var(--sprout-white) !important; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sprout-primary-dark);
  background: rgba(255, 122, 89, 0.12);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sprout-primary);
}
.eyebrow.sky { color: var(--sprout-sky-deep); background: rgba(87, 196, 229, 0.16); }
.eyebrow.sky::before { background: var(--sprout-sky-deep); }
.eyebrow.leaf { color: var(--sprout-leaf-deep); background: rgba(122, 199, 79, 0.18); }
.eyebrow.leaf::before { background: var(--sprout-leaf-deep); }
.eyebrow.sun { color: #b07a00; background: rgba(255, 201, 77, 0.24); }
.eyebrow.sun::before { background: var(--sprout-sun-deep); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 0.9rem;
}
.section-lead {
  font-size: 1.12rem;
  color: var(--sprout-ink-soft);
  max-width: 620px;
}
.text-center .section-lead { margin-left: auto; margin-right: auto; }

.text-coral { color: var(--sprout-primary-dark) !important; }
.text-sky { color: var(--sprout-sky-deep) !important; }
.text-leaf { color: var(--sprout-leaf-deep) !important; }
.text-soft { color: var(--sprout-ink-soft) !important; }

/* Wavy underline accent on headings */
.squiggle {
  position: relative;
  white-space: nowrap;
}
.squiggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.18em;
  height: 0.42em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 C 20 2, 40 12, 60 6 S 100 2, 118 7' stroke='%23ffc94d' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 800;
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.6rem;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  letter-spacing: 0.005em;
}
.btn:active { transform: translateY(1px); }

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }

.btn-coral {
  background: var(--sprout-primary);
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn-coral:hover {
  background: var(--sprout-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 122, 89, 0.42);
}

.btn-sun {
  background: var(--sprout-sun);
  color: var(--sprout-ink);
  box-shadow: 0 12px 26px rgba(255, 176, 32, 0.34);
}
.btn-sun:hover {
  background: var(--sprout-sun-deep);
  color: var(--sprout-ink);
  transform: translateY(-2px);
}

.btn-sky {
  background: var(--sprout-sky);
  color: #08303c;
  box-shadow: 0 12px 26px rgba(87, 196, 229, 0.34);
}
.btn-sky:hover { background: var(--sprout-sky-deep); color: #fff; transform: translateY(-2px); }

.btn-outline-coral {
  background: transparent;
  color: var(--sprout-primary-dark);
  box-shadow: inset 0 0 0 2.5px var(--sprout-primary);
}
.btn-outline-coral:hover {
  background: var(--sprout-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: #fff;
  color: var(--sprout-ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { color: var(--sprout-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-white {
  background: #fff;
  color: var(--sprout-primary-dark);
  box-shadow: var(--shadow);
}
.btn-white:hover { background: var(--sprout-cream); color: var(--sprout-primary-dark); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.site-nav {
  background: rgba(255, 248, 238, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  padding: 0.7rem 0;
}
.site-nav.scrolled {
  background: rgba(255, 248, 238, 0.96);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--sprout-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--sprout-ink);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--sprout-ink); }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--sprout-primary);
  border-radius: 14px 14px 18px 10px;
  box-shadow: var(--shadow-coral);
  flex: 0 0 auto;
}
.brand-mark svg { width: 24px; height: 24px; display: block; }

.nav-toggle {
  border: none;
  background: #fff;
  width: 48px; height: 48px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--sprout-ink);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a.nav-link {
  font-weight: 700;
  color: var(--sprout-ink);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
}
.nav-menu a.nav-link:hover,
.nav-menu a.nav-link.active {
  color: var(--sprout-primary-dark);
  background: rgba(255, 122, 89, 0.1);
}
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

@media (max-width: 991.98px) {
  .nav-panel {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(340px, 86vw);
    background: var(--sprout-white);
    box-shadow: var(--shadow-lg);
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1400;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
  .nav-panel.open { transform: translateX(0); }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-menu a.nav-link { padding: 0.85rem 1rem; font-size: 1.1rem; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
  .nav-cta .btn { width: 100%; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(59, 47, 42, 0.42);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1300;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 992px) {
  .nav-panel { display: flex !important; align-items: center; gap: 1.5rem; transform: none !important; }
  .nav-backdrop { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 3.5rem 0 5rem;
  background:
    radial-gradient(1200px 500px at 88% -8%, rgba(255, 201, 77, 0.35), transparent 60%),
    radial-gradient(900px 480px at -5% 108%, rgba(87, 196, 229, 0.22), transparent 60%),
    var(--sprout-cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  margin-bottom: 1.2rem;
}
.hero-lead {
  font-size: 1.2rem;
  color: var(--sprout-ink-soft);
  max-width: 520px;
  margin-bottom: 1.8rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.9rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
  color: var(--sprout-ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-trust .dot { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust .dot svg { width: 20px; height: 20px; color: var(--sprout-leaf-deep); flex: 0 0 auto; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo-wrap {
  position: relative;
  border-radius: 32px 32px 40px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  transform: rotate(1.4deg);
}
.hero-photo-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero-blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}
.hero-blob.b1 { width: 130px; height: 130px; background: var(--sprout-sun); top: -30px; left: -30px; }
.hero-blob.b2 { width: 90px; height: 90px; background: var(--sprout-sky); bottom: 40px; right: -25px; }

.hero-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 3;
  font-weight: 800;
}
.hero-badge small { display: block; font-weight: 700; color: var(--sprout-ink-soft); font-size: 0.72rem; letter-spacing: 0.03em; }
.hero-badge .hb-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; flex: 0 0 auto;
}
.hero-badge .hb-icon svg { width: 22px; height: 22px; }
.hero-badge.b-ratio { top: 22px; right: -14px; }
.hero-badge.b-ratio .hb-icon { background: rgba(122, 199, 79, 0.18); color: var(--sprout-leaf-deep); }
.hero-badge.b-licensed { bottom: -18px; left: -18px; }
.hero-badge.b-licensed .hb-icon { background: rgba(87, 196, 229, 0.18); color: var(--sprout-sky-deep); }
@media (max-width: 575.98px) {
  .hero-badge.b-ratio { right: 4px; }
  .hero-badge.b-licensed { left: 4px; }
}

/* Decorative floaty shapes background */
.hero-decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-decor .shape { position: absolute; opacity: 0.5; }
.hero-decor .s1 { top: 12%; right: 40%; font-size: 2rem; }
.hero-decor .s2 { bottom: 16%; left: 6%; font-size: 1.6rem; }

/* --------------------------------------------------------------------------
   Marquee / trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--sprout-ink);
  color: #fff;
  padding: 1.1rem 0;
}
.trust-strip .track {
  display: flex;
  gap: 3rem;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-strip .track span { display: inline-flex; align-items: center; gap: 0.6rem; opacity: 0.92; }
.trust-strip .track span::before { content: "✦"; color: var(--sprout-sun); }

/* --------------------------------------------------------------------------
   Program cards
   -------------------------------------------------------------------------- */
.program-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sprout-line);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.program-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.program-icon svg { width: 32px; height: 32px; }
.program-card h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.program-age {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}
.program-card p { color: var(--sprout-ink-soft); font-size: 0.98rem; margin-bottom: 1rem; }
.program-link {
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.program-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.program-card:hover .program-link svg { transform: translateX(4px); }

/* Color themes for program cards */
.pc-coral .program-icon { background: rgba(255,122,89,0.14); color: var(--sprout-coral-dark); }
.pc-coral .program-age { background: rgba(255,122,89,0.14); color: var(--sprout-coral-dark); }
.pc-sun .program-icon { background: rgba(255,201,77,0.26); color: #b07a00; }
.pc-sun .program-age { background: rgba(255,201,77,0.26); color: #b07a00; }
.pc-sky .program-icon { background: rgba(87,196,229,0.18); color: var(--sprout-sky-deep); }
.pc-sky .program-age { background: rgba(87,196,229,0.18); color: var(--sprout-sky-deep); }
.pc-leaf .program-icon { background: rgba(122,199,79,0.20); color: var(--sprout-leaf-deep); }
.pc-leaf .program-age { background: rgba(122,199,79,0.20); color: var(--sprout-leaf-deep); }
.pc-berry .program-icon { background: rgba(217,79,112,0.14); color: var(--sprout-berry); }
.pc-berry .program-age { background: rgba(217,79,112,0.14); color: var(--sprout-berry); }

/* --------------------------------------------------------------------------
   Why choose us / features
   -------------------------------------------------------------------------- */
.feature-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-ic {
  width: 56px; height: 56px; flex: 0 0 auto;
  border-radius: 16px;
  display: grid; place-items: center;
}
.feature-ic svg { width: 28px; height: 28px; }
.feature-item h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.feature-item p { color: var(--sprout-ink-soft); font-size: 0.95rem; margin: 0; }

/* --------------------------------------------------------------------------
   Approach / play-based
   -------------------------------------------------------------------------- */
.approach-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 7px solid #fff;
}
.approach-img img { display: block; width: 100%; }

.approach-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.approach-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--sprout-line);
}
.approach-list li:last-child { border-bottom: none; }
.approach-list .tick {
  width: 30px; height: 30px; flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(122,199,79,0.18);
  color: var(--sprout-leaf-deep);
  display: grid; place-items: center;
}
.approach-list .tick svg { width: 17px; height: 17px; }
.approach-list strong { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.approach-list span { color: var(--sprout-ink-soft); font-size: 0.95rem; }

/* Stats */
.stat-row { display: flex; flex-wrap: wrap; gap: 2rem; }
.stat { }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--sprout-primary-dark);
  line-height: 1;
}
.stat .num.sky { color: var(--sprout-sky-deep); }
.stat .num.leaf { color: var(--sprout-leaf-deep); }
.stat .num.sun { color: #c98a00; }
.stat .lbl { font-weight: 700; color: var(--sprout-ink-soft); font-size: 0.92rem; margin-top: 0.2rem; }

/* --------------------------------------------------------------------------
   Daily schedule timeline
   -------------------------------------------------------------------------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 90px; top: 8px; bottom: 8px;
  width: 3px;
  background: repeating-linear-gradient(var(--sprout-sun) 0 12px, transparent 12px 20px);
}
.tl-item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; padding: 0.7rem 0; align-items: start; }
.tl-time { text-align: right; font-family: var(--font-display); font-weight: 700; color: var(--sprout-primary-dark); font-size: 1.02rem; padding-top: 0.85rem; }
.tl-body {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sprout-line);
}
.tl-body::before {
  content: "";
  position: absolute;
  left: -34px; top: 18px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--sprout-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(255,122,89,0.25);
}
.tl-body h4 { font-size: 1.1rem; margin-bottom: 0.15rem; }
.tl-body p { margin: 0; color: var(--sprout-ink-soft); font-size: 0.93rem; }
@media (max-width: 575.98px) {
  .timeline::before { left: 70px; }
  .tl-item { grid-template-columns: 70px 1fr; gap: 1rem; }
  .tl-body::before { left: -27px; }
}

/* --------------------------------------------------------------------------
   Teachers
   -------------------------------------------------------------------------- */
.teacher-card { text-align: center; }
.teacher-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 6px solid #fff;
  margin-bottom: 0.9rem;
  background: var(--sprout-cream-2);
}
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.teacher-card:hover .teacher-photo img { transform: scale(1.05); }
.teacher-card h3 { font-size: 1.25rem; margin-bottom: 0.1rem; }
.teacher-role { font-weight: 800; color: var(--sprout-sky-deep); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.teacher-line { color: var(--sprout-ink-soft); font-size: 0.95rem; }
.teacher-tag {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--sprout-primary-dark);
  font-weight: 800; font-size: 0.75rem;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Gallery + lightbox
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}
@media (max-width: 767.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--sprout-cream-2);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
@media (max-width: 767.98px) { .gallery-item.wide { grid-column: span 2; } .gallery-item.tall { grid-row: span 1; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(59,47,42,0.4), transparent 55%);
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .zoom {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--sprout-primary-dark);
  display: grid; place-items: center;
  opacity: 0; transform: scale(0.7); transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.gallery-item:hover .zoom { opacity: 1; transform: scale(1); }
.gallery-item .zoom svg { width: 18px; height: 18px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(35, 26, 22, 0.9);
  display: none;
  align-items: center; justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 900px; width: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #fff; font-weight: 700; margin-top: 1rem; }
.lb-btn {
  position: absolute;
  background: #fff; color: var(--sprout-ink);
  border: none; border-radius: 50%;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  cursor: pointer; box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.lb-btn:hover { transform: scale(1.08); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 575.98px) {
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-btn { width: 44px; height: 44px; }
}

/* --------------------------------------------------------------------------
   Tuition cards
   -------------------------------------------------------------------------- */
.tuition-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--sprout-line);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.tuition-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tuition-card.featured {
  border-color: var(--sprout-primary);
  box-shadow: var(--shadow);
}
.tuition-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sprout-primary); color: #fff;
  font-weight: 800; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-coral);
  white-space: nowrap;
}
.tuition-card h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.tuition-card .t-days { color: var(--sprout-ink-soft); font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.tuition-price { font-family: var(--font-display); font-weight: 700; color: var(--sprout-ink); margin-bottom: 1rem; }
.tuition-price .amt { font-size: 2.4rem; }
.tuition-price .per { font-size: 0.95rem; color: var(--sprout-ink-soft); font-weight: 700; font-family: var(--font-body); }
.tuition-feats { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.tuition-feats li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.4rem 0; font-size: 0.95rem; color: var(--sprout-ink-soft); }
.tuition-feats svg { width: 18px; height: 18px; color: var(--sprout-leaf-deep); flex: 0 0 auto; margin-top: 3px; }

/* --------------------------------------------------------------------------
   Testimonials slider
   -------------------------------------------------------------------------- */
.testi-slider { position: relative; max-width: 820px; margin: 0 auto; }
.testi-track { position: relative; }
.testi-slide {
  display: none;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.testi-slide.active { display: block; animation: fadeSlide 0.5s ease; }
@media (prefers-reduced-motion: reduce) { .testi-slide.active { animation: none; } }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.testi-stars { color: var(--sprout-sun-deep); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-quote { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--sprout-ink); margin-bottom: 1.5rem; }
@media (max-width: 575.98px) { .testi-quote { font-size: 1.1rem; } .testi-slide { padding: 1.75rem; } }
.testi-author { display: inline-flex; align-items: center; gap: 0.85rem; }
.testi-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.testi-author .name { font-weight: 800; }
.testi-author .meta { color: var(--sprout-ink-soft); font-size: 0.88rem; }
.testi-nav { display: flex; justify-content: center; align-items: center; gap: 0.9rem; margin-top: 1.6rem; }
.testi-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: none; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; cursor: pointer; color: var(--sprout-ink);
  transition: transform 0.2s ease, color 0.2s ease;
}
.testi-arrow:hover { transform: scale(1.08); color: var(--sprout-primary-dark); }
.testi-arrow svg { width: 20px; height: 20px; }
.testi-dots { display: flex; gap: 0.5rem; }
.testi-dot { width: 11px; height: 11px; border-radius: 50%; border: none; background: var(--sprout-line); cursor: pointer; padding: 0; transition: background 0.2s ease, width 0.2s ease; }
.testi-dot.active { background: var(--sprout-primary); width: 26px; border-radius: 6px; }

/* --------------------------------------------------------------------------
   Enrollment / booking CTA form
   -------------------------------------------------------------------------- */
.enroll-band {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(255,201,77,0.4), transparent 60%),
    linear-gradient(135deg, var(--sprout-coral), var(--sprout-coral-dark));
  color: #fff;
  border-radius: 40px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
@media (max-width: 767.98px) { .enroll-band { padding: 2rem 1.5rem; border-radius: 28px; } }
.enroll-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.enroll-band .lead { color: rgba(255,255,255,0.92); font-size: 1.1rem; }
.enroll-perk { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; margin-bottom: 0.6rem; }
.enroll-perk svg { width: 22px; height: 22px; flex: 0 0 auto; color: #fff; }

.booking-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.booking-form h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.form-label { font-weight: 800; font-size: 0.85rem; color: var(--sprout-ink); margin-bottom: 0.35rem; letter-spacing: 0.01em; }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 2px solid var(--sprout-line);
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--sprout-ink);
  background-color: var(--sprout-cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sprout-primary);
  box-shadow: 0 0 0 4px rgba(255,122,89,0.15);
  background-color: #fff;
  color: var(--sprout-ink);
}
.form-control::placeholder { color: #b7a89c; font-weight: 500; }
textarea.form-control { min-height: 110px; height: auto; resize: vertical; }
.field-error { color: #d64545; font-size: 0.82rem; font-weight: 700; margin-top: 0.3rem; display: none; }
.form-control.invalid, .form-select.invalid { border-color: #e57373; background-color: #fff4f2; }
.form-control.invalid + .field-error, .form-select.invalid ~ .field-error { display: block; }
.form-note { font-size: 0.82rem; color: var(--sprout-ink-soft); }

.form-success {
  display: none;
  background: rgba(122,199,79,0.12);
  border: 2px solid rgba(122,199,79,0.4);
  color: var(--sprout-leaf-deep);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  font-weight: 700;
}
.form-success.show { display: block; }
.form-success svg { width: 42px; height: 42px; margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.9rem;
  overflow: hidden;
  border: 1px solid var(--sprout-line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--sprout-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q .fq-icon {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,122,89,0.12);
  color: var(--sprout-primary-dark);
  display: grid; place-items: center;
  transition: transform 0.3s ease, background 0.2s ease;
}
.faq-q .fq-icon svg { width: 18px; height: 18px; }
.faq-q[aria-expanded="true"] .fq-icon { transform: rotate(45deg); background: var(--sprout-primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--sprout-ink-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--sprout-ink);
  color: rgba(255,255,255,0.78);
  padding: 4rem 0 1.5rem;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  position: absolute; top: 0; left: 0; right: 0;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='14' viewBox='0 0 60 14'%3E%3Cpath d='M0 14 Q15 0 30 14 T60 14 Z' fill='%233b2f2a'/%3E%3C/svg%3E");
  background-size: 60px 14px;
  transform: translateY(-13px);
}
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: rgba(255,255,255,0.72); font-weight: 600; }
.footer-links a:hover { color: var(--sprout-sun); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 0.7rem; margin-bottom: 0.8rem; align-items: flex-start; }
.footer-contact svg { width: 20px; height: 20px; color: var(--sprout-sun); flex: 0 0 auto; margin-top: 3px; }
.footer-hours { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px dashed rgba(255,255,255,0.14); font-size: 0.92rem; }
.footer-hours span:last-child { color: #fff; font-weight: 700; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: #fff; transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { background: var(--sprout-primary); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between;
  font-size: 0.9rem;
}
.footer-bottom a { color: rgba(255,255,255,0.72); }
.footer-bottom a:hover { color: var(--sprout-sun); }

/* --------------------------------------------------------------------------
   Page hero (programs page)
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(800px 340px at 85% 0%, rgba(87,196,229,0.25), transparent 60%),
    var(--sprout-cream-2);
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.8rem; }
.breadcrumb-nav { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 700; font-size: 0.9rem; color: var(--sprout-ink-soft); }
.breadcrumb-nav a { color: var(--sprout-primary-dark); }
.breadcrumb-nav .sep { opacity: 0.5; }

/* Program detail rows */
.prog-detail {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sprout-line);
}
.prog-detail .p-media { position: relative; min-height: 100%; }
.prog-detail .p-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prog-detail .p-body { padding: 2.25rem; }
.prog-detail .p-body h3 { font-size: 1.75rem; }
.prog-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.prog-chip {
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.03em;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-pill);
  background: var(--sprout-cream-2); color: var(--sprout-ink);
}
.prog-chip.age { background: rgba(255,122,89,0.14); color: var(--sprout-coral-dark); }
.prog-chip.ratio { background: rgba(122,199,79,0.18); color: var(--sprout-leaf-deep); }
.prog-chip.hours { background: rgba(87,196,229,0.16); color: var(--sprout-sky-deep); }
.prog-feats { list-style: none; padding: 0; margin: 1.2rem 0; }
.prog-feats li { display: flex; gap: 0.6rem; padding: 0.35rem 0; color: var(--sprout-ink-soft); font-size: 0.96rem; }
.prog-feats svg { width: 18px; height: 18px; color: var(--sprout-leaf-deep); flex: 0 0 auto; margin-top: 4px; }
.prog-price-tag { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--sprout-ink); }
.prog-price-tag small { font-size: 0.85rem; color: var(--sprout-ink-soft); font-family: var(--font-body); font-weight: 700; }

/* Enrollment steps */
.step-card {
  background: #fff; border-radius: var(--radius);
  padding: 1.75rem; height: 100%;
  box-shadow: var(--shadow-sm); border: 1px solid var(--sprout-line);
  position: relative;
}
.step-num {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--sprout-primary); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  display: grid; place-items: center; margin-bottom: 1rem;
  box-shadow: var(--shadow-coral);
}
.step-card:nth-child(2) .step-num { background: var(--sprout-sky-deep); box-shadow: 0 12px 26px rgba(87,196,229,0.3); }
.step-card:nth-child(3) .step-num { background: var(--sprout-leaf-deep); box-shadow: 0 12px 26px rgba(122,199,79,0.3); }
.step-card:nth-child(4) .step-num { background: var(--sprout-sun-deep); box-shadow: 0 12px 26px rgba(255,176,32,0.3); }
.step-card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.step-card p { color: var(--sprout-ink-soft); font-size: 0.94rem; margin: 0; }

/* Comparison table */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.compare {
  width: 100%; border-collapse: collapse; background: #fff; min-width: 640px;
}
table.compare th, table.compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--sprout-line); }
table.compare thead th { background: var(--sprout-ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
table.compare thead th:first-child { border-radius: 0; }
table.compare tbody th { font-weight: 800; color: var(--sprout-ink); }
table.compare td { color: var(--sprout-ink-soft); font-weight: 600; font-size: 0.95rem; }
table.compare tbody tr:hover { background: var(--sprout-cream); }
table.compare .yes { color: var(--sprout-leaf-deep); font-weight: 800; }

/* --------------------------------------------------------------------------
   Reveal animation (progressive-enhancement scoped under .js)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
.js .reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Utilities */
.rounded-blob { border-radius: 40% 60% 62% 38% / 46% 45% 55% 54%; }
.mt-n-flag { margin-top: 1rem; }
.divider-dots { text-align: center; color: var(--sprout-sun-deep); letter-spacing: 8px; font-size: 1.2rem; }
.badge-soft {
  display: inline-block; font-weight: 800; font-size: 0.8rem;
  padding: 0.3rem 0.85rem; border-radius: var(--radius-pill);
  background: rgba(87,196,229,0.16); color: var(--sprout-sky-deep);
}

/* --------------------------------------------------------------------------
   Doplňky projektu (nejsou součástí původní šablony Sprout)
   -------------------------------------------------------------------------- */

/* Bootstrap 5 na rozdíl od 4 žádnou .text-justify nemá, proto vlastní.
   hyphens: auto využívá lang="cs" na <html> a dělí slova, bez toho by
   v češtině vznikaly v bloku velké mezery mezi slovy. */
.text-justify {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Na úzkém displeji je řádek tak krátký, že ani dělení slov nezabrání
   „řekám“ mezer — tam je zarovnání doleva čitelnější. */
@media (max-width: 575.98px) {
  .text-justify {
    text-align: left;
    hyphens: manual;
  }
}
