/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 */
/* Hallmark · genre: editorial · macrostructure: Marquee Hero · theme: studied-DNA image · enrichment: CMS photography fallback · nav: N1b · footer: Ft5 */
html,
body {
	overflow-x: clip;
}

html {
	font-size: 16px;
}

body.public-home {
	margin: 0;
	color: var(--color-home-ink);
	background: var(--background-home-page);
	font-family: var(--font-home-body);
	font-size: var(--text-home-base);
	line-height: 1.55;
}

.public-home a {
	color: inherit;
	text-decoration: none;
}

.public-home img {
	max-width: 100%;
	height: auto;
}

.public-home .container {
	width: min(100% - clamp(2rem, 5vw, 6rem), 1420px);
	padding-inline: 0;
}

.public-nav {
	position: sticky;
	inset: 0 0 auto;
	z-index: 1100;
	background: var(--color-home-nav);
	backdrop-filter: blur(14px);
	border: 0;
	box-shadow: var(--shadow-home-soft);
}

.public-nav .navbar {
	display: grid;
	grid-template-columns: minmax(0, auto) minmax(0, 1fr);
	gap: var(--space-home-xl);
	align-items: center;
	min-height: 92px;
	margin: 0;
	background: transparent;
	border: 0;
}

.public-nav .navbar::before,
.public-nav .navbar::after,
.public-nav .navbar-header::before,
.public-nav .navbar-header::after {
	content: none;
}

.public-nav .navbar-header {
	display: flex;
	float: none;
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	align-items: center;
	min-width: 0;
}

.public-nav .navbar-brand {
	float: none;
	height: auto;
	min-width: 0;
	padding: 0;
}

.brand-wrap {
	display: flex;
	align-items: center;
	gap: var(--space-home-xs);
	padding-block: var(--space-home-sm);
	min-width: 0;
}

.brand-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 3.9rem;
	height: 3.9rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: hidden;
}

.brand-mark img {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 1px 0 oklch(100% 0 0 / 0.1));
}

.brand-mark-fallback {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	display: inline-grid;
	place-items: center;
	background: var(--color-home-teal-soft);
	color: var(--color-home-deep);
	font-family: var(--font-home-display);
	font-size: var(--text-home-xl);
	font-weight: 700;
}

.brand-title {
	font-family: var(--font-home-label);
	font-size: clamp(1.35rem, 1.65vw, 2rem);
	font-weight: 700;
	line-height: 1;
	color: var(--color-home-ink);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.brand-subtitle {
	margin-top: var(--space-home-2xs);
	color: var(--color-home-muted);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.public-nav .navbar-collapse {
	float: none !important;
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	width: 100%;
	padding: 0;
	border: 0;
	box-shadow: none;
}

.public-nav .navbar-nav.navbar-right {
	float: none !important;
	margin: 0;
}

.public-nav .nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(0.45rem, 1.5vw, 1.55rem);
	margin: 0;
}

.public-nav .nav > li {
	float: none;
}

.public-nav .nav > li > a {
	position: relative;
	padding: var(--space-home-sm) var(--space-home-xs);
	color: var(--color-home-ink);
	font-size: var(--text-home-base);
	font-weight: 700;
	white-space: nowrap;
	transition: color var(--dur-home-fast) var(--ease-home-out);
}

.public-nav .nav > li > a:hover,
.public-nav .nav > li > a:focus {
	color: var(--color-home-teal);
	background: transparent;
}

.public-nav .nav > li:first-child > a::after {
	content: "";
	position: absolute;
	inset-inline: var(--space-home-xs);
	bottom: 0.2rem;
	height: 2px;
	background: var(--color-home-teal);
}

.public-nav .nav > li.nav-cta > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.5rem;
	margin-left: var(--space-home-md);
	padding: 0.95rem 1.7rem;
	border-radius: var(--radius-home-sm);
	background: linear-gradient(135deg, var(--color-home-teal), var(--color-home-deep));
	color: var(--color-home-surface);
	box-shadow: 0 12px 26px oklch(20% 0.04 80 / 0.22);
}

.public-nav .nav > li.nav-cta > a:hover,
.public-nav .nav > li.nav-cta > a:focus {
	color: var(--color-home-surface);
	transform: translateY(-1px);
}

.public-nav .navbar-toggle {
	margin: 0;
	border-color: var(--color-home-rule);
	border-radius: var(--radius-home-sm);
}

.public-nav .navbar-toggle .icon-bar {
	background: var(--color-home-teal);
}

.hero-section {
	padding: 0;
	background: var(--color-home-paper);
}

.hero-section .container {
	width: 100%;
	max-width: none;
}

.hero-shell {
	position: relative;
	min-height: clamp(25rem, 32vw, 30rem);
	padding: clamp(1.8rem, 3.6vw, 3.5rem) clamp(1.25rem, 5.8vw, 5.3rem);
	border-radius: 0;
	background:
		linear-gradient(90deg, var(--color-home-paper) 0%, var(--color-home-paper) 42%, oklch(97% 0.012 83 / 0.78) 56%, oklch(97% 0.012 83 / 0.12) 100%),
		var(--home-hero-image, radial-gradient(circle at 78% 38%, oklch(90% 0.05 190), transparent 18rem)),
		linear-gradient(135deg, var(--color-home-paper-warm), var(--color-home-surface-soft));
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center right;
	box-shadow: none;
	overflow: clip;
}

