/*!
Theme Name: RevantaRCM
Theme URI: https://revantarcm.com/
Author: RevantaRCM
Description: Custom WordPress theme for RevantaRCM — medical billing specialist serving OB/GYN, Internal Medicine & Pediatric practices in GA, FL & TX.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: revantarcm
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
	/* Color — OKLCH, warm-professional strategy */
	/* Forest green: authority, healthcare, money, trust */
	--color-forest:       oklch(30% 0.08 158);    /* deep forest green — primary dark */
	--color-forest-mid:   oklch(38% 0.09 158);    /* medium forest */
	--color-forest-light: oklch(94% 0.025 158);   /* very pale green tint */
	--color-forest-border:oklch(44% 0.07 158);    /* border on dark forest */

	/* Terracotta: warm, human, approachable */
	--color-terra:        oklch(60% 0.11 42);     /* terracotta accent */
	--color-terra-hover:  oklch(54% 0.12 42);
	--color-terra-light:  oklch(95% 0.03 42);     /* very pale terracotta tint */

	/* Neutral: warm ivory base */
	--color-bg:           oklch(97.5% 0.007 80);  /* warm ivory page background */
	--color-surface:      oklch(99% 0.004 80);    /* card surfaces */
	--color-parchment:    oklch(94% 0.012 80);    /* slightly darker ivory for alternating sections */
	--color-text:         oklch(20% 0.01 240);    /* near-black, warm */
	--color-text-mid:     oklch(40% 0.009 240);   /* secondary text */
	--color-text-light:   oklch(58% 0.007 240);   /* captions / muted */
	--color-border:       oklch(88% 0.007 80);    /* soft borders on light */
	--color-border-mid:   oklch(80% 0.009 80);

	/* Functional */
	--color-error:   oklch(52% 0.18 25);
	--color-success: oklch(50% 0.12 155);

	/* Typography */
	--font-heading: 'Playfair Display', Georgia, serif;
	--font-body:    'DM Sans', system-ui, sans-serif;
	--font-mono:    'DM Mono', 'Courier New', monospace;

	/* Type scale — 1.25 ratio */
	--text-xs:   0.75rem;
	--text-sm:   0.875rem;
	--text-base: 1rem;
	--text-lg:   1.125rem;
	--text-xl:   1.25rem;
	--text-2xl:  1.5rem;
	--text-3xl:  1.875rem;
	--text-4xl:  2.25rem;
	--text-5xl:  3rem;
	--text-6xl:  3.75rem;
	--text-7xl:  4.5rem;

	/* Spacing — 4pt base */
	--space-1:  4px;
	--space-2:  8px;
	--space-3:  12px;
	--space-4:  16px;
	--space-5:  20px;
	--space-6:  24px;
	--space-8:  32px;
	--space-10: 40px;
	--space-12: 48px;
	--space-16: 64px;
	--space-20: 80px;
	--space-24: 96px;
	--space-32: 128px;

	/* Layout */
	--container-max:    1180px;
	--container-narrow: 720px;
	--header-height:    68px;

	/* Borders */
	--radius-sm:   3px;
	--radius-md:   6px;
	--radius-lg:   12px;
	--radius-xl:   20px;
	--radius-full: 9999px;

	/* Shadows */
	--shadow-sm: 0 1px 4px oklch(20% 0.01 240 / 0.06), 0 1px 2px oklch(20% 0.01 240 / 0.04);
	--shadow-md: 0 4px 16px oklch(20% 0.01 240 / 0.08), 0 2px 6px oklch(20% 0.01 240 / 0.05);
	--shadow-lg: 0 8px 32px oklch(20% 0.01 240 / 0.10), 0 4px 12px oklch(20% 0.01 240 / 0.06);

	/* Transitions */
	--transition-fast: 150ms ease-out;
	--transition-base: 220ms ease-out;
	--transition-slow: 360ms ease-out;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.65;
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

img, picture, video, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.15;
	color: var(--color-text);
	margin-top: 0;
}

p {
	margin-top: 0;
	max-width: 68ch;
}

a {
	color: var(--color-forest-mid);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover { color: var(--color-forest); }

a:focus-visible {
	outline: 2px solid var(--color-terra);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

ul, ol { margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--space-6);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100%;
	left: var(--space-4);
	z-index: 1000;
	padding: var(--space-2) var(--space-4);
	background: var(--color-forest);
	color: oklch(97.5% 0.007 80);
	font-weight: 600;
	border-radius: var(--radius-md);
	transition: top var(--transition-fast);
}

.skip-link:focus { top: var(--space-4); }

/* ==========================================================================
   SITE HEADER
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--header-height);
	background: oklch(99% 0.004 80 / 0.96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
	border-bottom-color: var(--color-border);
	box-shadow: 0 1px 12px oklch(20% 0.01 240 / 0.08);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	gap: var(--space-6);
}

.site-branding { flex-shrink: 0; }

.site-branding a {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	text-decoration: none;
}

.site-title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: 1;
	color: var(--color-forest);
	letter-spacing: -0.01em;
}

.site-title span {
	color: var(--color-terra);
}

.site-description { display: none; }

/* Primary navigation */
.main-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 0;
}

.main-navigation ul li a {
	display: block;
	padding: var(--space-2) var(--space-4);
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--color-text-mid);
	border-radius: var(--radius-md);
	transition: color var(--transition-fast), background-color var(--transition-fast);
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
	color: var(--color-forest);
	background-color: var(--color-forest-light);
}

/* Dropdown menu */
.main-navigation ul li {
	position: relative;
}

.main-navigation ul ul {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: oklch(99% 0.004 80);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	gap: 0;
	padding: var(--space-2);
	z-index: 200;
	/* invisible by default — no gap so hover never breaks */
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity var(--transition-fast), transform var(--transition-fast);
	/* bridge: invisible padding covers the gap between link and panel */
	padding-top: calc(var(--space-2) + 6px);
	margin-top: -6px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li:focus-within > ul {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.main-navigation ul ul li a {
	color: var(--color-text);
	font-size: var(--text-sm);
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-md);
	white-space: nowrap;
}

.main-navigation ul ul li a:hover {
	color: var(--color-forest);
	background-color: var(--color-forest-light);
}

/* Services parent item indicator */
.main-navigation ul li.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 4px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	vertical-align: middle;
	opacity: 0.6;
}

