/**
 * Telehealth page
 * Bright Horizons Psychiatry
 */

/* ——— Hero ——— */
.bhp-th-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-color: var(--bhp-white);
	color: var(--bhp-ink);
}

.bhp-th-hero__inner {
	display: grid;
	align-items: center;
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-top: clamp(2.25rem, 5vw, 3.75rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 992px) {
	.bhp-th-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: clamp(2.5rem, 5vw, 4.5rem);
		min-height: clamp(32rem, 72vh, 42rem);
	}
}

.bhp-th-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(1.15rem, 2.5vh, 1.65rem);
	width: 100%;
	max-width: 36rem;
	animation: bhp-th-rise 0.85s var(--bhp-ease-out) both;
}

.bhp-th-hero__title {
	margin: 0;
	font-size: clamp(2.1rem, 4.5vw, 3.25rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: 1.1;
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-th-hero__text {
	margin: 0;
	max-width: 34rem;
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

.bhp-th-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--bhp-space-3);
	margin-top: var(--bhp-space-2);
}

.bhp-th-hero__cta {
	margin: 0;
	border-radius: var(--bhp-btn-radius);
	box-shadow: none;
	transition:
		background-color var(--bhp-transition),
		border-color var(--bhp-transition),
		color var(--bhp-transition),
		transform var(--bhp-transition);
}

.bhp-th-hero__cta:hover,
.bhp-th-hero__cta:focus-visible {
	transform: translateY(-1px);
}

.bhp-th-hero__cta--secondary:hover,
.bhp-th-hero__cta--secondary:focus-visible {
	background-color: var(--bhp-primary-dark);
	border-color: var(--bhp-primary-dark);
	color: var(--bhp-white);
}

.bhp-th-hero__media {
	position: relative;
	width: 100%;
	min-height: 18rem;
	border-radius: var(--bhp-btn-radius);
	overflow: hidden;
	animation: bhp-th-fade 1s var(--bhp-ease-out) 0.12s both;
}

@media (min-width: 992px) {
	.bhp-th-hero__media {
		min-height: 100%;
		height: 100%;
		align-self: stretch;
	}
}

.bhp-th-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 18rem;
	object-fit: cover;
	object-position: center;
}

@media (min-width: 992px) {
	.bhp-th-hero__image {
		position: absolute;
		inset: 0;
		min-height: 0;
	}
}

.bhp-th-hero__trust {
	border-top: 1px solid var(--bhp-border);
	background-color: var(--bhp-white);
	animation: bhp-th-rise 0.9s var(--bhp-ease-out) 0.2s both;
}

.bhp-th-hero__trust-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--bhp-space-4);
	margin: 0;
	padding: clamp(1.25rem, 3vw, 1.75rem) 0;
	list-style: none;
}

@media (min-width: 576px) {
	.bhp-th-hero__trust-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--bhp-space-5) var(--bhp-space-6);
	}
}

@media (min-width: 992px) {
	.bhp-th-hero__trust-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--bhp-space-6);
		align-items: center;
	}
}

.bhp-th-hero__trust-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
}

.bhp-th-hero__trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	color: var(--bhp-primary);
	font-size: 0.95rem;
}

.bhp-th-hero__trust-text {
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-ink);
	text-wrap: pretty;
}

