/* Форма «Получить консультацию» (подвал) */

.feedback-form {
	font-size: 13px;
	font-weight: normal;
}

.feedback-input {
	margin-bottom: 8px;
}

.feedback-submit {
	width: 100%;
	background-color: #1d56c7 !important;
	cursor: pointer;
}

.feedback-submit:hover {
	background-color: #0a2a6b !important;
}

.feedback-submit:disabled {
	cursor: wait;
	opacity: .75;
}

.feedback-status {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2;
	display: none;
}

.feedback-status.is-success {
	border-color: #46b450;
}

.feedback-status.is-error {
	border-color: #dc3232;
}

/* Отзывы: кнопка открытия модалки и форма отзыва */

.review-open-btn {
	display: inline-block;
	padding: 12px 32px;
	background-color: #1d56c7;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 3px;
	font-size: 14px;
	font-weight: bold;
}

.review-open-btn:hover {
	background-color: #0a2a6b;
	color: #fff !important;
}

.review-form .feedback-textarea {
	width: 100%;
	min-height: 120px;
	margin-bottom: 8px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
}


/* Современные модальные окна */

.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 500000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(12, 22, 41, .62);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
	overflow-y: auto;
}

.modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.modal-box {
	position: relative;
	width: 100%;
	max-width: 460px;
	margin: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	padding: 30px 28px 24px;
	transform: translateY(16px) scale(.97);
	transition: transform .25s ease;
}

.modal-overlay.is-open .modal-box {
	transform: translateY(0) scale(1);
}

.modal-x {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px !important;
	height: 36px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #f0f2f7;
	color: #333;
	font-size: 22px;
	line-height: 26px;
	display: block;
	cursor: pointer;
	transition: background .2s ease;
	text-align: center;
}

.modal-x:hover {
	background: #e2e7f0;
}

body.modal-open {
	overflow: hidden;
}

/* Согласие в форме заявки — одной строкой (тема делает flex-колонкой) */

#callme .agreed,
#review-modal .agreed {
	display: block;
	text-align: center;
}

#callme .agreed a,
#review-modal .agreed a {
	display: inline;
}

#callme .agreed a:first-of-type,
#review-modal .agreed a:first-of-type {
	margin-left: 5px;
}

#callme .agreed .feedback-agree-label,
#review-modal .agreed .feedback-agree-label {
	display: inline;
}

.feedback-form .feedback-submit:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.feedback-form .feedback-submit:disabled:hover {
	background-color: #1d56c7;
}

/* Меню-шторка (бургер) */

.mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 400000;
	visibility: hidden;
}

.mobile-drawer.is-open {
	visibility: visible;
}

.drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 22, 41, .62);
	opacity: 0;
	transition: opacity .25s ease;
}

.mobile-drawer.is-open .drawer-backdrop {
	opacity: 1;
}

.drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: 340px;
	max-width: 88vw;
	height: 100%;
	background: #fff;
	box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
	transform: translateX(100%);
	transition: transform .3s ease;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.mobile-drawer.is-open .drawer-panel {
	transform: translateX(0);
}

.drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 14px 12px;
	border-bottom: 1px solid #eef1f6;
}

.drawer-logo {
	height: 42px;
	width: auto;
}

#mobile-drawer .drawer-x {
	width: 36px !important;
	height: 36px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #f0f2f7;
	color: #333;
	font-size: 22px;
	line-height: 32px;
	text-align: center;
	cursor: pointer;
	transition: background .2s ease;
}

.drawer-x:hover {
	background: #e2e7f0;
}

.drawer-nav {
	flex: 1 0 auto;
}

.drawer-menu {
	list-style: none;
	margin: 0;
	padding: 6px 0;
}

.drawer-menu > li {
	border-bottom: 1px solid #f0f2f7;
}

.drawer-row {
	display: flex;
	align-items: center;
}

#mobile-drawer .drawer-menu a {
	display: block !important;
	flex: 1 1 auto;
	padding: 14px 18px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #1c2733 !important;
	background: transparent !important;
	border-radius: 0 !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

#mobile-drawer [data-drawer-toggle] {
	flex: 0 0 auto;
	width: 44px !important;
	height: 44px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #98a2b3 !important;
	cursor: pointer;
}

.drawer-chevron {
	display: inline-block;
	width: 14px;
	height: 14px;
	position: relative;
	transition: transform .2s ease;
}

.drawer-chevron::before,
.drawer-chevron::after {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 14px;
	height: 2px;
	background: #1c2733;
}

.drawer-chevron::after {
	transform: rotate(90deg);
}

.drawer-parent.is-expanded .drawer-chevron::after {
	display: none;
}

.drawer-sub {
	list-style: none;
	margin: 0;
	padding: 0 0 10px;
	display: none;
}

.drawer-parent.is-expanded .drawer-sub {
	display: block;
}

#mobile-drawer .drawer-sub a {
	padding: 9px 18px 9px 30px !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #475569 !important;
	background: transparent !important;
	border-radius: 0 !important;
	text-transform: none !important;
}

.drawer-foot {
	margin-top: auto;
	padding: 16px 18px 20px;
	border-top: 1px solid #eef1f6;
}

#mobile-drawer .drawer-phone {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #1c2733 !important;
	background: transparent !important;
	border-radius: 0 !important;
	text-decoration: none !important;
	display: block !important;
	margin-bottom: 4px !important;
}

.drawer-hours {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 14px;
}

#mobile-drawer .drawer-foot .btn {
	width: 100% !important;
	height: 48px !important;
	padding: 0 20px !important;
	margin: 0 !important;
}

body.drawer-open {
	overflow: hidden;
}

.burger, .burger-mobile {
	cursor: pointer;
}