/* Header CTA */
.header-cta {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	flex-shrink: 0;
}

.header-phone {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--color-forest);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.header-phone:hover { color: var(--color-terra); }

.header-phone svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

/* Mobile toggle */
.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: none;
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	color: var(--color-forest);
	transition: background-color var(--transition-fast);
}

.menu-toggle:hover { background-color: var(--color-forest-light); }
.menu-toggle svg { width: 20px; height: 20px; pointer-events: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ── Mobile nav overlay (sits outside header in DOM) ── */

.mobile-nav {
	display: none;
}

@media (max-width: 900px) {
	.menu-toggle { display: flex; }
	.header-phone span { display: none; }

	/* hide desktop nav on mobile */
	.main-navigation { display: none; }

	/* mobile overlay */
	.mobile-nav {
		display: block;
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		bottom: 0;
		background: oklch(99% 0.004 80);
		z-index: 999;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform var(--transition-base);
		border-top: 1px solid var(--color-border);
	}

	.mobile-nav.nav-open {
		transform: translateX(0);
	}

	.mobile-nav nav {
		padding: var(--space-6) var(--space-6) var(--space-16);
	}

	/* top-level links */
	.mobile-nav ul {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.mobile-nav ul li {
		position: static;
	}

	.mobile-nav ul li a {
		display: block;
		font-size: var(--text-xl);
		font-weight: 600;
		color: var(--color-forest);
		padding: var(--space-4) 0;
		border-bottom: 1px solid var(--color-border);
		border-radius: 0;
		background: none;
		text-decoration: none;
	}

	.mobile-nav ul li a:hover {
		color: var(--color-terra);
		background: none;
	}

	/* submenu — inline indented */
	.mobile-nav ul ul {
		display: flex;
		flex-direction: column;
		padding-left: var(--space-5);
		border: none;
		box-shadow: none;
		position: static;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		background: transparent;
		padding-top: 0;
		margin-top: 0;
	}

	.mobile-nav ul ul li a {
		font-size: var(--text-base);
		font-weight: 500;
		color: var(--color-text-mid);
		padding: var(--space-3) 0;
	}

	/* CTA strip at bottom */
	.mobile-nav-cta {
		margin-top: var(--space-8);
		display: flex;
		flex-direction: column;
		gap: var(--space-4);
	}

	.mobile-nav-cta .mobile-phone {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: var(--space-2);
		font-size: var(--text-base);
		font-weight: 600;
		color: var(--color-forest);
		text-decoration: none;
	}

	.mobile-nav-cta .mobile-phone svg {
		width: 18px;
		height: 18px;
	}
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: 11px var(--space-6);
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	border-radius: var(--radius-md);
	border: 1.5px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background-color var(--transition-fast), color var(--transition-fast),
	            border-color var(--transition-fast), box-shadow var(--transition-fast);
	white-space: nowrap;
	min-height: 44px;
}

.btn:focus-visible {
	outline: 2px solid var(--color-terra);
	outline-offset: 3px;
}

.btn-primary {
	background-color: var(--color-forest);
	color: oklch(97.5% 0.007 80);
	border-color: var(--color-forest);
}

.btn-primary:hover {
	background-color: var(--color-forest-mid);
	border-color: var(--color-forest-mid);
	color: oklch(97.5% 0.007 80);
	box-shadow: 0 4px 16px oklch(30% 0.08 158 / 0.28);
}

.btn-terra {
	background-color: var(--color-terra);
	color: oklch(99% 0.004 80);
	border-color: var(--color-terra);
}

.btn-terra:hover {
	background-color: var(--color-terra-hover);
	border-color: var(--color-terra-hover);
	color: oklch(99% 0.004 80);
	box-shadow: 0 4px 16px oklch(60% 0.11 42 / 0.30);
}

.btn-outline {
	background-color: transparent;
	color: var(--color-forest);
	border-color: var(--color-forest);
}

.btn-outline:hover {
	background-color: var(--color-forest);
	color: oklch(97.5% 0.007 80);
}

.btn-outline-light {
	background-color: transparent;
	color: oklch(97.5% 0.007 80);
	border-color: oklch(97.5% 0.007 80 / 0.5);
}

.btn-outline-light:hover {
	background-color: oklch(97.5% 0.007 80 / 0.12);
	border-color: oklch(97.5% 0.007 80 / 0.8);
}

/* alias for backwards compat in templates */
.btn-gold { background-color: var(--color-terra); color: oklch(99% 0.004 80); border-color: var(--color-terra); }
.btn-gold:hover { background-color: var(--color-terra-hover); border-color: var(--color-terra-hover); color: oklch(99% 0.004 80); }

/* form panel inside tinted/colored sections: flatten the box */
.section--terra-tint .lead-form-panel,
.section--forest-tint .lead-form-panel {
	box-shadow: var(--shadow-md);
}

.btn-lg {
	padding: 14px var(--space-8);
	font-size: var(--text-base);
	min-height: 52px;
}

.btn-sm {
	padding: var(--space-2) var(--space-4);
	font-size: var(--text-xs);
	min-height: 36px;
}

.btn svg {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}

/* ==========================================================================
   CREDENTIALS STRIP  (replaces scrolling marquee)
   ========================================================================== */

.cred-strip {
	background-color: var(--color-forest);
	padding: var(--space-4) 0;
}

.cred-strip-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--space-8);
}

.cred-item {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-sm);
	font-weight: 500;
	color: oklch(88% 0.025 158);
	white-space: nowrap;
}

.cred-item svg {
	width: 15px;
	height: 15px;
	color: oklch(75% 0.06 80); /* warm pale gold-white */
	flex-shrink: 0;
}

.cred-divider {
	width: 1px;
	height: 18px;
	background: oklch(97.5% 0.007 80 / 0.12);
}