.hero-shell-no-photo {
	background:
		linear-gradient(90deg, var(--color-home-paper) 0%, var(--color-home-paper) 45%, oklch(96% 0.016 83 / 0.88) 64%, oklch(94% 0.02 83 / 0.72) 100%),
		radial-gradient(circle at 80% 32%, oklch(86% 0.055 190 / 0.82), transparent 18rem),
		radial-gradient(circle at 92% 72%, oklch(76% 0.06 85 / 0.42), transparent 15rem),
		linear-gradient(135deg, var(--color-home-paper-warm), var(--color-home-surface-soft));
}

.hero-shell-has-photo {
	background:
		linear-gradient(90deg, var(--color-home-paper) 0%, var(--color-home-paper) 32%, var(--color-home-overlay-strong) 40%, var(--color-home-overlay-soft) 52%, var(--color-home-overlay) 65%),
		var(--home-hero-image),
		linear-gradient(135deg, var(--color-home-paper-warm), var(--color-home-surface-soft));
	background-repeat: no-repeat;
	background-size: 100% 100%, auto 100%, cover;
	background-position: center, right center, center;
}

.hero-shell::before {
	content: none;
	position: absolute;
	inset: auto auto 0 0;
	width: min(48rem, 100%);
	height: 16rem;
	background:
		radial-gradient(ellipse at left bottom, oklch(88% 0.04 84 / 0.74), transparent 68%),
		linear-gradient(90deg, oklch(81% 0.04 84 / 0.25), transparent);
	pointer-events: none;
}

.hero-shell::after {
	content: none;
	position: absolute;
	inset: 0 0 0 auto;
	width: min(58%, 52rem);
	background: linear-gradient(90deg, transparent, oklch(98% 0.01 83 / 0.12));
	pointer-events: none;
}

.hero-shell > .row {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
	align-items: center;
	gap: clamp(1.25rem, 3vw, 3.2rem);
	min-height: inherit;
	margin: 0;
}

.hero-shell > .row::before,
.hero-shell > .row::after,
.home-service-deck .row::before,
.home-service-deck .row::after,
.cta-shell::before,
.cta-shell::after,
.footer-card .row::before,
.footer-card .row::after {
	display: none;
	content: none;
}

.hero-shell > .row > [class*="col-"] {
	float: none;
	width: auto;
	padding: 0;
}

.hero-shell > .row > .col-md-7 {
	grid-column: 1;
	grid-row: 1;
}

.hero-shell > .row > .col-md-5 {
	grid-column: 2;
	grid-row: 1;
}

.hero-copy {
	max-width: 54rem;
	color: var(--color-home-ink);
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-home-sm);
	margin-bottom: var(--space-home-lg);
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: var(--color-home-gold-deep);
	font-family: var(--font-home-body);
	font-size: var(--text-home-xs);
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.hero-eyebrow::after {
	content: "";
	display: inline-block;
	width: clamp(4rem, 12vw, 12rem);
	height: 1px;
	background: var(--color-home-gold);
}

.hero-copy h1 {
	max-width: 14.2ch;
	margin: 0 0 var(--space-home-lg);
	color: var(--color-home-deep);
	font-family: var(--font-home-display);
	font-size: clamp(4.4rem, 6vw, 5.6rem);
	font-weight: 400;
	line-height: 0.96;
	letter-spacing: -0.025em;
	overflow-wrap: anywhere;
}

.hero-copy p {
	max-width: 34rem;
	margin: 0 0 var(--space-home-lg);
	color: var(--color-home-ink-soft);
	font-size: clamp(1rem, 1.4vw, 1.22rem);
	line-height: 1.65;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-home-sm);
	margin-bottom: var(--space-home-xl);
}

.hero-section .btn-clinic-secondary,
.hero-stats {
	display: none;
}

.btn-clinic-primary,
.btn-clinic-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.75rem;
	padding: 1rem 1.7rem;
	border-radius: var(--radius-home-sm);
	font-weight: 900;
	letter-spacing: 0;
	white-space: nowrap;
	transition:
		transform var(--dur-home-fast) var(--ease-home-out),
		box-shadow var(--dur-home-fast) var(--ease-home-out),
		background var(--dur-home-fast) var(--ease-home-out);
}

.public-home .btn-clinic-primary {
	gap: var(--space-home-sm);
	border: 1px solid oklch(36% 0.08 192);
	background: linear-gradient(180deg, var(--color-home-deep-2), var(--color-home-deep));
	color: var(--color-home-surface);
	box-shadow: 0 18px 36px oklch(20% 0.05 210 / 0.2);
}

.hero-actions .btn-clinic-primary::before {
	content: "";
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	background: url("../images/smc.png") center / contain no-repeat;
	filter: drop-shadow(0 1px 0 oklch(100% 0 0 / 0.14));
}

.hero-actions .btn-clinic-primary::after {
	content: ">";
	margin-left: var(--space-home-md);
	color: var(--color-home-accent-on-dark);
	font-family: var(--font-home-label);
	font-size: var(--text-home-xl);
	line-height: 1;
}

.public-home .btn-clinic-secondary {
	border: 1px solid var(--color-home-rule);
	background: var(--color-home-surface);
	color: var(--color-home-deep);
}

