.contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 80px;
	overflow: clip;

	@media (max-width: 809.98px) {
		padding: 30px;
	}
}

.contact__row {
	display: flex;
	align-items: flex-start;
	gap: var(--space-60);
	width: 100%;

	@media (max-width: 809.98px) {
		flex-direction: column;
		gap: 37px;
		padding-top: 20px;
	}
}

.contact__intro {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-20);
	min-width: 1px;
	overflow: clip;

	@media (max-width: 809.98px) {
		flex: none;
		width: 100%;
	}
}

/* Questrial has no bold cut; Framer synthesises the <strong> accent. */
.contact__heading {
	max-width: 800px;
	font-family: var(--font-questrial);
	font-size: var(--fs-40);
	font-weight: var(--fw-regular);
	line-height: var(--lh-120);
	letter-spacing: var(--ls-wide);
	color: var(--color-olive);

	& strong {
		font-weight: var(--fw-bold);
	}

	@media (max-width: 809.98px) {
		font-size: var(--fs-32);
	}
}

.contact__text {
	width: 100%;
}

/* The copy sits beside the form on wider screens and below it on mobile. */
.contact__text--wide {
	@media (max-width: 809.98px) {
		display: none;
	}
}

.contact__text--mobile,
.contact__mobile-button {
	display: none;

	@media (max-width: 809.98px) {
		display: block;
	}
}

.contact__phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-24);
	width: 100%;
	height: 160px;
	padding: var(--space-30);
	overflow: clip;
	background: var(--color-cream);
	border-radius: var(--radius-12);

	& svg {
		flex: none;
		fill: none;
		stroke: var(--color-ink-70);
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1;
	}

	@media (min-width: 810px) and (max-width: 1199.98px) {
		padding: var(--space-20);
	}
}

.contact__phone-content {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: var(--space-10);
	min-width: 1px;
}

.contact__phone-number a {
	color: var(--color-olive);
}

.contact__form-card {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	align-items: center;
	min-width: 1px;
	padding: var(--space-30);
	overflow: clip;
	background: var(--color-cream);
	border-radius: var(--radius-12);

	@media (max-width: 1199.98px) {
		padding: var(--space-20);
	}

	@media (max-width: 809.98px) {
		flex: none;
		width: 100%;
	}
}
