/* Therapy Solutions — brand + layout */
:root {
  --primary: #3fa9a3;
  --primary-deep: #1b6b6b;
  --sky: #8dc3e8;
  --cream: #faf6ee;
  --coral: #f2a48f;
  --ink: #1e2a2a;
  --ink-soft: #4a5c5c;
  --border: #dfe8e6;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(30,42,42,0.06);
  --shadow-md: 0 10px 30px rgba(30,42,42,0.08);
  --max-width: 1120px;
  --font-body: "Nunito", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Nunito", "Georgia", 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;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary-deep);
  color: white;
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  background: var(--cream);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 32px; height: 32px; }
.brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 4px;
}
.site-nav a:hover, .site-nav a:focus { color: var(--primary-deep); }
.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 8px 16px !important;
  border-radius: 999px;
}
.nav-cta:hover, .nav-cta:focus {
  background: var(--primary-deep);
  color: white !important;
}
@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg svg {
  width: 100%;
  height: 100%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--primary-deep);
  font-weight: 700;
  margin: 0 0 1rem;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 2rem;
  max-width: 620px;
}
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--primary-deep);
  border-color: var(--primary);
}
.btn-ghost:hover, .btn-ghost:focus {
  background: rgba(63,169,163,0.08);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}
.section-alt {
  background: white;
}
.section-lede {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 2.5rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-visual svg { width: 100%; max-width: 320px; margin: 0 auto; display: block; }
@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.section-alt .service-card { background: var(--cream); }
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  color: white;
}
.service-card p {
  color: var(--ink-soft);
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
}

/* Who */
.who-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.who-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.who-list li {
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--shadow-sm);
}
.who-list li span { font-size: 1.4rem; }
@media (max-width: 780px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.phi-notice {
  background: rgba(242,164,143,0.15);
  border-left: 4px solid var(--coral);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink);
}
.contact-form {
  background: var(--cream);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 0.9rem;
}
.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--ink);
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(63,169,163,0.2);
}
.form-status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.success { color: var(--primary-deep); font-weight: 700; }
.form-status.error { color: #b34747; font-weight: 700; }
@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--primary-deep);
  color: var(--cream);
  padding: 2.5rem 0 2rem;
  margin-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0;
}
.footer-tag { margin: 0.2rem 0 0; opacity: 0.85; }
.footer-meta { text-align: right; font-size: 0.9rem; }
.footer-meta p { margin: 0 0 0.3rem; }
.footer-disclaimer { opacity: 0.7; font-size: 0.82rem; }
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-meta { text-align: left; }
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Focus outlines */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
input:focus, textarea:focus { outline: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   INNER PAGE STYLES (content subpages)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Nav for inner pages — add links to subpages */
.site-nav.with-pages a:not(.nav-cta) { display: inline-block; }

/* Page hero */
.page-hero {
  background: linear-gradient(150deg, #e8f7f6 0%, #f0f7fd 100%);
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 0.6rem; }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lede { margin-bottom: 0; max-width: 680px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary-deep); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }

/* Content article */
.content-article {
  max-width: 780px;
}
.content-article h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 2.5rem 0 0.8rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.content-article h2:first-child { margin-top: 0; }
.content-article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
  color: var(--primary-deep);
}
.content-article p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  line-height: 1.72;
  font-size: 1.03rem;
}
.content-article ul, .content-article ol {
  margin: 0.5rem 0 1.2rem 1.5rem;
  padding: 0;
}
.content-article ul li, .content-article ol li {
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  line-height: 1.65;
  font-size: 1.01rem;
}
.content-article strong { color: var(--ink); }

/* Callout boxes */
.callout {
  border-left: 4px solid var(--primary);
  background: rgba(63,169,163,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
}
.callout.coral {
  border-color: var(--coral);
  background: rgba(242,164,143,0.10);
}
.callout.sky {
  border-color: var(--sky);
  background: rgba(141,195,232,0.12);
}
.callout p { margin: 0; font-size: 0.97rem; }
.callout p + p { margin-top: 0.5rem; }

/* Step list */
.step-list {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.step-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.step-num {
  counter-increment: steps;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-num::before { content: counter(steps); }
.step-body h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.3rem; }
.step-body p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
}
.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.4rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.12s;
}
.faq-question:hover { background: rgba(63,169,163,0.06); }
.faq-question[aria-expanded="true"] { color: var(--primary-deep); background: rgba(63,169,163,0.06); }
.faq-chevron { font-size: 1rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.4rem 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.97rem;
  border-top: 1px solid var(--border);
  display: none;
}
.faq-answer.open { display: block; }

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1rem 0;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.check-item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Highlight card */
.highlight-card {
  background: linear-gradient(135deg, var(--primary-deep), #2a7e7a);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem 2rem;
  margin: 2rem 0;
}
.highlight-card h3 { color: white; font-size: 1.2rem; margin: 0 0 0.6rem; }
.highlight-card p { color: rgba(255,255,255,0.88); margin: 0; font-size: 0.97rem; }
.highlight-card .btn-white {
  display: inline-block;
  background: white;
  color: var(--primary-deep);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 1.2rem;
  font-size: 0.95rem;
  transition: background 0.15s;
}
.highlight-card .btn-white:hover { background: var(--cream); }

/* Subpage feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.feature-card .feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature-card p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* Two-col layout for inner pages */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
}

/* Sidebar */
.sidebar-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 1.2rem;
  position: sticky;
  top: 90px;
}
.sidebar-card h4 { font-size: 0.95rem; font-weight: 800; margin: 0 0 0.75rem; color: var(--primary-deep); text-transform: uppercase; letter-spacing: 0.06em; }
.sidebar-nav a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover { color: var(--primary-deep); }

/* CTA strip (inner pages) */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  padding: 3rem 0;
  text-align: center;
  color: white;
  margin-top: 4rem;
}
.cta-strip h2 { color: white; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.cta-strip p { color: rgba(255,255,255,0.88); margin: 0 auto 1.5rem; max-width: 560px; }
.btn-white-outline {
  display: inline-block;
  background: white;
  color: var(--primary-deep);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.15s, transform 0.12s;
}
.btn-white-outline:hover { background: var(--cream); transform: translateY(-1px); }
