/* Native HubSpot contact form (replaces the embedded iframe widget) */

.hs-native-form {
	font-family: 'Open Sans', Helvetica, sans-serif;
	max-width: 720px;
	margin: 0 auto;
	text-align: left;
}

.hs-native-form__intro {
	margin-bottom: 30px;
}

.hs-native-form__intro h2 {
	font-size: 30px;
	line-height: 1.2;
	margin: 0 0 15px;
}

.hs-native-form__intro p {
	margin: 0;
}

.hs-native-form__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
	margin-bottom: 20px;
}

.hs-native-form__row > .hs-native-form__field {
	flex: 1 1 220px;
	min-width: 0;
}

.hs-native-form__field {
	margin-bottom: 20px;
}

.hs-native-form__row .hs-native-form__field {
	margin-bottom: 0;
}

.hs-native-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 6px;
	color: #000;
}

/* The theme paints every `label span` in the accent colour — opt out. */
.hs-native-form label span {
	color: inherit;
}

.hs-native-form .hs-native-form__required {
	color: #ff1053;
	margin-left: 2px;
}

.hs-native-form input[type="text"],
.hs-native-form input[type="email"],
.hs-native-form input[type="tel"],
.hs-native-form textarea {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	color: #000;
	background-color: #fff;
	border: 1px solid #d5d5d5;
	border-radius: 3px;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.hs-native-form textarea {
	min-height: 140px;
	resize: vertical;
}

/* The theme sets its own accent-coloured focus ring on `body.material input`,
   which outranks these selectors — hence the !important on the borders. */
.hs-native-form input:focus,
.hs-native-form textarea:focus {
	outline: none;
	border-color: #000 !important;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .08);
}

.hs-native-form .hs-native-form__field--error input,
.hs-native-form .hs-native-form__field--error textarea,
.hs-native-form .hs-native-form__field--error input:focus,
.hs-native-form .hs-native-form__field--error textarea:focus {
	border-color: #ff1053 !important;
	box-shadow: none;
}

.hs-native-form__error {
	display: none;
	font-size: 13px;
	line-height: 1.4;
	color: #ff1053;
	margin-top: 6px;
}

.hs-native-form__field--error .hs-native-form__error {
	display: block;
}

/* Consent block */

.hs-native-form__consent {
	margin: 30px 0 10px;
	font-size: 14px;
	line-height: 1.6;
}

.hs-native-form__consent p {
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 12px;
}

.hs-native-form__checkbox {
	margin-bottom: 20px;
}

.hs-native-form__checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 0;
	cursor: pointer;
}

.hs-native-form__checkbox input[type="checkbox"] {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin: 2px 0 0;
	accent-color: #000;
	cursor: pointer;
}

.hs-native-form__privacy {
	font-size: 13px;
	line-height: 1.6;
	color: #616161;
	margin: 0 0 25px;
}

/* Submit */

/* The theme styles every submit button with `!important`, so match it here. */
.hs-native-form button.hs-native-form__submit {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	background-color: #000 !important;
	border: 2px solid #000;
	border-radius: 3px !important;
	padding: 15px 40px !important;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.hs-native-form button.hs-native-form__submit:hover,
.hs-native-form button.hs-native-form__submit:focus {
	color: #000;
	opacity: 1;
	background-color: #ffff00 !important;
	border-color: #ffff00;
}

.hs-native-form button.hs-native-form__submit[disabled] {
	opacity: .55;
	cursor: default;
}

/* Feedback messages */

.hs-native-form__message {
	display: none;
	font-size: 15px;
	line-height: 1.6;
	padding: 15px 18px;
	border-radius: 3px;
	margin-top: 20px;
}

.hs-native-form__message--visible {
	display: block;
}

.hs-native-form__message--success {
	color: #1c5c2e;
	background-color: #eaf7ee;
	border: 1px solid #b7e2c3;
}

.hs-native-form__message--error {
	color: #8a0d2c;
	background-color: #fdecf0;
	border: 1px solid #f7c3cf;
}

/* Honeypot — hidden from users, visible to naive bots */

.hs-native-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media only screen and (max-width: 690px) {
	.hs-native-form__intro h2 {
		font-size: 24px;
	}

	.hs-native-form__row {
		display: block;
	}

	.hs-native-form__row .hs-native-form__field {
		margin-bottom: 20px;
	}

	.hs-native-form__submit {
		width: 100%;
	}
}
