.moveto-lead-form {
	max-width: 40rem;
	margin: 0 auto;
}

.moveto-lead-form__title {
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
}

.moveto-lead-form__field,
.moveto-lead-form__consent {
	display: block;
	margin-bottom: 1rem;
}

.moveto-lead-form__label {
	display: block;
	margin-bottom: 0.35rem;
}

.moveto-lead-form__input {
	width: 100%;
	box-sizing: border-box;
}

.moveto-lead-form__either {
	margin: 0 0 0.75rem;
}

.moveto-lead-form__suggest {
	display: inline;
	margin-top: 0.25rem;
	padding: 0;
	border: 0;
	background: none;
	color: #1d4f91;
	text-decoration: underline;
	cursor: pointer;
}

.moveto-lead-form__hint {
	display: block;
	margin-top: 0;
	color: #b42318;
	font-size: 0.65rem;
	line-height: 1.3;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, max-height 0.2s ease, margin-top 0.2s ease;
}

.moveto-lead-form__hint.is-visible {
	margin-top: 0.25rem;
	max-height: 2.5em;
	opacity: 1;
	pointer-events: auto;
}

.moveto-lead-form__hp {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.moveto-lead-form__submit.is-loading,
.feedback__main-card-form[data-moveto-leads] button[type="submit"].is-loading {
	pointer-events: none;
	opacity: 0.75;
}

.moveto-lead-form__spinner {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin-left: 0.5rem;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: middle;
	animation: moveto-lead-spin 0.7s linear infinite;
}

.moveto-lead-form__spinner[hidden] {
	display: none !important;
}

@keyframes moveto-lead-spin {
	to {
		transform: rotate(360deg);
	}
}

.moveto-lead-form__message {
	margin-top: 0;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, max-height 0.2s ease, margin-top 0.2s ease;
}

.moveto-lead-form__message.is-visible {
	margin-top: 1rem;
	max-height: 6em;
	opacity: 1;
	pointer-events: auto;
}

.moveto-lead-form__message.is-success {
	color: #027a48;
}

.moveto-lead-form__message.is-error {
	color: #b42318;
}

.moveto-lead-form__consent {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

/* Contact variant — scoped to theme form with data-moveto-leads (T5D.5) */
.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__hint {
	margin: 0;
	padding: 0;
	font-size: 0.65rem;
	line-height: 1.3;
}

.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__hint.is-visible {
	margin: 0.25rem 0 0;
}

.feedback__main-card-form[data-moveto-leads] .iti {
	display: block;
	width: 100%;
}

.feedback__main-card-form[data-moveto-leads] .iti input.iti__tel-input,
.feedback__main-card-form[data-moveto-leads] .iti input.input-tel {
	width: 100%;
}

.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__select,
.feedback__main-card-form[data-moveto-leads] select.input {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23667085' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.875rem center;
	padding-right: 2.25rem;
	cursor: pointer;
}

.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__consent-row {
	display: block;
}

.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__consent-row .checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__consent-row .checkbox input[type="checkbox"] {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__message.is-visible,
.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__success-extra {
	margin-top: 1rem;
}

.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__success-extra[hidden] {
	display: none !important;
}

.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__success-extra {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.feedback__main-card-form[data-moveto-leads] .moveto-lead-form__success-extra p {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

@media (max-width: 375px) {
	.feedback__main-card-form[data-moveto-leads] .form__controll {
		width: 100%;
	}
}

/* Footer variant (T5F.2): same theme classes, fields stacked, light text on the dark footer */
.footer__callback-form[data-moveto-leads] {
	gap: 0.5rem;
}

.footer__callback-form[data-moveto-leads] > * {
	height: auto;
	flex: 1 1 100%;
}

.footer__callback-form[data-moveto-leads] > .form__controll > .form__controll-item,
.footer__callback-form[data-moveto-leads] > .btn {
	height: 2.75em;
}

.footer__callback-form[data-moveto-leads] .iti {
	display: block;
	width: 100%;
}

.footer__callback-form[data-moveto-leads] .iti input.iti__tel-input,
.footer__callback-form[data-moveto-leads] .iti input.input-tel,
.footer__callback-form[data-moveto-leads] input.input {
	width: 100%;
	height: 100%;
}

.footer__callback-form[data-moveto-leads] .moveto-lead-form__consent-row,
.footer__callback-form[data-moveto-leads] .moveto-lead-form__consent-row .checkbox__label {
	color: #d8dbeb;
	font-size: 0.78em;
	line-height: 1.3;
}

.footer__callback-form[data-moveto-leads] .moveto-lead-form__consent-row .checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.footer__callback-form[data-moveto-leads] .moveto-lead-form__consent-row a {
	color: inherit;
	text-decoration: underline;
}

.footer__callback-form[data-moveto-leads] .moveto-lead-form__hint {
	margin: 0;
	font-size: 0.7rem;
	line-height: 1.3;
	color: #ffb4a8;
}

.footer__callback-form[data-moveto-leads] .moveto-lead-form__hint.is-visible {
	margin: 0.2rem 0 0;
}

.footer__callback-form[data-moveto-leads] .moveto-lead-form__message.is-success {
	color: #a6f4c5;
}

.footer__callback-form[data-moveto-leads] .moveto-lead-form__message.is-error {
	color: #ffb4a8;
}

.footer__callback-form[data-moveto-leads] button[type="submit"].is-loading {
	opacity: 0.7;
}