.public-home .btn-clinic-primary:hover,
.public-home .btn-clinic-primary:focus,
.public-home .btn-clinic-secondary:hover,
.public-home .btn-clinic-secondary:focus {
	transform: translateY(-1px);
	box-shadow: var(--shadow-home-soft);
	text-decoration: none;
}

.public-home a:focus-visible,
.public-home button:focus-visible {
	outline: 3px solid var(--color-home-focus);
	outline-offset: 4px;
}

.hero-stat {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--space-home-sm);
	align-items: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.hero-stat::before {
	content: "";
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background:
		url("../images/smc.png") center / 70% auto no-repeat,
		var(--color-home-surface);
	box-shadow: 0 0 0 1px oklch(84% 0.03 190 / 0.5);
}

.hero-stat strong {
	display: block;
	margin: 0;
	color: var(--color-home-deep);
	font-family: var(--font-home-label);
	font-size: var(--text-home-lg);
	font-weight: 700;
	line-height: 1;
}

.hero-stat span {
	display: block;
	margin-top: 0.15rem;
	color: var(--color-home-ink-soft);
	font-size: var(--text-home-sm);
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
}

.hero-showcase {
	position: relative;
	align-self: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-top: 0;
	padding: var(--space-home-xl);
	border: var(--rule-home-hair);
	border-radius: var(--radius-home-lg);
	background: oklch(99% 0.01 83 / 0.84);
	box-shadow: var(--shadow-home-lift);
	backdrop-filter: blur(10px);
	overflow: hidden;
}

.hero-shell-no-photo .hero-showcase {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(19rem, 26vw, 23rem);
	background:
		linear-gradient(90deg, oklch(100% 0 0 / 0.16), oklch(100% 0 0 / 0.72)),
		radial-gradient(circle at 42% 42%, oklch(88% 0.05 190 / 0.7), transparent 14rem),
		url("../images/footer.jpg") center bottom / 100% 30% no-repeat,
		linear-gradient(145deg, oklch(97% 0.012 83), oklch(90% 0.035 190));
}

.hero-shell-no-photo .hero-showcase::before {
	content: "";
	position: absolute;
	inset: 8% 6% auto auto;
	width: min(24rem, 66%);
	aspect-ratio: 1;
	background: url("../images/smc.png") center / contain no-repeat;
	opacity: 0.16;
}

.hero-shell-no-photo .hero-showcase h3,
.hero-shell-no-photo .hero-showcase p {
	display: none;
}

.hero-shell-has-photo .hero-showcase {
	display: none;
}

.hero-shell-has-photo > .row {
	grid-template-columns: minmax(0, 0.98fr) minmax(26rem, 1.1fr);
}

.hero-showcase h3 {
	margin: 0 0 var(--space-home-xs);
	color: var(--color-home-deep);
	font-family: var(--font-home-display);
	font-size: var(--text-home-2xl);
	font-weight: 700;
	line-height: 1;
}

.hero-showcase p {
	margin: 0;
	color: var(--color-home-ink-soft);
	line-height: 1.65;
}

.hero-showcase img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-home-md);
}

.showcase-grid,
.hospital-badges {
	display: none;
}

.home-service-deck {
	position: relative;
	z-index: 4;
	margin-top: clamp(-4.7rem, -4.6vw, -2.8rem);
	padding: 0 0 var(--space-home-sm);
}

.section-shell.home-service-deck {
	padding: 0 0 var(--space-home-sm);
}

.home-service-deck .section-heading {
	display: none;
}

.home-service-deck .row {
	display: grid;
	grid-template-columns: repeat(var(--home-service-columns, 3), minmax(0, 1fr));
	gap: var(--space-home-md);
	margin: 0;
}

.home-service-deck[data-service-count="1"] { --home-service-columns: 1; }
.home-service-deck[data-service-count="2"],
.home-service-deck[data-service-count="4"] { --home-service-columns: 2; }

.home-service-deck .row > [class*="col-"] {
	float: none;
	width: auto;
	min-width: 0;
	padding: 0;
	margin-bottom: 0 !important;
}

.section-shell {
	padding: clamp(2rem, 5vw, 4rem) 0;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: var(--space-home-xl);
	margin-bottom: var(--space-home-lg);
}

.section-heading h2 {
	margin: 0;
	color: var(--color-home-deep);
	font-family: var(--font-home-display);
	font-size: var(--text-home-display-small);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.03em;
	overflow-wrap: anywhere;
}

.section-heading p {
	max-width: 42rem;
	margin: var(--space-home-sm) 0 0;
	color: var(--color-home-muted);
	font-size: var(--text-home-base);
	line-height: 1.7;
}

.feature-card,
.info-card,
.branch-card,
.doctor-card {
	position: relative;
	height: 100%;
	padding: var(--space-home-lg);
	border: var(--rule-home-hair);
	border-radius: var(--radius-home-md);
	background: var(--color-home-surface);
	box-shadow: 0 4px 16px oklch(20% 0.04 210 / 0.04);
	transition:
		transform var(--dur-home-base) var(--ease-home-out),
		box-shadow var(--dur-home-base) var(--ease-home-out);
}

.feature-card:hover,
.branch-card:hover,
.doctor-card:hover,
.info-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-home-soft);
}

