/*
Theme Name: Aba Healthcare
Theme URI: https://abahealthcare.org/
Author: Aba Healthcare Inc.
Author URI: https://abahealthcare.org/
Description: Custom WordPress theme for Aba Healthcare Inc., a Texas HCS and TxHmL provider serving individuals with intellectual and developmental disabilities, their families, and caregivers.
Version: 2.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aba-healthcare
*/

:root {
  --evergreen: #16324f;
  --evergreen-2: #244c6b;
  --teal: #2a7f7f;
  --teal-dark: #176a6b;
  --ink: #243746;
  --muted: #63717c;
  --cream: #f8f5ee;
  --cream-2: #fffdf8;
  --terra: #d6a13a;
  --terra-dark: #9b6507;
  --gold: #d6a13a;
  --sage: #9ebdb9;
  --sage-light: #dce9e7;
  --line: #d9e0e3;
  --white: #fffdfc;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 22px 60px rgba(22, 50, 79, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d6a13a; outline-offset: 4px; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 12px 18px; color: white; background: var(--evergreen); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.site-shell { overflow: clip; }

.utility-bar { background: var(--teal-dark); color: #f5ffff; font-size: 12px; letter-spacing: .035em; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-message { color: #d8efeb; }
.utility-inner a { font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(23,61,53,.1); background: rgba(255,253,248,.96); backdrop-filter: blur(16px); }
.header-inner { height: 88px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--evergreen); flex: 0 0 auto; }
.brand-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-type { display: flex; align-items: baseline; gap: 7px; line-height: 1; }
.brand-type strong { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -.04em; }
.brand-type small { font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(20px, 2.3vw, 38px); }
.desktop-nav a { position: relative; padding: 12px 0; font-size: 14px; font-weight: 650; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--terra); transition: right .25s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-phone { margin-left: 12px; min-height: 48px; display: inline-flex; align-items: center; gap: 9px; padding: 0 18px; border: 1px solid var(--evergreen); border-radius: 7px; color: white; background: var(--evergreen); font-size: 15px; font-weight: 850; transition: .2s ease; white-space: nowrap; }
.header-phone strong { font-weight: 900; letter-spacing: .015em; }
.header-phone:hover { background: var(--evergreen-2); color: white; box-shadow: 0 10px 24px rgba(22,50,79,.18); }
.header-phone .icon { width: 17px; }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; padding: 72px 0 74px; background: linear-gradient(110deg, #fffdf8 0%, #f8f5ee 48%, #e5f1ef 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .32; background-image: radial-gradient(rgba(22,50,79,.08) .7px, transparent .7px); background-size: 12px 12px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.hero-orb { position: absolute; width: 440px; height: 440px; right: -180px; top: -160px; border: 1px solid rgba(184,111,85,.25); border-radius: 50%; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); align-items: center; gap: clamp(46px, 6vw, 92px); }
.eyebrow { margin: 0 0 20px; color: var(--terra-dark); font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 650px; color: var(--evergreen); font-family: var(--serif); font-size: clamp(52px, 5.2vw, 79px); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--teal-dark); font-weight: 500; }
.hero-text { max-width: 610px; margin: 28px 0 0; color: #4e6070; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 23px; border: 0; border-radius: 7px; font-size: 14px; font-weight: 780; line-height: 1; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button .icon, .text-link .icon { width: 18px; height: 18px; }
.button-primary { color: white; background: var(--evergreen); box-shadow: 0 12px 30px rgba(23,61,53,.18); }
.button-primary:hover { background: var(--evergreen-2); box-shadow: 0 15px 34px rgba(23,61,53,.24); }
.button-outline { border: 1px solid var(--evergreen); color: var(--evergreen); background: transparent; }
.button-outline:hover { color: white; background: var(--evergreen); }
.button-terra { color: white; background: var(--terra); }
.button-terra:hover { background: var(--terra-dark); box-shadow: 0 12px 28px rgba(156,88,65,.24); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid currentColor; color: var(--evergreen); font-weight: 750; line-height: 1.1; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link .icon { transition: transform .2s ease; }
.hero-note { margin-top: 26px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-note .icon { width: 18px; color: var(--teal); }
.hero-media { position: relative; min-height: 600px; }
.hero-image-wrap { position: absolute; inset: 0 0 0 32px; overflow: hidden; border-radius: 130px 18px 18px 18px; box-shadow: var(--shadow); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 47% center; }
.hero-card { position: absolute; z-index: 3; left: -8px; bottom: 28px; display: flex; align-items: center; gap: 16px; min-width: 330px; padding: 20px 23px; color: var(--evergreen); background: rgba(255,253,248,.97); border: 1px solid rgba(23,61,53,.08); border-radius: 12px; box-shadow: 0 18px 48px rgba(28,54,46,.18); }
.hero-card-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--teal); background: #f5fbfa; }
.hero-card-icon .icon { width: 24px; }
.hero-card strong, .hero-card small { display: block; }
.hero-card strong { font-size: 15px; }
.hero-card small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.terracotta-shape { position: absolute; z-index: -1; left: 3px; bottom: -20px; width: 170px; height: 235px; border-radius: 80px 8px 8px 8px; background: var(--terra); opacity: .9; }

.trust-strip { border-top: 1px solid #c8ddda; border-bottom: 1px solid #c8ddda; background: #edf7f5; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { min-height: 112px; display: grid; grid-template-columns: 42px 1fr; align-content: center; gap: 0 16px; padding: 20px 38px; border-right: 1px solid #d7d9d1; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span { grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal-dark); font-family: var(--serif); font-weight: 700; background: white; }
.trust-grid strong { color: var(--evergreen); font-size: 14px; }
.trust-grid small { color: var(--muted); font-size: 12px; }

.section { padding: 116px 0; }
.services-section { background: var(--white); }
.section-heading h2, .about-copy h2, .faq-intro h2, .contact-copy h2 { margin: 0; color: var(--evergreen); font-family: var(--serif); font-size: clamp(42px, 4.2vw, 62px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 100px; margin-bottom: 50px; }
.split-heading h2 { max-width: 720px; }
.split-heading > p { margin: 0 0 7px; max-width: 500px; color: var(--muted); font-size: 17px; }
.service-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 14px; }
.service-toolbar button { min-height: 42px; padding: 0 16px; border: 1px solid #cbd5d9; border-radius: 999px; color: var(--evergreen); background: white; font-size: 12px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.service-toolbar button:hover, .service-toolbar button.is-active { border-color: var(--evergreen); color: white; background: var(--evergreen); }
.service-count { margin: 0 0 22px; color: var(--muted); font-size: 12px; font-weight: 750; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.directory-grid { grid-template-columns: repeat(4, 1fr); }
.service-card { position: relative; min-height: 400px; display: flex; flex-direction: column; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.service-card:hover { z-index: 2; transform: translateY(-4px); background: var(--cream-2); box-shadow: 0 18px 44px rgba(23,61,53,.1); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--teal-dark); background: var(--sage-light); }
.service-icon .icon { width: 25px; }
.service-number { color: #9ca7a2; font-family: var(--serif); font-size: 17px; }
.service-card h3 { margin: 0; color: var(--evergreen); font-family: var(--serif); font-size: 29px; font-weight: 600; letter-spacing: -.025em; }
.directory-grid .service-card { min-height: 365px; padding: 29px; }
.directory-grid .service-card h3 { font-size: 25px; line-height: 1.14; }
.service-category { display: block; margin: -8px 0 12px; color: var(--terra-dark); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.service-card p { margin: 14px 0 0; color: #596660; font-size: 14px; line-height: 1.75; }
.program-tag { align-self: flex-start; margin-top: 18px; padding: 6px 9px; border-radius: 4px; color: var(--teal-dark); background: #e6f3f1; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.service-detail { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e6e7e1; color: #75807b; font-size: 12px; line-height: 1.6; }
.service-card > a { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 24px; color: var(--terra-dark); font-size: 13px; font-weight: 800; }
.service-card > a .icon { width: 18px; transition: transform .2s ease; }
.service-card > a:hover .icon { transform: translateX(4px); }
.service-disclaimer { max-width: 1000px; margin: 24px 0 0; padding-left: 15px; border-left: 3px solid var(--terra); color: #687671; font-size: 12px; }
.therapy-band { margin-top: 58px; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 390px; overflow: hidden; border-radius: 14px; color: white; background: var(--teal-dark); box-shadow: 0 24px 55px rgba(23,106,107,.18); }
.therapy-band img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.therapy-band > div { align-self: center; padding: 48px 54px; }
.therapy-band .eyebrow { color: #f2c45f; }
.therapy-band h3 { margin: 0; font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1.08; }
.therapy-band p:not(.eyebrow) { margin: 20px 0; color: #d8ece8; }
.therapy-band .text-link { color: white; }

.about-section { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(60px, 8vw, 120px); }
.about-media { position: relative; min-height: 680px; }
.about-media::before { content: ""; position: absolute; inset: 36px -22px -22px 36px; border: 2px solid rgba(214,161,58,.7); border-radius: 18px 18px 110px 18px; }
.about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% center; border-radius: 18px 18px 110px 18px; box-shadow: var(--shadow); }
.about-caption { position: absolute; right: -32px; bottom: 38px; width: 260px; padding: 22px; color: white; background: var(--evergreen); border-radius: 8px; box-shadow: 0 16px 36px rgba(23,61,53,.2); }
.about-caption strong, .about-caption span { display: block; }
.about-caption strong { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.about-caption span { margin-top: 6px; color: #d5e1dc; font-size: 12px; }
.about-copy > p:not(.eyebrow) { margin: 24px 0 0; color: #56645e; font-size: 17px; }
.feature-list { display: grid; gap: 20px; margin: 30px 0 36px; }
.feature-list > div { display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: #596660; font-size: 14px; }
.feature-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: white; background: var(--terra); }
.feature-list strong { display: block; margin-bottom: 3px; color: var(--evergreen); font-size: 15px; }

.community-section { background: #eef7f5; }
.community-heading { align-items: center; }
.community-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 14px; }
.community-gallery figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: 12px; background: var(--evergreen); box-shadow: 0 14px 36px rgba(22,50,79,.12); }
.community-gallery .gallery-feature { grid-column: span 2; grid-row: span 2; }
.community-gallery .gallery-wide { grid-column: span 2; }
.community-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.community-gallery figure:hover img { transform: scale(1.035); }
.community-gallery figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; width: fit-content; max-width: calc(100% - 28px); padding: 8px 12px; border-radius: 999px; color: var(--evergreen); background: rgba(255,253,248,.94); box-shadow: 0 8px 20px rgba(0,0,0,.14); font-size: 11px; font-weight: 850; letter-spacing: .02em; }

.process-section { color: white; background: var(--evergreen); }
.centered-heading { max-width: 750px; margin: 0 auto 64px; text-align: center; }
.centered-heading .eyebrow { color: #f2c45f; }
.centered-heading h2 { color: white; }
.centered-heading > p:last-child { color: #c5d5df; }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); }
.process-step { position: relative; min-height: 315px; padding: 30px 26px 22px; border-top: 1px solid rgba(255,255,255,.26); border-right: 1px solid rgba(255,255,255,.16); }
.process-step:last-child { border-right: 0; }
.process-step::before { content: ""; position: absolute; top: -5px; left: 26px; width: 9px; height: 9px; border: 2px solid var(--evergreen); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.process-number { color: #f2c45f; font-family: var(--serif); font-size: 20px; }
.process-step h3 { margin: 55px 0 13px; font-family: var(--serif); font-size: 26px; line-height: 1.15; font-weight: 600; }
.process-step p { margin: 0; color: #c8d7e1; font-size: 13px; line-height: 1.75; }

.quote-section { padding: 88px 0; border-bottom: 1px solid var(--line); background: #fbf8f2; }
.quote-inner { position: relative; max-width: 960px; text-align: center; }
.quote-mark { display: block; height: 53px; color: var(--terra); font-family: var(--serif); font-size: 88px; line-height: 1; }
.quote-inner blockquote { margin: 10px 0 18px; color: var(--evergreen); font-family: var(--serif); font-size: clamp(31px, 3.5vw, 47px); line-height: 1.18; letter-spacing: -.03em; }
.quote-inner p { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.faq-section { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 100px; align-items: start; }
.faq-intro { position: sticky; top: 140px; }
.faq-intro > p:not(.eyebrow) { margin: 24px 0; color: var(--muted); }
.faq-intro .text-link { gap: 10px; color: var(--terra-dark); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; list-style: none; padding: 27px 50px 27px 0; color: var(--evergreen); font-family: var(--serif); font-size: 25px; font-weight: 600; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before, .accordion summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 16px; height: 1.5px; background: var(--terra); }
.accordion summary::after { transform: rotate(90deg); transition: transform .2s ease; }
.accordion details[open] summary::after { transform: rotate(0); }
.accordion details p { margin: -8px 54px 24px 0; color: var(--muted); font-size: 14px; }
.accordion details p a { color: var(--terra-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.contact-section { padding: 110px 0; color: white; background: #183a57; }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; }
.eyebrow.light { color: #e3aa92; }
.contact-copy h2 { color: white; font-size: clamp(45px, 5vw, 68px); }
.contact-copy > p:not(.eyebrow):not(.hours) { color: #c8d8e3; font-size: 17px; }
.contact-photo { width: 100%; height: 210px; margin: 30px 0 0; overflow: hidden; border: 3px solid rgba(255,255,255,.18); border-radius: 12px 60px 12px 12px; box-shadow: 0 20px 42px rgba(0,0,0,.2); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.contact-details { display: grid; gap: 22px; margin-top: 38px; }
.contact-details > a, .contact-details > div { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; }
.contact-details > * > span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #f2c45f; font-weight: 800; }
.contact-details .icon { width: 20px; }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { margin-bottom: 2px; color: #9fb2ab; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.contact-details strong { font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.hours { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); color: #cbd7d2; font-size: 13px; }
.contact-form { padding: 42px; color: var(--ink); background: var(--white); border-radius: 15px; box-shadow: 0 30px 70px rgba(0,0,0,.17); }
.form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.form-heading h3 { margin: 0; color: var(--evergreen); font-family: var(--serif); font-size: 32px; font-weight: 600; }
.form-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 18px; color: #46534e; font-size: 12px; font-weight: 750; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #ced4cf; border-radius: 6px; color: var(--ink); background: #fffefa; outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input, .contact-form select { height: 48px; padding: 0 13px; }
.contact-form textarea { padding: 12px 13px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(184,111,85,.12); }
.contact-form .consent { grid-template-columns: 18px 1fr; align-items: start; gap: 9px; color: #6f7975; font-size: 11px; font-weight: 500; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; }
.contact-form .button { width: 100%; }
.form-note, .form-status { margin: 12px 0 0; text-align: center; color: #75807b; font-size: 10px; }
.form-status { color: var(--evergreen); font-size: 12px; font-weight: 700; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice-success, .notice-error { margin: 0 0 24px; padding: 14px 16px; border-radius: 7px; font-size: 13px; font-weight: 750; }
.notice-success { border: 1px solid #93c8ba; color: #165f54; background: #eaf7f3; }
.notice-error { border: 1px solid #e1a38f; color: #8c3f2d; background: #fff2ed; }
.page-content { min-height: 62vh; padding: 90px 0; background: var(--cream-2); }

.site-footer { color: #d8e3ea; background: #10283e; }
.footer-main { display: grid; grid-template-columns: 1.65fr repeat(3, 1fr); gap: 65px; padding: 76px 0 58px; }
.brand-light { color: #f7f0e5; }
.brand-light .brand-type strong { font-size: 25px; }
.footer-brand p { max-width: 360px; margin-top: 20px; color: #a9bdca; font-size: 13px; }
.footer-main h3 { margin: 4px 0 20px; color: #f2c45f; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.footer-main > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-main a, .footer-main p { color: #bdced9; font-size: 13px; }
.footer-main a:hover { color: white; }
.footer-main p { margin: 0 0 6px; }
.footer-bottom { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #879e95; font-size: 11px; }
.footer-bottom div { display: flex; gap: 24px; }
.footer-bottom p { margin: 0; }
.mobile-call { display: none; }

.legal-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--cream-2); }
.legal-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(22,50,79,.12); background: rgba(255,253,248,.97); backdrop-filter: blur(16px); }
.legal-header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.legal-header-actions { display: flex; align-items: center; gap: 24px; }
.legal-back-link { color: var(--evergreen); font-size: 13px; font-weight: 800; }
.legal-back-link:hover { color: var(--terra-dark); }
.legal-hero { position: relative; overflow: hidden; padding: 96px 0 88px; border-bottom: 1px solid var(--line); background: linear-gradient(115deg, #fdfbf6 0%, #f2efe6 55%, #e7f0f4 100%); }
.legal-hero::after { content: ""; position: absolute; right: -110px; top: -170px; width: 420px; height: 420px; border: 1px solid rgba(214,161,58,.38); border-radius: 50%; }
.legal-hero-inner { position: relative; z-index: 1; max-width: 920px; }
.legal-hero h1 { max-width: 800px; margin: 0; color: var(--evergreen); font-family: var(--serif); font-size: clamp(52px, 6vw, 82px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.legal-summary { max-width: 780px; margin: 27px 0 0; color: #4e6070; font-size: 18px; }
.legal-effective { margin: 25px 0 0; color: var(--muted); font-size: 13px; }
.legal-content-section { flex: 1; padding: 82px 0 104px; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 820px); justify-content: center; align-items: start; gap: 86px; }
.legal-aside { position: sticky; top: 126px; display: grid; padding: 23px 0; border-top: 3px solid var(--terra); border-bottom: 1px solid var(--line); }
.legal-aside strong { margin-bottom: 14px; color: var(--evergreen); font-family: var(--serif); font-size: 21px; }
.legal-aside a { padding: 9px 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.legal-aside a:hover { color: var(--terra-dark); }
.legal-document { min-width: 0; padding: 54px 62px; border: 1px solid #e0e4e5; border-radius: 12px; background: white; box-shadow: 0 20px 55px rgba(22,50,79,.08); }
.legal-document section { padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--line); }
.legal-document section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.legal-document h2 { margin: 0 0 16px; color: var(--evergreen); font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.legal-document p { margin: 0 0 16px; color: #53635d; font-size: 15px; line-height: 1.8; }
.legal-document p:last-child { margin-bottom: 0; }
.legal-document ul { margin: 8px 0 0; padding-left: 22px; color: #53635d; }
.legal-document li { margin: 9px 0; padding-left: 5px; font-size: 15px; line-height: 1.7; }
.legal-document a { color: var(--terra-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.legal-document .legal-notice { padding: 27px 30px; border: 1px solid #dfc278; border-left: 5px solid var(--terra); border-radius: 8px; background: #fffaf0; }
.legal-document .legal-notice h2 { font-size: 25px; }
.legal-document .legal-notice.urgent { border-color: #d9a88f; border-left-color: #b85f3b; background: #fff7f3; }
.legal-footer { color: #c7d6df; background: #10283e; }
.legal-footer-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.legal-footer p { margin: 0; font-size: 12px; }
.legal-footer nav { display: flex; gap: 25px; }
.legal-footer a { font-size: 12px; font-weight: 750; }
.legal-footer a:hover { color: white; }

.reveal { animation: fadeUp .7s both cubic-bezier(.22,.75,.25,1); }
.delay-1 { animation-delay: .12s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1120px) {
  .container { width: min(100% - 48px, 1080px); }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 13px; }
  .header-phone { padding: 0 13px; }
  .hero-grid { grid-template-columns: .92fr 1.08fr; gap: 42px; }
  .hero h1 { font-size: clamp(50px, 5.8vw, 66px); }
  .hero-media { min-height: 535px; }
  .about-grid, .contact-grid { gap: 60px; }
  .process-step { padding-inline: 18px; }
  .process-step h3 { font-size: 23px; }
  .directory-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .utility-message { display: none; }
  .desktop-nav, .header-phone { display: none; }
  .header-inner { height: 74px; }
  .menu-toggle { margin-left: auto; width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; border: 1px solid #cfd7d2; border-radius: 7px; background: transparent; }
  .menu-toggle span { width: 21px; height: 2px; background: var(--evergreen); }
  .mobile-nav { display: grid; max-height: 0; overflow: hidden; padding: 0 24px; background: var(--white); opacity: 0; transition: max-height .3s ease, opacity .2s ease, padding .3s ease; }
  .mobile-nav.is-open { max-height: 520px; padding: 12px 24px 26px; opacity: 1; border-top: 1px solid var(--line); }
  .mobile-nav a:not(.button) { padding: 13px 0; border-bottom: 1px solid #e6e8e3; font-weight: 700; }
  .mobile-nav .button { margin-top: 16px; }
  .hero { padding-top: 58px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-media { min-height: 610px; }
  .hero-image-wrap { left: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid #d7d9d1; }
  .trust-grid > div:last-child { border-bottom: 0; }
  .split-heading, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split-heading { align-items: start; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .therapy-band { grid-template-columns: 1fr; }
  .therapy-band img { height: 450px; }
  .about-media { min-height: 620px; }
  .about-copy { padding-top: 34px; }
  .community-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 270px; }
  .community-gallery .gallery-feature { grid-column: span 2; grid-row: span 1; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-step { min-height: 255px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .process-step h3 { margin-top: 36px; }
  .faq-intro { position: static; }
  .contact-copy { max-width: 620px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 2 / 4; }
  .legal-layout { grid-template-columns: 1fr; gap: 34px; }
  .legal-aside { position: static; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
  .legal-aside strong { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 32px, 560px); }
  .utility-inner { min-height: 32px; font-size: 10px; }
  .utility-inner a { display: none; }
  .utility-inner > span:last-child { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-type strong { font-size: 22px; }
  .brand-type small { display: none; }
  .hero { padding: 46px 0 52px; }
  .eyebrow { margin-bottom: 15px; font-size: 10px; letter-spacing: .16em; }
  .hero h1 { font-size: clamp(45px, 13vw, 58px); }
  .hero-text { margin-top: 22px; font-size: 16px; }
  .hero-actions { display: grid; gap: 14px; margin-top: 28px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-self: start; }
  .hero-media { min-height: 430px; }
  .hero-image-wrap { border-radius: 76px 12px 12px 12px; }
  .hero-card { left: 13px; right: 13px; bottom: 14px; min-width: 0; padding: 15px; }
  .terracotta-shape { display: none; }
  .trust-grid > div { min-height: 92px; padding: 16px 20px; }
  .section { padding: 82px 0; }
  .section-heading h2, .about-copy h2, .faq-intro h2, .contact-copy h2 { font-size: 42px; }
  .split-heading { margin-bottom: 34px; }
  .split-heading > p { font-size: 15px; }
  .service-toolbar { flex-wrap: nowrap; margin-inline: -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: thin; }
  .service-toolbar button { flex: 0 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; padding: 28px; }
  .therapy-band { margin-top: 38px; }
  .therapy-band img { min-height: 300px; height: 300px; }
  .therapy-band > div { padding: 34px 26px; }
  .therapy-band h3 { font-size: 34px; }
  .about-media { min-height: 450px; }
  .about-media::before { inset: 18px -8px -10px 18px; }
  .about-caption { left: 18px; right: 18px; bottom: -24px; width: auto; }
  .about-copy { padding-top: 46px; }
  .community-gallery { grid-template-columns: 1fr; grid-auto-rows: 245px; }
  .community-gallery .gallery-feature, .community-gallery .gallery-wide { grid-column: auto; grid-row: auto; }
  .process-list { grid-template-columns: 1fr; }
  .process-step { min-height: 225px; border-right: 0; }
  .centered-heading { margin-bottom: 44px; }
  .quote-section { padding: 68px 0; }
  .quote-inner blockquote { font-size: 30px; }
  .accordion summary { font-size: 21px; }
  .contact-section { padding: 82px 0 100px; }
  .contact-photo { height: 190px; }
  .contact-form { padding: 26px 20px; }
  .form-heading { display: block; }
  .form-heading p { margin-top: 5px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 28px; padding-top: 62px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { padding: 20px 0 85px; align-items: flex-start; flex-direction: column; }
  .legal-header-inner { min-height: 74px; gap: 14px; }
  .legal-header-actions { gap: 12px; }
  .legal-back-link { font-size: 11px; }
  .legal-hero { padding: 68px 0 62px; }
  .legal-hero h1 { font-size: 50px; }
  .legal-summary { font-size: 16px; }
  .legal-content-section { padding: 48px 0 72px; }
  .legal-aside { grid-template-columns: 1fr; }
  .legal-aside strong { grid-column: auto; }
  .legal-document { padding: 32px 22px; border-radius: 9px; }
  .legal-document section { padding-bottom: 27px; margin-bottom: 27px; }
  .legal-document h2 { font-size: 25px; }
  .legal-document p, .legal-document li { font-size: 14px; }
  .legal-document .legal-notice { padding: 22px 18px; }
  .legal-footer-inner { padding: 24px 0 88px; align-items: flex-start; flex-direction: column; }
  .legal-footer nav { flex-direction: column; gap: 10px; }
  .mobile-call { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 14px; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; color: white; background: var(--terra); box-shadow: 0 12px 30px rgba(72,42,32,.27); font-weight: 800; }
  .mobile-call .icon { width: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
