/**
 * Contact page
 * Bright Horizons Psychiatry
 */

/* ——— Hero ——— */
.bhp-ct-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(ellipse 80% 60% at 10% 0%, rgba(75, 190, 221, 0.12), transparent 55%),
		linear-gradient(165deg, #f0f5f9 0%, var(--bhp-white) 42%, #eef3f7 100%);
	color: var(--bhp-ink);
}

.bhp-ct-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-ct-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: clamp(2.5rem, 5vw, 4.5rem);
		min-height: clamp(30rem, 68vh, 40rem);
	}
}

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

.bhp-ct-hero__brand {
	margin: 0;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: 1.08;
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-ct-hero__title {
	margin: 0;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-primary);
	text-wrap: balance;
}

.bhp-ct-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-ct-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--bhp-space-3);
	margin-top: var(--bhp-space-2);
}

.bhp-ct-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-ct-hero__cta:hover,
.bhp-ct-hero__cta:focus-visible {
	transform: translateY(-1px);
}

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

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

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

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

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

.bhp-ct-hero__trust {
	border-top: 1px solid rgba(1, 58, 101, 0.1);
	background-color: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(8px);
	animation: bhp-ct-rise 0.9s var(--bhp-ease-out) 0.2s both;
}

.bhp-ct-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-ct-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-ct-hero__trust-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--bhp-space-6);
		align-items: center;
	}
}

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

.bhp-ct-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-ct-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-ct-rise {
	from {
		opacity: 0;
		transform: translateY(1.25rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bhp-ct-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-ct-hero__content,
	.bhp-ct-hero__media,
	.bhp-ct-hero__trust {
		animation: none;
	}

	.bhp-ct-hero__cta:hover,
	.bhp-ct-hero__cta:focus-visible,
	.bhp-ct-aside__cta:hover,
	.bhp-ct-aside__cta:focus-visible {
		transform: none;
	}
}

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

	.bhp-ct-hero__actions .bhp-btn,
	.bhp-ct-form__fallback-actions .bhp-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* ——— Main: form + aside ——— */
.bhp-ct-main {
	padding-top: var(--bhp-section-y);
	padding-bottom: var(--bhp-section-y);
	background-color: var(--bhp-white);
	color: var(--bhp-ink);
}

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

@media (min-width: 960px) {
	.bhp-ct-main__inner {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
		gap: clamp(2.5rem, 5vw, 4rem);
	}
}

.bhp-ct-form__header {
	margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.bhp-ct-form__title {
	margin: 0 0 var(--bhp-space-3);
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	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-ct-form__intro {
	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;
}

.bhp-ct-form__body {
	margin: 0;
}

.bhp-ct-form__fallback {
	margin: 0 0 var(--bhp-space-5);
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
}

.bhp-ct-form__fallback-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bhp-space-3);
}

.bhp-ct-form__note {
	margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
	max-width: 40rem;
	padding: var(--bhp-space-4) var(--bhp-space-5);
	border-left: 3px solid var(--bhp-sky);
	background-color: var(--bhp-surface-soft);
	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;
}

/* Gravity Forms / common form polish inside contact template */
.bhp-ct-form__body .gform_wrapper,
.bhp-ct-form__body .wpforms-container,
.bhp-ct-form__body form {
	margin: 0;
}

.bhp-ct-form__body .gform_fields,
.bhp-ct-form__body .wpforms-field-container {
	display: flex;
	flex-direction: column;
	gap: var(--bhp-space-4);
}

.bhp-ct-form__body input[type="text"],
.bhp-ct-form__body input[type="email"],
.bhp-ct-form__body input[type="tel"],
.bhp-ct-form__body input[type="url"],
.bhp-ct-form__body input[type="number"],
.bhp-ct-form__body textarea,
.bhp-ct-form__body select {
	width: 100%;
	max-width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--bhp-border-strong);
	border-radius: var(--bhp-btn-radius);
	background-color: var(--bhp-white);
	color: var(--bhp-ink);
	font-family: inherit;
	font-size: var(--bhp-fs-base);
	line-height: 1.4;
	transition:
		border-color var(--bhp-transition),
		box-shadow var(--bhp-transition);
}

.bhp-ct-form__body input:focus,
.bhp-ct-form__body textarea:focus,
.bhp-ct-form__body select:focus {
	outline: none;
	border-color: var(--bhp-primary);
	box-shadow: 0 0 0 3px rgba(1, 58, 101, 0.12);
}

.bhp-ct-form__body textarea {
	min-height: 9rem;
	resize: vertical;
}

.bhp-ct-form__body .gform_button,
.bhp-ct-form__body .wpforms-submit,
.bhp-ct-form__body input[type="submit"],
.bhp-ct-form__body button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: var(--bhp-space-2);
	padding: 0.9rem 1.5rem;
	border: none;
	border-radius: var(--bhp-btn-radius);
	background-color: var(--bhp-primary);
	color: var(--bhp-white);
	font-family: inherit;
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	cursor: pointer;
	transition:
		background-color var(--bhp-transition),
		transform var(--bhp-transition);
}