.feature-icon {
	display: inline-grid;
	place-items: center;
	width: 4.8rem;
	height: 4.8rem;
	margin-bottom: var(--space-home-md);
	border-radius: 50%;
	background:
		linear-gradient(180deg, var(--color-home-deep-2), var(--color-home-deep));
	color: var(--color-home-teal-soft);
	font-size: 2.2rem;
	overflow: hidden;
}

.feature-icon svg {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--color-home-teal-soft);
}

.feature-card h4,
.info-card h4,
.branch-card h4,
.doctor-card h4 {
	margin: 0 0 var(--space-home-xs);
	color: var(--color-home-deep);
	font-family: var(--font-home-display);
	font-size: clamp(1.35rem, 1.65vw, 1.65rem);
	font-weight: 400;
	line-height: 1.08;
}

.feature-card p,
.info-card p,
.branch-card p,
.doctor-card p {
	margin: 0;
	color: var(--color-home-ink-soft);
	line-height: 1.42;
}

.home-service-deck .feature-card {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr);
	grid-template-rows: min-content min-content;
	align-items: start;
	align-content: start;
	gap: var(--space-home-xs) var(--space-home-md);
	padding: clamp(1rem, 1.5vw, 1.5rem);
	min-height: 8.5rem;
}

.home-service-deck .feature-icon {
	grid-row: 1 / span 2;
	margin: 0;
	width: 3.5rem;
	height: 3.5rem;
}

.home-service-deck .feature-icon svg { width: 2rem; height: 2rem; }

.home-service-deck .feature-card h4,
.home-service-deck .feature-card p {
	grid-column: 2;
	min-width: 0;
	word-break: normal;
	overflow-wrap: break-word;
}

.home-service-deck .feature-card h4 {
	margin: 0;
	font-size: clamp(1.25rem, 1.6vw, 1.5rem);
	line-height: 1.25;
}

.home-service-deck .feature-card p { line-height: 1.6; }

.home-service-deck .feature-card::after {
	content: none;
	position: absolute;
	right: 1.1rem;
	bottom: 0.95rem;
	color: var(--color-home-gold);
	font-family: var(--font-home-label);
	font-size: var(--text-home-xl);
	line-height: 1;
}

.home-info-band {
	padding-block: var(--space-home-sm) var(--space-home-sm);
}

.home-info-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--space-home-md);
}

.home-doctor-feature {
	display: grid;
	grid-template-columns: minmax(5rem, 0.65fr) minmax(0, 1fr);
	gap: var(--space-home-md);
	align-items: center;
	border-radius: var(--radius-home-md);
	padding: 0;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 42%, oklch(56% 0.08 190 / 0.3), transparent 11rem),
		linear-gradient(135deg, var(--color-home-deep), var(--color-home-deep-2));
	color: var(--color-home-surface);
}

.home-doctor-avatar {
	align-self: stretch;
	min-height: 13rem;
	background: url("../images/smc.png") center / contain no-repeat;
}

.home-doctor-feature .home-card-body {
	padding: var(--space-home-lg) var(--space-home-lg) var(--space-home-lg) 0;
}

.home-kicker {
	margin-bottom: var(--space-home-xs);
	color: var(--color-home-accent-on-dark);
	font-size: var(--text-home-xs);
	font-weight: 900;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.home-doctor-feature h3,
.home-hours-card h3,
.home-payment-card h3 {
	margin: 0 0 var(--space-home-xs);
	font-family: var(--font-home-display);
	font-size: var(--text-home-xl);
	font-weight: 400;
	line-height: 1.1;
}

.home-doctor-feature p {
	margin: 0 0 var(--space-home-md);
	color: oklch(91% 0.015 83);
}

.home-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.8rem;
	padding: 0.7rem 1rem;
	border: 1px solid var(--color-home-accent-on-dark);
	border-radius: var(--radius-home-sm);
	color: var(--color-home-accent-on-dark);
	font-weight: 900;
	white-space: nowrap;
}

.home-hours-card,
.home-payment-card {
	padding: var(--space-home-lg);
	border: var(--rule-home-hair);
	border-radius: var(--radius-home-md);
	background: var(--color-home-paper-warm);
	box-shadow: none;
}

.home-hours-card h3,
.home-payment-card h3 {
	color: var(--color-home-deep);
	font-size: clamp(1.3rem, 1.7vw, 1.6rem);
}

.home-hours-list {
	display: grid;
	gap: var(--space-home-xs);
	margin: var(--space-home-md) 0;
}

.home-hours-list div {
	display: flex;
	justify-content: space-between;
	gap: var(--space-home-md);
	color: var(--color-home-ink);
}

.home-hours-list span {
	color: var(--color-home-muted);
}

.home-hours-card .home-hours-list strong {
	white-space: normal;
	text-align: right;
	overflow-wrap: anywhere;
}

.home-hours-list span,
.home-schedule-notes {
	overflow-wrap: anywhere;
}

.home-payment-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: var(--space-home-md);
}

.home-payment-card.has-payment-qr {
	grid-template-columns: minmax(5rem, 0.7fr) minmax(0, 1fr);
}

.home-hours-card .home-kicker,
.home-payment-card .home-kicker {
	color: var(--color-home-gold-deep);
}

