/**
 * Contact page — modern layout: dark hero with contact cards, form panel + photo/hours column, ethics panel.
 */

.hfh-contact-page {
	--hc-blue: #00afd7;
	--hc-blue-dark: #007f9d;
	--hc-dark: #202427;
	--hc-lime: #c4d600;
	--hc-ink: #202427;
	--hc-muted: #5b6670;
	--hc-line: #e3e9ec;
	--hc-surface: #f4f8f9;
	--hc-radius: 20px;
	--hc-shadow: 0 22px 45px -30px rgba(32, 36, 39, 0.45);
	font-family: Arial, Helvetica, sans-serif;
	max-width: 1160px;
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 3rem) 1.25rem 3.5rem;
	color: var(--hc-ink);
}

.hfh-contact-page *,
.hfh-contact-page *::before,
.hfh-contact-page *::after {
	box-sizing: border-box;
}

/* The dark hero replaces the site-wide blue breadcrumb band on this page. */
body.hfh-contact-page-layout .main-header-bar.ast-header-breadcrumb {
	display: none;
}

/* ---------------------------------------------------------------- Hero */

.hfh-contact-hero {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	padding: clamp(1.75rem, 4vw, 3.25rem);
	background: linear-gradient(135deg, #202427 0%, #11181b 55%, #123640 100%);
	color: #fff;
	box-shadow: var(--hc-shadow);
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.hfh-contact-hero::before,
.hfh-contact-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.hfh-contact-hero::before {
	width: 420px;
	height: 420px;
	right: -140px;
	top: -180px;
	background: radial-gradient(circle, rgba(0, 175, 215, 0.55) 0%, rgba(0, 175, 215, 0) 70%);
}

.hfh-contact-hero::after {
	width: 300px;
	height: 300px;
	left: -120px;
	bottom: -160px;
	background: radial-gradient(circle, rgba(196, 214, 0, 0.28) 0%, rgba(196, 214, 0, 0) 70%);
}

.hfh-contact-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 46rem;
}

.hfh-contact-hero__eyebrow {
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hc-lime);
}

.hfh-contact-hero__title {
	margin: 0 0 0.9rem;
	font-size: clamp(2rem, 4.6vw, 3.1rem);
	line-height: 1.06;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.hfh-contact-hero__lead {
	margin: 0;
	font-size: clamp(1rem, 1.4vw, 1.12rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
	max-width: 38rem;
}

/* Contact cards inside the hero */
.hfh-contact-cards {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.6vw, 1.1rem);
	margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
}

.hfh-contact-card {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: clamp(1.1rem, 2vw, 1.4rem);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(2px);
	min-width: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hfh-contact-card:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(0, 175, 215, 0.55);
	transform: translateY(-2px);
}

.hfh-contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(0, 175, 215, 0.18);
	color: var(--hc-blue);
	line-height: 0;
	flex-shrink: 0;
}

.hfh-contact-card__icon-svg {
	display: block;
	width: 22px;
	height: 22px;
}

.hfh-contact-card__text {
	min-width: 0;
}

.hfh-contact-card__title {
	margin: 0 0 0.4rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.hfh-contact-card__body {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	color: #fff;
}

.hfh-contact-card__body a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 175, 215, 0.65);
	padding-bottom: 1px;
	word-break: break-word;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.hfh-contact-card__body a:hover,
.hfh-contact-card__body a:focus-visible {
	color: var(--hc-blue);
	border-bottom-color: var(--hc-lime);
}

.hfh-contact-card__addr-line {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

/* --------------------------------------------------------- Form + aside */

.hfh-contact-split {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: start;
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.hfh-contact-panel {
	background: #fff;
	border: 1px solid var(--hc-line);
	border-radius: var(--hc-radius);
	padding: clamp(1.4rem, 3vw, 2.4rem);
	box-shadow: var(--hc-shadow);
}

.hfh-contact-panel__title {
	margin: 0 0 0.45rem;
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--hc-ink);
}

.hfh-contact-panel__lead {
	margin: 0 0 1.6rem;
	font-size: 0.97rem;
	line-height: 1.6;
	color: var(--hc-muted);
}

.hfh-contact-form__fields {
	display: flex;
	flex-direction: column;
	gap: 1.05rem;
}

.hfh-contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.05rem;
}

.hfh-contact-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

.hfh-contact-form input[type="text"],
.hfh-contact-form input[type="email"],
.hfh-contact-form select,
.hfh-contact-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.8rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.45;
	color: var(--hc-ink);
	background: var(--hc-surface);
	border: 1px solid #dbe3e7;
	border-radius: 12px;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.hfh-contact-form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6670' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.4rem;
}

.hfh-contact-form input:focus,
.hfh-contact-form select:focus,
.hfh-contact-form textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--hc-blue);
	box-shadow: 0 0 0 4px rgba(0, 175, 215, 0.16);
}

.hfh-contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.hfh-contact-form__privacy {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-top: 0.15rem;
}

.hfh-contact-form__privacy input {
	margin-top: 0.2rem;
	flex-shrink: 0;
	accent-color: var(--hc-blue);
}

.hfh-contact-form__privacy span {
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--hc-muted);
}

.hfh-contact-form__privacy a {
	color: var(--hc-blue-dark);
	text-decoration: underline;
}

.hfh-contact-form__submit {
	margin-top: 0.35rem;
}

