/*
 * "Get in touch" band: used on the contact page and the home page.
 * Grey field with the black ring graphic (assets/img/contact-bg.webp), copy + hippo on the left, form card on the right.
 */

.oya-contact {
	position: relative;
	padding-block: clamp(40px, 6vw, 96px);
	background: var(--c-contact-bg) url('../img/contact-bg.webp') no-repeat right bottom / cover;
	overflow: hidden;
	isolation: isolate;
}

/* the supplied image is #999 grey; darken a touch so white/yellow headings pass contrast */
.oya-contact::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.1);
	pointer-events: none;
}

.et_pb_section.oya-contact {
	padding-block: clamp(40px, 6vw, 96px);
}

.oya-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 560px);
	gap: clamp(28px, 6vw, 112px);
	align-items: center;
}

.oya-main .oya-contact__title,
.oya-contact__title {
	margin: 10px 0 0;
	font-size: clamp(1.875rem, 1rem + 2.3vw, 3.25rem);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.oya-contact__title .oya-ink {
	color: var(--c-navy);
}

.oya-contact__title .oya-yellow {
	color: var(--c-yellow);
}

.oya-contact__title .oya-white {
	display: block;
	color: #fff;
}

.oya-contact__lead {
	margin: 16px 0 0;
	max-width: 42ch;
	color: #fff;
	font-size: var(--fs-md);
	line-height: 1.6;
}

.oya-contact__lead p {
	margin: 0;
}

.oya-contact__hippo {
	display: block;
	width: min(100%, 300px);
	height: auto;
	margin-top: clamp(24px, 3vw, 48px);
}

.oya-panel-card {
	padding: clamp(20px, 2.6vw, 36px);
	border-radius: clamp(28px, 3vw, 44px);
	background: #fff;
	box-shadow: var(--shadow-md);
}

.oya-contact__sent {
	padding: 24px 4px;
	text-align: center;
}

.oya-contact__sent h2 {
	margin-bottom: 8px;
	font-size: var(--fs-h3);
	font-weight: 800;
}

.oya-contact__sent p {
	color: var(--c-muted);
}

@media (max-width: 900px) {
	.oya-contact__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.oya-contact__hippo {
		width: 200px;
		margin-top: 20px;
	}
}

/* "Contact us" links jump here; keep the form clear of the sticky header */
#contact-form {
	scroll-margin-top: calc(var(--header-h) + 16px);
}