@media (max-width: 768px) {
	.cred-strip-inner { gap: var(--space-4); }
	.cred-divider { display: none; }
	.cred-item { font-size: var(--text-xs); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
	padding-block: var(--space-20);
}

.section--lg {
	padding-block: var(--space-32);
}

.section--sm {
	padding-block: var(--space-12);
}

.section--forest {
	background-color: var(--color-forest);
	color: oklch(88% 0.025 158);
}

.section--forest h1,
.section--forest h2,
.section--forest h3,
.section--forest h4 {
	color: oklch(97.5% 0.007 80);
}

.section--parchment {
	background-color: var(--color-parchment);
}

.section--terra-tint {
	background-color: var(--color-terra-light);
}

.section--forest-tint {
	background-color: var(--color-forest-light);
}

.section-label {
	display: inline-block;
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-terra);
	margin-bottom: var(--space-4);
}

.section--forest .section-label {
	color: oklch(75% 0.06 80);
}

.section-heading {
	font-family: var(--font-heading);
	font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: var(--space-4);
	line-height: 1.15;
}

.section-subhead {
	font-size: var(--text-lg);
	color: var(--color-text-mid);
	max-width: 54ch;
	margin-bottom: var(--space-10);
	line-height: 1.6;
}

@media (max-width: 768px) {
	.section { padding-block: var(--space-12); }
	.section--lg { padding-block: var(--space-16); }
}

/* ==========================================================================
   HERO — HOMEPAGE  (editorial split, form-forward)
   ========================================================================== */

.hero {
	padding-top: calc(var(--header-height) + var(--space-16));
	padding-bottom: var(--space-16);
	background-color: var(--color-bg);
	position: relative;
}

/* subtle ruled line texture from top */
.hero::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--color-terra);
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: var(--space-12);
	align-items: start;
}

.hero-headline {
	font-family: var(--font-heading);
	font-size: clamp(2.4rem, 5.5vw, 4rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--color-forest);
	margin-bottom: var(--space-6);
	max-width: 14ch;
}

.hero-headline em {
	font-style: italic;
	color: var(--color-terra);
}

.hero-sub {
	font-size: var(--text-lg);
	color: var(--color-text-mid);
	line-height: 1.65;
	margin-bottom: var(--space-8);
	max-width: 50ch;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	flex-wrap: wrap;
	margin-bottom: var(--space-10);
}

.hero-divider {
	height: 1px;
	background: var(--color-border);
	margin-bottom: var(--space-8);
}

/* proof row: 3 stats inline under headline */
.hero-proof {
	display: flex;
	gap: var(--space-8);
	padding-top: var(--space-6);
	border-top: 1px solid var(--color-border);
}

.hero-proof-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hero-proof-num {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-forest);
	line-height: 1;
}

.hero-proof-label {
	font-size: var(--text-xs);
	font-weight: 500;
	color: var(--color-text-light);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* hero form panel */
.hero-form-panel {
	background: oklch(99% 0.004 80);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-6);
	box-shadow: var(--shadow-md);
	position: sticky;
	top: calc(var(--header-height) + var(--space-4));
}

/* when lead-form-panel is nested inside hero-form-panel, flatten it */
.hero-form-panel .lead-form-panel {
	background: none;
	border: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.hero-form-panel .form-panel-label {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-terra);
	margin-bottom: var(--space-2);
}

.hero-form-heading {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--color-forest);
	margin-bottom: var(--space-5);
	margin-top: var(--space-1);
	line-height: 1.2;
	max-width: none;
}

/* suppress the duplicate title/subtitle from lead-form partial when inside hero */
.hero-form-panel .lead-form-title { display: none; }
.hero-form-panel .lead-form-subtitle { display: none; }

@media (max-width: 960px) {
	.hero-inner {
		grid-template-columns: 1fr;
	}

	.hero-form-panel {
		position: static;
	}

	.hero-headline {
		max-width: none;
	}
}

@media (max-width: 560px) {
	.hero {
		padding-top: calc(var(--header-height) + var(--space-10));
		padding-bottom: var(--space-10);
	}

	.hero-proof {
		gap: var(--space-5);
	}
}

/* ==========================================================================
   ABOUT  (full-bleed photo, editorial text panel)
   ========================================================================== */

.about-section {
	display: grid;
	grid-template-columns: 420px 1fr;
	min-height: 0;
}

.about-photo-side {
	position: relative;
	overflow: hidden;
	min-height: 0;
}

.about-photo-side img {
	width: 100%;
	height: 100%;
	max-height: 560px;
	object-fit: cover;
	object-position: center 10%;
	display: block;
}

.about-photo-caption {
	position: absolute;
	bottom: var(--space-8);
	left: var(--space-8);
	background: oklch(99% 0.004 80 / 0.96);
	border-radius: var(--radius-md);
	padding: var(--space-4) var(--space-5);
	box-shadow: var(--shadow-md);
}

.about-photo-caption strong {
	display: block;
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-forest);
	line-height: 1;
}

.about-photo-caption span {
	font-size: var(--text-sm);
	color: var(--color-text-light);
}

.about-text-side {
	background-color: var(--color-parchment);
	padding: var(--space-16) var(--space-12);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.about-text-side .checklist {
	margin-bottom: var(--space-10);
}

@media (max-width: 860px) {
	.about-section {
		grid-template-columns: 1fr;
	}

	.about-photo-side img {
		max-height: 380px;
	}

	.about-text-side {
		padding: var(--space-12) var(--space-6);
	}
}

/* ==========================================================================
   CHECKLIST
   ========================================================================== */

.checklist {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin-bottom: var(--space-8);
}

.checklist-item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	font-size: var(--text-base);
	color: var(--color-text);
	line-height: 1.5;
}

.checklist-item svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--color-terra);
}

/* ==========================================================================
   SERVICES  (editorial numbered rows, not icon-card grid)
   ========================================================================== */

.services-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.service-row {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	align-items: center;
	gap: var(--space-8);
	padding: var(--space-8) 0;
	border-bottom: 1px solid var(--color-border);
	text-decoration: none;
	color: inherit;
	transition: background-color var(--transition-fast);
	cursor: pointer;
}

.service-row:first-child {
	border-top: 1px solid var(--color-border);
}

.service-row:hover {
	background-color: var(--color-forest-light);
	margin-inline: calc(-1 * var(--space-6));
	padding-inline: var(--space-6);
}

.service-row:hover .service-row-num {
	color: var(--color-terra);
}

.service-row:hover .service-row-arrow {
	transform: translateX(4px);
	color: var(--color-forest);
}