@keyframes bhp-th-rise {
	from {
		opacity: 0;
		transform: translateY(1.25rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bhp-th-fade {
	from {
		opacity: 0;
		transform: translateY(0.75rem) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bhp-th-hero__content,
	.bhp-th-hero__media,
	.bhp-th-hero__trust {
		animation: none;
	}

	.bhp-th-hero__cta:hover,
	.bhp-th-hero__cta:focus-visible,
	.bhp-th-cta__btn:hover,
	.bhp-th-cta__btn:focus-visible {
		transform: none;
	}
}

@media (max-width: 575px) {
	.bhp-th-hero__actions,
	.bhp-th-cta__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.bhp-th-hero__actions .bhp-btn,
	.bhp-th-cta__actions .bhp-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* ——— Rules ——— */
.bhp-th-rules {
	padding-top: var(--bhp-section-y);
	padding-bottom: var(--bhp-section-y);
	background-color: var(--bhp-surface-soft);
	color: var(--bhp-ink);
}

.bhp-th-rules__header {
	max-width: 40rem;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.bhp-th-rules__title {
	margin: 0 0 var(--bhp-space-4);
	font-size: clamp(1.85rem, 3.4vw, 2.65rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-tight);
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-th-rules__intro {
	margin: 0;
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

.bhp-th-rules__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2.5vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.bhp-th-rules__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.bhp-th-rules__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bhp-space-4);
	margin: 0;
	padding: clamp(1.35rem, 2.5vw, 1.75rem);
	background-color: var(--bhp-white);
	border: 1px solid var(--bhp-border);
	border-radius: var(--bhp-btn-radius);
}

.bhp-th-rules__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--bhp-btn-radius);
	background-color: var(--bhp-primary-light);
	color: var(--bhp-primary);
	font-size: 1.05rem;
}

.bhp-th-rules__card-title {
	margin: 0;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-th-rules__card-text {
	margin: 0;
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

/* ——— Scope ——— */
.bhp-th-scope {
	padding-top: var(--bhp-section-y);
	padding-bottom: var(--bhp-section-y);
	background-color: var(--bhp-white);
	color: var(--bhp-ink);
}

.bhp-th-scope__header {
	max-width: 40rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bhp-th-scope__title {
	margin: 0;
	font-size: clamp(1.85rem, 3.4vw, 2.65rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-tight);
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-th-scope__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.25rem, 3vw, 1.75rem);
}

@media (min-width: 800px) {
	.bhp-th-scope__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.bhp-th-scope__panel {
	display: flex;
	flex-direction: column;
	gap: var(--bhp-space-5);
	padding: clamp(1.5rem, 3vw, 2rem);
	border-radius: var(--bhp-btn-radius);
	border: 1px solid var(--bhp-border);
	background-color: var(--bhp-surface-soft);
}

.bhp-th-scope__panel--yes {
	background-color: var(--bhp-primary-light);
	border-color: transparent;
}

.bhp-th-scope__panel-title {
	display: flex;
	align-items: center;
	gap: var(--bhp-space-3);
	margin: 0;
	font-size: clamp(1.1rem, 1.8vw, 1.3rem);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-primary-dark);
}

.bhp-th-scope__panel-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background-color: var(--bhp-primary-dark);
	color: var(--bhp-white);
	font-size: 0.75rem;
}

.bhp-th-scope__panel--no .bhp-th-scope__panel-icon {
	background-color: var(--bhp-ink-muted);
}

.bhp-th-scope__list {
	display: flex;
	flex-direction: column;
	gap: var(--bhp-space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bhp-th-scope__list li {
	position: relative;
	padding-left: 1.15rem;
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink);
}

.bhp-th-scope__list li::before {
	content: "";
	position: absolute;
	top: 0.65em;
	left: 0;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background-color: var(--bhp-primary);
}

.bhp-th-scope__panel--no .bhp-th-scope__list li::before {
	background-color: var(--bhp-ink-muted);
}

/* ——— Steps ——— */
.bhp-th-steps {
	padding-top: var(--bhp-section-y);
	padding-bottom: var(--bhp-section-y);
	background-color: var(--bhp-surface-soft);
	color: var(--bhp-ink);
}

.bhp-th-steps__header {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bhp-th-steps__title {
	margin: 0;
	max-width: 32rem;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-tight);
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-th-steps__timeline {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.bhp-th-steps__timeline {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: clamp(1.25rem, 2.5vw, 2rem);
	}
}

.bhp-th-steps__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bhp-space-4);
	margin: 0;
	min-width: 0;
}

@media (min-width: 900px) {
	.bhp-th-steps__step::after {
		content: "";
		position: absolute;
		top: 1.15rem;
		left: calc(2.3rem + 0.5rem);
		right: calc(-1 * clamp(1.25rem, 2.5vw, 2rem) / 2);
		height: 1px;
		background-color: var(--bhp-border-strong);
		pointer-events: none;
	}

	.bhp-th-steps__step:last-child::after {
		display: none;
	}
}

.bhp-th-steps__num {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.3rem;
	height: 2.3rem;
	border-radius: var(--bhp-btn-radius);
	background-color: var(--bhp-primary-dark);
	color: var(--bhp-white);
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: 1;
}

.bhp-th-steps__body {
	display: flex;
	flex-direction: column;
	gap: var(--bhp-space-3);
	width: 100%;
}

.bhp-th-steps__step-title {
	margin: 0;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-th-steps__step-text {
	margin: 0;
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

@media (max-width: 899px) {
	.bhp-th-steps__step:not(:last-child)::before {
		content: "";
		position: absolute;
		top: 2.3rem;
		left: calc(2.3rem / 2);
		width: 1px;
		bottom: calc(-1 * clamp(1.75rem, 3vw, 2.25rem));
		background-color: var(--bhp-border-strong);
		pointer-events: none;
	}

	.bhp-th-steps__step {
		flex-direction: row;
		align-items: flex-start;
	}

	.bhp-th-steps__body {
		padding-top: 0.2rem;
	}
}

/* ——— Tech ——— */
.bhp-th-tech {
	padding-top: var(--bhp-section-y);
	padding-bottom: var(--bhp-section-y);
	background-color: var(--bhp-white);
	color: var(--bhp-ink);
}

.bhp-th-tech__header {
	max-width: 40rem;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.bhp-th-tech__title {
	margin: 0 0 var(--bhp-space-4);
	font-size: clamp(1.85rem, 3.4vw, 2.65rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-tight);
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-th-tech__intro {
	margin: 0;
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

.bhp-th-tech__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2.5vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.bhp-th-tech__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.bhp-th-tech__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.bhp-th-tech__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bhp-space-4);
	margin: 0;
	padding: clamp(1.25rem, 2.5vw, 1.6rem);
	background-color: var(--bhp-surface-soft);
	border-radius: var(--bhp-btn-radius);
}

.bhp-th-tech__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: var(--bhp-btn-radius);
	background-color: var(--bhp-white);
	color: var(--bhp-primary);
	font-size: 1rem;
	border: 1px solid var(--bhp-border);
}

.bhp-th-tech__card-title {
	margin: 0;
	font-size: var(--bhp-fs-lg);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-th-tech__card-text {
	margin: 0;
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

/* ——— Insurance ——— */
.bhp-th-insurance {
	padding-top: var(--bhp-section-y);
	padding-bottom: var(--bhp-section-y);
	background-color: var(--bhp-surface-soft);
	color: var(--bhp-ink);
}

.bhp-th-insurance__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.75rem, 4vw, 2.5rem);
	align-items: start;
}

@media (min-width: 900px) {
	.bhp-th-insurance__inner {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
		gap: clamp(2.5rem, 5vw, 4rem);
	}
}

.bhp-th-insurance__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bhp-space-5);
}

.bhp-th-insurance__title {
	margin: 0;
	font-size: clamp(1.85rem, 3.4vw, 2.65rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-tight);
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-th-insurance__text {
	display: flex;
	flex-direction: column;
	gap: var(--bhp-space-4);
	max-width: 40rem;
}

.bhp-th-insurance__text p {
	margin: 0;
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

.bhp-th-insurance__cta {
	margin: 0;
	border-radius: var(--bhp-btn-radius);
	box-shadow: none;
}

.bhp-th-insurance__aside {
	display: flex;
	flex-direction: column;
	gap: var(--bhp-space-4);
	padding: clamp(1.5rem, 3vw, 2rem);
	background-color: var(--bhp-white);
	border: 1px solid var(--bhp-border);
	border-radius: var(--bhp-btn-radius);
}

.bhp-th-insurance__aside-title {
	margin: 0;
	font-size: clamp(1.1rem, 1.8vw, 1.25rem);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-primary-dark);
}

.bhp-th-insurance__aside-text {
	margin: 0;
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

.bhp-th-insurance__aside-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: var(--bhp-space-2);
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: 1.3;
	color: var(--bhp-primary);
	text-decoration: none;
	transition: color var(--bhp-transition);
}

.bhp-th-insurance__aside-link:hover,
.bhp-th-insurance__aside-link:focus-visible {
	color: var(--bhp-primary-dark);
}

/* ——— FAQ ——— */
.bhp-th-faq {
	padding-top: var(--bhp-section-y);
	padding-bottom: var(--bhp-section-y);
	background-color: var(--bhp-white);
	color: var(--bhp-ink);
}

.bhp-th-faq__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: start;
}

@media (min-width: 900px) {
	.bhp-th-faq__inner {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		gap: clamp(2.5rem, 5vw, 4.5rem);
	}
}

.bhp-th-faq__header {
	margin: 0;
}

@media (min-width: 900px) {
	.bhp-th-faq__header {
		position: sticky;
		top: calc(var(--bhp-space-8) + 4.5rem);
	}
}

.bhp-th-faq__title {
	margin: 0;
	max-width: 16rem;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-tight);
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-th-faq__list {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	margin: 0;
}

.bhp-th-faq__list .bhp-faq-item:last-child {
	border-bottom: 1px solid var(--bhp-border);
}

/* ——— CTA ——— */
.bhp-th-cta {
	padding-top: var(--bhp-section-y);
	padding-bottom: var(--bhp-section-y);
	background-color: var(--bhp-primary-dark);
	color: var(--bhp-white);
}

.bhp-th-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(1.5rem, 3vw, 2rem);
	max-width: 42rem;
}

.bhp-th-cta__title {
	margin: 0 0 var(--bhp-space-4);
	font-size: clamp(1.85rem, 3.4vw, 2.65rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-tight);
	color: var(--bhp-white);
	text-wrap: balance;
}

.bhp-th-cta__text {
	margin: 0;
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: rgba(255, 255, 255, 0.82);
	text-wrap: pretty;
}

.bhp-th-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--bhp-space-3);
}

.bhp-th-cta__btn {
	margin: 0;
	border-radius: var(--bhp-btn-radius);
	box-shadow: none;
	transition:
		background-color var(--bhp-transition),
		border-color var(--bhp-transition),
		color var(--bhp-transition),
		transform var(--bhp-transition);
}

.bhp-th-cta__btn:hover,
.bhp-th-cta__btn:focus-visible {
	transform: translateY(-1px);
}

.bhp-th-cta__btn--secondary {
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--bhp-white);
	background-color: transparent;
}

.bhp-th-cta__btn--secondary:hover,
.bhp-th-cta__btn--secondary:focus-visible {
	background-color: var(--bhp-white);
	border-color: var(--bhp-white);
	color: var(--bhp-primary-dark);
}
