/* Bloom Children's Contact Services — shared site styles
   Palette: navy #1f2f45, sage #6f9a8d, cream #faf8f4 / #f2efe8, tan borders #e3ddd0
   Fonts: Playfair Display (headings), Karla (body) — loaded via Google Fonts <link> in each page */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #faf8f4;
  font-family: 'Karla', sans-serif;
  color: #1f2f45;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin: 0 0 14px;
  color: #1f2f45;
}

a { color: #45695f; text-decoration: none; }
a:hover { color: #6f9a8d; }

p { line-height: 1.65; color: #4b5b70; }

img { max-width: 100%; display: block; }

/* — buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: #6f9a8d; color: #fff; }
.btn-primary:hover { background: #5a8478; color: #fff; }
.btn-secondary { border: 1.5px solid #d8d0bd; color: #1f2f45; background: transparent; }
.btn-secondary:hover { background: #f2efe8; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* — cards — */
.card {
  background: #fff;
  border: 1px solid #e9e3d6;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(31,47,69,0.05);
}

/* — placeholder image blocks (photo/map slots) — */
.img-placeholder {
  margin: 0;
  background: linear-gradient(155deg,#eef3f0,#f2efe8);
  border: 1px solid #e9e3d6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #4b5b70;
}
.img-placeholder .cap {
  font-family: monospace;
  font-size: 12px;
  opacity: 0.7;
  padding: 12px;
}

/* — forms — */
.sec-label { font-size: 12px; font-weight: 700; color: #6f9a8d; letter-spacing: 0.05em; }
.field label { display: inline-flex; font-size: 13px; font-weight: 600; padding-bottom: 6px; color: #33465e; }
.input {
  width: 100%;
  padding: 10px 14px;
  font: inherit;
  font-size: 14.5px;
  color: #1f2f45;
  background: #faf8f4;
  border: 1.5px solid #e3ddd0;
  border-radius: 10px;
  box-sizing: border-box;
  height: 39px;
}
.input:focus { outline: none; border-color: #6f9a8d; }
textarea.input { resize: vertical; min-height: 92px; }

.seg { display: inline-flex; border: 1.5px solid #e3ddd0; border-radius: 999px; overflow: hidden; background: #fff; }
.seg-opt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: 13.5px; cursor: pointer; }
.seg-opt + .seg-opt { border-left: 1px solid #e3ddd0; }
.seg-opt:has(input:checked) { background: #6f9a8d; color: #fff; font-weight: 600; }

.check { display: inline-flex; align-items: flex-start; gap: 9px; font-size: 14.5px; cursor: pointer; line-height: 1.5; }
.check .dot { display: inline-block; box-sizing: border-box; width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid #d8d0bd; flex: none; margin-top: 2px; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check input:checked + .dot { background: #6f9a8d; border-color: #6f9a8d; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error {
  display: none;
  background: #fbeceb;
  border: 1px solid #eec8c5;
  color: #8a3b34;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
}
.form-error.visible { display: block; }

/* — prose (generic content page) — */
.prose p { font-size: 16.5px; line-height: 1.75; color: #4b5b70; margin: 0 0 18px; }
.prose h2 { font-size: 26px; margin: 38px 0 12px; }
.prose h3 { font-size: 19px; font-family: 'Karla', sans-serif; font-weight: 700; margin: 26px 0 8px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; }
.prose li { font-size: 16.5px; line-height: 1.7; color: #4b5b70; margin-bottom: 8px; }
.prose blockquote { margin: 26px 0; padding: 20px 24px; background: #f2efe8; border-radius: 14px; font-size: 17px; line-height: 1.65; color: #33465e; font-style: italic; }

/* — header / nav — */
header#site-header { background: #fff; border-bottom: 1px solid #ece6d9; }
header#site-header > div.wrap {
  max-width: 1180px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 40px;
}
header#site-header .logo-link { display: flex; align-items: center; }
header#site-header .logo-link img { height: 174px; width: auto; }

#menu-btn {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid #e3ddd0; border-radius: 12px;
  padding: 10px 14px; font: inherit; font-size: 14px; font-weight: 700;
  color: #1f2f45; cursor: pointer;
}

.header-right {
  margin-left: auto; display: flex; flex-direction: column;
  align-items: flex-end; gap: 14px;
}
.contact-strip { display: flex; align-items: center; gap: 22px; font-size: 13.5px; color: #4b5b70; }
.contact-strip span { display: flex; align-items: center; gap: 7px; }
.contact-strip .divider { width: 1px; height: 14px; background: #e3ddd0; }

header#site-header nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
header#site-header nav a.current { color: #1f2f45; font-weight: 700; border-bottom: 2px solid #6f9a8d; padding-bottom: 3px; }
header#site-header nav a.btn-primary { padding: 11px 22px; }

/* — footer — */
footer#site-footer { border-top: 1px solid #ece6d9; padding: 32px 40px; background: #fff; }
footer#site-footer > div.wrap {
  max-width: 1180px; margin: 0 auto; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
footer#site-footer img.footer-logo { height: 84px; width: auto; }
#footer-contact { display: none; flex-direction: column; gap: 10px; font-size: 14px; color: #4b5b70; width: 100%; }
#footer-contact a { display: flex; align-items: center; gap: 9px; color: #1f2f45; font-weight: 600; }
#footer-contact .hours { display: flex; align-items: center; gap: 9px; }
.footer-links { display: flex; gap: 22px; font-size: 13px; }
.footer-copyright { font-size: 12px; color: #8a8577; }

/* — emergency banner — */

/* — responsive — */
@media (max-width: 960px) {
  header#site-header > div.wrap { flex-wrap: wrap; gap: 0 !important; padding: 16px 24px !important; }
  header#site-header .logo-link img { height: 66px !important; }
  #menu-btn { display: inline-flex !important; }
  .header-right { margin-left: 0 !important; width: 100%; align-items: stretch !important; gap: 0 !important; }
  header#site-header { position: sticky; top: 0; z-index: 40; }
  .contact-strip { display: none !important; }
  #footer-contact { display: flex !important; }
  header#site-header nav { display: none !important; }
  header#site-header nav.open {
    display: flex !important; flex-direction: column; align-items: stretch !important;
    gap: 0 !important; border-top: 1px solid #ece6d9; margin-top: 14px; padding: 6px 0 13px 0;
  }
  header#site-header nav.open > a {
    padding: 13px 2px !important; font-size: 16px !important; border-bottom: 1px solid #f4f1ea !important;
  }
  header#site-header nav.open > a:last-child {
    justify-content: center; margin-top: 14px; border-bottom: none !important; padding: 13px 22px !important;
  }
  section, footer { padding-left: 24px !important; padding-right: 24px !important; }
  section[style*="grid-template-columns"], div[style*="grid-template-columns"], form[style*="grid-template-columns"], .grid2, aside {
    grid-template-columns: 1fr !important;
  }
  section[style*="grid-template-columns"], div[style*="grid-template-columns"] { gap: 20px !important; }
  article[style*="grid-template-columns"] { grid-template-columns: 40px 1fr !important; gap: 14px !important; }
  aside { position: static !important; }
  figure { aspect-ratio: 16 / 10 !important; }
  h1 { font-size: 32px !important; }
  h2 { font-size: 25px !important; }
  .seg { flex-wrap: wrap; border-radius: 14px !important; width: 100%; }
  #hero-banner { grid-template-columns: 1fr !important; padding-left: 0 !important; padding-right: 0 !important; }
  #hero-banner > div:first-child { order: 2; padding: 44px 24px !important; }
  #hero-media { order: 1; min-height: 280px !important; height: 280px !important; }
}
@media (max-width: 620px) {
  header#site-header > div.wrap { padding: 0 18px !important; }
  header#site-header .logo-link img { height: 88px !important; }
  section, footer { padding-left: 18px !important; padding-right: 18px !important; }
  section { padding-top: 34px !important; padding-bottom: 34px !important; }
  h1 { font-size: 27px !important; }
  h2 { font-size: 22px !important; }
  .card { padding: 20px !important; }
  .btn { padding: 12px 20px !important; font-size: 14px !important; }
  .seg-opt { flex: 1 1 100%; justify-content: center; border-left: none !important; border-top: 1px solid #e3ddd0; }
  footer#site-footer > div.wrap { flex-direction: column; align-items: flex-start !important; gap: 14px !important; }
  .footer-links { flex-wrap: wrap; gap: 14px !important; }
  #hero-banner > div:first-child { padding: 36px 18px !important; }
  #hero-media { min-height: 210px !important; height: 210px !important; }
}

/* — pricing (services page) — */
.fee-tag {
  display: inline-flex; margin-top: 14px; padding: 6px 14px; border-radius: 999px;
  background: #f2efe8; color: #33465e; font-size: 13.5px; font-weight: 600;
}
.fee-tag:hover { background: #eef3f0; color: #45695f; }
.fee-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.fee-table thead th {
  text-align: left; font-size: 12px; font-weight: 700; color: #6f9a8d;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 14px 0 12px;
  border-bottom: 1px solid #e9e3d6;
}
.fee-table thead th:last-child, .fee-table td:last-child { text-align: right; }
.fee-table td { padding: 13px 0; border-bottom: 1px solid #f4f1ea; color: #33465e; }
.fee-table td:last-child { font-weight: 700; color: #1f2f45; white-space: nowrap; padding-left: 16px; }
.fee-table td:last-child span { font-weight: 400; color: #4b5b70; font-size: 14px; }
.fee-table tr.fee-group th {
  text-align: left; font-family: 'Playfair Display', serif; font-weight: 600;
  font-size: 18px; color: #1f2f45; padding: 24px 0 6px;
}
.fee-table tbody tr:last-child td { border-bottom: none; }
.fee-note {
  display: flex; align-items: flex-start; gap: 12px; background: #eef3f0;
  border-radius: 14px; padding: 16px 20px; font-size: 14.5px; line-height: 1.55; color: #33465e;
}
.fee-note svg { flex: none; margin-top: 1px; }
@media (max-width: 620px) {
  .fee-table { font-size: 14.5px; }
  .fee-table td:last-child span { display: block; font-size: 13px; }
}