.bhp-ct-form__body .gform_button:hover,
.bhp-ct-form__body .wpforms-submit:hover,
.bhp-ct-form__body input[type="submit"]:hover,
.bhp-ct-form__body button[type="submit"]:hover,
.bhp-ct-form__body .gform_button:focus-visible,
.bhp-ct-form__body .wpforms-submit:focus-visible,
.bhp-ct-form__body input[type="submit"]:focus-visible,
.bhp-ct-form__body button[type="submit"]:focus-visible {
	background-color: var(--bhp-primary-dark);
	transform: translateY(-1px);
}

/* Aside */
.bhp-ct-aside {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bhp-space-5);
	padding: clamp(1.5rem, 3vw, 2rem);
	background-color: var(--bhp-surface-soft);
	border: 1px solid var(--bhp-border);
	border-radius: var(--bhp-btn-radius);
}

.bhp-ct-aside__title {
	margin: 0;
	font-size: clamp(1.25rem, 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-ct-aside__list {
	display: flex;
	flex-direction: column;
	gap: var(--bhp-space-5);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bhp-ct-aside__item {
	display: flex;
	align-items: flex-start;
	gap: var(--bhp-space-4);
	margin: 0;
}

.bhp-ct-aside__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--bhp-radius-full);
	background-color: var(--bhp-white);
	color: var(--bhp-primary);
	font-size: 0.9rem;
}

.bhp-ct-aside__copy {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.bhp-ct-aside__label {
	font-size: var(--bhp-fs-xs);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bhp-ink-subtle);
}

.bhp-ct-aside__value {
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-semibold);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-ink);
	text-decoration: none;
	font-style: normal;
}

a.bhp-ct-aside__value:hover,
a.bhp-ct-aside__value:focus-visible {
	color: var(--bhp-primary);
}

.bhp-ct-aside__help {
	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-ct-aside__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-ct-aside__cta:hover,
.bhp-ct-aside__cta:focus-visible {
	background-color: var(--bhp-primary-dark);
	border-color: var(--bhp-primary-dark);
	color: var(--bhp-white);
	transform: translateY(-1px);
}

/* ——— Offices ——— */
.bhp-ct-offices {
	padding-top: var(--bhp-section-y);
	padding-bottom: var(--bhp-section-y);
	background-color: var(--bhp-surface-soft);
	color: var(--bhp-ink);
}

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

.bhp-ct-offices__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-ct-offices__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-ct-offices__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2.5vw, 1.5rem);
	align-items: stretch;
}

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

.bhp-ct-offices__card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	height: 100%;
	margin: 0;
	padding: 0;
	background-color: var(--bhp-white);
	border: 1px solid var(--bhp-border);
	border-radius: var(--bhp-btn-radius);
	overflow: hidden;
}

.bhp-ct-offices__map {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background-color: var(--bhp-primary-light);
	overflow: hidden;
}

.bhp-ct-offices__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.bhp-ct-offices__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bhp-space-3);
	flex: 1;
	padding: clamp(1.5rem, 3vw, 2rem);
}

.bhp-ct-offices__name {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.4rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-primary-dark);
}

.bhp-ct-offices__name a {
	color: inherit;
	text-decoration: none;
}

.bhp-ct-offices__name a:hover,
.bhp-ct-offices__name a:focus-visible {
	color: var(--bhp-primary);
}

.bhp-ct-offices__address {
	margin: 0;
	font-style: normal;
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	color: var(--bhp-ink-muted);
}

.bhp-ct-offices__address a {
	color: inherit;
	text-decoration: none;
}

.bhp-ct-offices__address a:hover,
.bhp-ct-offices__address a:focus-visible {
	color: var(--bhp-primary);
}

.bhp-ct-offices__hours {
	margin: 0;
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-semibold);
	line-height: var(--bhp-lh-snug);
	color: var(--bhp-ink);
}

.bhp-ct-offices__areas {
	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-ct-offices__map-link {
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	padding-top: var(--bhp-space-3);
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	color: var(--bhp-primary);
	text-decoration: none;
	transition: color var(--bhp-transition);
}

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

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

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

@media (min-width: 900px) {
	.bhp-ct-faq__inner {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
		align-items: start;
	}
}

.bhp-ct-faq__header {
	max-width: 22rem;
}

@media (min-width: 900px) {
	.bhp-ct-faq__header {
		position: sticky;
		top: 6rem;
	}
}

.bhp-ct-faq__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-ct-faq__list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--bhp-border);
}

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