.bx-tg-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.bx-tg {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.bx-tg[hidden] {
	display: none !important;
}

.bx-tg__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 22, 41, 0.55);
}

.bx-tg__dialog {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	max-height: min(92vh, 860px);
	overflow: auto;
	background: #fff;
	color: #3d4a44;
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(7, 22, 41, 0.22);
	padding: 28px 24px 24px;
	box-sizing: border-box;
}

.bx-tg__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	background: #e3f6ea;
	color: #087c34;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.bx-tg__close:hover {
	background: #d4efdf;
}

.bx-tg__kicker {
	margin: 0 40px 8px 0;
	color: #087c34;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bx-tg__kicker[hidden] {
	display: none !important;
}

.bx-tg__title {
	margin: 0 40px 8px 0;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 800;
	color: #071629;
}

.bx-tg__lead {
	margin: 0 0 18px;
	color: #667085;
	font-size: 15px;
	line-height: 1.5;
}

.bx-tg__lead[hidden] {
	display: none !important;
}

.bx-tg-form {
	position: relative;
	display: grid;
	gap: 12px;
}

.bx-tg-turnstile:empty {
	display: none;
}

.bx-tg-form[hidden] {
	display: none !important;
}

.bx-tg-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 10px;
}

.bx-tg-field {
	display: block;
	margin: 0;
	font-weight: 600;
	color: #071629;
	font-size: 13px;
}

.bx-tg-field--wide {
	grid-column: 1 / -1;
}

.bx-tg-field span em {
	color: #087c34;
	font-style: normal;
}

.bx-tg-field input,
.bx-tg-field select,
.bx-tg-field textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	box-sizing: border-box;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	background: #fff;
	color: #071629;
	font: inherit;
	font-weight: 500;
	font-size: 16px;
}

.bx-tg-field textarea {
	min-height: 88px;
	resize: vertical;
}

.bx-tg-field input:focus,
.bx-tg-field select:focus,
.bx-tg-field textarea:focus {
	outline: none;
	border-color: #087c34;
	box-shadow: 0 0 0 3px rgba(8, 124, 52, 0.16);
}

.bx-tg-field.is-invalid input,
.bx-tg-field.is-invalid select,
.bx-tg-field.is-invalid textarea {
	border-color: #c0392b;
}

.bx-tg-field__err {
	display: block;
	min-height: 1.1em;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #9b1c1c;
}

.bx-tg-sum {
	margin: 4px 0 2px;
	padding: 16px 18px 14px;
	background: #f7faf8;
	border: 1px solid #d7eadc;
	border-radius: 14px;
}

.bx-tg-sum[hidden] {
	display: none !important;
}

.bx-tg-sum__kicker {
	margin: 0;
	color: #087c34;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bx-tg-sum strong {
	display: block;
	margin: 4px 0 8px;
	color: #071629;
	font-size: clamp(26px, 6vw, 34px);
	line-height: 1.1;
	font-weight: 800;
}

.bx-tg-sum.is-quote strong {
	font-size: clamp(22px, 5vw, 28px);
	text-transform: lowercase;
}

.bx-tg-sum__rate {
	margin: 0 0 8px;
	color: #667085;
	font-size: 14px;
	font-weight: 600;
}

.bx-tg-sum__break {
	display: grid;
	gap: 6px;
	margin: 0 0 8px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #d7eadc;
	border-radius: 10px;
}

.bx-tg-sum__break[hidden],
.bx-tg-sum__note[hidden] {
	display: none;
}

.bx-tg-sum__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	color: #344054;
	font-size: 13px;
	font-weight: 600;
}

.bx-tg-sum__row b {
	color: #071629;
	font-size: 15px;
	white-space: nowrap;
}

.bx-tg-sum__row--total {
	margin-top: 2px;
	padding-top: 6px;
	border-top: 1px solid #d7eadc;
	font-weight: 800;
}

.bx-tg-sum__note {
	margin: 0 0 6px;
	color: #667085;
	font-size: 12px;
	font-weight: 600;
}

.bx-tg-sum__hint {
	margin: 0;
	color: #6b7a73;
	font-size: 12px;
	font-weight: 600;
}

.bx-tg-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	margin-top: 4px;
	padding: 12px 22px;
	border: 1px solid #087c34;
	border-radius: 10px;
	background: #087c34;
	color: #fff;
	font: inherit;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.bx-tg-submit:hover {
	background: #06662b;
	border-color: #06662b;
}

.bx-tg-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.bx-tg-form__hint {
	margin: 0;
	color: #667085;
	font-size: 13px;
	text-align: center;
}

.bx-tg-form__hint a {
	color: #087c34;
	font-weight: 700;
	text-decoration: none;
}

.bx-tg-form__hint a:hover {
	text-decoration: underline;
}

.bx-tg-form__err {
	margin: 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: #fde8e8;
	color: #9b1c1c;
	font-weight: 600;
	line-height: 1.4;
}

.bx-tg-form__err[hidden] {
	display: none !important;
}

.bx-tg-success {
	text-align: center;
	padding: 20px 8px 8px;
}

.bx-tg-success[hidden] {
	display: none !important;
}

.bx-tg-success__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: #e3f6ea;
	color: #087c34;
	font-size: 24px;
	font-weight: 700;
}

.bx-tg-success p {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 700;
	color: #071629;
	line-height: 1.4;
}

.bx-tg-success__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	min-width: 180px;
	padding: 12px 28px;
	border: 1px solid #087c34;
	border-radius: 8px;
	background: #087c34;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.bx-tg-success__btn:hover {
	background: #06662b;
	border-color: #06662b;
}

.bx-tg-inline .bx-tg-success__btn {
	display: none;
}

.bx-tg-inline {
	max-width: 560px;
}

.bx-form-card .bx-tg-inline .bx-tg-submit {
	width: 100%;
}

@media (max-width: 600px) {
	.bx-tg-grid {
		grid-template-columns: 1fr;
	}

	.bx-tg__dialog {
		padding: 24px 16px 18px;
		border-radius: 14px;
	}

	.bx-tg__title {
		font-size: 22px;
	}
}

@media (min-width: 720px) {
	.bx-tg {
		padding: 24px;
	}

	.bx-tg__dialog {
		padding: 32px 28px 24px;
	}
}

body.bx-tg-open {
	overflow: hidden;
}
