/* 360 Jasmine Clinic: design system from mockup C "Fresh brand color" (see STYLE-GUIDE.md). */

:root {
	--blue: #459DD2;          /* brand, decorative + large headings on white only */
	--blue-text: #2A75A8;     /* headings + links, AA on white and pale blue */
	--blue-btn: #2A75A8;      /* primary button fill (white text 5:1) */
	--blue-btn-hover: #256C9C;
	--green: #64BC4E;         /* brand green, button fill with ink text */
	--green-text: #3B7A2C;    /* green text, AA */
	--green-ink: #13301A;     /* text on green buttons */
	--teal: #2F6F84;
	--ink: #2E3A44;
	--muted: #5B6670;
	--pale-blue: #F1F7FB;
	--pale-green: #F2F7EE;
	--line: #E1E9E7;
	--white: #fff;
	--grad: linear-gradient(120deg, #4FA63D 0%, #3797A8 55%, #3B8FC8 100%);
	--radius: 18px;
	--shadow: 0 6px 24px rgba(69, 157, 210, .13);
	--shadow-lift: 0 12px 32px rgba(69, 157, 210, .22);
	--font-display: Rubik, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: clamp(20px, 4vw, 40px);
	--wrap: 1320px;
	--pad-x: max(var(--gutter), calc((100% - var(--wrap)) / 2));
	--sec-y: clamp(56px, 7vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--muted);
	background: var(--white);
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
.jicon .g { stroke: var(--green); }
a { color: var(--blue-text); text-underline-offset: .18em; }
a:hover { color: var(--blue-btn-hover); }
:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--blue-text);
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; color: var(--ink); }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }
.site-main:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
	line-height: 1.2; padding: .9em 1.9em; border-radius: 999px;
	text-decoration: none; border: 2px solid transparent;
	transition: transform .25s ease, box-shadow .25s ease, background-color .2s ease;
}
.btn-blue, .wp-block-button__link { background: var(--blue-btn); color: #fff; }
.btn-blue:hover, .wp-block-button__link:hover { background: var(--blue-btn-hover); color: #fff; }
.btn-green, .is-style-green .wp-block-button__link, .btn-green-wrap .wp-block-button__link {
	background: var(--green); color: var(--green-ink);
}
.btn-green:hover, .is-style-green .wp-block-button__link:hover, .btn-green-wrap .wp-block-button__link:hover { background: #59AD44; color: var(--green-ink); }
.btn-ghost .wp-block-button__link { background: transparent; color: var(--blue-text); border-color: var(--blue-text); }
.btn-ghost .wp-block-button__link:hover { background: var(--pale-blue); color: var(--blue-text); }
.btn-white .wp-block-button__link { background: #fff; color: var(--blue-text); }
.btn-white .wp-block-button__link:hover { background: var(--pale-blue); color: var(--blue-text); }
.sonic-cta-hover:hover, .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 2px 16px rgba(46, 58, 68, .06); }
.header-inner {
	display: flex; align-items: center; gap: 28px;
	padding: 10px var(--pad-x);
	min-height: 84px;
}
.site-logo { flex: none; display: block; line-height: 0; }
.site-logo .logo-img { width: auto; height: 68px; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.site-nav .menu { display: flex; gap: 26px; list-style: none; margin: 0 auto 0 12px; padding: 0; }
.site-nav .menu a {
	font-family: var(--font-display); font-size: .98rem; color: var(--ink);
	text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a { color: var(--blue-text); border-color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.header-phone {
	display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--green-text); text-decoration: none;
}
.header-phone svg { width: 22px; height: 22px; color: var(--blue); }
.site-header .btn { padding: .75em 1.6em; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
	.header-inner { min-height: 72px; gap: 12px; }
	.site-logo .logo-img { height: 54px; }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
		width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
	}
	.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
		display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s;
	}
	.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle-bars::before { top: -7px; }
	.nav-toggle-bars::after { top: 7px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 8px;
		background: #fff; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
		box-shadow: 0 16px 30px rgba(46, 58, 68, .08);
	}
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; margin: 0; }
	.site-nav .menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
	.nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 8px; }
	.header-phone { justify-content: center; padding: 10px; }
}

/* ---------- Page sections (homepage + inner pages) ---------- */
.entry-content > .wp-block-group,
.entry-content > section {
	padding: var(--sec-y) var(--pad-x);
	margin: 0;
}
.entry-content > * + * { margin-block-start: 0; }
.sec-title { text-align: center; margin-bottom: 1.3em; }
.sec-title::after, .leaf-after::after {
	content: ""; width: 1.6em; height: .8em; display: inline-block; vertical-align: middle; margin-left: .35em;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' fill='none' stroke='%2364BC4E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 24c14 1 30-4 40-16 3-3 9-6 16-6'/%3E%3Cpath d='M22 21c-2-7 3-13 11-14 2 7-3 13-11 14zM36 13c3-6 9-8 16-6-3 6-9 8-16 6z'/%3E%3C/svg%3E");
}
.bg-pale-blue { background: var(--pale-blue); }
.bg-pale-green { background: var(--pale-green); }

/* 01 Hero */
.home-hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: clamp(520px, 44vw, 640px);
	display: flex; flex-direction: column; justify-content: center;
	padding-top: 72px !important; padding-bottom: 96px !important;
}
.home-hero .hero-media {
	position: absolute; inset: 0 0 0 auto; width: 64%; margin: 0 !important; z-index: -2;
}
.home-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 35%; display: block; }
.home-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, #fff 36%, rgba(255,255,255,.85) 44%, rgba(255,255,255,0) 60%);
}
.home-hero::after {
	content: ""; position: absolute; left: -6%; bottom: -60px; width: 46%; height: 150px; z-index: -1;
	background: var(--pale-blue); border-radius: 50%; transform: rotate(-4deg);
}
.hero-copy { max-width: 640px; margin: 0 !important; }
.hero-copy h1 { color: var(--blue-text); margin-bottom: .45em; font-size: clamp(2.2rem, 3.7vw, 3.25rem); font-weight: 500; }
.hero-copy .lede { font-size: 1.42rem; line-height: 1.55; color: var(--ink); max-width: 24em; margin-bottom: 1.6em; }
.hero-copy .wp-block-button__link { font-size: 1.2rem; padding: .95em 2.1em; }
.hero-copy .lede::after {
	content: ""; display: inline-block; vertical-align: middle; margin-left: .4em; width: 2.6em; height: 1.3em;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' fill='none' stroke='%2364BC4E' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 24c14 1 30-4 40-16 3-3 9-6 16-6'/%3E%3Cpath d='M22 21c-2-7 3-13 11-14 2 7-3 13-11 14zM36 13c3-6 9-8 16-6-3 6-9 8-16 6z'/%3E%3C/svg%3E");
}
@media (max-width: 1080px) { .hero-copy .lede::after { display: none; } }
@media (max-width: 860px) {
	.home-hero { min-height: 0; padding-top: 0 !important; padding-bottom: 56px !important; }
	.home-hero .hero-media { position: relative; width: auto; height: 300px; margin: 0 calc(var(--pad-x) * -1) 28px !important; order: -1; }
	.home-hero::before { display: none; }
	.home-hero::after { display: none; }
	.hero-copy .lede { font-size: 1.1rem; }
}

