.ldg-form-panel {
	position: relative;
	border-radius: 1.4rem;
	overflow: hidden;
}

.ldg-form-panel::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 0.22rem;
	background: linear-gradient(180deg, rgba(166, 132, 74, 0.12) 0%, rgba(166, 132, 74, 0.94) 26%, rgba(166, 132, 74, 0.22) 74%, rgba(166, 132, 74, 0.06) 100%);
	opacity: 0.95;
	pointer-events: none;
}

.dark-form {
	padding: 1.5rem;
	border: 1px solid rgba(166, 132, 74, 0.18);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
		rgba(9, 18, 31, 0.94);
	box-shadow:
		0 26px 54px rgba(0, 0, 0, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(18px) saturate(110%);
	-webkit-backdrop-filter: blur(18px) saturate(110%);
}

.ldg-form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.ldg-form__row {
	display: grid;
	gap: 1rem;
}

.ldg-form__row--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ldg-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ldg-form__label {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: rgba(241, 242, 244, 0.66);
}

.ldg-form__control {
	width: 100%;
	min-height: 3.45rem;
	padding: 0.96rem 1rem;
	border: 1px solid rgba(241, 242, 244, 0.12);
	border-radius: 0.9rem;
	background: rgba(241, 242, 244, 0.06);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.02),
		0 0 0 rgba(166, 132, 74, 0);
	font-family: var(--ldg-font-body);
	font-size: 0.98rem;
	line-height: 1.45;
	color: #f1f2f4;
	transition:
		border-color 180ms ease,
		background-color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

.ldg-form__control::placeholder {
	color: rgba(241, 242, 244, 0.4);
}

.ldg-form__control:hover {
	border-color: rgba(166, 132, 74, 0.3);
	background: rgba(241, 242, 244, 0.08);
}

.ldg-form__control:focus-visible {
	outline: none;
	border-color: rgba(166, 132, 74, 0.74);
	background: rgba(241, 242, 244, 0.09);
	box-shadow:
		0 0 0 0.2rem rgba(166, 132, 74, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.ldg-form.is-submitted .ldg-form__control:invalid:not(:focus):not(:placeholder-shown),
.ldg-form.is-submitted .ldg-form__control--select:invalid {
	border-color: rgba(215, 97, 97, 0.88);
	background: rgba(215, 97, 97, 0.08);
	box-shadow: 0 0 0 0.18rem rgba(215, 97, 97, 0.14);
}

.ldg-form__control--select {
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, rgba(241, 242, 244, 0.72) 50%),
		linear-gradient(135deg, rgba(241, 242, 244, 0.72) 50%, transparent 50%);
	background-position:
		calc(100% - 1.1rem) calc(50% - 0.15rem),
		calc(100% - 0.75rem) calc(50% - 0.15rem);
	background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
	background-repeat: no-repeat;
	padding-right: 2.25rem;
}

.ldg-form__control--textarea {
	min-height: 8.9rem;
	resize: vertical;
}

.ldg-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 3.35rem;
	padding: 0.92rem 1.6rem;
	border: 1px solid rgba(166, 132, 74, 0.78);
	border-radius: 999px;
	background: linear-gradient(180deg, #b49355 0%, #a6844a 100%);
	box-shadow: 0 1rem 2rem rgba(5, 12, 24, 0.18);
	font-family: var(--ldg-font-body);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1;
	text-transform: uppercase;
	color: #050c18;
	cursor: pointer;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		filter 180ms ease;
}

.ldg-form__submit:hover,
.ldg-form__submit:focus-visible {
	transform: translateY(-0.08rem);
	filter: brightness(1.04);
	box-shadow: 0 1.15rem 2.15rem rgba(5, 12, 24, 0.24);
}

.ldg-form__submit:focus-visible {
	outline: none;
}

.ldg-form__footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.9rem;
}

.ldg-form__agreement-field {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: flex-start;
	gap: 0.7rem;
	cursor: pointer;
}

.ldg-form__agreement-checkbox {
	appearance: none;
	-webkit-appearance: none;
	width: 1.05rem;
	height: 1.05rem;
	margin: 0.14rem 0 0;
	border: 1px solid rgba(226, 201, 152, 0.58);
	border-radius: 0.22rem;
	background: rgba(241, 242, 244, 0.04);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
	cursor: pointer;
	position: relative;
	transition:
		border-color 180ms ease,
		background-color 180ms ease,
		box-shadow 180ms ease;
}

.ldg-form__agreement-checkbox::after {
	content: "";
	position: absolute;
	left: 0.31rem;
	top: 0.12rem;
	width: 0.28rem;
	height: 0.52rem;
	border-right: 2px solid #050c18;
	border-bottom: 2px solid #050c18;
	opacity: 0;
	transform: rotate(45deg) scale(0.7);
	transform-origin: center;
	transition:
		opacity 160ms ease,
		transform 160ms ease;
}

.ldg-form__agreement-checkbox:hover {
	border-color: rgba(226, 201, 152, 0.82);
}

.ldg-form__agreement-checkbox:focus-visible {
	outline: none;
	border-color: rgba(166, 132, 74, 0.86);
	box-shadow: 0 0 0 0.18rem rgba(166, 132, 74, 0.16);
}

.ldg-form__agreement-checkbox:checked {
	border-color: #e2c998;
	background: #e2c998;
}

.ldg-form__agreement-checkbox:checked::after {
	opacity: 1;
	transform: rotate(45deg) scale(1);
}

.ldg-form__agreement {
	margin: 0;
	max-width: 42rem;
	font-size: 0.82rem;
	line-height: 1.6;
	color: rgba(241, 242, 244, 0.72);
}

@media (max-width: 780px) {
	.dark-form {
		padding: 1rem;
		border-radius: 1.15rem;
	}

	.ldg-form__row--two {
		grid-template-columns: 1fr;
	}

	.ldg-form__control {
		min-height: 3.25rem;
		padding: 0.88rem 0.92rem;
		font-size: 0.95rem;
	}

	.ldg-form__control--textarea {
		min-height: 8rem;
	}

	.ldg-form__submit {
		width: 100%;
	}

	.ldg-form__agreement {
		font-size: 0.8rem;
	}
}

.dark-form .fluentform {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.dark-form .fluentform .ff-el-group {
	margin-bottom: 1rem;
}

.dark-form .fluentform .ff-t-container {
	gap: 1rem;
}

.dark-form .fluentform .ff-t-cell {
	padding: 0;
}

.dark-form .fluentform .ff-el-group.ff-el-form-left .ff-el-input--label,
.dark-form .fluentform .ff-el-group.ff-el-form-right .ff-el-input--label,
.dark-form .fluentform .ff-el-group.ff-el-form-top .ff-el-input--label {
	float: none;
	width: auto;
	padding: 0;
	text-align: left;
}

.dark-form .fluentform .ff-el-group.ff-el-form-left .ff-el-input--content,
.dark-form .fluentform .ff-el-group.ff-el-form-right .ff-el-input--content,
.dark-form .fluentform .ff-el-group.ff-el-form-top .ff-el-input--content {
	margin-left: 0;
}

.dark-form .fluentform .ff-el-input--label {
	display: block;
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: rgba(241, 242, 244, 0.66);
}

.dark-form .fluentform .ff-el-input--label label {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
}

.dark-form .fluentform .ff-el-input--label.ff-el-is-required.asterisk-left label::before,
.dark-form .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after {
	color: inherit;
}

.dark-form .fluentform .ff-el-form-control,
.dark-form .fluentform input[type="text"],
.dark-form .fluentform input[type="email"],
.dark-form .fluentform input[type="tel"],
.dark-form .fluentform input[type="number"],
.dark-form .fluentform input[type="url"],
.dark-form .fluentform textarea,
.dark-form .fluentform select {
	width: 100%;
	min-height: 3.45rem;
	padding: 0.96rem 1rem;
	border: 1px solid rgba(241, 242, 244, 0.12);
	border-radius: 0.9rem;
	background: rgba(241, 242, 244, 0.06);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.02),
		0 0 0 rgba(166, 132, 74, 0);
	font-family: var(--ldg-font-body);
	font-size: 0.98rem;
	line-height: 1.45;
	color: #f1f2f4;
	transition:
		border-color 180ms ease,
		background-color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
	-webkit-text-fill-color: #f1f2f4;
	caret-color: #f1f2f4;
}

.dark-form .fluentform textarea {
	min-height: 8.9rem;
	resize: vertical;
}

.dark-form .fluentform .ff-el-form-control::placeholder,
.dark-form .fluentform input::placeholder,
.dark-form .fluentform textarea::placeholder {
	color: rgba(241, 242, 244, 0.4);
	-webkit-text-fill-color: rgba(241, 242, 244, 0.4);
}

.dark-form .fluentform input:-webkit-autofill,
.dark-form .fluentform input:-webkit-autofill:hover,
.dark-form .fluentform input:-webkit-autofill:focus,
.dark-form .fluentform textarea:-webkit-autofill,
.dark-form .fluentform textarea:-webkit-autofill:hover,
.dark-form .fluentform textarea:-webkit-autofill:focus,
.dark-form .fluentform select:-webkit-autofill,
.dark-form .fluentform select:-webkit-autofill:hover,
.dark-form .fluentform select:-webkit-autofill:focus {
	-webkit-text-fill-color: #f1f2f4;
	caret-color: #f1f2f4;
	-webkit-box-shadow: 0 0 0 1000px rgba(241, 242, 244, 0.06) inset;
	transition: background-color 9999s ease-out 0s;
}

.dark-form .fluentform .ff-el-form-control:hover,
.dark-form .fluentform input:hover,
.dark-form .fluentform textarea:hover,
.dark-form .fluentform select:hover {
	border-color: rgba(166, 132, 74, 0.3);
	background: rgba(241, 242, 244, 0.08);
}

.dark-form .fluentform .ff-el-form-control:focus-visible,
.dark-form .fluentform input:focus-visible,
.dark-form .fluentform textarea:focus-visible,
.dark-form .fluentform select:focus-visible {
	outline: none;
	border-color: rgba(166, 132, 74, 0.74);
	background: rgba(241, 242, 244, 0.09);
	box-shadow:
		0 0 0 0.2rem rgba(166, 132, 74, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.dark-form .fluentform select {
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, rgba(241, 242, 244, 0.72) 50%),
		linear-gradient(135deg, rgba(241, 242, 244, 0.72) 50%, transparent 50%);
	background-position:
		calc(100% - 1.1rem) calc(50% - 0.15rem),
		calc(100% - 0.75rem) calc(50% - 0.15rem);
	background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
	background-repeat: no-repeat;
	padding-right: 2.25rem;
}

.dark-form .fluentform .text-danger {
	margin-top: 0.35rem;
	font-size: 0.82rem;
	line-height: 1.4;
	color: rgba(255, 141, 141, 0.92);
}

.dark-form .fluentform .ff-el-form-check,
.dark-form .fluentform .ff-el-tc,
.dark-form .fluentform .ff_t_c,
.dark-form .fluentform .ff_t_c p {
	font-family: var(--ldg-font-body);
	font-size: 0.82rem;
	line-height: 1.6;
	color: rgba(241, 242, 244, 0.78);
}

.dark-form .fluentform .ff_t_c a,
.dark-form .fluentform .ff-el-tc a {
	color: #e2c998;
	text-decoration-color: rgba(226, 201, 152, 0.72);
}

.dark-form .fluentform .ff_t_c a:hover,
.dark-form .fluentform .ff_t_c a:focus-visible,
.dark-form .fluentform .ff-el-tc a:hover,
.dark-form .fluentform .ff-el-tc a:focus-visible {
	color: #f1e2b8;
	outline: none;
}

.section-contact__form-panel--shortcode > .ldg-form__agreement {
	margin-top: 0.9rem;
	font-family: var(--ldg-font-body);
	font-size: 0.82rem;
	line-height: 1.65;
	color: rgba(241, 242, 244, 0.78);
}

.dark-form .fluentform .ff-message-success,
.dark-form .fluentform .ff-message-success p {
	font-family: var(--ldg-font-body);
	font-size: 0.95rem;
	line-height: 1.65;
	color: #f1f2f4;
}

.dark-form .fluentform .ff-message-success {
	margin: 0;
	padding: 1.05rem 1.15rem;
	border: 0;
	border-radius: 1rem;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
		rgba(9, 18, 31, 0.78);
	box-shadow: none;
	outline: none;
}

.dark-form .fluentform .ff-message-success:focus,
.dark-form .fluentform .ff-message-success:focus-visible,
.dark-form .fluentform .ff-message-success *:focus,
.dark-form .fluentform .ff-message-success *:focus-visible {
	outline: none;
	box-shadow: none;
}

.dark-form .fluentform .ff_submit_btn_wrapper,
.dark-form .fluentform .ff_submit_btn_wrapper_custom {
	margin-top: 0.2rem;
}

.dark-form .fluentform .ff-btn,
.dark-form .fluentform .ff-btn-submit,
.dark-form .fluentform .ff_submit_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 3.35rem;
	padding: 0.92rem 1.6rem;
	border: 1px solid rgba(166, 132, 74, 0.78);
	border-radius: 999px;
	background: linear-gradient(180deg, #b49355 0%, #a6844a 100%);
	box-shadow: 0 1rem 2rem rgba(5, 12, 24, 0.18);
	font-family: var(--ldg-font-body);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1;
	text-transform: uppercase;
	color: #050c18;
	cursor: pointer;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		filter 180ms ease;
}

.dark-form .fluentform .ff-btn:hover,
.dark-form .fluentform .ff-btn:focus-visible,
.dark-form .fluentform .ff-btn-submit:hover,
.dark-form .fluentform .ff-btn-submit:focus-visible,
.dark-form .fluentform .ff_submit_btn:hover,
.dark-form .fluentform .ff_submit_btn:focus-visible {
	outline: none;
	transform: translateY(-0.08rem);
	filter: brightness(1.04);
	box-shadow: 0 1.15rem 2.15rem rgba(5, 12, 24, 0.24);
}

@media (max-width: 780px) {
	.dark-form .fluentform .ff-t-container {
		display: block;
	}

	.dark-form .fluentform .ff-t-cell + .ff-t-cell {
		margin-top: 1rem;
	}

	.dark-form .fluentform .ff-el-form-control,
	.dark-form .fluentform input[type="text"],
	.dark-form .fluentform input[type="email"],
	.dark-form .fluentform input[type="tel"],
	.dark-form .fluentform input[type="number"],
	.dark-form .fluentform input[type="url"],
	.dark-form .fluentform textarea,
	.dark-form .fluentform select {
		min-height: 3.25rem;
		padding: 0.88rem 0.92rem;
		font-size: 0.95rem;
	}

	.dark-form .fluentform textarea {
		min-height: 8rem;
	}

	.dark-form .fluentform .ff-btn,
	.dark-form .fluentform .ff-btn-submit,
	.dark-form .fluentform .ff_submit_btn {
		width: 100%;
	}
}
