@charset "UTF-8";

/* Page
================================================== */
.contact-page {
	max-width: 900px;
}

.contact-hero {
	padding: 70px 0 58px;
	text-align: center;
}

.contact-hero--compact {
	padding-bottom: 44px;
}

.contact-hero__label {
	display: flex;
	align-items: center;
	margin-bottom: 22px;
	color: #6f6b3b;
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.3;
}

.contact-hero__label::before,
.contact-hero__label::after {
	flex-grow: 1;
	height: 1px;
	background: #6f6b3b;
	content: "";
}

.contact-hero__label::before {
	margin-right: 1rem;
}

.contact-hero__label::after {
	margin-left: 1rem;
}

.contact-hero__title {
	color: #6f6b3b;
	font-size: clamp(28px, 3.6vw, 42px);
	font-weight: 300;
	line-height: 1.45;
}

.contact-hero__lead {
	max-width: 680px;
	margin: 24px auto 0;
	line-height: 2;
}

/* Alert
================================================== */
.form-alert {
	margin: 0 0 32px;
	padding: 20px 24px;
	border: 1px solid #c95745;
	background: #fff8f6;
	color: #7a2d22;
}

.form-alert--setup {
	border-color: #aa7b1c;
	background: #fffaf0;
	color: #6b4b0f;
}

.form-alert__title,
.form-alert strong {
	font-weight: 500;
}

.form-alert ul {
	margin-top: 8px;
	padding-left: 1.4em;
}

.form-alert li {
	list-style: disc;
}

.form-alert code {
	font-size: .9em;
}

/* Form
================================================== */
.contact-form {
	border-top: 1px solid #222;
}

.form-row {
	display: grid;
	grid-template-columns: minmax(180px, 28%) minmax(0, 1fr);
	border-bottom: 1px solid #ddd;
}

.form-label {
	padding: 30px 24px 30px 0;
	font-weight: 500;
	line-height: 1.7;
}

.required {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 7px;
	background: #008380;
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.4;
	vertical-align: 2px;
}

.form-control {
	padding: 22px 0 22px 24px;
}

.form-control input,
.form-control select,
.form-control textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #b9b9b9;
	border-radius: 0;
	background: #fff;
	color: #222;
	font: inherit;
	font-size: 16px;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control input,
.form-control select {
	height: 52px;
	padding: 0 15px;
}

.form-control textarea {
	min-height: 220px;
	padding: 14px 15px;
	line-height: 1.8;
	resize: vertical;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
	border-color: #008380;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(0, 131, 128, .13);
}

.form-note {
	margin-top: 7px;
	color: #777;
	font-size: 11px;
	line-height: 1.6;
}

.privacy-check {
	padding: 34px 0 22px;
	text-align: center;
}

.privacy-check label {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	text-align: left;
	cursor: pointer;
}

.privacy-check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 5px;
	accent-color: #008380;
}

.turnstile-area {
	display: flex;
	justify-content: center;
	min-height: 72px;
	padding: 10px 0 28px;
}

.form-submit {
	display: flex;
	justify-content: center;
	padding-bottom: 80px;
}

.form-submit button,
.button-primary,
.button-secondary {
	min-width: 280px;
	padding: 14px 28px;
	border: 1px solid #222;
	border-radius: 2px;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.form-submit button,
.button-primary {
	background: #111;
	color: #fff;
}

.form-submit button:hover,
.button-primary:hover {
	border-color: #333;
	background: #333;
}

.form-submit button:disabled {
	border-color: #aaa;
	background: #aaa;
	cursor: not-allowed;
}

.button-secondary {
	background: #fff;
	color: #222;
}

.button-secondary:hover {
	border-color: #008380;
	color: #008380;
}

.honeypot-field {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Confirmation
================================================== */
.confirm-table {
	border-top: 1px solid #222;
}

.confirm-row {
	display: grid;
	grid-template-columns: minmax(180px, 28%) minmax(0, 1fr);
	border-bottom: 1px solid #ddd;
}

.confirm-row dt {
	padding: 28px 24px 28px 0;
	font-weight: 500;
}

.confirm-row dd {
	margin: 0;
	padding: 28px 0 28px 24px;
	overflow-wrap: anywhere;
}

.confirm-row--message dd {
	white-space: normal;
	line-height: 1.9;
}

.confirm-actions {
	display: flex;
	justify-content: center;
	gap: 20px;
	padding: 50px 0 80px;
}

.confirm-actions form {
	margin: 0;
}

/* Result
================================================== */
.result-panel {
	max-width: 760px;
	margin: 0 auto;
	padding: 80px 0 110px;
	text-align: center;
}

.result-panel h1 {
	color: #6f6b3b;
	font-size: clamp(28px, 3.6vw, 42px);
	font-weight: 300;
	line-height: 1.45;
}

.result-panel > p {
	margin-top: 26px;
	line-height: 2;
}

.result-panel__note {
	color: #666;
	font-size: 12px;
}

.result-panel__button a {
	display: inline-block;
	min-width: 260px;
	padding: 12px 28px;
	border: 1px solid #222;
	background: #111;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	transition: background .25s ease;
}

.result-panel__button a:hover {
	background: #333;
	color: #fff;
}

/* Mobile
================================================== */
@media screen and (max-width: 639px) {

	.contact-hero {
		padding: 50px 0 42px;
	}

	.contact-hero__lead br {
		display: none;
	}

	.form-row,
	.confirm-row {
		display: block;
	}

	.form-label,
	.confirm-row dt {
		display: block;
		padding: 22px 0 8px;
	}

	.form-control,
	.confirm-row dd {
		padding: 0 0 22px;
	}

	.form-control textarea {
		min-height: 200px;
	}

	.privacy-check {
		padding-top: 28px;
	}

	.form-submit {
		padding-bottom: 60px;
	}

	.form-submit button,
	.button-primary,
	.button-secondary {
		width: 100%;
		min-width: 0;
	}

	.confirm-actions {
		flex-direction: column-reverse;
		gap: 14px;
		padding: 38px 0 60px;
	}

	.confirm-actions form {
		width: 100%;
	}

	.result-panel {
		padding: 58px 0 80px;
	}

}