/* 02 Insurance strip */
.ins-strip {
	padding-top: 22px !important; padding-bottom: 22px !important;
	background: var(--pale-blue); border-block: 1px solid #DCEAF4;
}
.ins-row {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px;
}
@media (min-width: 1081px) { .ins-row { flex-wrap: nowrap; } .ins-row > * { white-space: nowrap; } }
.ins-row > * { margin: 0 !important; }
.ins-label { font-family: var(--font-display); color: var(--ink); font-size: .98rem; }
.ins-name { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--blue-text); letter-spacing: .01em; }
.ins-note { font-size: .95rem; color: var(--ink); }
.ins-note a { font-weight: 600; }
@media (max-width: 860px) {
	.ins-row { justify-content: center; }
	.ins-label, .ins-note { flex-basis: 100%; text-align: center; }
	.ins-name { font-size: 1.1rem; }
}

/* 03 Conditions */
.cond-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cond-grid > * { margin: 0 !important; }
.cond-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 28px 18px 26px; text-align: center; transition: transform .25s ease, box-shadow .25s ease;
}
.cond-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.conditions { background: linear-gradient(180deg, #fff 0%, #F6FAF8 100%); }
.cond-card .jicon-wrap { display: block; margin: 0 0 16px; line-height: 0; }
.cond-card .jicon { width: 124px; height: 124px; color: var(--blue); stroke-width: 1.5; }
.cond-card h3 { font-size: 1.38rem; color: var(--blue-text); margin: 0; font-weight: 400; line-height: 1.3; }
.cond-card h3 a { color: inherit; text-decoration: none; }
.cond-card h3 a::after { content: ""; position: absolute; inset: 0; }
.cond-card { position: relative; }
@media (max-width: 1080px) { .cond-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cond-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .cond-card:last-child { grid-column: span 2; } .cond-card { padding: 22px 12px; } .cond-card .jicon { width: 72px; height: 72px; } .cond-card h3 { font-size: 1.1rem; } }

/* 04 Approach */
.approach { background: var(--pale-green); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillars > * { margin: 0 !important; }
.pillar { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 2px 20px; align-items: start; padding: 4px 32px; }
.pillar > * { margin: 0 !important; }
.pillar + .pillar { border-left: 1.5px solid rgba(100, 188, 78, .45); }
.pillar > .jicon-wrap {
	grid-row: span 2; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%;
	border: 2.5px solid var(--green); background: #fff;
}
.pillar .jicon { width: 56px; height: 56px; color: var(--green-text); stroke-width: 2.2; }
.pillar h3 { margin-top: 10px !important; font-size: 1.4rem; color: var(--ink); font-weight: 600; }
.pillar p { color: var(--muted); font-size: 1.15rem; }
.approach { padding-block: calc(var(--sec-y) * 1.1) !important; }
@media (max-width: 860px) {
	.pillars { grid-template-columns: 1fr; gap: 22px; }
	.pillar { padding: 0; }
	.pillar + .pillar { border-left: 0; border-top: 1.5px solid rgba(100, 188, 78, .35); padding-top: 22px; }
}

/* 05 Gentle + 06 Doctor: split bands */
.split {
	display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0;
	padding: 0 !important; overflow: hidden;
}
.split > * { margin: 0 !important; }
.split .split-media { position: relative; align-self: stretch; min-height: 380px; }
.split .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .split-copy { padding: var(--sec-y) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) var(--sec-y) clamp(32px, 6vw, 88px); }
.split .split-copy p { font-size: 1.42rem; line-height: 1.55; }
.gentle .split-media { overflow: hidden; border-radius: 0 220px 120px 0 / 0 200px 180px 0; }
.doctor { border-top: 1px solid var(--line); }
.doctor { grid-template-columns: .8fr 1.2fr; }
.doctor .split-media { background: var(--teal); overflow: hidden; border-radius: 0 160px 280px 0 / 0 220px 220px 0; min-height: 440px; }
.doctor .split-media::after {
	content: ""; position: absolute; left: 14px; bottom: 10px; width: 90px; height: 150px; opacity: .85;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 70' fill='none' stroke='%23fff' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M8 68C12 48 18 30 30 4'/%3E%3Cpath d='M13 50c-8-2-11-8-9-14 7 2 10 8 9 14zM17 40c7-3 13-1 15 4-6 3-12 1-15-4zM20 30c-7-4-8-10-5-15 6 4 7 10 5 15zM24 21c6-4 12-3 14 1-6 4-11 3-14-1z'/%3E%3C/svg%3E");
}
.doctor .split-media img { object-position: 50% 18%; }
.doctor .role { font-family: var(--font-display); color: var(--green-text); font-size: 1.15rem; margin-bottom: .9em; }
.doctor .creds { font-size: .98rem !important; color: var(--blue-text); margin-bottom: 1.4em; }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.split .split-media { min-height: 300px; clip-path: none !important; }
	.doctor .split-media { min-height: 420px; }
	.split .split-copy { padding: 40px var(--gutter) 56px; }
}

/* 07 First visit */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.steps > * { margin: 0 !important; }
.step { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; padding: 6px 28px; }
.step + .step { border-left: 1.5px solid #CFE2EF; }
.step > * { margin: 0 !important; }
.step-num {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--blue-btn); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; align-self: start;
}
.step .jicon-wrap { display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.step .jicon { width: 66px; height: 66px; color: var(--blue); stroke-width: 1.7; }
.step p:first-child, .step > p:nth-child(2) { line-height: 1; }
.step-text strong { display: block; font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 1.35rem; line-height: 1.3; margin-bottom: 2px; }
.step-text { font-size: .98rem; line-height: 1.5; }
@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr; gap: 18px; max-width: 520px; margin-inline: auto; }
	.step { padding: 0; }
	.step + .step { border-left: 0; }
}

