/* Home page Let's Talk section spacing fix */
.elementor-7 .elementor-element.elementor-element-910293a,
#contact-us-que {
	scroll-margin-top: 110px;
	margin-top: 40px !important;
	padding-top: 10px;
}

@media (max-width: 921px) {
	.elementor-7 .elementor-element.elementor-element-910293a,
	#contact-us-que {
		scroll-margin-top: 90px;
		margin-top: 30px !important;
	}
}

/* Questionnaire card — matches existing wp-form card */
.bns-hq {
	font-family: "Roboto", Sans-serif;
	color: #1a3861;
	min-height: 420px;
	position: relative;
}

.bns-hq__viewport {
	position: relative;
	min-height: 360px;
}

.bns-hq__steps {
	position: relative;
}

.bns-hq__step {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
	pointer-events: none;
}

.bns-hq__step.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.bns-hq__step.is-exiting {
	opacity: 0;
	transform: translateY(-8px);
}

.bns-hq__label {
	display: block;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	margin-bottom: 16px;
	color: #1a3861;
}

.bns-hq__intro {
	font-size: 15px;
	line-height: 1.6;
	color: #424242;
	margin-bottom: 8px;
}

.bns-hq__options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}

.bns-hq__option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #e0e6ef;
	border-radius: 8px;
	background: #fafbfd;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.bns-hq__option:hover {
	border-color: #0840fc;
	background: #f5f9ff;
}

.bns-hq__option.is-selected {
	border-color: #0840fc;
	background: #f0f5ff;
	box-shadow: 0 0 0 1px #0840fc;
}

.bns-hq__option input {
	margin-top: 3px;
	accent-color: #0840fc;
	flex-shrink: 0;
}

.bns-hq__option-text {
	font-size: 15px;
	line-height: 1.4;
	color: #333;
}

.bns-hq__field {
	margin-bottom: 14px;
}

.bns-hq__field label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 6px;
	color: #1a3861;
}

.bns-hq__field .required {
	color: #d63638;
}

.bns-hq__input,
.bns-hq__textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	color: #333;
	background: #fff;
	border: 1px solid #d0d7e2;
	border-radius: 8px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.bns-hq__input:focus,
.bns-hq__textarea:focus {
	outline: none;
	border-color: #0840fc;
	box-shadow: 0 0 0 3px rgba(8, 64, 252, 0.12);
}

.bns-hq__textarea {
	min-height: 120px;
	resize: vertical;
}

.bns-hq__nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #eef1f6;
}

.bns-hq__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	padding: 12px 24px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.bns-hq__btn:focus-visible {
	outline: 2px solid #0840fc;
	outline-offset: 2px;
}

.bns-hq__btn--back {
	background: transparent;
	color: #0840fc;
	border: 1px solid #0840fc;
}

.bns-hq__btn--back:hover {
	background: #f0f5ff;
}

.bns-hq__btn--next,
.bns-hq__btn--submit {
	background: linear-gradient(90deg, #1677a6 0%, #0ea5e9 100%);
	color: #fff;
	box-shadow: 0 5px 25px rgba(31, 126, 161, 0.35);
}

.bns-hq__btn--next:hover,
.bns-hq__btn--submit:hover {
	background: linear-gradient(90deg, #125f87 0%, #0b8ec9 100%);
	box-shadow: 0 8px 20px rgba(30, 144, 194, 0.25);
}

.bns-hq__btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.bns-hq__btn--back[hidden],
.bns-hq__btn-spacer {
	visibility: hidden;
}

.bns-hq__error {
	margin-top: 12px;
	padding: 10px 14px;
	font-size: 14px;
	color: #8a1f1f;
	background: #fdeaea;
	border: 1px solid #f5c2c2;
	border-radius: 8px;
}

.bns-hq__success {
	text-align: center;
	padding: 40px 20px;
}

.bns-hq__success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	font-size: 28px;
	color: #fff;
	background: linear-gradient(90deg, #1677a6 0%, #0ea5e9 100%);
	border-radius: 50%;
}

.bns-hq__success-title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 600;
	color: #1a3861;
}

.bns-hq__success-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #424242;
}

.bns-hq.is-submitted .bns-hq__viewport,
.bns-hq.is-submitted .bns-hq__nav {
	display: none;
}

.bns-hq.is-loading .bns-hq__btn {
	pointer-events: none;
	opacity: 0.7;
}

@media (max-width: 767px) {
	.bns-hq {
		min-height: 380px;
	}

	.bns-hq__label {
		font-size: 15px;
	}

	.bns-hq__nav {
		flex-wrap: wrap;
	}

	.bns-hq__btn {
		flex: 1;
		min-width: 0;
	}
}
