/* =========================================================================
   Contact page — minimal, token-driven rules the shared classes don't cover.
   ========================================================================= */

/* ---------- Hero: full-width image with overlaid heading + intro ---------- */
.contact-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(331px, 41.76vh, 490px);
	padding-block: clamp(1.5rem, 1rem + 2vw, 3rem);
	padding-inline: max(10vw, (100vw - 1760px) / 2); /* text left edge aligns with the header */
	background: var(--brand);
	overflow: hidden;
}
.contact-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.contact-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(40, 29, 22, 0.72) 0%, rgba(40, 29, 22, 0.48) 55%, rgba(40, 29, 22, 0.25) 100%);
}
.contact-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 1020px;
	margin-inline: 0;
}
.contact-hero__title {
	color: #fff;
	font-size: var(--fs-h1);
	font-weight: 300;
}
.contact-hero__lead {
	color: #fff;
	font-size: var(--fs-body-lg);
	max-width: 78ch;
	margin-top: 1.25rem;
}

/* ---------- Intro panel: "A calm, whole-person approach" (beige card) ---------- */
.contact-intro {
	background: var(--beige);
	border-radius: var(--radius-card);
	text-align: center;
	padding: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	margin-bottom: 1.5rem; /* gap to the detail cards below (same section) */
}
.contact-intro h2 { color: var(--brand); }
.contact-intro .lede { color: var(--ink); margin-top: 0.75rem; }

/* ---------- Enquiry form wrapper (centres the shared .enquiry-form) ---------- */
.contact-form-wrap {
	max-width: 640px;
	margin-inline: auto;
}
.contact-form-wrap .enquiry-form {
	max-width: none;
}

/* Filled light-grey, borderless fields to match the design (focus outline kept). */
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
	background: #f0f0f0;
	border: 0;
}

/* ---------- Contact-detail cards ---------- */
.detail-card {
	background: var(--beige);
	border-radius: var(--radius-card);
	padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 1.5rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}
.detail-card__icon {
	display: inline-flex;
	color: var(--brand);
	line-height: 1;
}
.detail-card__icon .mighty-icon {
	width: 1.75rem;
	height: 1.75rem;
}
.detail-card h3 {
	color: var(--brand);
	font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
	font-weight: 400;
}
.detail-card p {
	color: var(--ink);
	font-size: 0.95rem;
	line-height: 1.7;
}

/* ---------- Map ---------- */
.contact-map { line-height: 0; }
.contact-map__wrap { position: relative; }
.contact-map__frame { display: block; width: 100%; }

@media (max-width: 768px) {
	.contact-hero { padding-inline: var(--gutter); }
	/* Top room so the centred title clears the shortened header-to-hero fade. */
	.contact-hero__inner { margin-inline: auto; text-align: center; padding-top: 3.5rem; }
	.contact-hero__lead { margin-inline: auto; }
	/* Even, slightly stronger wash so centred white text stays legible over the light image. */
	.contact-hero::after { background: rgba(40, 29, 22, 0.58); }
}
