.bb-quote-journey {
	color: #121315;
	font-family: "Plus Jakarta Sans", sans-serif;
	width: 100%;
}

.bb-quote-journey *,
.bb-quote-journey *::before,
.bb-quote-journey *::after {
	box-sizing: border-box;
}

.bb-quote-journey [hidden] {
	display: none !important;
}

.bb-visually-hidden {
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.bb-quote-form {
	margin: 0;
}

.bb-quote-form .bb-intent-selector,
.bb-quote-form .bb-quote-step {
	border: 0;
	margin: 0;
	padding: 0;
}

.bb-quote-form .bb-intent-selector > legend:not(.bb-visually-hidden) {
	border: 0;
	font-family: "Outfit", sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 750;
	line-height: 1.08;
	margin: 0 0 22px;
	padding: 0;
}

.bb-intent-selector.is-compact {
	margin-top: 8px !important;
}

.bb-intent-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bb-intent-card {
	background: #fff;
	border: 1px solid #d8dce3;
	border-radius: 16px;
	cursor: pointer;
	display: grid;
	gap: 12px;
	min-height: 190px;
	padding: 25px;
	position: relative;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bb-intent-card:hover {
	border-color: #f55b1f;
	transform: translateY(-2px);
}

.bb-intent-card:has(input:checked) {
	background: #f55b1f;
	border-color: #f55b1f;
	box-shadow: 0 14px 35px rgba(20, 36, 90, 0.12);
}

.bb-intent-card input {
	height: 1px;
	left: 16px;
	opacity: 0;
	position: absolute;
	top: 16px;
	width: 1px;
}

.bb-intent-card:focus-within {
	box-shadow: 0 0 0 4px rgba(245, 91, 31, 0.22);
	outline: 2px solid #14245a;
	outline-offset: 2px;
}

.bb-intent-number {
	align-items: center;
	background: rgba(18, 19, 21, 0.08);
	border-radius: 8px;
	display: inline-flex;
	font-size: 0.8rem;
	font-weight: 800;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.bb-intent-card strong {
	font-family: "Outfit", sans-serif;
	font-size: 1.35rem;
	line-height: 1.15;
}

.bb-intent-card small {
	color: #535963;
	font-size: 0.92rem;
	line-height: 1.55;
}

.bb-intent-card:has(input:checked) small {
	color: #442314;
}

.bb-quote-progress {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 34px 0 24px;
	padding: 0;
}

.bb-quote-progress li {
	align-items: center;
	border-bottom: 3px solid #d8dce3;
	color: #646a74;
	display: flex;
	font-size: 0.83rem;
	font-weight: 750;
	gap: 8px;
	padding: 0 0 12px;
}

.bb-quote-progress li span {
	align-items: center;
	background: #eef1f7;
	border-radius: 999px;
	display: inline-flex;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.bb-quote-progress li.is-complete,
.bb-quote-progress li[aria-current="step"] {
	border-color: #f55b1f;
	color: #121315;
}

.bb-quote-progress li.is-complete span,
.bb-quote-progress li[aria-current="step"] span {
	background: #f55b1f;
	color: #121315;
}

.bb-quote-layout {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
}

.bb-quote-fields {
	min-width: 0;
}

.bb-quote-step {
	background: #f4f6f9;
	border-radius: 18px !important;
	padding: clamp(22px, 4vw, 34px) !important;
}

.bb-quote-form .bb-step-heading {
	align-items: flex-start;
	border: 0;
	display: flex;
	gap: 16px;
	margin: 0 0 28px;
	padding: 0;
	width: 100%;
}

.bb-step-heading > span:last-child {
	display: grid;
	gap: 5px;
}

.bb-step-heading strong {
	font-family: "Outfit", sans-serif;
	font-size: clamp(1.55rem, 3vw, 2rem);
	font-weight: 750;
	line-height: 1.08;
}

.bb-step-heading small {
	color: #626873;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 0.93rem;
	font-weight: 450;
	line-height: 1.55;
}

.bb-step-number {
	background: #f55b1f;
	border-radius: 8px;
	flex: 0 0 auto;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 0.74rem;
	font-weight: 800;
	line-height: 1;
	padding: 10px 9px;
}

.bb-quote-form .field,
.bb-quote-form .field-pair {
	margin-bottom: 18px;
}

.bb-quote-form .field label,
.bb-field-label {
	color: #121315;
	display: block;
	font-size: 0.82rem;
	font-weight: 750;
	margin-bottom: 8px;
}

.bb-quote-form input[type="text"],
.bb-quote-form input[type="email"],
.bb-quote-form input[type="tel"],
.bb-quote-form input[type="date"],
.bb-quote-form input[type="time"],
.bb-quote-form input[type="number"],
.bb-quote-form input[type="file"],
.bb-quote-form select,
.bb-quote-form textarea {
	background: #fff;
	border: 1px solid #cfd4dd;
	border-radius: 9px;
	color: #121315;
	font: inherit;
	min-height: 48px;
	padding: 12px 13px;
	width: 100%;
}

.bb-quote-form textarea {
	line-height: 1.5;
	resize: vertical;
}

.bb-quote-form input:focus,
.bb-quote-form select:focus,
.bb-quote-form textarea:focus {
	border-color: #14245a;
	box-shadow: 0 0 0 3px rgba(20, 36, 90, 0.14);
	outline: 0;
}

.bb-quote-form input:user-invalid,
.bb-quote-form select:user-invalid,
.bb-quote-form textarea:user-invalid {
	border-color: #a72a22;
}

.bb-address-control {
	position: relative;
}

.bb-field-help {
	color: #626873;
	display: block;
	font-size: 0.75rem;
	line-height: 1.45;
	margin-top: 7px;
}

.bb-address-enable {
	background: transparent;
	border: 0;
	color: #14245a;
	cursor: pointer;
	font: inherit;
	font-size: 0.76rem;
	font-weight: 800;
	margin: 7px 0 0;
	padding: 3px 0;
	text-decoration: underline;
	text-decoration-color: rgba(20, 36, 90, 0.45);
	text-underline-offset: 3px;
}

.bb-address-enable:hover,
.bb-address-enable:focus-visible {
	color: #f55b1f;
}

.bb-address-enable:focus-visible {
	outline: 2px solid #14245a;
	outline-offset: 3px;
}

.bb-address-control.is-google-ready .bb-address-enable {
	display: none;
}

.bb-address-control.is-google-ready > [data-bb-address-input] {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.bb-place-autocomplete {
	background-color: #fff;
	border: 1px solid #cfd4dd;
	border-radius: 9px;
	color: #121315;
	color-scheme: light;
	display: block;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 1rem;
	line-height: 1.4;
	min-height: 48px;
	width: 100%;
}

.bb-place-autocomplete::part(input) {
	min-height: 46px;
	padding: 11px 12px;
}

.bb-address-control.is-invalid .bb-place-autocomplete {
	border-color: #a72a22;
	box-shadow: 0 0 0 3px rgba(167, 42, 34, 0.12);
}

.bb-address-control.is-invalid .bb-field-help {
	color: #8f211b;
	font-weight: 700;
}

.flatpickr-calendar {
	border: 1px solid #d8dce3;
	border-radius: 12px;
	box-shadow: 0 16px 42px rgba(20, 36, 90, 0.2);
	font-family: "Plus Jakarta Sans", sans-serif;
	z-index: 100050;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-weekdays {
	background: #14245a;
	color: #fff;
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month,
.flatpickr-current-month input.cur-year,
span.flatpickr-weekday {
	color: #fff;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
	color: #fff;
	fill: #fff;
}

.flatpickr-day.today {
	border-color: #14245a;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
	background: #f55b1f;
	border-color: #f55b1f;
	color: #121315;
}

.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm {
	font-family: "Plus Jakarta Sans", sans-serif;
}

.bb-upload-field {
	background: #eef1f7;
	border: 1px dashed #a8afba;
	border-radius: 10px;
	padding: 16px;
}

.bb-upload-field small {
	color: #5f6670;
	display: block;
	font-size: 0.77rem;
	line-height: 1.45;
	margin-top: 7px;
}

.bb-quote-form .choice-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bb-quote-form .choice-row label {
	align-items: center;
	background: #fff;
	border: 1px solid #cfd4dd;
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	font-weight: 650;
	gap: 8px;
	margin: 0;
	padding: 11px 14px;
}

.bb-quote-form .choice-row input,
.bb-quote-form .consent input {
	accent-color: #f55b1f;
}

.bb-quote-form .consent {
	align-items: flex-start;
	display: flex;
	font-size: 0.82rem;
	gap: 10px;
	line-height: 1.55;
	margin: 24px 0;
}

.bb-quote-form .consent input {
	flex: 0 0 auto;
	margin-top: 4px;
}

.bb-step-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 26px;
}

.bb-step-actions .button {
	border: 0;
	cursor: pointer;
}

.bb-step-actions .button-outline {
	background: #fff;
	border: 1px solid #aeb5c0;
	color: #121315;
}

.bb-step-actions .button-outline:hover {
	background: #eef1f7;
}

.bb-quote-summary {
	background: #14245a;
	border-radius: 18px;
	color: #fff;
	padding: 28px 26px;
	position: sticky;
	top: 24px;
}

.bb-summary-eyebrow {
	color: #ffac8c;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.bb-quote-summary h3 {
	color: #fff;
	font-family: "Outfit", sans-serif;
	font-size: 1.7rem;
	margin: 0 0 18px;
}

.bb-quote-summary dl {
	display: grid;
	gap: 0;
	margin: 0;
}

.bb-quote-summary dl div {
	border-bottom: 1px solid rgba(255, 255, 255, 0.17);
	display: grid;
	gap: 3px;
	padding: 12px 0;
}

.bb-quote-summary dt {
	font-size: 0.76rem;
	font-weight: 800;
}

.bb-quote-summary dd {
	color: #c8d0e5;
	font-size: 0.85rem;
	line-height: 1.45;
	margin: 0;
	overflow-wrap: anywhere;
}

.bb-summary-phone {
	background: #20356f;
	border-radius: 10px;
	color: #fff;
	display: grid;
	gap: 2px;
	margin-top: 20px;
	padding: 16px 18px;
	text-decoration: none;
}

.bb-summary-phone small {
	color: #ffac8c;
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.bb-summary-phone strong {
	font-family: "Outfit", sans-serif;
	font-size: 1.35rem;
}

.bb-quote-form .form-footnote {
	margin: 12px 0 0;
	text-align: right;
}

.bb-noscript {
	background: #fff4d7;
	border-left: 4px solid #e9a725;
	margin: 18px 0 0;
	padding: 14px 16px;
}

@media (max-width: 900px) {
	.bb-intent-grid,
	.bb-quote-layout {
		grid-template-columns: 1fr;
	}

	.bb-intent-card {
		min-height: 0;
	}

	.bb-quote-summary {
		position: static;
	}
}

@media (max-width: 620px) {
	.bb-intent-card {
		padding: 20px;
	}

	.bb-quote-progress {
		gap: 7px;
	}

	.bb-quote-progress li {
		font-size: 0;
	}

	.bb-quote-progress li span {
		font-size: 0.8rem;
	}

	.bb-quote-step {
		padding: 22px 18px !important;
	}

	.bb-quote-form .field-pair,
	.bb-quote-form .field-pair.three {
		grid-template-columns: 1fr;
	}

	.bb-step-actions {
		justify-content: stretch;
	}

	.bb-step-actions .button {
		justify-content: center;
		width: 100%;
	}

	.bb-quote-form .form-footnote {
		text-align: left;
	}
}
