/* =========================================================
   Jackie Johnson – Child & Teen Anxiety Specialist
   Stylesheet
   ========================================================= */

:root {
  --green-900: #2A473D;
  --green-700: #3E6C5D;
  --green-500: #5B9080;
  --green-100: #E7F0EC;
  --coral-600: #E8825A;
  --coral-400: #F4A261;
  --coral-100: #FCE9DD;
  --cream: #FDF8F3;
  --cream-dark: #F7EFE4;
  --ink: #2D3B36;
  --ink-soft: #5A6A63;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(42, 71, 61, 0.08);
  --shadow-md: 0 8px 24px rgba(42, 71, 61, 0.12);
  --shadow-lg: 0 16px 40px rgba(42, 71, 61, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-head: 'Quicksand', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--green-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--green-700); text-decoration: none; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--coral-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #d9713f; box-shadow: var(--shadow-md); color: #fff; }
.btn-outline {
  background: transparent;
  border-color: var(--green-700);
  color: var(--green-700);
}
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--green-900);
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--coral-600); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; margin-top: 8px; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-600);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 71, 61, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-mark img { width: 76px; height: 76px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-name { font-family: var(--font-head); font-weight: 700; color: var(--green-900); font-size: 2.1rem; letter-spacing: 0.01em; }
.brand-tag { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }

.main-nav ul {
  display: flex;
  gap: 17px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--coral-600); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-call { display: flex; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 80px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-lead { font-size: 1.1rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 26px; }
.hero-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero-trust strong { display: block; color: var(--green-900); font-family: var(--font-head); font-size: 1.05rem; }
.hero-footnote { font-size: 0.78rem; color: var(--ink-soft); opacity: 0.8; }
.footnote-mark { font-size: 0.7em; }

.hero-visual { position: relative; min-height: 380px; }
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--green-100);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-900);
  max-width: 230px;
}
.hero-card-1 { bottom: 6%; left: 4%; }
.hero-card-2 { bottom: 32%; right: 3%; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; scroll-margin-top: 84px; }
.hero { scroll-margin-top: 84px; }
.section-alt { background: var(--cream-dark); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.section-lead { font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 44px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--green-100);
}
.schools-box {
  margin-top: 28px;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.schools-box h3 { font-size: 1rem; margin-bottom: 12px; }
.chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-list li {
  background: var(--white);
  border: 1px solid rgba(42,71,61,0.12);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--green-900);
}

/* ---------- Cards / Services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-thumb {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.service-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 14px;
}
.step p { font-size: 0.94rem; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.stars { color: var(--coral-600); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card blockquote {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--ink);
  font-style: italic;
}
.testimonial-card figcaption {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--green-900);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: var(--coral-600);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}
.price-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--green-900);
  margin: 6px 0;
}
.price span { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.price-detail { font-size: 0.88rem; flex-grow: 1; }
.pricing-note { text-align: center; margin-top: 30px; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--coral-600);
  margin-left: 12px;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 12px; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-section { background: var(--green-900); }
.contact-section .eyebrow { color: var(--coral-400); }
.contact-section h2, .contact-section h3 { color: #fff; }
.contact-section p { color: rgba(255,255,255,0.78); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li { display: flex; align-items: flex-start; gap: 12px; color: #fff; }
.contact-details a { color: #fff; font-weight: 700; }
.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 12px;
}

.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.contact-form { display: flex; flex-direction: column; }
.contact-form label { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--green-900); margin: 14px 0 6px; }
.contact-form label:first-of-type { margin-top: 0; }
.optional { color: var(--ink-soft); font-weight: 500; }
.contact-form input, .contact-form textarea {
  border: 1.5px solid rgba(42,71,61,0.18);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--cream);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green-700); outline: none; background: #fff; }
.hidden-field { position: absolute; left: -9999px; }
.form-privacy { font-size: 0.78rem; text-align: center; margin-top: 12px; color: var(--ink-soft); }
.form-success { background: #fff; border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; box-shadow: var(--shadow-lg); }
.form-success h3 { color: var(--green-900); }
.form-success p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: #21362E; color: rgba(255,255,255,0.75); padding: 48px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { color: #fff; font-size: 1.1rem; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--coral-400); }
.site-footer nav ul { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0; }
.footer-copyright { text-align: center; font-size: 0.82rem; margin: 20px 24px 0; opacity: 0.7; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  padding: 10px 16px;
  gap: 10px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
}
.mobile-cta .btn { flex: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; }
  .about-grid, .contact-grid, .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 260px; order: -1; }
}

@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; }
  .brand { order: 1; }
  .nav-toggle { display: flex; order: 2; }
  .main-nav, .header-actions { display: none; }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    display: flex;
    flex-basis: 100%;
    width: 100%;
    background: var(--cream);
  }
  .site-header.nav-open .main-nav {
    order: 3;
    padding-top: 18px;
    border-top: 1px solid rgba(42, 71, 61, 0.1);
    margin-top: 14px;
  }
  .site-header.nav-open .main-nav ul {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .site-header.nav-open .header-actions {
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 0 20px;
  }
  .site-header.nav-open .header-call {
    justify-content: center;
    background: var(--green-100);
    border-radius: 999px;
  }

  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
}