.service-row-num {
	font-family: var(--font-heading);
	font-size: var(--text-3xl);
	font-weight: 700;
	color: var(--color-border-mid);
	line-height: 1;
	transition: color var(--transition-fast);
	user-select: none;
}

.service-row-body h3 {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--color-forest);
	margin-bottom: var(--space-1);
	line-height: 1.2;
}

.service-row-body p {
	font-size: var(--text-sm);
	color: var(--color-text-mid);
	margin: 0;
	max-width: 52ch;
	line-height: 1.5;
}

.service-row-arrow {
	width: 24px;
	height: 24px;
	color: var(--color-border-mid);
	flex-shrink: 0;
	transition: transform var(--transition-base), color var(--transition-fast);
}

@media (max-width: 600px) {
	.service-row {
		grid-template-columns: 48px 1fr;
	}

	.service-row-arrow { display: none; }
	.service-row-num { font-size: var(--text-2xl); }
}

/* ==========================================================================
   SERVICE CARDS  (for services hub page grid)
   ========================================================================== */

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-6);
}

.service-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: var(--space-8);
	background: oklch(99% 0.004 80);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	text-decoration: none;
	color: inherit;
	transition: box-shadow var(--transition-base), border-color var(--transition-fast), transform var(--transition-slow);
	cursor: pointer;
}

.service-card:hover {
	box-shadow: var(--shadow-md);
	border-color: var(--color-forest-border);
	transform: translateY(-2px);
}

.service-card-num {
	font-family: var(--font-heading);
	font-size: var(--text-3xl);
	font-weight: 700;
	color: var(--color-border-mid);
	line-height: 1;
}

.service-card:hover .service-card-num {
	color: var(--color-terra);
}

.service-card h3 {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--color-forest);
	line-height: 1.2;
	margin: 0;
}

.service-card p {
	font-size: var(--text-sm);
	color: var(--color-text-mid);
	margin: 0;
	line-height: 1.55;
}

.service-card-link {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--color-forest-mid);
	margin-top: auto;
	transition: color var(--transition-fast);
}

.service-card-link svg {
	width: 16px;
	height: 16px;
	transition: transform var(--transition-base);
}

.service-card:hover .service-card-link {
	color: var(--color-forest);
}

.service-card:hover .service-card-link svg {
	transform: translateX(4px);
}

/* icon variant for services hub page */
.service-card-icon {
	width: 44px;
	height: 44px;
	background: var(--color-forest-light);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
}

.service-card-icon svg {
	width: 22px;
	height: 22px;
	color: var(--color-forest-mid);
}

@media (max-width: 900px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-6);
	align-items: start;
}

.testimonial-card {
	background: oklch(99% 0.004 80);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-8);
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.testimonial-stars {
	display: flex;
	gap: 2px;
}

.testimonial-stars svg {
	width: 16px;
	height: 16px;
	color: var(--color-terra);
	fill: var(--color-terra);
}

.testimonial-quote {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-style: italic;
	color: var(--color-text);
	line-height: 1.5;
	margin: 0;
	flex: 1;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding-top: var(--space-4);
	border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
	width: 40px;
	height: 40px;
	background: var(--color-forest-light);
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-size: var(--text-sm);
	font-weight: 700;
	color: var(--color-forest);
	flex-shrink: 0;
}

.testimonial-name {
	font-weight: 600;
	font-size: var(--text-sm);
	color: var(--color-text);
	line-height: 1.2;
}

.testimonial-role {
	font-size: var(--text-xs);
	color: var(--color-text-light);
}

@media (max-width: 900px) {
	.testimonials-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
}

@media (max-width: 600px) {
	.testimonials-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WHY ME  (numbered credential items)
   ========================================================================== */

.why-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-10) var(--space-16);
}

.why-item {
	display: flex;
	gap: var(--space-5);
	align-items: flex-start;
}

.why-item-num {
	font-family: var(--font-heading);
	font-size: var(--text-4xl);
	font-weight: 700;
	color: var(--color-terra);
	line-height: 1;
	flex-shrink: 0;
	width: 56px;
	opacity: 0.7;
}

.why-item-body h3 {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--color-forest);
	margin-bottom: var(--space-2);
}

.why-item-body p {
	font-size: var(--text-base);
	color: var(--color-text-mid);
	margin: 0;
	line-height: 1.6;
}

@media (max-width: 768px) {
	.why-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ==========================================================================
   PROCESS  (horizontal step row)
   ========================================================================== */

.process-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-8);
	position: relative;
}

.process-steps::before {
	content: '';
	position: absolute;
	top: 28px;
	left: calc(12.5% + var(--space-6));
	right: calc(12.5% + var(--space-6));
	height: 1px;
	background: oklch(97.5% 0.007 80 / 0.25);
}

.process-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-4);
}

.process-step-num {
	width: 56px;
	height: 56px;
	background: var(--color-terra);
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	color: oklch(99% 0.004 80);
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.process-step h3 {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: 700;
	color: oklch(97.5% 0.007 80);
	margin-bottom: var(--space-2);
}

.process-step p {
	font-size: var(--text-sm);
	color: oklch(72% 0.025 158);
	margin: 0;
	max-width: 22ch;
}

@media (max-width: 768px) {
	.process-steps {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-8);
	}

	.process-steps::before { display: none; }
}

@media (max-width: 480px) {
	.process-steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTACT GRID  (info + form side by side)
   ========================================================================== */

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-16);
	align-items: start;
}

.contact-info-item {
	display: flex;
	gap: var(--space-4);
	align-items: flex-start;
	margin-bottom: var(--space-6);
}

.contact-info-icon {
	width: 44px;
	height: 44px;
	background: var(--color-forest-light);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-info-icon svg {
	width: 20px;
	height: 20px;
	color: var(--color-forest-mid);
}

.contact-info-label {
	display: block;
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-light);
	margin-bottom: 2px;
}

.contact-info-value {
	font-size: var(--text-base);
	font-weight: 600;
	color: var(--color-text);
}

a.contact-info-value:hover {
	color: var(--color-terra);
}

@media (max-width: 768px) {
	.contact-grid {
		grid-template-columns: 1fr;
		gap: var(--space-10);
	}
}

