/* Inner pages — one shared layout system that mirrors the homepage.
   Loaded after theme.css on every page except index.html. */

/* Same frame width as the homepage at large sizes. */
@media (min-width: 1200px) {
	.container {
		width: 1100px;
	}
}

/* ===== Page hero ===== */
body {
	overflow-x: hidden;
}

.page-hero {
	position: relative;
	overflow: hidden;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 62px 20px 58px;
	box-sizing: border-box;
	background:
		linear-gradient(90deg, rgba(11, 43, 39, .97) 0%, rgba(11, 43, 39, .9) 42%, rgba(11, 43, 39, .48) 100%),
		url("../images/hero-nature.jpg") center / cover no-repeat,
		var(--forest);
	background-image:
		linear-gradient(90deg, rgba(11, 43, 39, .97) 0%, rgba(11, 43, 39, .9) 42%, rgba(11, 43, 39, .48) 100%),
		image-set(
			url("../images/hero-nature.webp") type("image/webp") 1x,
			url("../images/hero-nature.jpg") type("image/jpeg") 1x
		);
	border-bottom: 1px solid rgba(246, 238, 225, .12);
}

.page-hero-inner {
	display: block;
	max-width: 1040px;
	margin: 0 auto;
}

.page-hero-copy {
	max-width: 660px;
}

.page-hero .eyebrow {
	margin: 0 0 14px;
	color: var(--peach);
}

.page-hero h1 {
	margin: 0 0 16px;
	font-size: clamp(2.1rem, 2.7vw, 2.55rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.03em;
	color: var(--cream);
	text-wrap: balance;
}

.page-hero-lede {
	max-width: 620px;
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(246, 238, 225, .78);
}

/* ===== Page body ===== */
.page-body {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 58px 20px 72px;
	box-sizing: border-box;
	background: var(--cream);
}

.page-wrap {
	max-width: 1040px;
	margin: 0 auto;
}

.page-lead {
	max-width: 840px;
	margin: 0 0 42px;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: -.015em;
	color: var(--forest);
	text-wrap: pretty;
}

.page-body p,
.page-body li {
	font-size: 16.5px;
	line-height: 1.7;
}

.page-body .section-heading {
	margin: 0 0 18px;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.03em;
}

.page-body .section-heading::before {
	width: 36px;
	height: 3px;
	margin-bottom: 12px;
	background: var(--terra-deep);
}

.page-body .muted {
	color: var(--muted);
}

.page-body .stack > * + * {
	margin-top: 16px;
}

/* ===== Cards and grids ===== */
.page-grid {
	display: grid;
	gap: 24px;
	margin: 0 0 28px;
}

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

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

.page-grid--aside {
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}

.info-card {
	padding: 30px;
	background: var(--card);
	border: 1px solid var(--card-line);
	border-radius: 20px;
}

.info-card > :last-child {
	margin-bottom: 0;
}

.info-card h2 {
	margin: 0 0 14px;
	font-size: 23px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.025em;
	color: var(--forest);
}

.info-card h3 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -.015em;
	color: var(--forest);
}

.info-card--sage {
	background: var(--sage);
	border-color: #D3DFD3;
}

.info-card--forest {
	background: var(--forest);
	border-color: var(--forest);
	color: rgba(246, 238, 225, .8);
}

.info-card--forest h2,
.info-card--forest h3 {
	color: var(--cream);
}

.info-card--forest a {
	color: var(--peach);
}

.info-card--accent {
	background: var(--sand);
	border-color: #DCCDB8;
}

/* ===== Lists ===== */
.point-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.point-list li {
	position: relative;
	margin: 0;
	padding-left: 24px;
}

.point-list li::before {
	content: "";
	position: absolute;
	top: .62em;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--terra-deep);
}

.point-list--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 26px;
}

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.chip-list li {
	margin: 0;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--forest);
	color: var(--cream);
	font-size: 13px;
	line-height: 1;
}

/* ===== Numbered steps ===== */
.step-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 22px 0 0;
}

.step {
	padding: 20px;
	background: rgba(255, 251, 244, .6);
	border: 1px solid var(--card-line);
	border-radius: 16px;
}

.step:nth-child(1),
.step:nth-child(4) {
	background: var(--sage);
	border-color: #D3DFD3;
}

.step:nth-child(2),
.step:nth-child(3) {
	background: var(--card);
	border-color: var(--card-line);
}

.step-label {
	display: block;
	margin-bottom: 6px;
	color: var(--terra-deep);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.step p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
}

/* ===== Downloadable files ===== */
.file-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 22px 0 0;
}

.file-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: rgba(255, 251, 244, .7);
	border: 1px solid var(--card-line);
	border-radius: 14px;
	color: var(--forest);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.file-card:hover,
.file-card:focus-visible {
	background: var(--card);
	border-color: var(--terra);
}

.file-card img {
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	mix-blend-mode: multiply;
}

.file-name {
	flex: 1;
}

.file-meta {
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .02em;
	white-space: nowrap;
}

/* ===== Locations ===== */
.location-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.location-block {
	padding: 28px;
	background: var(--card);
	border: 1px solid var(--card-line);
	border-radius: 20px;
}