/* 08 Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reviews-grid > * { margin: 0 !important; }
.wp-block-quote.review {
	position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 30px 28px 24px 70px; display: flex; flex-direction: column;
}
.wp-block-quote.review::before {
	content: ""; position: absolute; left: 22px; top: 26px; width: 34px; height: 28px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32' fill='%2364BC4E'%3E%3Cpath d='M4 22C4 12 9 5 17 2l2 4c-5 2-8 6-8 10 5 0 8 3 8 7s-3 7-8 7-7-3-7-8zm24 0c0-10 5-17 13-20l2 4c-5 2-8 6-8 10 5 0 8 3 8 7s-3 7-8 7-7-3-7-8z'/%3E%3C/svg%3E");
}
.wp-block-quote.review p { color: var(--ink); font-size: 1.25rem; line-height: 1.6; flex: 1; }
.wp-block-quote.review cite { display: block; text-align: right; font-style: normal; color: var(--blue-text); font-family: var(--font-display); font-size: .98rem; }
@media (max-width: 960px) { .reviews-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* 09 FAQ + CTA */
.faq-cta { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: stretch; background: var(--pale-blue); }
.faq-cta > * { margin: 0 !important; }
.faq-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 26px; }
.faq-panel > * { margin: 0 !important; }
.faq-panel h2 { font-size: 1.35rem; padding: 18px 0 6px; }
.wp-block-details { border-bottom: 1px solid var(--line); padding: 0; }
.wp-block-details:last-child { border-bottom: 0; }
.svc-proof + .faq-cta .wp-block-details summary, .faq-cta .wp-block-details summary { font-weight: 500; }
.wp-block-details summary {
	cursor: pointer; list-style: none; padding: 16px 34px 16px 0; position: relative;
	color: var(--blue-text); font-family: var(--font-display); font-size: 1.15rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 2px solid var(--blue-text); border-bottom: 2px solid var(--blue-text); transform: rotate(45deg); transition: transform .2s;
}
.wp-block-details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.wp-block-details > p { padding-bottom: 14px; margin: 0; }
.cta-card {
	position: relative; overflow: hidden; border-radius: 24px; background: var(--grad); color: #fff;
	padding: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center;
}
.cta-card::after {
	content: ""; position: absolute; right: -10px; top: 10px; width: 200px; height: 200px; opacity: .55; pointer-events: none;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23fff' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M6 40c10 0 20-6 26-18 3-6 9-8 12-8'/%3E%3Cpath d='M20 32c-1-6 3-11 9-12 1 6-3 11-9 12zM30 23c2-5 7-7 11-6-2 5-6 7-11 6zM12 36c-3-4-2-9 2-11 3 4 2 9-2 11z'/%3E%3C/svg%3E");
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; max-width: 12em; }
.cta-card p { color: #fff; font-size: 1.2rem; font-weight: 700; max-width: 22em; }
@media (max-width: 600px) { .cta-card::after { width: 120px; height: 120px; top: auto; bottom: -10px; opacity: .35; } }
@media (max-width: 960px) { .faq-cta { grid-template-columns: 1fr; } }

/* ---------- Inner pages (service template etc.) ---------- */
.entry-title { padding: 56px var(--pad-x) 0; margin: 0; }
.archive-list { padding: 24px var(--pad-x) 64px; }
.entry-card { padding: 18px 0; border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 40px; background: var(--pale-blue); border-radius: 0 0 50% 50% / 0 0 100% 100%; opacity: .9; pointer-events: none; }
.site-footer { padding-top: 84px !important; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 64px var(--pad-x) 32px; position: relative; overflow: hidden; }
.footer-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-logo .logo-img { height: 150px; width: auto; }
.footer-facts { display: flex; flex-wrap: wrap; gap: 18px 40px; list-style: none; margin: 0; padding: 0; flex: 1; }
.footer-facts li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: .98rem; }
.footer-facts address { font-style: normal; }
.footer-facts a { color: var(--ink); text-decoration: none; }
.footer-facts a:hover { color: var(--blue-text); }
.footer-facts svg { width: 30px; height: 30px; color: var(--blue-text); flex: none; stroke-width: 2.6; }
.footer-facts li { font-size: 1.02rem; }
.footer-leaf { width: 260px; height: 260px; position: absolute; right: 0; bottom: -30px; opacity: .85; stroke-width: 1.1; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 18px 0 0; }
.copyright { text-align: center; font-size: .88rem; color: var(--muted); margin: 18px 0 0; }
.mobile-bar { display: none; }
@media (max-width: 860px) {
	.footer-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
	.footer-facts { flex-direction: column; }
	.footer-leaf { display: none; }
	body { padding-bottom: 68px; }
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
		box-shadow: 0 -6px 20px rgba(46, 58, 68, .08);
	}
	.mobile-bar a {
		display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px;
		font-family: var(--font-display); font-weight: 500; text-decoration: none; border: 2px solid var(--blue-text); color: var(--blue-text);
	}
	.mobile-bar .mobile-bar-book { background: var(--green); border-color: var(--green); color: var(--green-ink); }
}