.hfh-contact-form__submit .button,
.hfh-contact-form__submit button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.95rem 2.1rem;
	font-family: inherit;
	font-size: 0.97rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff !important;
	background: var(--hc-blue) !important;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
	box-shadow: 0 12px 24px -14px rgba(0, 175, 215, 0.9);
}

.hfh-contact-form__submit .button:hover,
.hfh-contact-form__submit button[type="submit"]:hover,
.hfh-contact-form__submit button[type="submit"]:focus-visible {
	background: var(--hc-blue-dark) !important;
	transform: translateY(-1px);
}

.hfh-contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Aside: photo + office hours */
.hfh-contact-aside {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.hfh-contact-photo {
	position: relative;
	margin: 0;
	border-radius: var(--hc-radius);
	overflow: hidden;
	background: #dfe6e9;
	box-shadow: var(--hc-shadow);
	aspect-ratio: 4 / 3;
}

.hfh-contact-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hfh-contact-hours {
	background: var(--hc-dark);
	color: #fff;
	border-radius: var(--hc-radius);
	padding: clamp(1.2rem, 2.4vw, 1.6rem);
}

.hfh-contact-hours__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 0.75rem;
	border-radius: 11px;
	background: rgba(196, 214, 0, 0.16);
	color: var(--hc-lime);
	line-height: 0;
}

.hfh-contact-hours__icon-svg {
	display: block;
	width: 20px;
	height: 20px;
}

.hfh-contact-hours__title {
	margin: 0 0 0.55rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.hfh-contact-hours__line {
	margin: 0;
	font-size: 0.97rem;
	line-height: 1.6;
	color: #fff;
}

.hfh-contact-hours__cta {
	display: inline-block;
	margin-top: 1rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--hc-lime);
	text-decoration: none;
	border-bottom: 1px solid rgba(196, 214, 0, 0.5);
	padding-bottom: 2px;
}

.hfh-contact-hours__cta:hover,
.hfh-contact-hours__cta:focus-visible {
	color: #fff;
	border-bottom-color: #fff;
}

/* ----------------------------------------------------------- Notices */

.hfh-contact-notice {
	margin-bottom: 1.35rem;
	padding: 0.9rem 1.1rem;
	border-radius: 12px;
	font-size: 0.94rem;
	line-height: 1.55;
}

.hfh-contact-notice--success {
	background: #ecfdf3;
	border: 1px solid #a7e8c4;
	color: #0a5c3a;
}

.hfh-contact-notice--error {
	background: #fdf0f0;
	border: 1px solid #f2c4c4;
	color: #902020;
}

/* -------------------------------------------------------- Newsletter */

.hfh-contact-newsletter {
	position: relative;
	overflow: hidden;
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
	padding: clamp(1.6rem, 4vw, 2.6rem);
	border-radius: var(--hc-radius);
	background: linear-gradient(120deg, #007f9d 0%, #00afd7 60%, #0e7f96 100%);
	color: #fff;
	text-align: center;
	box-shadow: var(--hc-shadow);
}

.hfh-contact-newsletter h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.3rem, 2.6vw, 1.8rem);
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
}

.hfh-contact-newsletter p {
	margin: 0 auto 1.25rem;
	max-width: 34rem;
	font-size: 0.99rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.86);
}

.hfh-contact-newsletter a.button,
.hfh-contact-newsletter .hfh-contact-newsletter__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.9rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--hc-dark) !important;
	background: var(--hc-lime) !important;
	border-radius: 999px;
	text-decoration: none !important;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.hfh-contact-newsletter a.button:hover,
.hfh-contact-newsletter .hfh-contact-newsletter__btn:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

/* ----------------------------------------- Original content (ethics) */

.hfh-contact-page__original {
	background: #fff;
	border: 1px solid var(--hc-line);
	border-left: 5px solid var(--hc-blue);
	border-radius: 16px;
	padding: clamp(1.4rem, 3vw, 2.3rem);
	box-shadow: var(--hc-shadow);
}

.hfh-contact-page__original > *:first-child {
	margin-top: 0;
}

.hfh-contact-page__original > *:last-child {
	margin-bottom: 0;
}

.hfh-contact-page__original h2,
.hfh-contact-page__original h3,
.hfh-contact-page__original h4 {
	margin: 0 0 0.85rem;
	font-size: clamp(1.2rem, 2.2vw, 1.5rem);
	line-height: 1.25;
	font-weight: 700;
	color: var(--hc-ink);
}

.hfh-contact-page__original p {
	margin: 0 0 1rem;
	font-size: 0.99rem;
	line-height: 1.7;
	color: #3d474e;
}

.hfh-contact-page__original a {
	color: var(--hc-blue-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.hfh-contact-page__original a:hover {
	color: var(--hc-blue);
}

.hfh-contact-page__original strong {
	color: var(--hc-ink);
}

/* ------------------------------------------------------- Responsive */

@media (max-width: 960px) {
	.hfh-contact-split {
		grid-template-columns: 1fr;
	}

	.hfh-contact-photo {
		aspect-ratio: 16 / 9;
		order: -1;
	}
}

@media (max-width: 780px) {
	.hfh-contact-cards {
		grid-template-columns: 1fr;
	}

	.hfh-contact-card {
		flex-direction: row;
		align-items: flex-start;
		gap: 0.9rem;
	}
}

@media (max-width: 560px) {
	.hfh-contact-form__row {
		grid-template-columns: 1fr;
	}

	.hfh-contact-form__submit button[type="submit"] {
		width: 100%;
	}
}
