/* KinderPath Consulting — shared styles */
:root {
  --teal: #1c5b5a;
  --teal-dark: #133f3e;
  --teal-light: #e5f0ef;
  --amber: #e39a3b;
  --amber-dark: #c07f26;
  --cream: #faf7f1;
  --white: #ffffff;
  --ink: #26302f;
  --ink-soft: #5a6664;
  --line: #e3ded4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 63, 62, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; color: var(--teal-dark); line-height: 1.2; font-weight: 600; }

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

a { color: var(--teal); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1120px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700;
  position: relative; overflow: hidden;
}
.logo-mark::after {
  content: ""; position: absolute; right: -8px; bottom: -8px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--amber);
  opacity: .9;
}
.logo-text { font-family: 'Fraunces', serif; font-size: 21px; color: var(--teal-dark); font-weight: 700; }
.logo-text span { color: var(--amber-dark); }
.logo-tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); display: block; font-family: 'Nunito Sans', sans-serif; font-weight: 700; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--teal); }
.nav .btn { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--amber); color: var(--white);
  padding: 13px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 15px; letter-spacing: .01em;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn.btn-outline {
  background: transparent; color: var(--teal); border: 2px solid var(--teal);
}
.btn.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn.btn-teal { background: var(--teal); }
.btn.btn-teal:hover { background: var(--teal-dark); }

/* ---------- Hero ---------- */
.hero { background: var(--white); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; padding: 72px 0;
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-light);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 18px; }
.hero p.lead { font-size: 19px; color: var(--ink-soft); margin-bottom: 28px; max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.hero-stats {
  display: flex; gap: 36px; margin-top: 34px; flex-wrap: wrap;
}
.stat b { font-family: 'Fraunces', serif; font-size: 28px; color: var(--teal-dark); display: block; }
.stat span { font-size: 14px; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--white); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.section.alt .card { background: var(--cream); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { height: 200px; object-fit: cover; width: 100%; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 21px; margin-bottom: 10px; }
.card-body p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.card-link {
  margin-top: 16px; font-weight: 800; text-decoration: none;
  color: var(--amber-dark); font-size: 15px;
}
.card-link:hover { color: var(--teal); }

/* Icon chips for service lists */
.check-list { list-style: none; margin-top: 8px; }
.check-list li {
  padding-left: 32px; position: relative; margin-bottom: 12px; color: var(--ink-soft);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split .split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal); color: var(--white); text-align: center; padding: 64px 0; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.cta-band p { color: #cfe3e2; max-width: 40em; margin: 0 auto 26px; }

/* ---------- Blog / article ---------- */
.post-meta { font-size: 13.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 14px; }
.article-hero { max-width: 860px; margin: 0 auto; padding: 64px 24px 0; }
.article-hero h1 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 18px; }
.article-hero .article-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 34px; }
.article-body { max-width: 760px; margin: 0 auto; padding: 44px 24px 80px; }
.article-body h2 { font-size: 27px; margin: 40px 0 14px; }
.article-body h3 { font-size: 21px; margin: 30px 0 10px; }
.article-body p { margin-bottom: 16px; color: #3a4442; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; color: #3a4442; }
.article-body li { margin-bottom: 8px; }
.article-body .callout {
  background: var(--teal-light); border-left: 4px solid var(--teal);
  padding: 20px 24px; border-radius: 0 10px 10px 0; margin: 26px 0;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15.5px; }
.article-body th { background: var(--teal); color: var(--white); text-align: left; padding: 12px 14px; }
.article-body td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.article-body tr:nth-child(even) td { background: var(--white); }

.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: var(--white); }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 800; color: var(--teal-dark); }
.faq-item div { padding: 0 20px 16px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px;
}
.contact-info-card h3 { margin-bottom: 8px; }
.contact-info-card p { color: var(--ink-soft); margin-bottom: 18px; }
.contact-line { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-weight: 700; }
.contact-line .dot {
  width: 38px; height: 38px; border-radius: 10px; background: var(--teal-light);
  color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 17px;
}
form.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: 14px; font-weight: 800; display: block; margin: 14px 0 6px; color: var(--teal-dark); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15.5px; background: var(--cream);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--teal);
}
.contact-form button { margin-top: 22px; border: none; cursor: pointer; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-dark); color: #bcd4d3; padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 14px; font-family: 'Nunito Sans', sans-serif; font-weight: 800; letter-spacing: .04em; }
.site-footer a { color: #bcd4d3; text-decoration: none; display: block; margin-bottom: 9px; font-size: 15px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; font-size: 13.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-logo { font-family: 'Fraunces', serif; font-size: 22px; color: var(--white); font-weight: 700; margin-bottom: 10px; }
.footer-logo span { color: var(--amber); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 44px 0; gap: 32px; }
  .split { gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; background: var(--white); padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 18px; box-shadow: var(--shadow); }
  .nav.open .btn { text-align: center; }
  .menu-toggle { display: block !important; }
  /* Put the image above the text on service-page heroes */
  .hero-img { order: -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .header-inner { padding: 12px 18px; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; }
  .hero p.lead { font-size: 17px; }
  .hero-stats { gap: 20px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-info-card, form.contact-form { padding: 22px; }
  .article-hero { padding-top: 40px; }
  .article-body { padding: 32px 18px 60px; }
  .article-body h2 { font-size: 23px; }
  /* Comparison tables scroll sideways instead of breaking layout */
  .article-body table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .cta-band { padding: 48px 0; }
  .card img { height: 180px; }
}

/* Comfortable tap targets on touch devices */
@media (pointer: coarse) {
  .nav a, .card-link, .btn { padding-top: 12px; padding-bottom: 12px; }
  .faq-item summary { padding: 18px 20px; }
}

.menu-toggle {
  display: none; background: none; border: none; font-size: 26px; color: var(--teal-dark); cursor: pointer;
  padding: 6px 10px;
}