/* ==========================================================================
   LEAD FORM PANEL
   ========================================================================== */

.lead-form-panel {
	background: oklch(99% 0.004 80);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-8);
	box-shadow: var(--shadow-sm);
}

.lead-form-panel--dark {
	background: oklch(30% 0.08 158 / 0.6);
	border-color: var(--color-forest-border);
}

.lead-form-panel h3,
.lead-form-panel .form-panel-heading {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-forest);
	margin-bottom: var(--space-6);
	line-height: 1.2;
}

.lead-form-panel--dark h3,
.lead-form-panel--dark .form-panel-heading {
	color: oklch(97.5% 0.007 80);
}

/* Form fields */
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-3);
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: var(--space-3);
}

.form-group label,
.form-label {
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--color-text);
}

.lead-form-panel--dark .form-group label,
.lead-form-panel--dark .form-label {
	color: oklch(88% 0.025 158);
}

.form-group input,
.form-group select,
.form-group textarea,
.form-input,
.form-select,
.form-textarea {
	width: 100%;
	padding: var(--space-2) var(--space-3);
	font-family: var(--font-body);
	font-size: var(--text-sm);
	color: var(--color-text);
	background: oklch(99% 0.004 80);
	border: 1.5px solid var(--color-border-mid);
	border-radius: var(--radius-md);
	outline: none;
	transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
	min-height: 40px;
	appearance: none;
	-webkit-appearance: none;
}

.lead-form-panel--dark .form-group input,
.lead-form-panel--dark .form-group select,
.lead-form-panel--dark .form-group textarea,
.lead-form-panel--dark .form-input,
.lead-form-panel--dark .form-select,
.lead-form-panel--dark .form-textarea {
	background: oklch(22% 0.05 158 / 0.5);
	border-color: var(--color-forest-border);
	color: oklch(97.5% 0.007 80);
}

.lead-form-panel--dark .form-group input::placeholder,
.lead-form-panel--dark .form-group textarea::placeholder,
.lead-form-panel--dark .form-input::placeholder,
.lead-form-panel--dark .form-textarea::placeholder {
	color: oklch(65% 0.04 158);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	border-color: var(--color-forest-mid);
	box-shadow: 0 0 0 3px oklch(30% 0.08 158 / 0.12);
}

.form-group textarea,
.form-textarea {
	resize: vertical;
	min-height: 80px;
}

.form-group select,
.form-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23404040'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 15px;
	padding-right: 36px;
	cursor: pointer;
}

.form-error,
.field-error {
	font-size: var(--text-xs);
	color: var(--color-error);
	display: none;
	margin-top: 2px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea,
.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
	border-color: var(--color-error);
}

.form-group.has-error .field-error,
.form-group.has-error .form-error { display: block; }

/* HIPAA notice */
.hipaa-notice,
.form-hipaa {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	font-size: 11px;
	color: var(--color-text-light);
	line-height: 1.5;
	margin-bottom: var(--space-4);
}

.hipaa-notice p,
.form-hipaa p {
	margin: 0;
	max-width: none;
}

.lead-form-panel--dark .hipaa-notice,
.lead-form-panel--dark .form-hipaa {
	color: oklch(60% 0.03 158);
}

.hipaa-notice svg,
.form-hipaa svg {
	width: 13px;
	height: 13px;
	min-width: 13px;
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--color-text-light);
}

/* form title inside panel (used when panel is standalone) */
.lead-form-title {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--color-forest);
	margin-bottom: var(--space-1);
	line-height: 1.2;
}

.lead-form-subtitle {
	font-size: var(--text-sm);
	color: var(--color-text-mid);
	margin-bottom: var(--space-5);
	max-width: none;
	line-height: 1.5;
}

.required {
	color: var(--color-terra);
}

.form-submit {
	width: 100%;
	justify-content: center;
}

/* form success state */
.form-success {
	display: none;
	text-align: center;
	padding: var(--space-6);
}

.form-success.visible {
	display: block;
}

.form-success svg {
	width: 48px;
	height: 48px;
	color: var(--color-forest-mid);
	margin: 0 auto var(--space-4);
}

.form-success h3 {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	color: var(--color-forest);
	margin-bottom: var(--space-2);
}

.form-success p {
	font-size: var(--text-base);
	color: var(--color-text-mid);
	max-width: 36ch;
	margin: 0 auto var(--space-5);
}

@media (max-width: 560px) {
	.form-row { grid-template-columns: 1fr; }
	.lead-form-panel { padding: var(--space-5); }
}

/* ==========================================================================
   PAGE HERO  (inner pages)
   ========================================================================== */

.page-hero {
	background-color: var(--color-forest);
	padding-top: calc(var(--header-height) + var(--space-16));
	padding-bottom: var(--space-16);
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-45deg,
		oklch(97.5% 0.007 80 / 0.02) 0px,
		oklch(97.5% 0.007 80 / 0.02) 1px,
		transparent 1px,
		transparent 28px
	);
}

.page-hero .container {
	position: relative;
}

.page-hero .section-label {
	color: oklch(75% 0.06 80);
}

.page-hero h1 {
	font-family: var(--font-heading);
	font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
	font-weight: 700;
	color: oklch(97.5% 0.007 80);
	margin-bottom: var(--space-4);
	max-width: 18ch;
	line-height: 1.1;
}

.page-hero p {
	font-size: var(--text-lg);
	color: oklch(72% 0.025 158);
	max-width: 52ch;
	margin: 0;
}

/* ==========================================================================
   SERVICE PAGE  (dedicated service template)
   ========================================================================== */

.service-page-header {
	background-color: var(--color-forest);
	padding-top: calc(var(--header-height) + var(--space-10));
	padding-bottom: var(--space-10);
}

.service-page-header .breadcrumb {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-bottom: var(--space-4);
	font-size: var(--text-sm);
	color: oklch(72% 0.025 158);
}

.service-page-header .breadcrumb a {
	color: oklch(72% 0.025 158);
	text-decoration: none;
}