.home-hours-card p,
.home-payment-card p,
.home-doctor-feature p {
	font-size: var(--text-home-sm);
	line-height: 1.6;
}

.home-hours-list {
	font-size: var(--text-home-sm);
}

.home-trust-strip {
	margin-top: var(--space-home-sm);
	background:
		radial-gradient(circle at 12% 18%, oklch(58% 0.08 190 / 0.3), transparent 18rem),
		linear-gradient(90deg, var(--color-home-deep), var(--color-home-deep-2));
	color: var(--color-home-surface);
}

.home-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	padding-block: var(--space-home-lg);
}

.home-trust-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--space-home-md);
	align-items: center;
	padding-inline: clamp(1rem, 3vw, 2.2rem);
	border-right: 1px solid oklch(88% 0.035 190 / 0.42);
}

.home-trust-item:last-child {
	border-right: 0;
}

.home-trust-icon {
	width: 3.5rem;
	height: 3.5rem;
	background: url("../images/smc.png") center / contain no-repeat;
	opacity: 0.95;
}

.home-trust-item strong {
	display: block;
	color: var(--color-home-surface);
	font-family: var(--font-home-display);
	font-size: var(--text-home-lg);
	font-weight: 400;
	line-height: 1.05;
}

.home-trust-item span {
	display: block;
	margin-top: 0.15rem;
	color: oklch(90% 0.024 190);
	font-size: var(--text-home-sm);
	line-height: 1.35;
}

.home-payment-qr {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	padding: var(--space-home-sm);
	border-radius: var(--radius-home-sm);
	background: var(--color-home-surface);
	box-shadow: inset 0 0 0 1px var(--color-home-rule);
	object-fit: contain;
}

.home-payment-placeholder {
	display: grid;
	place-items: center;
	width: 10.5rem;
	height: 10.5rem;
	border: 1px dashed var(--color-home-rule);
	border-radius: var(--radius-home-sm);
	background: var(--color-home-surface-soft);
	color: var(--color-home-muted);
	font-weight: 900;
	text-align: center;
}

.doctor-meta,
.branch-meta {
	margin-top: var(--space-home-md);
	padding-top: var(--space-home-md);
	border-top: var(--rule-home-hair);
	color: var(--color-home-muted);
	font-size: var(--text-home-sm);
	line-height: 1.65;
}

#gallery .feature-card,
#gallery .feature-card:hover {
	padding: 0;
	transform: none;
	overflow: hidden;
}

#gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

#gallery .home-gallery-link {
	display: block;
	position: relative;
	cursor: zoom-in;
}
#gallery .home-gallery-link img {
	height: 15rem;
	transition: transform var(--dur-home-base) var(--ease-home-out);
}
.home-gallery-hint {
	position: absolute;
	inset: auto var(--space-home-sm) var(--space-home-sm) auto;
	display: inline-flex;
	gap: var(--space-home-md);
	align-items: center;
	padding: var(--space-home-xs) var(--space-home-sm);
	border-radius: var(--radius-home-sm);
	background: var(--color-home-deep);
	color: var(--color-home-surface);
	font-size: var(--text-home-sm);
	pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
	#gallery .home-gallery-link:hover img { transform: scale(1.07); }
}
#gallery .home-gallery-link:focus-visible img { transform: scale(1.07); }
body.public-home.gallery-viewer-open { overflow-y: hidden; }
.home-gallery-viewer {
	width: min(72rem, calc(100vw - 2rem));
	max-width: none;
	max-height: calc(100vh - 2rem);
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 0;
	border: 1px solid var(--color-home-rule);
	border-radius: var(--radius-home-md);
	background: var(--color-home-paper);
	color: var(--color-home-ink);
	box-shadow: var(--shadow-home-lift);
}
.home-gallery-viewer::backdrop { background: var(--color-home-viewer-backdrop); }
.home-gallery-toolbar,
.home-gallery-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-home-xs);
	padding: var(--space-home-sm) var(--space-home-md);
}
.home-gallery-toolbar h2 {
	margin: 0;
	font-family: var(--font-home-display);
	font-size: 1.4rem;
	font-weight: 400;
}
.home-gallery-viewer button {
	min-height: 44px;
	padding: var(--space-home-xs) var(--space-home-sm);
	border: 1px solid var(--color-home-rule);
	border-radius: var(--radius-home-sm);
	background: var(--color-home-surface);
	color: var(--color-home-deep);
	font: inherit;
	font-size: var(--text-home-sm);
	cursor: pointer;
	white-space: nowrap;
}
.home-gallery-viewer button:hover { background: var(--color-home-surface-soft); }
.home-gallery-viewer button:disabled { opacity: 0.5; cursor: default; }
.home-gallery-stage {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 3 / 2;
	height: auto;
	max-height: 70vh;
	max-height: min(70vh, calc(100dvh - 11rem));
	min-height: 5rem;
	padding: var(--space-home-xs);
	background: var(--color-home-surface-soft);
}
.home-gallery-stage .home-gallery-full-image {
	position: absolute;
	inset: var(--space-home-xs);
	width: calc(100% - 1rem);
	height: calc(100% - 1rem);
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.home-gallery-count { font-size: var(--text-home-sm); white-space: nowrap; }
.home-gallery-error { padding: var(--space-home-md); text-align: center; }

#testimonials .doctor-card p:first-child {
	color: var(--color-home-deep);
	font-family: var(--font-home-display);
	font-size: var(--text-home-lg);
	line-height: 1.25;
}

