/* Small Talk Pediatric Therapy — warm & playful theme */

:root {
  --coral: #2fa84c;
  --coral-dark: #1f7d39;
  --teal: #1b5fa0;
  --teal-dark: #123f6d;
  --yellow: #c14b41;
  --sky: #eaf2f9;
  --cream: #fffaf2;
  --navy: #2f3b4c;
  --gray: #6b7686;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(47, 59, 76, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", Verdana, sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }

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

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

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.88rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { opacity: 0.9; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar .badge {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}

/* ---------- Header / Nav ---------- */
header.site {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(47,59,76,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--teal-dark);
}
.brand .logo-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
nav.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  transition: border-color .15s, color .15s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--teal-dark);
  border-color: var(--coral);
}
.nav-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800 !important;
  border-bottom: none !important;
  box-shadow: var(--shadow);
}
.nav-cta:hover {
  background: var(--coral-dark);
  border-color: transparent !important;
}
.nav-toggle { display: none; }

/* ---------- Nav dropdown ---------- */
.dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.dropdown-toggle .caret {
  transition: transform .15s;
}
.dropdown:hover .dropdown-toggle .caret,
.dropdown:focus-within .dropdown-toggle .caret {
  transform: rotate(180deg);
}
.dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 230px;
  z-index: 60;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: flex;
}
.dropdown-menu a {
  padding: 10px 14px;
  border-radius: 10px;
  border-bottom: none !important;
  font-size: 0.92rem;
}
.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--sky);
  color: var(--teal-dark);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,207,86,0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(47,168,76,0.16), transparent 40%),
    var(--sky);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--white);
  color: var(--coral-dark);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
}
.hero h1 span { color: var(--coral-dark); }
.hero p.lead {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 46ch;
  margin: 18px 0 28px;
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--coral); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); background: var(--coral-dark); }
.btn-outline { background: var(--white); color: var(--teal-dark); border: 2px solid var(--teal); }
.btn-outline:hover { transform: translateY(-2px); background: var(--teal); color: var(--white); }

