.haeh-contact-form-wrap {
	--haeh-contact-blue: #525E48;
	--haeh-contact-blue-hover: #404A38;
	--haeh-contact-green: #90A67E;
	--haeh-contact-yellow: #E7E7E7;
	--haeh-contact-text: #2f332d;
	--haeh-contact-muted: #5f6468;
	--haeh-contact-surface: #E7E7E7;
	--haeh-contact-white: #FFFFFF;
	--haeh-contact-border: #cfd3cc;
	--haeh-contact-row-gap: 20px;
	--haeh-contact-column-gap: 20px;
	--haeh-contact-icon-gap: 10px;
	color: var(--haeh-contact-text);
	font-family: inherit;
	width: 100%;
}

.haeh-contact-form-wrap,
.haeh-contact-form-wrap * {
	box-sizing: border-box;
}

.haeh-contact-form__content {
	border-left: 4px solid var(--haeh-contact-blue);
	background: var(--haeh-contact-surface);
	border-radius: 0;
	padding: 32px;
}

.haeh-contact-form__title {
	color: var(--haeh-contact-text);
	font: inherit;
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 10px;
}

.haeh-contact-form__intro {
	color: var(--haeh-contact-muted);
	font-size: 1rem;
	line-height: 1.65;
	margin: 0 0 26px;
	max-width: 760px;
}

.haeh-contact-form__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--haeh-contact-column-gap);
	row-gap: var(--haeh-contact-row-gap);
}

.haeh-contact-field {
	grid-column: span 12;
	min-width: 0;
}

.haeh-contact-field--width-33 {
	grid-column: span 4;
}

.haeh-contact-field--width-50 {
	grid-column: span 6;
}

.haeh-contact-field--width-66 {
	grid-column: span 8;
}

.haeh-contact-field--width-100 {
	grid-column: span 12;
}

.haeh-contact-field__label,
.haeh-contact-field__checkbox {
	color: var(--haeh-contact-text);
	display: block;
	font-size: 0.9375rem;
	font-weight: 650;
	line-height: 1.4;
	margin-bottom: 8px;
}

.haeh-contact-field__required {
	color: #b51f2a;
}

.haeh-contact-field input:not([type="checkbox"]),
.haeh-contact-field select,
.haeh-contact-field textarea {
	appearance: none;
	background-color: var(--haeh-contact-white);
	border: 1px solid var(--haeh-contact-border);
	border-radius: 0;
	box-shadow: none;
	color: var(--haeh-contact-text);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	margin: 0;
	min-height: 48px;
	outline: none;
	padding: 13px 14px;
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
	width: 100%;
}

.haeh-contact-field textarea {
	min-height: 180px;
	resize: vertical;
}

.haeh-contact-field select {
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 42px;
}

.haeh-contact-field input::placeholder,
.haeh-contact-field textarea::placeholder {
	color: #858b8e;
	opacity: 0.58;
}

.haeh-contact-field input:not([type="checkbox"]):focus,
.haeh-contact-field select:focus,
.haeh-contact-field textarea:focus {
	border-color: var(--haeh-contact-blue);
	box-shadow: 0 0 0 3px rgba(82, 94, 72, 0.16);
}

.haeh-contact-field.is-invalid input:not([type="checkbox"]),
.haeh-contact-field.is-invalid select,
.haeh-contact-field.is-invalid textarea {
	border-color: #b51f2a;
	box-shadow: 0 0 0 3px rgba(181, 31, 42, 0.12);
}

.haeh-contact-field__checkbox {
	display: flex;
	gap: 10px;
	margin: 2px 0 0;
}

.haeh-contact-field__checkbox input[type="checkbox"] {
	accent-color: var(--haeh-contact-blue);
	flex: 0 0 auto;
	height: 20px;
	margin: 1px 0 0;
	width: 20px;
}

.haeh-contact-field__privacy-link {
	color: var(--haeh-contact-blue);
	display: inline-block;
	font-size: 0.875rem;
	margin-left: 30px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.haeh-contact-field__error {
	color: #9f1823;
	display: block;
	font-size: 0.8125rem;
	line-height: 1.4;
	margin-top: 6px;
	min-height: 0;
}

.haeh-contact-form__required-note {
	color: var(--haeh-contact-muted);
	font-size: 0.8125rem;
	line-height: 1.5;
	margin: 18px 0 0;
}

.haeh-contact-form__actions {
	display: flex;
	justify-content: flex-start;
	margin-top: 24px;
}

.haeh-contact-form__submit {
	align-items: center;
	background: var(--haeh-contact-blue);
	border: 1px solid var(--haeh-contact-blue);
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	gap: var(--haeh-contact-icon-gap);
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 13px 22px;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.haeh-contact-form__submit:hover,
.haeh-contact-form__submit:focus-visible {
	background: var(--haeh-contact-blue-hover);
	border-color: var(--haeh-contact-blue-hover);
	color: #fff;
}

.haeh-contact-form__submit:focus-visible {
	outline: 3px solid rgba(82, 94, 72, 0.24);
	outline-offset: 3px;
}

.haeh-contact-form__submit:disabled {
	cursor: wait;
	opacity: 0.68;
}

.haeh-contact-form__submit-icon {
	display: inline-flex;
	font-size: 1em;
	line-height: 1;
}

.haeh-contact-form__submit-icon svg {
	fill: currentColor;
	height: 1em;
	width: 1em;
}

.haeh-contact-icon-before .haeh-contact-form__submit-icon {
	order: -1;
}

.haeh-contact-form__response {
	border-radius: 0;
	display: none;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.55;
	margin-top: 20px;
	padding: 14px 16px;
}

.haeh-contact-form__response.is-visible {
	display: block;
}

.haeh-contact-form__response.is-success {
	background: #e8f6ed;
	border: 1px solid #8ac79e;
	color: #12642f;
}

.haeh-contact-form__response.is-error {
	background: #fff0f1;
	border: 1px solid #dda1a7;
	color: #8d1720;
}

.haeh-contact-form__guard-fields {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@media (max-width: 767px) {
	.haeh-contact-form__content {
		padding: 20px 16px;
	}

	.haeh-contact-field--width-33,
	.haeh-contact-field--width-50,
	.haeh-contact-field--width-66,
	.haeh-contact-field--width-100 {
		grid-column: span 12;
	}

	.haeh-contact-form__submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.haeh-contact-form-wrap * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