/* ---------- Motion (MOTION-PROFILE.md) ---------- */
.js .sonic-reveal { opacity: 0; transform: translateY(16px); }
.js .sonic-icon-draw path, .js .sonic-icon-draw circle, .js .sonic-icon-draw rect { stroke-dasharray: 160; stroke-dashoffset: 160; }
.js .sonic-icon-draw.is-drawn path, .js .sonic-icon-draw.is-drawn circle, .js .sonic-icon-draw.is-drawn rect { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.33, 1, .68, 1); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .sonic-reveal { opacity: 1 !important; transform: none !important; }
	.js .sonic-icon-draw path, .js .sonic-icon-draw circle, .js .sonic-icon-draw rect { stroke-dasharray: none; stroke-dashoffset: 0; }
	.sonic-cta-hover:hover, .wp-block-button__link:hover, .cond-card:hover { transform: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Editor tweaks ---------- */
.editor-styles-wrapper .home-hero .hero-media { position: relative; width: 100%; }
.editor-styles-wrapper .home-hero::before, .editor-styles-wrapper .home-hero::after { display: none; }

/* ---------- Sonic Boom: conversion layer ---------- */
.hero-trust {
	list-style: none; margin: 1.6em 0 0 !important; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px;
	font-size: .98rem; color: var(--ink); font-weight: 600;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.hero-trust li::before {
	content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--pale-green)
		no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%233B7A2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3'/%3E%3C/svg%3E");
}

.problem { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px 64px; align-items: center; }
.problem > * { margin: 0 !important; }
.problem { padding-bottom: 48px !important; }
.problem-head h2 { color: var(--blue-text); }
.problem-head p { font-size: 1.2rem; }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pain-grid > * { margin: 0 !important; }
.pain {
	display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center;
	background: var(--pale-blue); border-radius: 16px; padding: 18px 20px;
}
.pain > * { margin: 0 !important; }
.pain .jicon { width: 52px; height: 52px; color: var(--blue); }
.pain p { color: var(--ink); font-size: 1.08rem; line-height: 1.45; }
.problem-turn { grid-column: 1 / -1; text-align: center; font-size: 1.3rem; color: var(--ink); font-family: var(--font-display); }
.problem-turn strong { color: var(--green-text); font-weight: 500; }
@media (max-width: 960px) { .problem { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pain-grid { grid-template-columns: 1fr; } }

.stories { background: var(--pale-green); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: stretch; }
.story-grid > * { margin: 0 !important; }
.story { display: flex; flex-direction: column; gap: 10px; }
.story > * { margin: 0 !important; }
.story-tag {
	align-self: flex-start; font-family: var(--font-display); font-size: .9rem; font-weight: 500;
	color: var(--green-ink); background: #DCEFD4; border-radius: 999px; padding: 4px 14px;
}
.story .wp-block-quote.review { flex: 1; }
.story-featured .wp-block-quote.review { background: #fff; border-color: #CFE6C6; }
.story-note { text-align: center; font-size: .95rem; margin-top: 26px !important; }
@media (max-width: 960px) { .story-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; } }

.visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: stretch; }
.visit > * { margin: 0 !important; }
.visit-info { display: flex; flex-direction: column; gap: 14px; }
.visit-info > * { margin: 0 !important; }
.visit-info .wp-block-buttons { margin-top: 10px !important; }
.visit-addr, .visit-hours { font-size: 1.15rem; color: var(--ink); }
.visit-note { font-size: 1rem; margin-top: 1.2em !important; }
.visit-map { background: var(--pale-blue); width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .visit-map { min-height: 300px; } }
@media (max-width: 860px) { .doctor { grid-template-columns: 1fr; } .doctor .split-media, .gentle .split-media { border-radius: 0; } }
.visit-hours strong { display: inline-block; min-width: 6.5em; font-weight: 600; }
.cta-card .wp-block-buttons { justify-content: flex-end; }
.faq-panel { align-self: start; }
@media (max-width: 600px) { .leaf-after::after { display: none; } .cta-card .wp-block-buttons { justify-content: flex-start; } }

/* ---------- Service page template (mockup/page/master.png) ---------- */
.svc-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 0 40px; align-items: center; padding-top: 0 !important; padding-bottom: 0 !important; padding-right: 0 !important; overflow: hidden; }
.svc-hero > * { margin: 0 !important; }
.svc-hero-copy { padding: 48px 0 64px; }
.svc-hero-copy > * { margin-top: 0; }
.breadcrumb { font-size: .95rem; color: var(--muted); margin-bottom: 1.6em !important; }
.breadcrumb a { color: var(--blue-text); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.svc-hero-copy h1 { font-size: clamp(2.2rem, 3.6vw, 3.25rem); font-weight: 500; }
.svc-hero { min-height: 640px; }
.svc-hero-copy h1 { margin-bottom: .55em !important; }
.svc-hero-copy .lede { font-size: 1.42rem; line-height: 1.55; color: var(--ink); max-width: 22em; margin-bottom: 1.5em; }
.svc-hero-copy .hero-trust { flex-direction: column; gap: 12px; font-size: 1.05rem; }
.svc-hero-copy .hero-trust li::before { width: 28px; height: 28px; background-color: #fff; border: 1.5px solid var(--green); background-size: 14px; }
.svc-hero-media { align-self: stretch; position: relative; min-height: 520px; overflow: hidden; border-radius: 300px 0 0 260px / 520px 0 0 360px; }
.svc-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
@media (max-width: 860px) {
	.svc-hero { grid-template-columns: 1fr; padding-right: var(--pad-x) !important; }
	.svc-hero-media { order: -1; min-height: 280px; margin: 0 calc(var(--pad-x) * -1) !important; border-radius: 0 0 0 120px; }
	.svc-hero-copy { padding: 28px 0 48px; }
}

.pain-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain-cards > * { margin: 0 !important; }
.pain-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 28px 20px 26px; text-align: center; }
.pain-card > * { margin: 0 !important; }
.pain-card .jicon-wrap { display: block; line-height: 0; margin-bottom: 16px !important; }
.pain-card .jicon { width: 128px; height: 128px; color: var(--blue); stroke-width: 1.5; }
.pain-card { position: relative; overflow: hidden; }
.pain-card p { color: var(--ink); font-family: var(--font-display); font-size: 1.32rem; line-height: 1.35; }
@media (max-width: 960px) { .pain-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pain-cards { gap: 12px; } .pain-card { padding: 18px 10px; } .pain-card .jicon { width: 72px; height: 72px; } .pain-card p { font-size: 1.05rem; } }

.chip-list { list-style: none; padding: 0; margin: 0 auto !important; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
.chip-list { max-width: 1180px; }
.chip-list li {
	display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
	box-shadow: 0 2px 10px rgba(69, 157, 210, .07); color: var(--ink); font-size: 1.28rem; padding: 18px 22px;
}
.chip-list li::before, .check-list li::before {
	content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--green);
	background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%233B7A2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3'/%3E%3C/svg%3E");
}
@media (max-width: 860px) { .chip-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .chip-list { grid-template-columns: 1fr; } }

.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; border-top: 1px solid var(--line); }
.svc-body > * { margin: 0 !important; }
.svc-body-main { max-width: 760px; }
.svc-body-main h2 { color: var(--blue-text); }
.svc-body-main h3 { margin-top: 1.4em; }
.svc-body-main p { font-size: 1.12rem; color: #4A5560; }
.svc-body-main .check-list { margin-top: 1rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: center; color: var(--ink); font-size: 1.1rem; margin: 0; }
.svc-body-side { position: sticky; top: 110px; background: var(--pale-blue); border-radius: var(--radius); padding: 26px 26px 18px; }
.svc-body-side h3 { font-size: 1.15rem; margin: 0 0 .6em; }
.related-links { list-style: none; padding: 0; margin: 0; }
.related-links li { margin: 0; border-bottom: 1px solid #DCEAF4; }
.related-links li:last-child { border-bottom: 0; }
.related-links a { display: block; padding: 11px 0; text-decoration: none; font-family: var(--font-display); color: var(--blue-text); }
.related-links a::after { content: " \2192"; color: var(--green-text); }
@media (max-width: 960px) { .svc-body { grid-template-columns: 1fr; } .svc-body-side { position: static; } }

.steps-green .step-num { background: var(--green); color: var(--green-ink); }
.svc-approach .step { grid-template-columns: auto auto 1fr; }
.svc-approach .step .jicon-wrap { background: transparent; box-shadow: none; width: 84px; height: 84px; }
.svc-approach .step .jicon { width: 88px; height: 88px; }
.svc-approach .step-text strong { font-size: 1.45rem; }
.svc-approach .step-text { font-size: 1.1rem; }
.therapy-tags { list-style: none; padding: 0; margin: 40px auto 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1100px; }
.therapy-tags li { margin: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 16px 20px; display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--font-display); color: var(--ink); font-size: 1.2rem; }
.therapy-tags .jicon { width: 46px; height: 46px; color: var(--blue); }
.therapy-tags .jicon-wrap { line-height: 0; }
@media (max-width: 860px) { .therapy-tags { grid-template-columns: 1fr 1fr; } }

.svc-proof { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; padding-left: 0 !important; }
.svc-proof > * { margin: 0 !important; }
.proof-doc > * { margin: 0 !important; }
.svc-proof { grid-template-columns: 1fr 1.1fr; padding-bottom: 56px !important; }
.proof-photo { position: relative; height: 460px; background: var(--teal); overflow: hidden; border-radius: 0 160px 220px 0 / 0 200px 200px 0; }
.proof-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.proof-caption { padding: 14px 0 0 var(--gutter); font-family: var(--font-display); font-size: 1.2rem; }
.proof-caption a { text-decoration: none; }
.proof-side { display: flex; flex-direction: column; gap: 18px; }
.proof-side > * { margin: 0 !important; }
.proof-side .wp-block-quote.review { padding: 44px 44px 32px 104px; }
.proof-side .wp-block-quote.review::before { width: 56px; height: 46px; left: 32px; top: 40px; }
.proof-side .wp-block-quote.review p { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.45; }
.proof-side .wp-block-quote.review cite { font-size: 1.15rem; }
.ins-mini { background: var(--pale-blue); border-radius: 14px; padding: 18px 24px 18px 64px; color: var(--ink); font-size: 1.1rem; position: relative; }
.ins-mini::before { content: ""; position: absolute; left: 22px; top: 50%; margin-top: -14px; width: 26px; height: 28px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 28' fill='none' stroke='%232A75A8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2l10 4v7c0 7-5 11-10 13C8 24 3 20 3 13V6z'/%3E%3Cpath d='M8.5 14l3 3 6-6'/%3E%3C/svg%3E"); }
.ins-mini strong { color: var(--blue-text); font-weight: 600; }
@media (max-width: 860px) {
	.svc-proof { grid-template-columns: 1fr; padding-left: var(--pad-x) !important; }
	.proof-photo { margin-left: calc(var(--pad-x) * -1) !important; height: 360px; }
}

.page:not(.home) .cta-card .wp-block-buttons { justify-content: flex-start; }
.svc-body-side { align-self: start; }

/* Template round 3 */
.svc-proof { padding-left: var(--pad-x) !important; grid-template-columns: minmax(0, 480px) 1fr; gap: 56px; }
.proof-doc { text-align: center; }
.proof-photo { height: 500px !important; border-radius: 44% 56% 40% 60% / 50% 42% 58% 50% !important; margin: 0 !important; }
.proof-photo img { object-position: 50% 8% !important; }
.proof-photo::after {
	content: ""; position: absolute; left: 18px; bottom: 30px; width: 80px; height: 140px; opacity: .85; pointer-events: none;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 70' fill='none' stroke='%23fff' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M8 68C12 48 18 30 30 4'/%3E%3Cpath d='M13 50c-8-2-11-8-9-14 7 2 10 8 9 14zM17 40c7-3 13-1 15 4-6 3-12 1-15-4zM20 30c-7-4-8-10-5-15 6 4 7 10 5 15zM24 21c6-4 12-3 14 1-6 4-11 3-14-1z'/%3E%3C/svg%3E");
}
.proof-caption { padding: 16px 0 0 !important; font-weight: 600; text-align: center; }
.proof-side .wp-block-quote.review { padding: 96px 44px 32px 44px !important; }
.proof-side .wp-block-quote.review::before { top: 34px !important; left: 44px !important; }
.therapy-tags .jicon-wrap, .therapy-tags .jicon { flex-shrink: 0; }
.svc-approach .step .jicon, .therapy-tags .jicon { stroke-width: 1.6; }
.svc-hero-copy h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.svc-hero-media { margin: 24px 0 24px !important; border-radius: 50% 0 0 50% / 60% 0 0 40% !important; }
@media (max-width: 860px) {
	.svc-proof { grid-template-columns: 1fr; }
	.proof-photo { height: 420px !important; max-width: 420px; margin-inline: auto !important; }
	.svc-hero-media { margin: 0 calc(var(--pad-x) * -1) !important; border-radius: 0 0 0 120px !important; }
}
@media (max-width: 860px) {
	.therapy-tags li { font-size: 1rem; padding: 14px 12px; gap: 8px; justify-content: flex-start; min-width: 0; }
	.therapy-tags .jicon { width: 32px; height: 32px; }
	.mobile-bar { transform: translateY(110%); transition: transform .3s ease; }
	.mobile-bar.is-visible { transform: none; }
}

/* ---------- Hubs, team, reviews (core pages) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid > *, .hub-card > * { margin: 0 !important; }
.hub-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .25s ease, box-shadow .25s ease; }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.hub-card .jicon { width: 56px; height: 56px; color: var(--blue); }
.hub-card .jicon-wrap { line-height: 0; }
.hub-card h3 { font-size: 1.2rem; font-weight: 500; margin: 6px 0 0 !important; }
.hub-card h3 a { color: var(--blue-text); text-decoration: none; }
.hub-card h3 a::after { content: ""; position: absolute; inset: 0; }
.hub-card p { font-size: 1rem; }
@media (max-width: 1080px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .card-grid { grid-template-columns: 1fr; } }
.chip-links a { text-decoration: none; color: var(--ink); }
.chip-links li:hover { border-color: var(--green); }
.hub-more { text-align: center; margin-top: 28px !important; font-size: 1.1rem; }
.two-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto !important; }
.two-paths > * { margin: 0 !important; }
.path-card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.path-card .jicon { width: 64px; height: 64px; color: var(--blue); }
.path-card h3 a { text-decoration: none; }
.path-card h3 a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 760px) { .two-paths { grid-template-columns: 1fr; } }
.cta-only { grid-template-columns: 1fr !important; }
.cta-only .cta-card { max-width: 900px; margin: 0 auto !important; width: 100%; }
.steps-5 { grid-template-columns: repeat(5, 1fr) !important; }
.steps-5 .step { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 0 12px; }
.steps-5 .step-num { align-self: center; }
@media (max-width: 960px) { .steps-5 { grid-template-columns: 1fr !important; } .steps-5 .step { grid-template-columns: auto auto 1fr; justify-items: start; text-align: left; } }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-grid > * { margin: 0 !important; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.team-card > * { margin: 0 !important; }
.team-photo { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--pale-blue); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.team-card h3 { padding: 20px 22px 0; font-size: 1.25rem; color: var(--blue-text); font-weight: 500; }
.team-role { padding: 2px 22px 0; font-family: var(--font-display); color: var(--green-text); }
.team-bio { padding: 10px 22px 24px; font-size: 1rem; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.reviews-masonry { columns: 3 320px; column-gap: 24px; }
.reviews-masonry > * { break-inside: avoid; margin: 0 0 24px !important; display: block; }
.reviews-masonry .wp-block-quote.review { display: block; }