.hero-art {
  position: relative;
  display: grid;
  gap: 18px;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-card .icon-circle { flex-shrink: 0; }
.hero-card strong { display: block; font-size: 1.05rem; }
.hero-card span { color: var(--gray); font-size: 0.92rem; }

.hero-photo-frame {
  background: linear-gradient(135deg, var(--white), var(--sky));
  border: 3px dashed var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-height: 420px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--teal);
  text-align: center;
  padding: 24px;
}
.hero-photo-frame span {
  color: var(--gray);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Icon circles ---------- */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.icon-circle.teal { background: var(--teal); }
.icon-circle.coral { background: var(--coral); }
.icon-circle.yellow { background: var(--yellow); color: var(--navy); }

.role-box {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  border: 6px solid var(--teal);
  transition: transform .15s;
}
.role-box:hover { transform: translateY(-4px); }
.role-box.coral { border-color: var(--coral); }
.role-box.yellow { border-color: var(--yellow); }
.role-box .role-tag {
  display: inline-block;
  background: var(--sky);
  color: var(--teal-dark);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.role-box h3 { font-size: 0.98rem; margin: 0 0 6px; line-height: 1.25; }
.role-box p { font-size: 0.78rem; color: var(--gray); margin: 0 0 8px; line-height: 1.4; }
.role-box .link { font-size: 0.82rem; font-weight: 800; color: var(--teal-dark); }
.role-box .link:hover { color: var(--coral-dark); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-head .kicker {
  color: var(--coral-dark);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--gray); }

.bg-white { background: var(--white); }
.bg-sky { background: var(--sky); }

/* ---------- Cards grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--teal);
  transition: transform .15s;
}
.card:hover { transform: translateY(-4px); }
.card.coral { border-top-color: var(--coral); }
.card.yellow { border-top-color: var(--yellow); }
.card h3 { font-size: 1.2rem; margin-top: 14px; }
.card p { color: var(--gray); margin-bottom: 14px; }
.card .link { font-weight: 800; color: var(--teal-dark); }
.card .link:hover { color: var(--coral-dark); }

.card-photo-frame {
  background: linear-gradient(135deg, var(--white), var(--sky));
  border: 3px dashed var(--teal);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--teal);
  text-align: center;
  padding: 30px 26px;
}
.card-photo-frame span {
  color: var(--gray);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ---------- About / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stat-row { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.stat { }
.stat strong { font-size: 1.8rem; color: var(--coral-dark); display: block; }
.stat span { color: var(--gray); font-size: 0.9rem; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}
.team-photo {
  height: 130px;
  background: linear-gradient(135deg, var(--white), var(--sky));
  border-bottom: 3px dashed var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.team-card .info { padding: 16px; }
.team-card h4 { font-size: 1.02rem; margin-bottom: 2px; }
.team-card .role { color: var(--teal-dark); font-weight: 700; font-size: 0.85rem; }
.team-card .extra { color: var(--gray); font-size: 0.8rem; margin-top: 4px; }
.team-section-title {
  font-size: 1.1rem;
  color: var(--coral-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 44px 0 20px;
  text-align: center;
  scroll-margin-top: 110px;
}
.team-section-title:first-child { margin-top: 0; }

/* ---------- Milestones (speech) ---------- */
.milestone {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 18px;
  border-left: 6px solid var(--coral);
}
.milestone h4 { color: var(--teal-dark); margin-bottom: 10px; }
.milestone ul { margin: 0; padding-left: 20px; color: var(--gray); }
.milestone li { margin-bottom: 4px; }

/* ---------- Lists with check icons ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--navy);
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

/* ---------- Insurance chips ---------- */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.chip {
  background: var(--white);
  border: 2px solid var(--sky);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  font-weight: 700;
  color: var(--teal-dark);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.chip .chip-logo {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--sky);
  border-radius: var(--radius-sm);
  color: var(--teal);
}
.chip .chip-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--coral-dark);
  font-size: 1.4rem;
  font-weight: 800;
  margin-left: 12px;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body {
  padding: 0 26px 24px;
  color: var(--gray);
}

/* ---------- Step Path (How to Start Therapy) ---------- */
.steps-path {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 8px 0;
}
.steps-curve {
  position: absolute;
  left: 0;
  top: 6px;
  width: 100%;
  height: calc(100% - 12px);
  z-index: 0;
  pointer-events: none;
}
.step-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}
.step-row.left { justify-content: flex-start; }
.step-row.right { justify-content: flex-end; }
.step-row.last { margin-bottom: 0; }
.step-row .step-card { width: calc(50% - 22px); }
.step-node {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: var(--shadow);
  border: 4px solid var(--cream);
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.step-card summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 22px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.step-card summary::-webkit-details-marker { display: none; }
.step-card summary::after {
  content: "+";
  color: var(--coral-dark);
  font-size: 1.4rem;
  font-weight: 800;
  margin-left: 12px;
  flex-shrink: 0;
}
.step-card[open] summary::after { content: "\2212"; }
.step-card .faq-body {
  padding: 0 22px 20px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .steps-curve { display: none; }
  .steps-path::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 6px;
    bottom: 6px;
    width: 0;
    border-left: 4px dashed var(--sky);
    z-index: 0;
  }
  .step-row, .step-row.left, .step-row.right {
    justify-content: flex-start;
  }
  .step-row .step-card { width: calc(100% - 74px); }
  .step-row.right { flex-direction: row; }
  .step-row.left { flex-direction: row-reverse; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
}
.contact-info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-info-row strong { display: block; }
.contact-info-row span { color: var(--gray); font-size: 0.94rem; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: none;
  width: 100%;
  height: 100%;
  min-height: 340px;
}
form.form input,
form.form select,
form.form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--sky);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 16px;
  background: var(--sky);
  color: var(--navy);
}
form.form input[type="file"] {
  background: var(--white);
  border: 2px dashed var(--gray);
  padding: 16px;
  cursor: pointer;
}
form.form label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
form.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin: 0 24px;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 50ch; margin: 0 auto 26px; }
.cta-banner .btn-primary { background: var(--yellow); color: var(--navy); }
.cta-banner .btn-primary:hover { background: #d97068; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-grid a { display: block; color: rgba(255,255,255,0.75); margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--yellow); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: "Baloo 2", sans-serif; font-weight: 800; color: var(--white); font-size: 1.15rem; margin-bottom: 14px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.footer-social a:hover { background: var(--yellow); }
.footer-social svg { width: 20px; height: 20px; }
.credentials-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 28px;
  margin-bottom: 28px;
}
.credentials-bar img {
  height: 40px;
  width: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 6px 12px;
  display: block;
}
@media (max-width: 640px) {
  .credentials-bar img { height: 32px; }
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  background: var(--sky);
  padding: 48px 0;
  text-align: center;
}
.page-hero .kicker { color: var(--coral-dark); font-weight: 800; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.06em; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-top: 8px; }
.page-hero p { color: var(--gray); max-width: 60ch; margin: 14px auto 0; }
.breadcrumb { font-size: 0.85rem; color: var(--gray); margin-bottom: 10px; }
.breadcrumb a { color: var(--teal-dark); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav.main-nav { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  form.form .row-2 { grid-template-columns: 1fr; }
  .cta-banner { margin: 0 16px; padding: 34px 22px; }
  .role-box { width: 220px; height: 220px; padding: 22px; }
}