.cta-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.55fr);
	align-items: center;
	gap: var(--space-home-xl);
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--radius-home-md);
	background:
		radial-gradient(circle at 8% 24%, oklch(62% 0.09 190 / 0.32), transparent 18rem),
		linear-gradient(90deg, var(--color-home-deep), var(--color-home-deep-2));
	color: var(--color-home-surface);
	box-shadow: var(--shadow-home-lift);
}

.cta-shell h2 {
	max-width: 24ch;
	margin: 0 0 var(--space-home-sm);
	font-family: var(--font-home-display);
	font-size: var(--text-home-2xl);
	font-weight: 400;
	line-height: 1.05;
}

.cta-shell p {
	max-width: 56rem;
	margin: 0;
	color: oklch(91% 0.018 83);
	line-height: 1.65;
}

.cta-shell .hero-actions {
	margin: 0;
	grid-column: 2;
	grid-row: 1 / span 2;
	justify-content: stretch;
	flex-direction: column;
}

.cta-shell > p { grid-column: 1; }

.cta-shell .btn-clinic-primary {
	background: var(--color-home-gold);
	color: var(--color-home-ink);
	box-shadow: none;
}

.cta-shell .btn-clinic-primary::before,
.cta-shell .btn-clinic-primary::after { content: none; }

.cta-shell .btn-clinic-secondary {
	background: transparent;
	border-color: var(--color-home-line-dark);
	color: var(--color-home-surface);
}

.footer-shell {
	padding: 0;
	color: oklch(90% 0.02 83);
	background: linear-gradient(90deg, var(--color-home-deep), var(--color-home-deep-2));
}