.service-page-header .breadcrumb a:hover { color: #fff; }

.service-page-header .breadcrumb svg {
	width: 14px;
	height: 14px;
	opacity: 0.5;
}

.service-page-header h1 {
	font-family: var(--font-heading);
	font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	margin-bottom: var(--space-4);
}

.service-page-subtitle {
	color: oklch(72% 0.025 158);
	font-size: var(--text-lg);
	max-width: 60ch;
	margin: 0;
}

.service-hero {
	background-color: var(--color-forest);
	padding-top: calc(var(--header-height) + var(--space-16));
	padding-bottom: 0;
	position: relative;
	overflow: hidden;
}

.service-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-45deg,
		oklch(97.5% 0.007 80 / 0.02) 0px,
		oklch(97.5% 0.007 80 / 0.02) 1px,
		transparent 1px,
		transparent 28px
	);
}

.service-hero-inner {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: var(--space-12);
	align-items: center;
	position: relative;
}

.service-hero-content {
	padding-bottom: 0;
}

.service-hero-content .breadcrumb {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-sm);
	color: oklch(65% 0.04 158);
	margin-bottom: var(--space-5);
}

.breadcrumb a {
	color: oklch(65% 0.04 158);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.breadcrumb a:hover { color: oklch(88% 0.025 158); }

.breadcrumb svg {
	width: 14px;
	height: 14px;
}

.service-hero-content h1 {
	font-family: var(--font-heading);
	font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
	font-weight: 700;
	color: oklch(97.5% 0.007 80);
	margin-bottom: var(--space-5);
	line-height: 1.1;
}

.service-hero-content .hero-sub {
	color: oklch(72% 0.025 158);
	margin-bottom: var(--space-8);
	max-width: 50ch;
}

.service-hero-content .hero-actions {
	margin-bottom: 0;
}

.service-hero-form {
	background: oklch(99% 0.004 80);
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	padding: var(--space-8);
	box-shadow: var(--shadow-lg);
	align-self: end;
}

@media (max-width: 900px) {
	.service-hero-inner {
		grid-template-columns: 1fr;
	}

	.service-hero-content { padding-bottom: var(--space-8); }

	.service-hero-form {
		border-radius: var(--radius-lg);
		margin-bottom: var(--space-8);
	}
}

/* ==========================================================================
   ABOUT PAGE STATS
   ========================================================================== */

.stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-8);
	text-align: center;
}

.stat-block {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.stat-block-value {
	font-family: var(--font-heading);
	font-size: var(--text-4xl);
	font-weight: 700;
	color: oklch(97.5% 0.007 80);
	line-height: 1;
}

.stat-block-label {
	font-size: var(--text-sm);
	color: oklch(65% 0.04 158);
	font-weight: 500;
	letter-spacing: 0.04em;
}

@media (max-width: 640px) {
	.stats-row {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--space-6);
	}
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */

.thankyou-wrap {
	min-height: calc(100svh - var(--header-height));
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-16) var(--space-6);
	background-color: var(--color-bg);
	padding-top: calc(var(--header-height) + var(--space-16));
}

.thankyou-card {
	background: oklch(99% 0.004 80);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	padding: var(--space-16) var(--space-12);
	max-width: 540px;
	width: 100%;
	text-align: center;
	box-shadow: var(--shadow-md);
}

.thankyou-icon {
	width: 72px;
	height: 72px;
	background: var(--color-forest-light);
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto var(--space-6);
}

.thankyou-icon svg {
	width: 36px;
	height: 36px;
	color: var(--color-forest-mid);
}

.thankyou-card h1 {
	font-family: var(--font-heading);
	font-size: var(--text-3xl);
	font-weight: 700;
	color: var(--color-forest);
	margin-bottom: var(--space-4);
}

.thankyou-card > p {
	font-size: var(--text-base);
	color: var(--color-text-mid);
	margin-bottom: var(--space-8);
}

.thankyou-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-6);
	background: var(--color-forest-light);
	border-radius: var(--radius-lg);
	margin-bottom: var(--space-6);
}

