:root { --section-ink: #0d3d30; --section-muted: #596964; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav > a:first-child { text-transform: uppercase; }
.nav > a[aria-current] { text-transform: none; }
.nav summary[aria-current] { color: #fff; background: var(--green); }
.clinic-section { padding-bottom: clamp(2rem, 4.5vw, 4rem); }
.clinic-section h1, .clinic-section h2 { color: var(--section-ink); font-family: var(--serif); }
.clinic-section h2 a:hover, .contact-entry a:hover { text-decoration: underline; }
.section-heading {
	display: grid;
	align-content: start;
	gap: .75rem;
	min-height: clamp(8.5rem, 15.8vw, 13rem);
	padding: clamp(.65rem, 1.9vw, 1.45rem) .2rem 1.15rem;
	margin-bottom: clamp(.7rem, 1.7vw, 1.4rem);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: auto 100%;
}
.section-services .section-heading, .section-patients .section-heading, .section-offers .section-heading {
	background-image: linear-gradient(90deg, #fff 31%, #ffffff00 69%), url('section-wave.jpg');
}
.section-staff .section-heading { background-image: linear-gradient(90deg, #fff 31%, #ffffff00 64%), url('staff-art.jpg'); min-height: clamp(10.4rem, 21.5vw, 17rem); }
.section-docs .section-heading { background-image: linear-gradient(90deg, #fff 29%, #ffffff00 66%), url('docs-art.jpg'); min-height: clamp(10.4rem, 20.5vw, 16rem); }
.section-contacts .section-heading { border-bottom: 1px solid var(--line); margin-bottom: clamp(1rem, 3.3vw, 2.6rem); }
.section-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: var(--section-muted); font-size: .78rem; line-height: 1.4; }
.section-crumbs a { color: var(--section-ink); }
.section-crumbs a:hover { text-decoration: underline; }
.section-heading h1 { font-size: clamp(2.3rem, 5.25vw, 4.8rem); line-height: 1.03; letter-spacing: -.04em; }
.section-profile .section-heading h1 { font-size: clamp(2rem, 4.5vw, 4.4rem); }
.section-heading p { max-width: 53ch; font-size: clamp(.9rem, 1.64vw, 1.25rem); line-height: 1.35; }
.section-staff .section-heading p, .section-docs .section-heading p { max-width: 33ch; }
.section-panel { border: 1px solid var(--line); border-radius: .95rem; background: linear-gradient(145deg, #f9fbfa, #eef4f1); }
.section-panel h2 { font-size: clamp(1.18rem, 2vw, 1.8rem); line-height: 1.12; }
.section-subtitle, .section-row-heading h2, .patient-guides h2 { font-size: clamp(1.65rem, 3.05vw, 2.65rem); line-height: 1.1; }
.section-spaced { margin-top: clamp(1.4rem, 3vw, 2.5rem); }
.section-subtitle { margin-bottom: .9rem; }
.section-row-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1rem; margin: 1.7rem 0 .85rem; }
.section-callout { display: flex; align-items: center; gap: clamp(.85rem, 2.4vw, 2rem); margin-top: 1.25rem; padding: clamp(.9rem, 2vw, 1.6rem); background-color: var(--mist); }
.section-callout > .icon { width: clamp(1.75rem, 4vw, 3rem); height: auto; aspect-ratio: 1; color: var(--green); stroke-width: 1.3; }
.section-callout > div { flex: 1; }
.section-callout p { margin-top: .28rem; line-height: 1.4; font-size: clamp(.84rem, 1.35vw, 1.02rem); }
.outline-button, .text-action { display: inline-flex; width: fit-content; align-items: center; gap: .45rem; color: var(--section-ink); font-size: .82rem; line-height: 1.25; font-weight: 600; }
.outline-button { padding: .47rem .78rem; border: 1px solid #539483; border-radius: 2rem; background: #fff; }
.outline-button:hover { background: var(--green); color: #fff; }
.text-action:hover { text-decoration: underline; text-underline-offset: .16em; }
.inline-link, .document-link, .contact-entry a[href^="mailto:"] { color: #154a87; }
.inline-link:hover, .document-link:hover { text-decoration: underline; text-underline-offset: .16em; }
.muted { color: var(--section-muted); }

.contacts-layout { display: grid; grid-template-columns: 1.14fr .84fr .97fr; gap: clamp(1rem, 3vw, 2.6rem); align-items: start; }
.contact-building { width: 100%; height: auto; aspect-ratio: 1.1; object-fit: cover; border-radius: 1rem; }
.contact-entry { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: .65rem; align-items: start; font-size: clamp(.82rem, 1.22vw, 1rem); line-height: 1.42; }
.contact-entry > .icon { width: 1.45rem; height: 1.45rem; color: var(--green); }
.contact-entry h2 { margin-bottom: .35rem; font-size: clamp(1.12rem, 1.95vw, 1.65rem); line-height: 1.1; }
.contact-entry p + p { margin-top: .25rem; }
.contact-entry div > a { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.contact-entry p a { overflow-wrap: anywhere; }
.contact-entry.hours { margin-top: 1.45rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.contact-entry .muted { margin-top: .6rem; font-size: .8em; }
.contact-channels { padding-left: clamp(.75rem, 2vw, 1.5rem); border-left: 1px solid var(--line); }
.contact-channels .contact-entry + .contact-entry { margin-top: 1rem; }
.contacts-map { position: relative; isolation: isolate; margin-top: clamp(1.3rem, 3.2vw, 2.7rem); overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--mist); }
.contacts-map img { width: 100%; height: auto; min-height: 13rem; aspect-ratio: 3.07; object-fit: cover; }
.map-actions { position: absolute; bottom: .8rem; left: .8rem; right: .8rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.map-actions .outline-button { box-shadow: 0 2px 8px #0c332429; }

.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.6rem, 1.4vw, 1.15rem); }
.service-card { grid-column: span 2; display: grid; grid-template-columns: .82fr 1.18fr; gap: .5rem; align-items: center; padding: clamp(.55rem, 1.35vw, 1.05rem); min-height: clamp(9rem, 18vw, 13rem); }
.service-card:nth-child(n+4) { grid-column: span 3; grid-template-columns: .72fr 1.28fr; min-height: clamp(8rem, 15vw, 11rem); }
.service-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.service-card h2 { overflow-wrap: anywhere; }
.service-card p { margin: .52rem 0 .65rem; font-size: clamp(.75rem, 1.24vw, 1rem); line-height: 1.3; }
.service-card .text-action .icon, .patient-tiles span .icon { border: 1px solid #6b9f91; padding: .26em; border-radius: 50%; width: 1.65rem; height: 1.65rem; background: #fff; }
.section-carousel { position: relative; margin-top: 1.35rem; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > li { scroll-snap-align: start; flex: 0 0 100%; min-width: 0; }
.gallery-carousel .carousel-track { border-radius: .95rem; }
.gallery-carousel img { width: 100%; height: auto; aspect-ratio: 3.35; object-fit: cover; }
.carousel-prev, .carousel-next { position: absolute; top: 45%; }
.carousel-prev { left: .8rem; }
.carousel-next { right: .8rem; }
.carousel-prev .icon { transform: rotate(90deg); }
.carousel-next .icon { transform: rotate(-90deg); }
.carousel-prev:disabled, .carousel-next:disabled { opacity: .45; cursor: default; }
.carousel-dots { display: flex; justify-content: center; gap: .25rem; margin-top: .3rem; }
.carousel-dots button { display: grid; place-items: center; width: 1.15rem; height: 1.3rem; padding: 0; border: 0; background: transparent; cursor: pointer; }
.carousel-dots button::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: #ccd9d3; }
.carousel-dots button[aria-current="true"]::before { background: var(--green); }
.team-carousel .carousel-track { margin-inline: 2rem; }
.team-carousel li { flex-basis: 20%; padding: .25rem .6rem; text-align: center; }
.team-carousel li img { width: min(100%, 9rem); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin: 0 auto .5rem; }
.team-carousel strong, .team-carousel span { display: block; font-size: .81rem; line-height: 1.3; }
.team-carousel span { color: var(--section-muted); margin-top: .2rem; }
.team-carousel .carousel-prev { left: 0; }
.team-carousel .carousel-next { right: 0; }

.staff-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-bottom: 1.15rem; }
.staff-values li { display: flex; align-items: center; gap: .58rem; min-width: 0; padding-inline: clamp(.3rem, 1.8vw, 1.5rem); font-size: clamp(.75rem, 1.22vw, 1rem); line-height: 1.2; }
.staff-values li + li { border-left: 1px solid var(--line); }
.staff-values .icon { width: 1.65rem; height: 1.65rem; color: var(--green); }
.filter-bar { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; padding: .6rem .75rem; margin-bottom: 1rem; border-radius: .9rem; background: #edf3f0; }
.filter-search { flex: 1 1 13rem; }
.filter-search input { width: 100%; min-height: 2.2rem; padding: .42rem .85rem; border: 1px solid #d2e0d9; border-radius: 2rem; background: #fff; color: var(--ink); font: inherit; font-size: .85rem; }
.filter-options { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-options button { flex: 1 0 auto; min-height: 2.1rem; padding: .35rem .68rem; border: 1px solid #d2e0d9; border-radius: 2rem; background: #fff; color: var(--section-ink); font-size: .74rem; cursor: pointer; }
.filter-options button[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.55rem, 1.2vw, 1rem); }
.staff-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: .65rem; padding: clamp(.55rem, 1.2vw, 1rem); }
.staff-card { position: relative; isolation: isolate; }
.staff-card::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	background:
		radial-gradient(ellipse 100% 140% at 0% 0%, #126950 0%, #4e967f 25%, #abd0c0 44%, transparent 73%),
		radial-gradient(ellipse 120% 95% at 8% 113%, #b1d2c4 0%, #e3efe9 46%, transparent 70%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
}
.staff-card:has(:focus-visible)::before { opacity: 1; }
@media (hover: hover) {
	.staff-card:hover::before { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.staff-card::before { transition: none; }
}
.staff-photo-link { display: block; width: 100%; border-radius: 50%; }
.staff-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 2px solid #fff; border-radius: 50%; }
.staff-card h2 { font-size: clamp(.97rem, 1.68vw, 1.45rem); line-height: 1.08; overflow-wrap: anywhere; }
.clinic-section .staff-card h2 a:hover, .clinic-section .staff-card h2 a:focus-visible { color: #28745e; text-decoration: none; }
.staff-card p { margin: .37rem 0 .7rem; font-size: clamp(.7rem, 1.13vw, .9rem); line-height: 1.25; }
.staff-card .outline-button { font-size: .73rem; }
.empty-state { padding: 1rem; margin-bottom: .8rem; }
.profile-layout { display: grid; grid-template-columns: minmax(10rem, .64fr) minmax(0, 1.36fr); align-items: start; gap: clamp(1rem, 3.6vw, 3rem); }
.profile-photo { width: 100%; max-width: 23rem; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 1rem; }
.profile-info { display: grid; gap: 1rem; }
.profile-block { padding: 1rem 1.25rem; }
.profile-block p, .profile-block ul { margin-top: .65rem; line-height: 1.48; }
.profile-block ul { list-style: disc; padding-left: 1.1rem; }
.profile-block li + li { margin-top: .4rem; }
.profile-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }

.patient-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.55rem, 1.2vw, .95rem); }
.patient-tiles a { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: .6rem; padding: clamp(.65rem, 1.5vw, 1.15rem); }
.patient-tiles a:hover { border-color: #88af9f; }
.patient-tiles img { width: min(100%, 10rem); height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.patient-tiles span { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: .35rem; color: var(--section-ink); font: 700 clamp(.9rem, 1.7vw, 1.45rem)/1.12 var(--serif); }
.patient-tiles + section { margin-top: 2rem; }
.section-patients .section-callout h2, .section-offers .section-callout h2 { font-style: italic; }
.document-link { display: inline-flex; align-items: center; gap: .45rem; margin: .68rem .85rem 1rem; font-size: .92rem; }
.document-link .icon, .document-list li > .icon { color: #9e2c2d; }
.patient-guides { margin-top: 1rem; }
.resource-list { margin-top: .9rem; padding: .3rem 1rem; }
.resource-list > a, .resource-list summary { display: grid; grid-template-columns: 1.5rem 1fr 1.4rem; align-items: center; gap: .65rem; padding: .62rem .1rem; color: #154a87; cursor: pointer; }
.resource-list > a { border-top: 1px solid var(--line); }
.resource-list summary { list-style: none; }
.resource-list summary::-webkit-details-marker { display: none; }
.resource-list .icon { color: var(--green); }
.resource-list a:hover, .resource-list summary:hover { text-decoration: underline; }
.resource-list details[open] summary .icon:last-child { transform: rotate(180deg); }
.resource-list ul { margin: 0 0 .75rem 2rem; display: grid; gap: .5rem; }
.resource-list ul a { color: #154a87; }
.offers-empty { display: grid; justify-items: center; align-content: center; gap: .6rem; min-height: clamp(12rem, 26vw, 21rem); padding: 1.2rem; text-align: center; }
.offers-empty > .icon { color: var(--green); width: 2.6rem; height: 2.6rem; stroke-width: 1.3; }
.offers-empty h2 { font-size: clamp(1.35rem, 3.2vw, 2.5rem); }

.docs-info { display: grid; grid-template-columns: 1.45fr 1fr; gap: .85rem; }
.docs-info > .section-panel { padding: .95rem clamp(.8rem, 1.75vw, 1.35rem); }
.docs-info h2 .icon { color: var(--green); vertical-align: middle; margin-right: .45rem; }
.organization-table { margin: .65rem 0 0; font-size: clamp(.74rem, 1.24vw, .96rem); }
.organization-table div { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); column-gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.organization-table dd { margin: 0; overflow-wrap: anywhere; }
.docs-contact .contact-entry + .contact-entry { margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.document-list { padding: .15rem .8rem; }
.document-list li { display: grid; grid-template-columns: 1.35rem minmax(0, 1fr) 7.4rem 6rem; align-items: center; gap: .65rem; padding-block: .48rem; font-size: .85rem; }
.document-list li + li { border-top: 1px solid var(--line); }
.document-list small { color: var(--section-muted); }
.document-list .outline-button { justify-content: center; width: 100%; font-size: .72rem; }
.authorities-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.authorities-grid article { padding: .85rem; font-size: .82rem; }
.authorities-grid h3, .authorities-grid p { display: flex; align-items: start; gap: .5rem; margin-bottom: .45rem; }
.authorities-grid h3 { color: var(--green); font-size: .92rem; line-height: 1.25; }
.authorities-grid .icon { color: var(--green); }
.authorities-grid a { overflow-wrap: anywhere; }
.appointment-details { margin-top: .9rem; padding: .65rem .85rem; font-size: .9rem; }
.appointment-details summary { cursor: pointer; color: var(--green); font-weight: 600; }
.appointment-details p { margin-top: .5rem; }
.docs-notice { font-size: .88rem; }

body:has(.clinic-section) .site-footer { background: #f3f6f4; color: var(--section-ink); border-top: 1px solid var(--line); }
body:has(.section-docs, .section-staff, .section-profile) .site-footer { background: linear-gradient(90deg, #0d422dee, #104b3a90), url('about-footer.jpg') center / cover; color: #fff; }

@media (max-width: 850px) {
	.contacts-layout { grid-template-columns: .9fr 1fr; }
	.contact-channels { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; padding: .65rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.contact-channels .contact-entry + .contact-entry { margin-top: 0; }
	.service-card { grid-column: span 3; }
	.service-card:last-child { grid-column: span 6; grid-template-columns: minmax(5rem, 8rem) minmax(0, 1fr); }
	.staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.team-carousel li { flex-basis: 25%; }
}
@media (max-width: 620px) {
	.section-heading { background-size: auto, auto 100%; background-position: center, 77% center; }
	.section-staff .section-heading, .section-docs .section-heading { background-size: auto, auto 90%; background-position: center, 66% center; }
	.section-staff .section-heading p, .section-docs .section-heading p { max-width: 24ch; }
	.section-callout { flex-wrap: wrap; }
	.section-callout > div { min-width: min(100%, 13rem); }
	.contacts-layout, .contact-channels, .docs-info, .authorities-grid { grid-template-columns: 1fr; }
	.contact-building { aspect-ratio: 1.42; }
	.contact-entry.hours { margin-top: .7rem; padding-top: .7rem; }
	.contact-channels { gap: .75rem; }
	.service-card, .service-card:nth-child(n+4) { grid-column: span 6; grid-template-columns: minmax(5rem, .55fr) 1fr; min-height: 0; }
	.service-card img { width: min(100%, 8rem); justify-self: center; }
	.gallery-carousel img { aspect-ratio: 2.1; }
	.team-carousel li { flex-basis: 50%; }
	.staff-values { grid-template-columns: 1fr 1fr; }
	.staff-values li:nth-child(odd) { border-left: 0; }
	.staff-card { grid-template-columns: 1fr; align-content: start; }
	.staff-photo-link { width: min(100%, 8rem); justify-self: center; }
	.profile-layout { grid-template-columns: 1fr; }
	.profile-photo { width: min(70%, 15rem); }
	.patient-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.document-list li { grid-template-columns: 1rem minmax(0, 1fr) auto; font-size: .78rem; gap: .35rem; }
	.document-list li small { display: none; }
	.document-list .outline-button { padding-inline: .45rem; }
	.document-list .outline-button .icon { display: none; }
}