.footer-card {
	padding: clamp(2rem, 4vw, 3.5rem) 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.footer-card .row {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
	gap: var(--space-home-xl);
	margin: 0;
}

.footer-card .row > [class*="col-"] {
	float: none;
	width: auto;
	padding: 0;
	margin: 0 !important;
}

.footer-card strong {
	display: block;
	margin-bottom: var(--space-home-sm);
	color: var(--color-home-surface);
	font-family: var(--font-home-display);
	font-size: var(--text-home-lg);
	font-weight: 700;
}

.footer-card a {
	color: oklch(91% 0.04 190);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

@media (hover: hover) and (pointer: fine) {
	.home-link:hover,
	.public-nav .nav > li.nav-cta > a:hover {
		transform: translateY(-1px);
	}
}

.public-home [id] { scroll-margin-top: 7rem; }
.public-home h2, .public-home h3, .public-home h4 { overflow-wrap: anywhere; }
.home-link { gap: var(--space-home-md); }
.public-home .home-link:hover,
.public-home .home-link:focus-visible { color: var(--color-home-surface); }
.public-home .home-text-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-home-sm);
	min-height: 44px;
	margin-top: var(--space-home-xs);
	color: var(--color-home-deep);
	font-size: var(--text-home-sm);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 5px;
}
.home-trust-item strong { font-size: 1.25rem; line-height: 1.2; }
.home-trust-item span { color: var(--color-home-on-dark); }
.section-shell:not(.home-service-deck) { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section-shell:not(.home-service-deck) .section-heading h2 { font-weight: 400; }
.section-shell:not(.home-service-deck) .section-heading p { max-width: 44rem; }
.section-shell:not(.home-service-deck) .container > .row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	gap: var(--space-home-lg);
	margin: 0;
}
.section-shell:not(.home-service-deck) .container > .row::before,
.section-shell:not(.home-service-deck) .container > .row::after { content: none; }
.section-shell:not(.home-service-deck) .container > .row > [class*="col-"] {
	width: auto;
	min-width: 0;
	padding: 0;
	margin: 0 !important;
}
#branches, #testimonials { background: var(--color-home-surface); }
#branches .branch-card { background: var(--color-home-paper); }
.home-doctor-lineup {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-home-lg);
	align-items: start;
}
.home-physician-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
	min-height: 17rem;
	border-radius: var(--radius-home-md);
	background: linear-gradient(125deg, var(--color-home-deep), var(--color-home-deep-2));
	color: var(--color-home-surface);
	box-shadow: var(--shadow-home-soft);
	overflow: hidden;
}
.home-physician-card::before {
	content: "";
	position: absolute;
	width: 10rem;
	height: 12rem;
	right: -2rem;
	top: 1rem;
	background: url('../images/smc.png') center / contain no-repeat;
	opacity: 0.12;
	pointer-events: none;
}
.home-physician-portrait { min-width: 0; align-self: stretch; }
.home-physician-portrait img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 25rem;
	object-fit: contain;
	object-position: center bottom;
}
.home-physician-portrait.is-placeholder {
	display: grid;
	align-items: center;
	padding: var(--space-home-md);
}
.home-physician-portrait.is-placeholder img { height: auto; max-width: 10rem; margin-inline: auto; }
.home-physician-content {
	position: relative;
	min-width: 0;
	align-self: center;
	padding: var(--space-home-lg) var(--space-home-lg) var(--space-home-lg) var(--space-home-xs);
}
.home-physician-content h3 {
	margin: 0 0 var(--space-home-xs);
	font-family: var(--font-home-display);
	font-size: clamp(1.5rem, 2vw, 2rem);
	font-weight: 400;
	line-height: 1.18;
	color: var(--color-home-surface);
	word-break: normal;
	overflow-wrap: break-word;
}
.home-physician-specialty { color: var(--color-home-accent-on-dark); }
.home-physician-intro, .home-physician-more {
	font-size: var(--text-home-sm);
	line-height: 1.6;
	color: var(--color-home-on-dark);
	overflow-wrap: anywhere;
}
.home-physician-details { margin-top: var(--space-home-md); }
.home-physician-details summary {
	display: inline-flex;
	align-items: center;
	gap: var(--space-home-lg);
	min-height: 44px;
	padding: var(--space-home-xs) var(--space-home-md);
	border: 1px solid var(--color-home-accent-on-dark);
	border-radius: var(--radius-home-sm);
	color: var(--color-home-accent-on-dark);
	font-size: var(--text-home-sm);
	list-style: none;
	cursor: pointer;
	white-space: nowrap;
}
.home-physician-details summary::-webkit-details-marker { display: none; }
.home-physician-details summary:hover { background: var(--color-home-line-dark); }
.home-physician-details summary:focus-visible { outline: 3px solid var(--color-home-accent-on-dark); outline-offset: 3px; }
.home-physician-more { margin-top: var(--space-home-md); }
.home-physician-more a { display: inline-block; padding-block: var(--space-home-xs); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 63.9375rem) {
	.home-doctor-lineup { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 35rem) {
	.home-physician-card { grid-template-columns: 5.5rem minmax(0, 1fr); min-height: 15rem; }
	.home-physician-card.has-portrait { grid-template-columns: minmax(0, 1fr); }
	.home-physician-card.has-portrait .home-physician-portrait { height: 15rem; padding-top: var(--space-home-md); }
	.home-physician-card.has-portrait .home-physician-content { padding: var(--space-home-lg); }
	.home-physician-portrait.is-placeholder { padding: var(--space-home-xs); }
	.home-physician-content { padding: var(--space-home-lg) var(--space-home-md) var(--space-home-lg) var(--space-home-xs); }
	.home-physician-content h3 { font-size: 1.4rem; }
	.home-physician-specialty { font-size: var(--text-home-sm); }
}
#news .feature-card { box-shadow: none; border-top: 3px solid var(--color-home-gold); }
.footer-card { overflow-wrap: anywhere; }
.footer-card a { display: inline-block; padding-block: 0.45rem; }

@media (max-width: 75rem) {
	.public-nav .navbar {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		min-height: 78px;
	}
	.public-nav .navbar-header { width: 100%; justify-content: space-between; }
	.public-nav .navbar-toggle { display: block; flex: 0 0 auto; width: 44px; height: 44px; }
	.public-nav .navbar-collapse { grid-column: 1; grid-row: 2; }
	.public-nav .navbar-collapse.collapse { display: none !important; }
	.public-nav .navbar-collapse.collapse.in { display: block !important; }
	.public-nav .nav { flex-wrap: wrap; justify-content: start; padding-block: var(--space-home-md); }
	.public-nav .navbar::before, .public-nav .navbar::after,
	.public-nav .navbar-header::before, .public-nav .navbar-header::after { content: none; }
	.brand-title { font-size: 1.4rem; }
	.brand-copy { min-width: 0; }
	.public-nav .navbar-brand { min-width: 0; margin: 0; }

	.public-nav .nav {
		gap: var(--space-home-xs);
	}

	.public-nav .nav > li > a,
	.public-nav .nav > li.nav-cta > a {
		display: flex;
		justify-content: center;
		margin: 0;
		min-height: 3rem;
		padding: 0.75rem var(--space-home-sm);
	}

	.cta-shell,
	.footer-card .row {
		grid-template-columns: 1fr;
	}
	.home-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-doctor-feature { grid-column: 1 / -1; grid-template-columns: 8rem minmax(0, 1fr); }
	.home-doctor-avatar { min-height: 10rem; }
	.hero-copy h1 { font-size: clamp(3.2rem, 6.5vw, 4.8rem); }
	.hero-shell-has-photo > .row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
	.hero-shell > .row > .col-md-5 { display: none; }
	.cta-shell .hero-actions { grid-column: 1; grid-row: auto; flex-direction: row; justify-content: start; }

	.hero-shell > .row > .col-md-7,
	.hero-shell > .row > .col-md-5 {
		grid-column: 1;
		grid-row: auto;
	}

	.hero-shell { min-height: 25rem; padding-bottom: 5rem; }

	.hero-showcase {
		max-width: 40rem;
	}

	.home-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-trust-item:nth-child(2) {
		border-right: 0;
	}

	.home-trust-item:nth-child(-n+2) {
		padding-bottom: var(--space-home-lg);
	}

	.home-trust-item:nth-child(n+3) {
		padding-top: var(--space-home-lg);
		border-top: 1px solid oklch(88% 0.035 190 / 0.3);
	}

	.hero-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home-service-deck .row {
		grid-template-columns: repeat(min(2, var(--home-service-columns, 3)), minmax(0, 1fr));
	}
}

@media (max-width: 47.9375rem) {
	.public-home .container {
		width: min(100% - 2rem, 1420px);
	}

	.public-nav .navbar-header {
		width: 100%;
		justify-content: space-between;
	}

	.public-nav .navbar-toggle {
		display: block;
	}

	.public-nav .navbar-collapse {
		grid-column: 1 / -1;
	}

	.brand-mark {
		width: 2.75rem;
		height: 2.75rem;
	}

	.brand-title {
		font-size: clamp(0.9rem, 3.2vw, 1.35rem);
		line-height: 1.2;
		letter-spacing: 0.025em;
	}

	.brand-subtitle {
		font-size: 0.55rem;
		letter-spacing: 0.055em;
		line-height: 1.5;
	}

	.public-nav .nav {
		display: grid;
		grid-template-columns: 1fr;
		gap: var(--space-home-xs);
		padding: var(--space-home-sm) 0 var(--space-home-md);
	}

	.hero-shell {
		min-height: 0;
		padding: var(--space-home-xl) var(--space-home-md) 0;
	}
	.hero-shell-has-photo { background: var(--color-home-paper); }
	.hero-shell-has-photo::after {
		content: "";
		display: block;
		position: relative;
		inset: auto;
		width: calc(100% + 2rem);
		height: auto;
		aspect-ratio: 1.82;
		margin: var(--space-home-lg) -1rem 0;
		border-radius: 0;
		background: linear-gradient(180deg, var(--color-home-paper), var(--color-home-overlay) 25%), var(--home-hero-image) center / cover no-repeat;
	}
	.hero-shell-has-photo > .row { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.hero-eyebrow { font-size: 0.65rem; margin-bottom: var(--space-home-md); gap: var(--space-home-xs); }
	.hero-eyebrow::after { width: 2rem; }
	.hero-copy p { max-width: 34rem; }
	.hero-section .hero-actions { margin-bottom: 0; }

	.hero-shell-no-photo .hero-showcase {
		display: none;
	}

	.hero-copy h1 {
		max-width: 15ch;
		font-size: clamp(2.75rem, 9vw, 4rem);
		line-height: 1.04;
	}

	.hero-actions,
	.cta-shell .hero-actions {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
	}

	.btn-clinic-primary,
	.btn-clinic-secondary,
	.home-link {
		width: 100%;
		min-width: 0;
		padding-inline: 0.8rem;
		min-height: 3.4rem;
	}
	.hero-actions .btn-clinic-primary::before { flex: 0 0 1.75rem; width: 1.75rem; height: 1.75rem; }
	.hero-actions .btn-clinic-primary::after { margin-left: 0; }

	.hero-stats {
		grid-template-columns: 1fr;
		gap: var(--space-home-sm);
	}

	.hero-stat {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.home-service-deck {
		margin-top: 0;
	}

	.home-service-deck .feature-card {
		grid-template-columns: 3rem minmax(0, 1fr);
		column-gap: var(--space-home-sm);
		min-height: 0;
		padding: 1.1rem;
	}
	.home-service-deck .feature-icon { width: 3rem; height: 3rem; }
	.home-service-deck .feature-icon svg { width: 2rem; height: 2rem; }
	.home-service-deck .feature-card h4 { font-size: 1.25rem; margin: 0; }
	.home-service-deck .feature-card p { font-size: var(--text-home-sm); }
	.home-service-deck { padding-top: var(--space-home-md) !important; }
	.home-info-grid { grid-template-columns: minmax(0, 1fr); }

	.home-service-deck .row {
		grid-template-columns: 1fr;
	}

	.section-heading {
		display: block;
	}

	.home-doctor-feature {
		grid-template-columns: 5rem minmax(0, 1fr);
	}

	.home-doctor-avatar {
		min-height: 10rem;
	}

	.home-doctor-feature .home-card-body {
		padding: var(--space-home-lg) var(--space-home-md) var(--space-home-lg) 0;
	}
	.home-doctor-feature h3 { font-size: 1.7rem; }
	.home-hours-card h3, .home-payment-card h3 { font-size: 1.7rem; }
	.home-doctor-feature .home-link { width: auto; }
	.home-hours-list div { flex-wrap: wrap; gap: 0.25rem var(--space-home-sm); }
	.home-hours-list strong { white-space: nowrap; }
	.home-payment-card.has-payment-qr { grid-template-columns: minmax(0, 1fr); }
	.home-payment-qr { max-width: 12rem; justify-self: center; }
	.cta-shell .hero-actions { flex-direction: column; }

	.home-payment-card {
		grid-template-columns: 1fr;
	}

	.home-trust-grid {
		grid-template-columns: 1fr;
		padding-block: var(--space-home-md);
	}

	.home-trust-item,
	.home-trust-item:nth-child(2) {
		border-right: 0;
	}

	.home-trust-item:nth-child(n) {
		padding: var(--space-home-md) 0;
		border-top: 1px solid oklch(88% 0.035 190 / 0.24);
	}

	.home-trust-item:first-child {
		border-top: 0;
	}
}

@media (max-width: 22rem) {
	.public-home .container {
		width: min(100% - 1.5rem, 1420px);
	}

	.hero-copy h1 {
		font-size: 2.25rem;
	}

	.hero-showcase,
	.feature-card,
	.info-card,
	.branch-card,
	.doctor-card,
	.home-hours-card,
	.home-payment-card {
		padding: var(--space-home-md);
	}
}

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