/**
 * IM Ketamine Preferred Location page
 * Bright Horizons Psychiatry
 */

/* ——— Hero ——— */
.bhp-imk-pl-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 55% at 50% 0%, rgba(75, 190, 221, 0.14), transparent 58%),
		radial-gradient(ellipse 45% 40% at 100% 100%, rgba(1, 58, 101, 0.06), transparent 50%),
		linear-gradient(165deg, #f0f5f9 0%, var(--bhp-white) 48%, #eef3f7 100%);
	color: var(--bhp-ink);
	text-align: center;
}

.bhp-imk-pl-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(0.85rem, 2vh, 1.25rem);
	max-width: 40rem;
	margin-inline: auto;
	padding-top: clamp(2.5rem, 6vw, 4rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
	animation: bhp-imk-pl-rise 0.85s var(--bhp-ease-out) both;
}

.bhp-imk-pl-hero__eyebrow {
	margin: 0;
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-wide);
	text-transform: uppercase;
	color: var(--bhp-primary);
}

.bhp-imk-pl-hero__title {
	margin: 0;
	font-size: clamp(2rem, 4.5vw, 3.15rem);
	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-imk-pl-hero__text {
	margin: 0;
	max-width: 36rem;
	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;
}

/* ——— Location cards ——— */
.bhp-imk-pl-locations {
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background-color: var(--bhp-surface);
}

.bhp-imk-pl-locations__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bhp-space-3);
	margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
	max-width: 36rem;
}

.bhp-imk-pl-locations__title {
	margin: 0;
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	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-imk-pl-locations__intro {
	margin: 0;
	font-size: var(--bhp-fs-base);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

.bhp-imk-pl-locations__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 3vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.bhp-imk-pl-locations__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.bhp-imk-pl-locations__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: var(--bhp-surface-soft);
	border: 1px solid rgba(1, 58, 101, 0.1);
	border-radius: var(--bhp-btn-radius);
	animation: bhp-imk-pl-rise 0.9s var(--bhp-ease-out) both;
}

.bhp-imk-pl-locations__card:nth-child(2) {
	animation-delay: 0.08s;
}

.bhp-imk-pl-locations__map {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background-color: var(--bhp-silver);
	overflow: hidden;
}

.bhp-imk-pl-locations__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.bhp-imk-pl-locations__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bhp-space-3);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	flex: 1;
}

.bhp-imk-pl-locations__note {
	margin: 0;
	padding: 0.35rem 0.7rem;
	font-size: var(--bhp-fs-xs);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-wide);
	text-transform: uppercase;
	color: var(--bhp-primary);
	background-color: rgba(75, 190, 221, 0.16);
	border-radius: var(--bhp-btn-radius);
}

.bhp-imk-pl-locations__name {
	margin: 0;
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-primary-dark);
}

.bhp-imk-pl-locations__address {
	margin: 0;
	font-style: normal;
	font-size: var(--bhp-fs-sm);
	line-height: var(--bhp-lh-base);
	color: var(--bhp-ink-muted);
}

.bhp-imk-pl-locations__address a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bhp-imk-pl-locations__address a:hover,
.bhp-imk-pl-locations__address a:focus-visible {
	color: var(--bhp-primary);
}

.bhp-imk-pl-locations__areas {
	margin: 0;
	font-size: var(--bhp-fs-sm);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
}

.bhp-imk-pl-locations__phone {
	margin: 0;
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-semibold);
}

.bhp-imk-pl-locations__phone a {
	color: var(--bhp-primary-dark);
	text-decoration: none;
}

.bhp-imk-pl-locations__phone a:hover,
.bhp-imk-pl-locations__phone a:focus-visible {
	color: var(--bhp-primary);
	text-decoration: underline;
}

.bhp-imk-pl-locations__cta {
	margin-top: auto;
	width: 100%;
	justify-content: center;
	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-imk-pl-locations__cta:hover,
.bhp-imk-pl-locations__cta:focus-visible {
	transform: translateY(-1px);
}

/* ——— Closing CTA ——— */
.bhp-imk-pl-cta {
	padding-block: clamp(2.5rem, 5vw, 3.75rem);
	background:
		radial-gradient(ellipse 60% 80% at 10% 50%, rgba(75, 190, 221, 0.12), transparent 55%),
		linear-gradient(165deg, #eef3f7 0%, var(--bhp-white) 100%);
}

.bhp-imk-pl-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(1.25rem, 3vw, 1.75rem);
	max-width: 40rem;
}

@media (min-width: 768px) {
	.bhp-imk-pl-cta__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		max-width: none;
		gap: clamp(2rem, 4vw, 3rem);
	}
}

.bhp-imk-pl-cta__copy {
	display: flex;
	flex-direction: column;
	gap: var(--bhp-space-3);
	max-width: 34rem;
}

.bhp-imk-pl-cta__title {
	margin: 0;
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	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-imk-pl-cta__text {
	margin: 0;
	font-size: var(--bhp-fs-base);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

.bhp-imk-pl-cta__btn {
	flex-shrink: 0;
	border-radius: var(--bhp-btn-radius);
	box-shadow: none;
	transition:
		background-color var(--bhp-transition),
		transform var(--bhp-transition);
}

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

/* ——— FAQ ——— */
.bhp-imk-pl-faq {
	padding-block: clamp(2.75rem, 5.5vw, 4.25rem);
	background-color: var(--bhp-primary);
	color: var(--bhp-white);
}

.bhp-imk-pl-faq__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 900px) {
	.bhp-imk-pl-faq__inner {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		gap: clamp(2.5rem, 5vw, 4rem);
		align-items: start;
	}
}

.bhp-imk-pl-faq__header {
	margin: 0;
}

@media (min-width: 900px) {
	.bhp-imk-pl-faq__header {
		position: sticky;
		top: 6rem;
		padding-top: clamp(0.5rem, 1.5vw, 1rem);
	}
}

.bhp-imk-pl-faq__title {
	margin: 0;
	max-width: 14rem;
	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-white);
	text-wrap: balance;
}

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

.bhp-imk-pl-faq__list .bhp-faq-item {
	border-color: rgba(255, 255, 255, 0.28);
}

.bhp-imk-pl-faq__list .bhp-faq-item__q {
	color: var(--bhp-white);
}

.bhp-imk-pl-faq__list .bhp-faq-item__q:hover {
	color: rgba(255, 255, 255, 0.85);
}

.bhp-imk-pl-faq__list .bhp-faq-item__icon {
	color: var(--bhp-primary-dark);
	background-color: rgba(255, 255, 255, 0.92);
	border: none;
}

.bhp-imk-pl-faq__list .bhp-faq-item[open] .bhp-faq-item__icon {
	background-color: var(--bhp-white);
	color: var(--bhp-primary);
}

.bhp-imk-pl-faq__list .bhp-faq-item__a {
	color: rgba(255, 255, 255, 0.88);
}

.bhp-imk-pl-faq__list .bhp-faq-item__a p {
	color: inherit;
}

.bhp-imk-pl-faq__list .bhp-faq-item:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

/* ——— Motion ——— */
@keyframes bhp-imk-pl-rise {
	from {
		opacity: 0;
		transform: translateY(0.85rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bhp-imk-pl-hero__inner,
	.bhp-imk-pl-locations__card {
		animation: none;
	}

	.bhp-imk-pl-locations__cta:hover,
	.bhp-imk-pl-locations__cta:focus-visible,
	.bhp-imk-pl-cta__btn:hover,
	.bhp-imk-pl-cta__btn:focus-visible {
		transform: none;
	}
}