@media (max-width: 560px) {
	.thankyou-card {
		padding: var(--space-10) var(--space-6);
	}
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.faq-item {
	padding: var(--space-6) 0;
	border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
	border-top: 1px solid var(--color-border);
}

.faq-question {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: 700;
	color: var(--color-forest);
	margin-bottom: var(--space-3);
	line-height: 1.3;
	cursor: pointer;
}

.faq-answer p {
	font-size: var(--text-base);
	color: var(--color-text-mid);
	line-height: 1.65;
	margin: 0;
	max-width: 70ch;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
	background-color: var(--color-forest);
	color: oklch(72% 0.025 158);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
	gap: var(--space-10);
	padding-block: var(--space-16);
	border-bottom: 1px solid oklch(97.5% 0.007 80 / 0.08);
	align-items: start;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.footer-brand .site-title {
	color: oklch(97.5% 0.007 80);
	font-size: var(--text-xl);
}

.footer-brand .site-title span {
	color: oklch(75% 0.06 80);
}

.footer-brand-tagline,
.footer-tagline {
	font-size: var(--text-sm);
	color: oklch(65% 0.04 158);
	line-height: 1.6;
	max-width: 32ch;
	margin: 0 0 var(--space-4);
}

.footer-brand-contact {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	margin-top: var(--space-2);
}

.footer-brand-contact a,
.footer-phone-link,
.footer-email-link {
	font-size: var(--text-sm);
	color: oklch(88% 0.025 158);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: var(--space-2);
	transition: color var(--transition-fast);
	margin-bottom: var(--space-2);
}

.footer-brand-contact a:hover,
.footer-phone-link:hover,
.footer-email-link:hover { color: oklch(97.5% 0.007 80); }

.footer-brand-contact svg,
.footer-phone-link svg,
.footer-email-link svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.footer-address {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: var(--text-sm);
	color: oklch(75% 0.01 80);
	margin-top: var(--space-2);
}

.footer-col .footer-heading,
.footer-nav-col h4 {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: oklch(55% 0.04 158);
	margin-bottom: var(--space-5);
	margin-top: 0;
}

/* wp_nav_menu ul/li output */
.footer-col ul,
.footer-nav-col ul {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.footer-col ul li a,
.footer-nav-col ul li a {
	font-size: var(--text-sm);
	color: oklch(97.5% 0.007 80);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.footer-col ul li a:hover,
.footer-nav-col ul li a:hover { color: oklch(75% 0.06 80); }

/* fallback nav bare-link output */
.footer-col .footer-nav,
.footer-nav-col .footer-nav {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.footer-col .footer-nav a,
.footer-nav-col .footer-nav a {
	font-size: var(--text-sm);
	color: oklch(97.5% 0.007 80);
	text-decoration: none;
	transition: color var(--transition-fast);
	display: block;
}

.footer-col .footer-nav a:hover,
.footer-nav-col .footer-nav a:hover { color: oklch(75% 0.06 80); }

/* ==========================================================================
   BLOG INDEX
   ========================================================================== */

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-8);
}

.blog-card {
	display: flex;
	flex-direction: column;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow var(--transition-base), transform var(--transition-slow);
}

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

.blog-card-thumb {
	display: block;
	width: 100% !important;
	height: 220px !important;
	overflow: hidden !important;
	background: var(--color-forest-light);
	flex-shrink: 0;
	position: relative;
}

.blog-card-thumb img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 220px !important;
	object-fit: cover !important;
	object-position: center top !important;
	display: block !important;
	transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-thumb img {
	transform: scale(1.03);
}

.blog-card-thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 220px;
}

.blog-card-thumb--placeholder svg {
	width: 40px;
	height: 40px;
	color: var(--color-forest-border);
}

.blog-card-body {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-6);
	flex: 1;
}

.blog-card-meta {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	font-size: var(--text-xs);
	color: var(--color-text-light);
}

.blog-card-cat {
	display: inline-block;
	padding: 2px var(--space-2);
	background: var(--color-terra-light);
	color: var(--color-terra);
	border-radius: var(--radius-full);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.blog-card-title {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.blog-card-title a {
	color: var(--color-forest);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.blog-card-title a:hover { color: var(--color-terra); }

.blog-card-excerpt {
	font-size: var(--text-sm);
	color: var(--color-text-mid);
	line-height: 1.6;
	margin: 0;
	flex: 1;
}

.blog-card-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--color-forest-mid);
	text-decoration: none;
	margin-top: auto;
	transition: color var(--transition-fast);
}

.blog-card-link svg {
	width: 15px;
	height: 15px;
	transition: transform var(--transition-base);
}

.blog-card:hover .blog-card-link {
	color: var(--color-forest);
}

.blog-card:hover .blog-card-link svg {
	transform: translateX(4px);
}

.blog-pagination {
	display: flex;
	justify-content: center;
	gap: var(--space-2);
	margin-top: var(--space-16);
	flex-wrap: wrap;
}

.blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: var(--space-3);
	border: 1.5px solid var(--color-border-mid);
	border-radius: var(--radius-md);
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--color-text-mid);
	text-decoration: none;
	transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.blog-pagination .page-numbers:hover {
	border-color: var(--color-forest);
	color: var(--color-forest);
}

.blog-pagination .page-numbers.current {
	background: var(--color-forest);
	border-color: var(--color-forest);
	color: oklch(97.5% 0.007 80);
}

.blog-empty {
	text-align: center;
	padding: var(--space-24) 0;
	color: var(--color-text-light);
}

.blog-empty svg {
	width: 56px;
	height: 56px;
	margin: 0 auto var(--space-6);
	color: var(--color-border-mid);
}

.blog-empty h2 {
	font-size: var(--text-2xl);
	color: var(--color-text-mid);
	margin-bottom: var(--space-3);
}

.blog-empty p {
	font-size: var(--text-base);
	max-width: 40ch;
	margin-inline: auto;
}

@media (max-width: 900px) {
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.blog-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */

.page-hero--post {
	padding-bottom: var(--space-12);
}

.post-hero-meta {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-bottom: var(--space-5);
}

.post-back-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-sm);
	font-weight: 500;
	color: oklch(72% 0.025 158);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.post-back-link:hover { color: oklch(97.5% 0.007 80); }

.post-back-link svg {
	width: 15px;
	height: 15px;
}

.post-hero-cat {
	display: inline-block;
	padding: 2px var(--space-3);
	background: oklch(97.5% 0.007 80 / 0.12);
	color: oklch(88% 0.025 158);
	border-radius: var(--radius-full);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.post-hero-byline {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	font-size: var(--text-sm);
	color: oklch(65% 0.04 158);
	margin-top: var(--space-4);
}

.post-hero-dot { opacity: 0.4; }

.post-featured-image {
	background: var(--color-parchment);
	padding-block: var(--space-8);
}

.post-featured-img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

.post-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: var(--space-16);
	align-items: start;
}

/* Post body typography — applies to both our class and WP's entry-content */
.post-content,
.entry-content {
	font-size: var(--text-lg);
	line-height: 1.75;
	color: var(--color-text);
	max-width: none;
}

.post-content h1, .entry-content h1,
.post-content h2, .entry-content h2,
.post-content h3, .entry-content h3,
.post-content h4, .entry-content h4 {
	font-family: var(--font-heading);
	color: var(--color-forest);
	line-height: 1.2;
}

.post-content h2, .entry-content h2 {
	font-size: var(--text-3xl);
	margin-top: var(--space-12);
	margin-bottom: var(--space-4);
}

.post-content h3, .entry-content h3 {
	font-size: var(--text-2xl);
	margin-top: var(--space-8);
	margin-bottom: var(--space-3);
}

.post-content h4, .entry-content h4 {
	font-size: var(--text-xl);
	margin-top: var(--space-6);
	margin-bottom: var(--space-2);
}

.post-content p, .entry-content p {
	max-width: 70ch;
	margin-bottom: var(--space-5);
	font-size: var(--text-lg);
	line-height: 1.75;
}

.post-content ul, .entry-content ul,
.post-content ol, .entry-content ol {
	list-style: revert;
	padding-left: var(--space-6);
	margin-bottom: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	font-size: var(--text-lg);
	line-height: 1.65;
}

.post-content li, .entry-content li {
	padding-left: var(--space-1);
}

.post-content strong, .entry-content strong {
	font-weight: 700;
	color: var(--color-text);
}

.post-content blockquote, .entry-content blockquote {
	border-left: 4px solid var(--color-terra);
	padding: var(--space-4) var(--space-6);
	margin: var(--space-8) 0;
	background: var(--color-terra-light);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-content blockquote p, .entry-content blockquote p {
	font-family: var(--font-heading);
	font-style: italic;
	font-size: var(--text-xl);
	color: var(--color-forest);
	margin: 0;
	max-width: none;
}

.post-content a, .entry-content a {
	color: var(--color-forest-mid);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-content img, .entry-content img {
	border-radius: var(--radius-md);
	margin-block: var(--space-6);
}

/* WordPress block editor resets */
.entry-content .wp-block-paragraph { max-width: 70ch; }
.entry-content .wp-block-heading { max-width: none; }

/* Sidebar */
.post-sidebar {
	position: sticky;
	top: calc(var(--header-height) + var(--space-8));
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}

.post-author-card {
	display: flex;
	gap: var(--space-4);
	align-items: flex-start;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-6);
}

.post-author-avatar {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-full);
	object-fit: cover;
	flex-shrink: 0;
}

.post-author-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: var(--text-base);
	color: var(--color-forest);
	margin: 0 0 2px;
}