.location-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.location-head h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--forest);
}

.location-map {
	width: 104px;
	height: 104px;
	flex: 0 0 auto;
	overflow: hidden;
	border: 4px solid var(--cream);
	border-radius: 50%;
	background: var(--sand);
}

.location-map img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: multiply;
}

.location-block address {
	margin: 0;
	font-size: 16.5px;
	font-style: normal;
	line-height: 1.7;
	color: var(--body);
}

.location-meta {
	margin: 18px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--card-line);
}

.location-meta p {
	margin: 0;
}

.location-meta a {
	color: var(--terra-deep);
	font-weight: 700;
	text-decoration: none;
}

.location-meta a:hover,
.location-meta a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.location-hours {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--card-line);
}

.location-hours h3 {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--terra-deep);
}

.location-hours p {
	margin: 0;
}

.location-hours .note {
	margin-top: 12px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

/* ===== Contact detail rows ===== */
.detail-list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.detail-list li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 20px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--card-line);
}

.detail-list li:last-child {
	border-bottom: 0;
}

.detail-list .label {
	font-weight: 800;
	color: var(--forest);
}

.detail-list a {
	color: var(--terra-deep);
	font-weight: 600;
	text-decoration: none;
}

.detail-list a:hover,
.detail-list a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.resource-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.resource-list li {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--card-line);
}

.resource-list li:last-child {
	border-bottom: 0;
}

.resource-list strong {
	display: block;
	margin-bottom: 2px;
	color: var(--forest);
}

.info-card--forest .resource-list strong {
	color: var(--cream);
}

/* ===== Provider index and profiles ===== */
.provider-index {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 32px;
}

.provider-index a {
	padding: 7px 12px;
	background: var(--card);
	border: 1px solid var(--card-line);
	border-radius: 999px;
	color: var(--forest);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.provider-index a:hover,
.provider-index a:focus-visible {
	background: var(--sage);
	border-color: #C9D7C9;
}

.provider-profile {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 30px;
	align-items: center;
	margin: 0 0 22px;
	padding: 30px;
	background: var(--card);
	border: 1px solid var(--card-line);
	border-radius: 20px;
	scroll-margin-top: 24px;
}

.provider-avatar {
	width: 190px;
	height: 190px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--sand);
}

.provider-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.provider-profile h2 {
	margin: 0 0 4px;
	font-size: 27px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.03em;
	color: var(--forest);
}

.provider-profile h2 a {
	color: inherit;
	text-decoration: none;
}

.provider-profile h2 a:hover,
.provider-profile h2 a:focus-visible {
	text-decoration: underline;
	text-decoration-color: var(--terra);
	text-underline-offset: 4px;
}

.provider-role {
	margin: 0 0 16px;
	color: var(--terra-deep);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.provider-bio p {
	margin: 0 0 14px;
}

.provider-bio p:last-child {
	margin-bottom: 0;
}

.provider-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--card-line);
	font-size: 14px;
	line-height: 1.5;
}

.provider-meta .label {
	font-weight: 800;
	color: var(--forest);
}

.provider-meta a {
	color: var(--terra-deep);
}

.provider-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--terra-deep);
	color: var(--cream);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.provider-doxy {
	max-width: 290px;
	margin-top: 22px;
}

.provider-profile--media {
	grid-template-columns: 290px minmax(0, 1fr);
}

.provider-media {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.provider-media .provider-avatar {
	width: 190px;
	height: 190px;
}

.provider-media .provider-doxy {
	width: 100%;
	max-width: 290px;
	margin-top: 0;
}

.provider-profile:nth-of-type(even) {
	grid-template-columns: minmax(0, 1fr) 190px;
}

.provider-profile:nth-of-type(even) .provider-avatar {
	order: 2;
}

.provider-profile:nth-of-type(even) .provider-bio {
	order: 1;
}

.provider-meta .provider-action {
	color: var(--cream);
}

.provider-meta .provider-action:hover,
.provider-meta .provider-action:focus-visible {
	background: #8f2f14;
	color: var(--cream);
}

/* ===== Provider detail pages ===== */
.profile-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
	gap: 40px;
	align-items: start;
}

.profile-grid--compact {
	grid-template-columns: minmax(0, 1fr) 230px;
}

.profile-media {
	min-width: 0;
}

.profile-media .provider-doxy {
	width: 100%;
	max-width: 290px;
	margin-top: 18px;
}

.profile-photo {
	overflow: hidden;
	background: var(--sand);
	border: 1px solid var(--card-line);
	border-radius: 22px;
}

.profile-photo img {
	display: block;
	width: 100%;
	height: auto;
}

.profile-bio > p {
	margin: 0 0 18px;
	font-size: 17px;
	line-height: 1.75;
}

.profile-bio > p:last-of-type {
	margin-bottom: 0;
}

.profile-bio .provider-meta {
	margin-top: 24px;
}

.profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

/* ===== Legal pages ===== */
.legal-page {
	max-width: 780px;
	margin: 0 auto;
}

