/* Модалка «Связаться с нами» (обратный звонок) */
.amcb_overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.amcb_overlay.is-open { display: flex; }

.amcb_backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 27, 68, 0.55);
	backdrop-filter: blur(3px);
	animation: amcbFade .2s ease;
}

.amcb_dialog {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 30px 70px rgba(11, 27, 68, 0.28);
	padding: 40px 36px 34px;
	animation: amcbPop .24s ease;
}

@keyframes amcbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes amcbPop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.amcb_close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 34px;
	height: 34px;
	border: 0;
	background: transparent;
	color: var(--bg-d, #57698B);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
	transition: .2s;
}
.amcb_close:hover { color: var(--bg-r, #FF005E); background: var(--bg-s, #ECF0F9); }

.amcb_title {
	margin: 0 0 8px;
	color: var(--tm, #0b1b44);
	font-size: 26px;
	line-height: 1.15;
}
.amcb_lead {
	margin: 0 0 22px;
	color: var(--bg-d, #57698B);
	font-size: 15px;
	line-height: 1.5;
}

.amcb_field { margin-bottom: 16px; }
.amcb_field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tm, #0b1b44);
}
.amcb_field input {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--bdc1, #D0D7E7);
	border-radius: 10px;
	font-size: 15px;
	color: var(--tm, #0b1b44);
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
	box-sizing: border-box;
}
.amcb_field input::placeholder { color: #9aa6c2; }
.amcb_field input:focus {
	outline: none;
	border-color: var(--bg-r, #FF005E);
	box-shadow: 0 0 0 3px rgba(255, 0, 94, 0.12);
}
.amcb_field.has-error input { border-color: #e02020; }

.amcb_err {
	display: block;
	min-height: 16px;
	margin-top: 5px;
	color: #e02020;
	font-size: 12.5px;
	line-height: 1.3;
}

.amcb_consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 6px 0 4px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.45;
	color: var(--bg-d, #57698B);
}
.amcb_consent input {
	margin: 2px 0 0;
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	accent-color: var(--bg-r, #FF005E);
	cursor: pointer;
}
.amcb_consent a { color: var(--bg-r, #FF005E); text-decoration: none; }
.amcb_consent a:hover { text-decoration: underline; }

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

.amcb_submit {
	width: 100%;
	height: 50px;
	margin-top: 14px;
	font-size: 16px;
	font-weight: 600;
}
.amcb_submit.is-loading { opacity: .7; pointer-events: none; }

.amcb_form_err {
	margin: 10px 0 0;
	min-height: 16px;
	color: #e02020;
	font-size: 13px;
	text-align: center;
}

.amcb_success { text-align: center; padding: 10px 0; }
.amcb_success_ico {
	width: 66px;
	height: 66px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--bg-s, #ECF0F9);
	color: var(--bg-r, #FF005E);
	display: flex;
	align-items: center;
	justify-content: center;
}
.amcb_success_ico svg { width: 32px; height: 32px; }
.amcb_success_close { margin-top: 20px; height: 46px; }

@media (max-width: 520px) {
	.amcb_dialog { padding: 34px 22px 26px; border-radius: 14px; }
	.amcb_title { font-size: 22px; }
}
