/* ==========================================================================
   Patty's Little Angels Creative Learning Childcare
   Design tokens
   ========================================================================== */
:root {
  --cream: #FFF8EE;
  --sunshine: #FFC857;
  --coral: #FF8C61;
  --sage: #7FAF8A;
  --ink: #2D3142;
  --ink-soft: #51566B;
  --white: #FFFFFF;

  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  --radius-soft: 1.75rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

a { text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

/* ---------- Underline squiggle for headings ---------- */
.heading-squiggle {
  position: relative;
  display: inline-block;
  padding-bottom: .35rem;
}
.heading-squiggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'><path d='M0 8 Q15 0 30 8 T60 8 T90 8 T120 8' fill='none' stroke='%23FF8C61' stroke-width='4' stroke-linecap='round'/></svg>") repeat-x;
  background-size: 60px 10px;
}
.heading-squiggle.sage::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'><path d='M0 8 Q15 0 30 8 T60 8 T90 8 T120 8' fill='none' stroke='%237FAF8A' stroke-width='4' stroke-linecap='round'/></svg>");
}
.heading-squiggle.sunshine::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'><path d='M0 8 Q15 0 30 8 T60 8 T90 8 T120 8' fill='none' stroke='%23FFC857' stroke-width='4' stroke-linecap='round'/></svg>");
}

/* ---------- Cloud / scallop section dividers ---------- */
.scallop-divider {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: -1px;
}
.scallop-flip { transform: rotate(180deg); }

/* ---------- Navbar ---------- */
.navbar-pla {
  background-color: var(--cream);
  padding-top: .85rem;
  padding-bottom: .85rem;
  border-bottom: 4px dashed rgba(45, 49, 66, 0.12);
}
.navbar-pla .navbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .65rem;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sunshine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.navbar-pla .nav-link {
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 .35rem;
  padding: .4rem .9rem !important;
  border-radius: 50px;
  transition: all .2s ease;
}
.navbar-pla .nav-link:hover,
.navbar-pla .nav-link.active {
  color: var(--ink);
  background-color: rgba(255, 200, 87, 0.45);
}
.btn-tour {
  background-color: var(--coral);
  color: var(--white) !important;
  font-weight: 700;
  border-radius: 50px;
  padding: .5rem 1.4rem !important;
  margin-left: .5rem;
  box-shadow: 0 4px 0 #d6663f;
}
.btn-tour:hover { background-color: #ff7a48; transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn-pla-primary {
  background-color: var(--coral);
  border: none;
  color: var(--white);
  font-weight: 700;
  border-radius: 50px;
  padding: .75rem 2rem;
  box-shadow: 0 5px 0 #d6663f;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-pla-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 7px 0 #d6663f; }
.btn-pla-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #d6663f; }

.btn-pla-outline {
  background-color: transparent;
  border: 3px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  border-radius: 50px;
  padding: .65rem 1.8rem;
  transition: all .15s ease;
}
.btn-pla-outline:hover { background-color: var(--ink); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #FFF1D9 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
  /*padding-top: 4rem;*/
  padding: 0.5rem 1rem;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--coral);
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(45,49,66,0.08);
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36rem; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: .55;
  z-index: 0;
}
.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(45,49,66,0.25);
  border: 6px solid var(--white);
}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.openings-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--sage);
  color: var(--white);
  border-radius: 1rem;
  padding: .85rem 1.25rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(127,175,138,0.4);
  transform: rotate(-3deg);
}
.eyebrow {
  display: block;
}

/* ---------- Stat pills ---------- */
.stat-pill {
  background: var(--white);
  border-radius: var(--radius-soft);
  padding: 1.75rem 1.25rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 25px rgba(45,49,66,0.06);
  transition: transform .2s ease;
}
.stat-pill:hover { transform: translateY(-4px); }
.stat-pill .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--coral);
  line-height: 1;
}
.stat-pill .stat-label { color: var(--ink-soft); font-weight: 700; margin-top: .35rem; }

/* ---------- Cards ---------- */
.card-pla {
  background: var(--white);
  border-radius: var(--radius-soft);
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 25px rgba(45,49,66,0.06);
  border-top: 6px solid var(--sunshine);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-pla:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(45,49,66,0.1); }
.card-pla.sage { border-top-color: var(--sage); }
.card-pla.coral { border-top-color: var(--coral); }
.card-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* ---------- Section paddings ---------- */
.section-pad { padding: 5rem 0; }
@media (max-width: 767.98px) { .section-pad { padding: 3.25rem 0; } }
.bg-sage-soft { background-color: #EEF6F0; }
.bg-coral-soft { background-color: #FFEFE7; }
.bg-sunshine-soft { background-color: #FFF6E2; }

/* ---------- Photo gallery ---------- */
.gallery-frame {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(45,49,66,0.1);
  border: 5px solid var(--white);
  height: 100%;
}
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px; transition: transform .35s ease; }
.gallery-frame:hover img { transform: scale(1.06); }

/* ---------- Reviews ---------- */
.review-card {
  background: var(--white);
  border-radius: var(--radius-soft);
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 10px 25px rgba(45,49,66,0.06);
  position: relative;
}
.review-stars { color: var(--sunshine); font-size: 1.05rem; letter-spacing: .15rem; }
.review-quote { color: var(--ink-soft); margin: .85rem 0 1rem; }
.review-name { font-family: var(--font-display); color: var(--coral); font-weight: 700; }

/* ---------- Forms ---------- */
.form-pla .form-control,
.form-pla .form-select {
  border-radius: 1rem;
  border: 2px solid #E7DFD0;
  padding: .7rem 1rem;
}
.form-pla .form-control:focus,
.form-pla .form-select:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 .2rem rgba(255,140,97,.2);
}
.form-pla label { font-weight: 700; color: var(--ink); margin-bottom: .3rem; }

.doc-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 10px 25px rgba(45,49,66,0.06);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
  transition: transform .2s ease;
}
.doc-card:hover { transform: translateY(-3px); }
.doc-icon {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: var(--sunshine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  color: var(--ink);
}

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(45,49,66,0.08);
  border: 5px solid var(--white);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer-pla {
  background-color: var(--ink);
  color: #D8DAE4;
  padding: 3.5rem 0 1.75rem;
}
.footer-pla h5 { color: var(--white); font-family: var(--font-display); }
.footer-pla a { color: #D8DAE4; }
.footer-pla a:hover { color: var(--sunshine); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: .9rem;
  color: #A6AAB8;
}

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  background: linear-gradient(180deg, #FFF1D9 0%, var(--cream) 100%);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

/* ---------- Misc ---------- */
.text-coral { color: var(--coral) !important; }
.text-sage { color: var(--sage) !important; }
.text-ink-soft { color: var(--ink-soft) !important; }
.bg-sunshine { background-color: var(--sunshine) !important; }
.bg-sage { background-color: var(--sage) !important; }
.bg-coral { background-color: var(--coral) !important; }
.bg-cream { background-color: var(--cream) !important; }
.rotate-tag {
  display: inline-block;
  transform: rotate(-2deg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
