/* =================================================
   Hero Quote Form
   ================================================= */

.hero-quote-form {
	--hqf-navy: #0f2c64;
	--hqf-orange: #ff6b31;
	--hqf-white: #ffffff;
	--hqf-muted: rgba(255, 255, 255, 0.9);
	--hqf-label: #0f2c64;
	--hqf-border: #d5dbe5;
	--hqf-footer: #5f6b7d;

	background: var(--hqf-navy);
	color: var(--hqf-white);
	float: left;
	font-family: "Rethink Sans", sans-serif;
	overflow: hidden;
	padding: 96px 0;
	position: relative;
	width: 100%;
}

.hero-quote-form--has-bottom-stripe {
	padding-bottom: 113px;
}

.hero-quote-form__media {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
}

.hero-quote-form__media img {
	height: 100%;
	left: 50%;
	max-width: none;
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
	object-position: center 80%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: auto;
}

.hero-quote-form__overlay {
	background: linear-gradient(90deg, rgba(15, 44, 100, 0.98) 0%, rgba(15, 44, 100, 0.92) 35%, rgba(15, 44, 100, 0.7) 55%, rgba(15, 44, 100, 0.25) 75%, rgba(15, 44, 100, 0) 100%);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

.hero-quote-form__container {
	margin-left: auto;
	margin-right: auto;
	max-width: 1640px;
	padding: 0 40px;
	position: relative;
	width: 100%;
	z-index: 2;
}

.hero-quote-form__grid {
	align-items: start;
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.hero-quote-form__header {
	margin: 0 0 8px;
}

.hero-quote-form__eyebrow {
	color: var(--hqf-orange);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	margin: 0 0 18px;
	padding: 0;
	text-transform: uppercase;
}

.hero-quote-form__headline {
	color: var(--hqf-white);
	font-family: "Rethink Sans", sans-serif;
	font-weight: 900;
	font-size: 76.23px;
	line-height: 76.23px;
	letter-spacing: 0;
	margin: 0 0 24px;
	max-width: 820px;
	padding: 0;
	text-transform: uppercase;
	width: 100%;
}

.hero-quote-form__headline-white {
	color: var(--hqf-white);
	display: block;
}

.hero-quote-form__headline-orange {
	color: var(--hqf-orange);
	display: block;
}

.hero-quote-form__headline-keep {
	white-space: normal;
}

.hero-quote-form p.hero-quote-form__desc {
	color: var(--hqf-muted);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.55;
	margin: 0;
	max-width: 620px;
	padding: 0;
}

.hero-quote-form__list {
	list-style: none !important;
	margin: 0 !important;
	max-width: 620px;
	padding: 0 0 0 22px !important;
}

.hero-quote-form__list-item {
	align-items: flex-start !important;
	color: var(--hqf-white) !important;
	display: flex !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	gap: 14px !important;
	line-height: 1.55 !important;
	margin: 0 0 5px !important;
	padding: 0 !important;
	position: static !important;
}

.hero-quote-form__list-item:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.hero-quote-form__list-item:before {
	background: var(--hqf-white) !important;
	border-radius: 50% !important;
	content: "" !important;
	display: block !important;
	flex-shrink: 0 !important;
	float: none !important;
	height: 7px !important;
	left: auto !important;
	margin-top: calc((1.55em - 7px) / 2) !important;
	position: static !important;
	top: auto !important;
	width: 7px !important;
}

.hero-quote-form__list-text {
	display: block !important;
}

.hero-quote-form__form-card {
	background: var(--hqf-white);
	border-radius: 24px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
	padding: 36px 32px 28px;
}

.hero-quote-form__form-heading {
	color: var(--hqf-navy);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 0 0 24px;
	padding: 0 2rem;
	text-align: center;
}

.hero-quote-form__form.form-block {
	display: block;
	font-family: "Rethink Sans", sans-serif;
	margin: 0;
	width: 100%;
}

.hero-quote-form__form-placeholder {
	background: linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
	border: 2px dashed #d5dbe5;
	border-radius: 12px;
	min-height: 320px;
	width: 100%;
}

.hero-quote-form p.hero-quote-form__form-footer {
	color: var(--hqf-footer);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	margin: 18px 0 0;
	padding: 0;
	text-align: center;
}

/* HubSpot form polish inside the card */
.hero-quote-form__form .hbspt-form fieldset {
	max-width: 100%;
}

.hero-quote-form__form .hs-form-field > label,
.hero-quote-form__form label.hs-form-field-label,
.hero-quote-form__form .hs-form label {
	color: var(--hqf-label);
	font-family: "Rethink Sans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 8px;
}

.hero-quote-form__form .hs-form-required,
.hero-quote-form__form .hs-form label span.hs-form-required {
	color: var(--hqf-orange);
}

.hero-quote-form__form .hs-input,
.hero-quote-form__form input.hs-input,
.hero-quote-form__form select.hs-input,
.hero-quote-form__form textarea.hs-input {
	background: var(--hqf-white);
	border: 1px solid var(--hqf-border);
	border-radius: 8px;
	box-shadow: none;
	color: var(--hqf-navy);
	font-family: "Rethink Sans", sans-serif;
	font-size: 16px;
	height: 48px;
	padding: 12px 14px;
	width: 100%;
}

.hero-quote-form__form textarea.hs-input {
	height: auto;
	min-height: 96px;
}

.hero-quote-form__form .hs-button,
.hero-quote-form__form input.hs-button,
.hero-quote-form__form input[type="submit"] {
	background: var(--hqf-orange);
	border: 2px solid var(--hqf-orange);
	border-radius: 900px;
	box-shadow: none;
	color: var(--hqf-white);
	font-family: "Rethink Sans", sans-serif;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 16px 24px;
	text-transform: uppercase;
	width: 100%;
}

.hero-quote-form__form .hs-button:hover,
.hero-quote-form__form input.hs-button:hover,
.hero-quote-form__form input[type="submit"]:hover,
.hero-quote-form__form .hs-button:focus,
.hero-quote-form__form input.hs-button:focus,
.hero-quote-form__form input[type="submit"]:focus {
	background: #ff7f4d;
	border-color: #ff7f4d;
	color: var(--hqf-white);
}

.hero-quote-form__divider {
	bottom: 0;
	left: 0;
	line-height: 0;
	margin: 0 !important;
	position: absolute;
	right: 0;
	width: 100%;
	z-index: 3;
}

.hero-quote-form__divider img {
	display: block;
	height: auto;
	width: 100%;
}

@media (max-width: 1199px) {
	.hero-quote-form__media img {
		height: 100%;
		left: 0;
		max-width: none;
		min-height: 100%;
		min-width: 100%;
		object-fit: cover;
		object-position: center;
		right: 0;
		top: 0;
		transform: none;
		width: 100%;
	}

	.hero-quote-form__overlay {
		background: linear-gradient(
			180deg,
			rgba(15, 44, 100, 0.88) 0%,
			rgba(15, 44, 100, 0.94) 100%
		);
	}

	.hero-quote-form__headline {
		font-size: clamp(44px, 5.5vw, 60px);
		max-width: 100%;
		padding-right: 0;
		width: 100%;
	}

	.hero-quote-form__headline-white,
	.hero-quote-form__headline-orange {
		display: inline;
	}

	.hero-quote-form__headline-white:not(:empty)::after {
		content: " ";
	}

	.hero-quote-form__headline-br {
		display: none;
	}

	.hero-quote-form__grid {
		gap: 40px;
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-quote-form__form-heading {
		font-size: 24px;
	}
}

@media (max-width: 767px) {
	.hero-quote-form {
		padding: 56px 0;
	}

	.hero-quote-form--has-bottom-stripe {
		padding-bottom: 73px;
	}

	.hero-quote-form__divider img {
		height: 20px;
		object-fit: cover;
		width: 100%;
	}

	.hero-quote-form__container {
		padding: 0 20px;
	}

	.hero-quote-form__headline {
		display: block;
		font-size: 58px;
		max-width: 80% !important;
		padding-right: 0 !important;
		width: 100%;
	}

	.hero-quote-form__headline-keep {
		white-space: normal;
	}

	.hero-quote-form p.hero-quote-form__desc {
		font-size: 16px;
	}

	.hero-quote-form__list-item {
		font-size: 16px !important;
	}

	.hero-quote-form__form-card {
		border-radius: 20px;
		padding: 24px 20px 20px;
	}

	.hero-quote-form__form-heading {
		font-size: 22px;
	}

	.hero-quote-form__list {
		padding: 0px !important;
	}
}

/* iPhone 12 / ~390px */
@media (max-width: 390px) {
	.hero-quote-form {
		padding: 48px 0;
	}

	.hero-quote-form--has-bottom-stripe {
		padding-bottom: 65px;
	}

	.hero-quote-form__container {
		padding: 0 16px;
	}

	.hero-quote-form__headline {
		font-family: "Rethink Sans", sans-serif;
		font-weight: 900;
		font-size: 52.25px;
		line-height: 53.3px;
		letter-spacing: 0;
		text-transform: uppercase;
		max-width: 100% !important;
	}

	.hero-quote-form__eyebrow {
		font-size: 12px;
		margin-bottom: 14px;
	}

	.hero-quote-form p.hero-quote-form__desc {
		font-size: 15px;
	}

	.hero-quote-form__list-item {
		font-size: 15px !important;
	}

	.hero-quote-form__form-card {
		border-radius: 16px;
		padding: 20px 16px 16px;
	}

	.hero-quote-form__form-heading {
		font-size: 20px;
		padding: 0 1rem;
	}
}