.legal-page .updated {
	margin: 0 0 26px;
	color: var(--terra-deep);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.legal-page h2 {
	margin: 38px 0 10px;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -.025em;
	color: var(--forest);
}

.legal-page h2:first-of-type {
	margin-top: 0;
}

.legal-page p,
.legal-page li {
	font-size: 16.5px;
	line-height: 1.75;
}

.legal-page ul {
	margin: 0 0 18px;
	padding-left: 22px;
}

.legal-page li {
	margin-bottom: 8px;
}

/* ===== 404 ===== */
.error-page {
	max-width: 680px;
	margin: 0 auto;
	text-align: center;
}

.error-page .error-code {
	margin: 0 0 6px;
	color: var(--forest);
	font-size: clamp(4rem, 10vw, 7rem);
	font-weight: 800;
	line-height: .95;
	letter-spacing: -.06em;
}

.error-page .error-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 26px;
}

/* ===== Closing call to action ===== */
.page-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 44px 0 0;
	padding: 38px 40px;
	background:
		url("../images/bg-flow-light.svg") no-repeat right -60px center / 620px auto,
		var(--cta);
	border-radius: 24px;
	color: var(--cream);
}

.page-cta > div {
	max-width: 660px;
}

.page-cta h2 {
	margin: 0 0 8px;
	color: var(--cream);
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.03em;
}

.page-cta p {
	margin: 0;
	color: rgba(246, 238, 225, .82);
}

.page-cta .btn-light {
	background: var(--cream);
	color: var(--forest);
}

.page-cta .btn-light:hover,
.page-cta .btn-light:focus-visible {
	background: var(--sand);
	color: var(--forest);
}

/* ===== Buttons on cream ===== */
.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid var(--forest);
	border-radius: 999px;
	color: var(--forest);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
	background: var(--forest);
	color: var(--cream);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
	.page-hero {
		padding: 46px 16px 42px;
	}

	.page-body {
		padding: 46px 16px 60px;
	}

	.page-cta {
		margin-top: 36px;
		padding: 32px 24px;
	}

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

	.profile-grid {
		grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr);
		gap: 28px;
	}
}

@media (max-width: 760px) {
	.page-hero h1 {
		font-size: clamp(2.05rem, 7.5vw, 2.45rem);
	}

	.page-grid--2,
	.page-grid--3,
	.page-grid--aside,
	.location-grid,
	.step-grid,
	.file-grid,
	.point-list--2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.provider-profile,
	.provider-profile:nth-of-type(even),
	.provider-profile--media {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding: 24px;
	}

	.provider-profile .provider-avatar,
	.provider-profile:nth-of-type(even) .provider-avatar {
		order: -1;
	}

	.provider-profile .provider-bio,
	.provider-profile:nth-of-type(even) .provider-bio {
		order: 0;
	}

	.provider-avatar {
		width: 132px;
		height: 132px;
	}

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

	.profile-grid--compact .profile-photo {
		max-width: 230px;
	}

	.profile-media {
		order: -1;
	}

	.profile-photo {
		max-width: 340px;
	}

	.page-body .section-heading {
		font-size: 25px;
	}

	.info-card {
		padding: 24px;
	}
}

@media (max-width: 520px) {
	.page-hero {
		padding: 36px 16px 34px;
		background:
			linear-gradient(180deg, rgba(11, 43, 39, .96), rgba(11, 43, 39, .9) 55%, rgba(11, 43, 39, .74)),
			url("../images/hero-nature.jpg") center / cover no-repeat,
			var(--forest);
		background-image:
			linear-gradient(180deg, rgba(11, 43, 39, .96), rgba(11, 43, 39, .9) 55%, rgba(11, 43, 39, .74)),
			image-set(
				url("../images/hero-nature.webp") type("image/webp") 1x,
				url("../images/hero-nature.jpg") type("image/jpeg") 1x
			);
	}

	.page-cta {
		align-items: flex-start;
		flex-direction: column;
		padding: 28px 22px;
		border-radius: 18px;
	}

	.page-cta .btn {
		width: 100%;
	}

	.page-body {
		padding: 38px 16px 50px;
	}

	.page-lead {
		font-size: 1.12rem;
	}

	.info-card,
	.location-block {
		padding: 21px;
	}

	.location-head h2 {
		font-size: 24px;
	}
}

/* Specificity guards for text inside the page body. */
.page-body .page-lead {
	margin: 0 0 42px;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: -.015em;
	color: var(--forest);
}

.page-body .provider-role {
	margin: 0 0 16px;
	color: var(--terra-deep);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

@media (max-width: 520px) {
	.page-body .page-lead {
		font-size: 1.12rem;
	}
}

/* Accepted payment methods */
.pay-methods {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.pay-methods li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 11px;
	background: var(--card);
	border: 1px solid var(--card-line);
	border-radius: 999px;
	color: var(--forest);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.pay-methods svg {
	flex: 0 0 auto;
}

.pay-visa {
	color: #1A1F71;
	font-size: 13px;
	font-style: italic;
	font-weight: 800;
	letter-spacing: .02em;
}