.post-author-title {
	font-size: var(--text-xs);
	color: var(--color-text-light);
	font-weight: 500;
	margin: 0 0 var(--space-2);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.post-author-bio {
	font-size: var(--text-sm);
	color: var(--color-text-mid);
	line-height: 1.55;
	margin: 0;
}

.post-sidebar-cta {
	background: var(--color-forest);
	border-radius: var(--radius-lg);
	padding: var(--space-6);
}

.post-sidebar-cta .section-label {
	color: oklch(75% 0.06 80);
}

.post-sidebar-cta h3 {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	color: oklch(97.5% 0.007 80);
	margin-bottom: var(--space-3);
	line-height: 1.2;
}

.post-sidebar-cta p {
	font-size: var(--text-sm);
	color: oklch(72% 0.025 158);
	margin-bottom: var(--space-5);
	line-height: 1.55;
}

/* Post navigation */
.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-6);
}

.post-nav-item {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-5) var(--space-6);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	text-decoration: none;
	background: var(--color-surface);
	transition: border-color var(--transition-fast), box-shadow var(--transition-base);
}

.post-nav-item:hover {
	border-color: var(--color-forest-border);
	box-shadow: var(--shadow-sm);
}

.post-nav-item--next {
	text-align: right;
	margin-left: auto;
}

.post-nav-label {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-xs);
	font-weight: 700;
	color: var(--color-text-light);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.post-nav-item--next .post-nav-label {
	justify-content: flex-end;
}

.post-nav-label svg {
	width: 14px;
	height: 14px;
}

.post-nav-title {
	font-family: var(--font-heading);
	font-size: var(--text-base);
	font-weight: 700;
	color: var(--color-forest);
	line-height: 1.3;
}

@media (max-width: 900px) {
	.post-layout {
		grid-template-columns: 1fr;
	}

	.post-sidebar {
		position: static;
	}
}

@media (max-width: 560px) {
	.post-nav {
		grid-template-columns: 1fr;
	}

	.post-nav-item--next {
		text-align: left;
		margin-left: 0;
	}

	.post-nav-item--next .post-nav-label {
		justify-content: flex-start;
	}
}

/* ==========================================================================
   REVIEWS PAGE
   ========================================================================== */

.reviews-summary {
	display: flex;
	align-items: center;
	gap: var(--space-12);
	justify-content: center;
	flex-wrap: wrap;
}

.reviews-summary-score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-2);
}

.reviews-score-num {
	font-family: var(--font-heading);
	font-size: var(--text-6xl);
	font-weight: 700;
	color: var(--color-forest);
	line-height: 1;
}

.reviews-stars {
	display: flex;
	gap: 3px;
}

.reviews-stars svg {
	width: 22px;
	height: 22px;
	color: var(--color-terra);
}

.reviews-score-label {
	font-size: var(--text-sm);
	color: var(--color-text-light);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 500;
}

.reviews-summary-divider {
	width: 1px;
	height: 80px;
	background: var(--color-border-mid);
}

.reviews-summary-stats {
	display: flex;
	gap: var(--space-10);
	flex-wrap: wrap;
}

.reviews-summary-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-1);
}

.reviews-summary-stat strong {
	font-family: var(--font-heading);
	font-size: var(--text-3xl);
	font-weight: 700;
	color: var(--color-forest);
	line-height: 1;
}

.reviews-summary-stat span {
	font-size: var(--text-sm);
	color: var(--color-text-light);
}

@media (max-width: 640px) {
	.reviews-summary-divider { display: none; }
	.reviews-summary { gap: var(--space-8); }
	.reviews-summary-stats { gap: var(--space-6); justify-content: center; }
}

/* Social icons */
.footer-social {
	display: flex;
	gap: var(--space-3);
	margin-top: var(--space-5);
}

.footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--radius-md);
	background: oklch(97.5% 0.007 80 / 0.08);
	border: 1px solid oklch(97.5% 0.007 80 / 0.12);
	color: oklch(72% 0.025 158);
	transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer-social-link:hover {
	background: oklch(97.5% 0.007 80 / 0.16);
	color: oklch(97.5% 0.007 80);
}

.footer-social-link svg {
	width: 16px;
	height: 16px;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: var(--space-5);
	font-size: var(--text-xs);
	color: oklch(62% 0.03 158);
}

.footer-bottom a {
	color: oklch(72% 0.025 158);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.footer-bottom a:hover { color: oklch(97.5% 0.007 80); }

.footer-bottom-links {
	display: flex;
	gap: var(--space-5);
}

.footer-hipaa {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-xs);
	font-weight: 600;
	color: oklch(65% 0.04 158);
	background: oklch(97.5% 0.007 80 / 0.06);
	border: 1px solid oklch(97.5% 0.007 80 / 0.10);
	border-radius: var(--radius-full);
	padding: var(--space-1) var(--space-3);
	margin-top: var(--space-4);
	width: fit-content;
}

.footer-hipaa svg {
	width: 12px;
	height: 12px;
	color: oklch(75% 0.06 80);
}

@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-10);
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: var(--space-8);
	}

	.footer-bottom {
		flex-direction: column;
		gap: var(--space-3);
		text-align: center;
	}
}
