/* ============================================================
   Guiding Light Child Care — stylesheet
   Direction: "a guiding light at dusk" — deep dusk-navy ink,
   lantern-gold accent, soft sky sections, rounded & homey.
   NOTE: the variable names --steel, --signal, --ink-dim and the
   classes .wrap .contact-grid .eyebrow .alert .field .btn
   .hours-panel .hours-list .hours-row .closed .form-note are
   required by contact.php — do not rename them.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Nunito+Sans:wght@400;600;700;800&display=swap');

:root {
  /* palette */
  --ink:      #232f47;   /* dusk navy — headings, body */
  --ink-dim:  #4c5871;   /* softened ink */
  --steel:    #66718a;   /* muted text (name kept for contact.php) */
  --signal:   #b9741a;   /* lantern amber — links & primary actions */
  --glow:     #ffd98a;   /* soft lantern glow */
  --paper:    #fffdf8;   /* page background */
  --sky:      #edf4f7;   /* tinted section background */
  --line:     #e3e0d6;   /* hairlines */
  --night:    #1b2437;   /* footer / dark panels */
  --ok-bg:    #eaf6ec;  --ok-ink: #23663a;  --ok-line: #bfe0c8;
  --err-bg:   #fdeeee;  --err-ink: #8c2f2f; --err-line: #f0c9c9;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(35, 47, 71, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5rem;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
a { color: var(--signal); }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1100px, 92%);
  margin: 0 auto;
}

section { padding: 4.5rem 0; }

/* ---------- eyebrow label ---------- */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: .4rem;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { flex: 0 0 auto; }
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-dim);
  font-weight: 700;
  font-size: .95rem;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--signal); }
.nav-links .nav-cta {
  background: var(--signal);
  color: #fff;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  border-bottom: none;
}
.nav-links .nav-cta:hover { background: #9c6114; color: #fff; }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .45rem .7rem;
    font: inherit;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .5rem 4%;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links li:first-child { border-top: none; }
  .nav-links a { display: block; padding: .8rem 0; border-bottom: none; }
  .nav-links .nav-cta { margin: .6rem 0 .8rem; text-align: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 340px at 78% 18%, rgba(255, 217, 138, .55), transparent 70%),
    linear-gradient(180deg, var(--sky), var(--paper));
  padding: 5.5rem 0 4.5rem;
}
.hero-inner { max-width: 620px; position: relative; z-index: 1; }
.hero-hmong {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-dim);
  margin-bottom: 1.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-lantern {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  opacity: .95;
}
@media (max-width: 900px) { .hero-lantern { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: .78rem 1.6rem;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--signal);
  color: #fff;
}
.btn-primary:hover { background: #9c6114; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--steel); }

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

/* ---------- cards / programs ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow);
}
.card .ages {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--signal);
}
.card p { color: var(--ink-dim); margin-bottom: 0; }
.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--sky);
  margin-bottom: .9rem;
}

/* ---------- alt / tinted section ---------- */
.section-sky { background: var(--sky); }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 1rem 0 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .7rem;
  color: var(--ink-dim);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: .32em;
  width: 1.05em; height: 1.05em;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: inset 0 0 0 2px var(--signal);
}

/* ---------- daily rhythm timeline ---------- */
.rhythm { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 560px; }
.rhythm li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px dashed var(--line);
}
.rhythm .t {
  font-weight: 800;
  color: var(--signal);
  font-size: .95rem;
  white-space: nowrap;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--night);
  color: #f4f1e8;
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  background-image: radial-gradient(400px 200px at 90% 0%, rgba(255, 217, 138, .25), transparent 70%);
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #c6cbd8; margin: .3rem 0 0; }

/* ---------- forms (contact.php) ---------- */
form { margin-top: 1.4rem; max-width: 480px; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: .3rem;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .9rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(185, 116, 26, .18);
}
.form-note { font-size: .85rem; color: var(--steel); margin-top: .8rem; }

/* ---------- alerts (contact.php) ---------- */
.alert {
  border-radius: 12px;
  padding: .9rem 1.1rem;
  margin: 1.2rem 0;
  font-weight: 600;
  max-width: 480px;
}
.alert-success { background: var(--ok-bg); color: var(--ok-ink); border: 1px solid var(--ok-line); }
.alert-error   { background: var(--err-bg); color: var(--err-ink); border: 1px solid var(--err-line); }

/* ---------- contact layout (contact.php) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- hours panel (contact.php) ---------- */
.hours-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
}
.hours-panel::before {
  /* little lantern-glow tab on top of the card */
  content: '';
  position: absolute;
  top: -1px; left: 1.6rem;
  width: 56px; height: 6px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--glow), var(--signal));
}
.hours-list { margin-top: 1.1rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .97rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .closed { color: var(--steel); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--night);
  color: #c6cbd8;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  margin: 0 0 .7rem;
}
.site-footer a { color: var(--glow); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-hours { font-size: .92rem; }
.footer-hours div { display: flex; justify-content: space-between; max-width: 260px; padding: .15rem 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  font-size: .85rem;
  color: #8e96a8;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--sky), var(--paper));
  padding: 3.4rem 0 2.4rem;
}
.page-hero p { color: var(--steel); max-width: 56ch; }

/* ---------- announce bar ---------- */
.announce {
  background: var(--night);
  color: #dfe4ee;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  padding: .45rem 0;
}

/* ---------- verse band (above footer) ---------- */
.verse-band {
  background: linear-gradient(180deg, var(--paper), var(--sky));
  text-align: center;
  padding: 3rem 0 2.6rem;
  margin-top: 4rem;
}
.verse {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--ink);
  max-width: 46ch;
  margin: 0 auto .4rem;
}
.verse-ref {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0;
}
.site-footer { margin-top: 0; }

/* ---------- our space photo cards ---------- */
.space-card { padding-top: 1.2rem; }
.space-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.space-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--sky);
  border: 1.5px dashed var(--line);
  color: var(--steel);
  font-size: .85rem;
  font-weight: 700;
}

/* ---------- rate cards ---------- */
.rate-rows { margin-top: .8rem; }
.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
}
.rate-row:last-child { border-bottom: none; }
.rate-row span { color: var(--ink-dim); }
.rate-row strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  color: var(--ink);
}

/* ---------- brand logo (uploaded logo.png) ---------- */
.brand-logo {
  width: 34px;
  height: auto;
  flex: 0 0 auto;
}

/* hero logo sits inside a soft radial glow */
.hero-lantern {
  display: grid;
  place-items: center;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(255, 217, 138, .6), rgba(255, 217, 138, .28) 60%, transparent 100%);
}
.hero-lantern img {
  width: 146px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(35, 47, 71, .18));
}

/* footer bottom line separators */
.footer-bottom .footer-sep { margin: 0 .5rem; opacity: .5; }
