/* ============================================================
   Creekstone Care, LLC — main stylesheet
   Built 2026. One stylesheet for the whole site.
   ============================================================ */

:root {
  --teal: #2B5D8C; /* creek blue */
  --teal-dark: #1E4266;
  --teal-darker: #16324E;
  --teal-light: #E9F1F7;
  --amber: #E8A13D;
  --amber-dark: #C9832A;
  --amber-light: #FBEFD9;
  --slate: #33414A;
  --slate-light: #5A6B75;
  --cream: #FAF6EE;
  --white: #FFFFFF;
  --border: #E3E0D8;
  --footer-bg: #263238;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: 'Nunito', 'Trebuchet MS', Arial, sans-serif;
  color: var(--teal-dark);
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.1rem; font-weight: 800; }
h2 { font-size: 1.65rem; font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin-bottom: 1em; }

a { color: var(--teal); }
a:hover { color: var(--amber-dark); }

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

ul, ol { margin: 0 0 1em 1.4em; }
li { margin-bottom: 0.35em; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 5px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-primary { background: var(--amber); color: #3D2A0E; }
.btn-primary:hover { background: var(--amber-dark); color: #fff; }
.btn-secondary { background: var(--teal); color: #fff; }
.btn-secondary:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-light); color: var(--teal-dark); }
.btn-white { background: #fff; color: var(--teal-dark); }
.btn-white:hover { background: var(--cream); color: var(--teal-darker); }

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--teal-dark);
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 0;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.utility-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; color: #fff; }
.utility-bar .icon { vertical-align: -2px; margin-right: 5px; }
.utility-referral {
  background: var(--amber);
  color: #3D2A0E !important;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  font-family: 'Nunito', Arial, sans-serif;
}
.utility-referral:hover { background: var(--amber-dark); color: #fff !important; text-decoration: none !important; }

/* ---------- Header / nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--teal);
  position: relative;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo-link { display: block; }
.logo-link img { height: 62px; width: auto; }

.main-nav > ul { list-style: none; margin: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; margin: 0; }
.main-nav a {
  display: block;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--slate);
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 4px;
}
.main-nav a:hover { color: var(--teal-dark); background: var(--teal-light); }
.main-nav > ul > li > a.active { color: var(--teal-dark); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 4px 4px 0 0; }
.main-nav .caret { font-size: 0.6rem; vertical-align: 2px; margin-left: 3px; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  min-width: 235px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  border-radius: 0 0 5px 5px;
}
.dropdown-menu li { margin: 0; }
.dropdown-menu a { padding: 9px 16px; font-weight: 600; font-size: 0.92rem; border-radius: 0; }
.dropdown:hover > .dropdown-menu,
.dropdown.open > .dropdown-menu { display: block; }

.nav-toggle {
  display: none;
  background: var(--teal);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--teal-darker);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 42px 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.hero-text { flex: 1 1 46%; }
.hero-text h1 { color: #fff; font-size: 2.4rem; margin-bottom: 14px; }
.hero-text p { font-size: 1.08rem; color: #E8F2EF; max-width: 34em; }
.hero-ctas { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { flex: 1 1 50%; }
.hero-media img {
  width: 100%;
  border-radius: 8px;
  border: 4px solid rgba(255,255,255,0.25);
}

/* ---------- Interior page banner ---------- */
.page-banner {
  background: var(--teal-dark);
  color: #fff;
  padding: 30px 0 26px;
}
.page-banner h1 { color: #fff; margin-bottom: 4px; }
.breadcrumbs { font-size: 0.82rem; color: #BFD8D2; }
.breadcrumbs a { color: #E1EEEB; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-cream { background: var(--cream); }
.section-teal-light { background: var(--teal-light); }
.section-heading { text-align: center; margin-bottom: 30px; }
.section-heading p { color: var(--slate-light); max-width: 44em; margin: 0 auto; }

/* ---------- Card grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; }
.card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { flex: 1; font-size: 0.95rem; }
.card-link {
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

/* ---------- "Why families choose us" ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
.why-item {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  align-items: flex-start;
}
.why-item .icon-circle { flex-shrink: 0; }
.why-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.why-item p { margin: 0; font-size: 0.93rem; }

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle svg { width: 28px; height: 28px; }

/* ---------- Testimonials ---------- */
.testimonial-band {
  background: var(--teal);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.testimonial-band h2 { color: #fff; }
.testimonial-rotator { max-width: 720px; margin: 0 auto; position: relative; min-height: 170px; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }
.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--amber);
  display: block;
  margin-bottom: -14px;
}
.testimonial-slide blockquote {
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 12px;
  color: #F2F8F6;
}
.testimonial-attrib { font-family: 'Nunito', Arial, sans-serif; font-weight: 700; color: var(--amber-light); }
.testimonial-dots { margin-top: 18px; }
.testimonial-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  margin: 0 4px;
  cursor: pointer;
  padding: 0;
}
.testimonial-dots button.active { background: var(--amber); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--amber);
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}
.testimonial-card .testimonial-quote-mark { font-size: 3rem; margin-bottom: -8px; }
.testimonial-card blockquote { font-style: italic; font-size: 0.97rem; margin-bottom: 12px; color: var(--slate); }
.testimonial-card .testimonial-attrib { color: var(--teal-dark); font-size: 0.92rem; }
.testimonial-photo {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 2px solid var(--teal);
  overflow: hidden;
  margin-bottom: 10px;
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--amber-light); border-top: 4px solid var(--amber); border-bottom: 1px solid var(--border); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat-number {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--teal-dark);
  display: block;
}
.stat-label { font-size: 0.9rem; color: var(--slate-light); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-date {
  font-size: 0.8rem;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
}
.news-article { max-width: 780px; margin: 0 auto 46px; padding-bottom: 38px; border-bottom: 1px solid var(--border); }
.news-article:last-child { border-bottom: none; margin-bottom: 0; }
.news-article img { border-radius: 6px; margin: 14px 0 18px; border: 1px solid var(--border); }

/* ---------- Two-column interior layout ---------- */
.content-cols { display: flex; gap: 40px; align-items: flex-start; }
.content-main { flex: 1 1 66%; min-width: 0; }
.content-side { flex: 1 1 30%; min-width: 240px; }

.side-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 22px;
}
.side-box h3 { font-size: 1.05rem; }
.side-box ul { list-style: none; margin-left: 0; }
.side-box li { border-bottom: 1px solid var(--border); }
.side-box li:last-child { border-bottom: none; }
.side-box li a {
  display: block;
  padding: 8px 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}
.side-box li a.current { color: var(--amber-dark); }
.side-cta { background: var(--teal-dark); color: #fff; border: none; }
.side-cta h3 { color: #fff; }
.side-cta p { font-size: 0.92rem; color: #DCEBE7; }
.side-cta .btn { width: 100%; text-align: center; }

.feature-img { border-radius: 6px; border: 1px solid var(--border); margin-bottom: 20px; }

/* ---------- Schedule table ---------- */
table.schedule { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 0.94rem; }
table.schedule th, table.schedule td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
table.schedule th { background: var(--teal); color: #fff; font-family: 'Nunito', Arial, sans-serif; }
table.schedule tr:nth-child(even) td { background: var(--cream); }
table.schedule td:first-child { white-space: nowrap; font-weight: 700; color: var(--teal-dark); }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.value-item { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 20px 14px; }
.value-item .icon-circle { margin: 0 auto 12px; }
.value-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.value-item p { font-size: 0.86rem; margin: 0; color: var(--slate-light); }

/* ---------- Steps (admissions) ---------- */
.steps-list { list-style: none; margin-left: 0; counter-reset: step; }
.steps-list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--teal);
  border-radius: 6px;
  padding: 18px 20px 16px 74px;
  margin-bottom: 16px;
  counter-increment: step;
}
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 40px; height: 40px;
  background: var(--amber);
  color: #3D2A0E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}
.steps-list h3 { margin-bottom: 4px; }
.steps-list p { margin: 0; font-size: 0.95rem; }

/* ---------- FAQ accordion ---------- */
.faq-item { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-dark);
  padding: 14px 44px 14px 18px;
  cursor: pointer;
  position: relative;
}
.faq-question:hover { background: var(--teal-light); }
.faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--amber-dark);
}
.faq-item.open .faq-question::after { content: "\2212"; }
.faq-answer { display: none; padding: 0 18px 16px; font-size: 0.95rem; }
.faq-item.open .faq-answer { display: block; }

/* ---------- Forms ---------- */
.form-box { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 26px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; font-family: 'Nunito', Arial, sans-serif; }
.form-group .required { color: #B23A3A; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #C9C5BB;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #FDFCFA;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}
.form-note { font-size: 0.83rem; color: var(--slate-light); }
.form-success { display: none; background: var(--teal-light); border: 1px solid var(--teal); border-radius: 5px; padding: 14px 16px; color: var(--teal-darker); font-weight: 600; margin-top: 14px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}
.team-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 4px solid var(--teal-light);
  background: var(--teal-light);
}
.team-card h3 { margin-bottom: 2px; }
.team-title {
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--amber-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 10px;
}
.team-card p { font-size: 0.9rem; text-align: left; margin: 0; }

/* ---------- Accreditation strip ---------- */
.accred-strip { background: #fff; border-top: 1px solid var(--border); padding: 30px 0 34px; text-align: center; }
.accred-strip h2 { font-size: 1.15rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.06em; }
.accred-logos { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; margin-top: 18px; }
.accred-seal {
  width: 200px; height: 200px;
  border: 2px dashed #B9B4A8;
  border-radius: 6px;
  background: #F5F3EC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  font-size: 0.78rem;
  color: var(--slate-light);
  text-align: center;
}
.accred-name { display: block; margin-top: 10px; font-size: 0.84rem; font-weight: 700; font-family: 'Nunito', Arial, sans-serif; color: var(--slate-light); }

/* One-line launch switch: remove this class from the strip to show it. */
.hidden-until-live { display: none !important; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-dark); color: #fff; text-align: center; padding: 42px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D8E8E4; max-width: 40em; margin: 0 auto 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #C7CFD4; font-size: 0.9rem; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding: 44px 0 30px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin-left: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #C7CFD4; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-logo img { height: 74px; margin-bottom: 12px; }
.footer-mission { font-size: 0.86rem; font-style: italic; color: #9FB0B8; }
.footer-social a { display: inline-block; margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid #3A474E;
  padding: 16px 0;
  font-size: 0.8rem;
  color: #8FA0A8;
  text-align: center;
}
.footer-bottom p { margin-bottom: 4px; }

/* ---------- Misc ---------- */
.notice-box {
  background: var(--amber-light);
  border: 1px solid var(--amber);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 0.94rem;
}
.funding-line {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  padding: 14px 16px;
  border-radius: 0 5px 5px 0;
  margin: 20px 0;
  font-size: 0.94rem;
}
.map-placeholder { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.checklist { list-style: none; margin-left: 0; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  color: var(--teal);
  font-weight: 700;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.86rem; color: var(--slate-light); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid, .news-grid, .testimonial-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { flex-direction: column-reverse; padding: 30px 20px; }
  .hero-text h1 { font-size: 1.9rem; }
  .content-cols { flex-direction: column; }
  .content-side { min-width: 0; width: 100%; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 3px solid var(--teal);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .main-nav a { padding: 12px 22px; border-radius: 0; }
  .main-nav > ul > li > a.active { box-shadow: inset 4px 0 0 var(--amber); }
  .dropdown-menu {
    position: static;
    display: none;
    border: none;
    border-left: 3px solid var(--teal-light);
    box-shadow: none;
    margin-left: 22px;
    padding: 0;
  }
  .dropdown.open > .dropdown-menu { display: block; }
  .dropdown:hover > .dropdown-menu { display: none; }
  .dropdown.open:hover > .dropdown-menu { display: block; }
}

@media (max-width: 640px) {
  .card-grid, .news-grid, .testimonial-grid, .team-grid, .card-grid-2, .why-grid, .form-row { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .utility-left { gap: 10px; font-size: 0.8rem; }
  .utility-hours { display: none; }
  h1 { font-size: 1.7rem; }
  .hero-text h1 { font-size: 1.65rem; }
  .accred-seal { width: 150px; height: 150px; }
}
