/* Grace and Growth ABA — Shared stylesheet
   Warm, family-friendly palette with sage greens, cream, and soft peach */

:root {
  --sage: #8FA985;
  --sage-deep: #5C7A60;
  --sage-soft: #DDE6D6;
  --sage-whisper: #EEF2EA;
  --cream: #FAF6F0;
  --cream-deep: #F3EBDE;
  --peach: #F4C4A6;
  --peach-soft: #FBE4D4;
  --coral: #E89878;
  --coral-deep: #D97B59;
  --brown: #3D2F2A;
  --brown-soft: #6B5A52;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(61, 47, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(61, 47, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(61, 47, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Quicksand', 'Nunito', sans-serif;
  font-weight: 600;
  color: var(--sage-deep);
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--brown-soft);
}

a {
  color: var(--sage-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--coral-deep);
}

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

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

/* -------- Navigation -------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sage-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--sage-deep);
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.1;
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--coral-deep);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brown);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--coral-deep) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--sage-deep);
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* -------- Buttons -------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--sage-deep);
  border: 2px solid var(--sage);
}

.btn-secondary:hover {
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--peach-soft) 50%, var(--sage-whisper) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 196, 166, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(143, 169, 133, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--white);
  color: var(--coral-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--brown);
}

.hero h1 .accent {
  color: var(--sage-deep);
  font-style: italic;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--brown-soft);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-illustration {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin-left: auto;
}

.hero-illustration svg {
  width: 100%;
  height: 100%;
}

/* -------- Page Header (smaller hero for subpages) -------- */
.page-header {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, var(--sage-whisper) 0%, var(--peach-soft) 100%);
  text-align: center;
}

.page-header h1 {
  color: var(--sage-deep);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}

/* -------- Sections -------- */
section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-light {
  background: var(--white);
}

.section-cream {
  background: var(--cream-deep);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--coral-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
}

/* -------- Cards / Grid -------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--sage-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--sage-deep);
}

.card-icon.peach {
  background: var(--peach-soft);
  color: var(--coral-deep);
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

/* Values / bullet list */
.value-list {
  list-style: none;
  margin-top: 16px;
}

.value-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  color: var(--brown-soft);
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 16px;
  height: 16px;
  background: var(--sage);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--sage-soft);
}

/* -------- Feature / About blocks -------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature.reverse {
  direction: rtl;
}

.feature.reverse > * {
  direction: ltr;
}

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sage-whisper);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.feature-visual svg {
  max-width: 100%;
  height: auto;
}

/* -------- CTA band -------- */
.cta-band {
  background: linear-gradient(135deg, var(--sage-deep) 0%, var(--sage) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  margin: 40px 0;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--sage-deep);
}

.cta-band .btn-primary:hover {
  background: var(--cream);
  color: var(--sage-deep);
}

/* -------- Stats -------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.stat {
  text-align: center;
  padding: 24px;
}

.stat-num {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--coral-deep);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--brown-soft);
  font-weight: 600;
}

/* -------- Team -------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach-soft), var(--sage-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--sage-deep);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-role {
  color: var(--coral-deep);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: block;
}

/* -------- Insurance logos row -------- */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.insurance-pill {
  background: var(--white);
  border: 2px solid var(--sage-soft);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--sage-deep);
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.insurance-pill:hover {
  border-color: var(--sage);
  background: var(--sage-whisper);
}

/* -------- FAQ -------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: 24px 28px;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--sage-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--coral);
  font-weight: 400;
  transition: transform 0.25s ease;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(0deg);
}

.faq-body {
  padding: 0 28px 24px;
  color: var(--brown-soft);
}

.faq-body p {
  margin-bottom: 12px;
}

/* -------- Contact form -------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  background: var(--sage-whisper);
  border-radius: var(--radius-md);
  padding: 36px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-item .ic {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item .ic svg {
  width: 20px;
  height: 20px;
}

.contact-info-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brown-soft);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info-item .value {
  color: var(--brown);
  font-weight: 600;
}

.contact-info-item a {
  color: var(--sage-deep);
}

.form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.field label .req {
  color: var(--coral-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--sage-soft);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--brown);
  background: var(--cream);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--brown-soft);
  margin-top: 12px;
  text-align: center;
}

/* -------- Footer -------- */
footer {
  background: var(--sage-deep);
  color: var(--cream);
  padding: 56px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

footer h4 {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

footer a,
footer p {
  color: rgba(250, 246, 240, 0.82);
  font-size: 0.95rem;
}

footer a:hover {
  color: var(--peach);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-tagline {
  color: rgba(250, 246, 240, 0.7);
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(250, 246, 240, 0.65);
}

/* -------- Utility -------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* -------- Responsive -------- */
@media (max-width: 880px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-illustration { max-width: 360px; margin: 0 auto; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse { direction: ltr; }
  .feature-visual { order: -1; }
  .contact-wrap { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  section { padding: 56px 0; }
  .cta-band { padding: 40px 28px; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--sage-soft);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-cta { margin-left: 0 !important; text-align: center; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form { padding: 28px 20px; }
  .contact-info { padding: 28px 20px; }
}
