/* Cookie-баннер, правовые страницы и сообщения форм (152-ФЗ) */

.cookie-consent {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10050;
	padding: 16px 20px;
	background: #ffffff;
	border-top: 3px solid #f49601;
	box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
	font-family: Montserrat, Arial, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: #1b2a54;
}

.cookie-consent[hidden] {
	display: none !important;
}

.cookie-consent__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	gap: 20px;
}

.cookie-consent__text {
	max-width: 820px;
}

.cookie-consent__text a {
	color: #1b2a54;
	text-decoration: underline;
}

.cookie-consent__actions {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
}

.cookie-consent__btn {
	min-width: 130px;
	padding: 11px 18px;
	border: 0;
	border-radius: 3px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .3px;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.cookie-consent__btn_accept {
	background: #f49601;
	color: #ffffff;
}

.cookie-consent__btn_accept:hover {
	background: #d98200;
}

.cookie-consent__btn_decline {
	background: #eaeaeb;
	color: #1b2a54;
}

.cookie-consent__btn_decline:hover {
	background: #d7d7d9;
}

/* Карта в подвале: до согласия показываем ссылку, после — iframe Яндекса */
.maps__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 380px;
	padding: 20px;
	background: #1b2a54;
	color: #ffffff;
	text-align: center;
}

.maps__placeholder a {
	color: #ffffff;
	text-decoration: underline;
}

.maps__placeholder iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Сообщения форм */
.form__message {
	box-sizing: border-box;
	width: 100%;
	margin: 0 15px 15px;
	font-size: 12px;
	line-height: 1.4;
}

.form__message_success {
	color: #1f7a35;
}

.form__message_error {
	color: #c0392b;
}

.form__inp-check.line-error .politChecked__label {
	border-color: #c0392b;
}

/* Правовые страницы */
.legal-page h2 {
	margin: 26px 0 10px;
	font-size: 18px;
	line-height: 1.3;
}

.legal-page p,
.legal-page li {
	font-size: 14px;
	line-height: 1.65;
}

.legal-page ul {
	margin: 8px 0 14px;
	padding-left: 22px;
}

.legal-page code {
	padding: 1px 4px;
	background: #f2f2f2;
	font-size: 12px;
}

.legal-page .legal-table {
	width: 100%;
	margin: 12px 0 18px;
	border-collapse: collapse;
	font-size: 13px;
}

.legal-page .legal-table th,
.legal-page .legal-table td {
	padding: 8px 10px;
	border: 1px solid #dcdcdc;
	text-align: left;
	vertical-align: top;
}

.legal-page .legal-table th {
	background: #eaeaeb;
	font-weight: 600;
}

.legal-page__requisites {
	margin-top: 28px;
	padding: 16px 18px;
	background: #f5f5f5;
	border-left: 3px solid #f49601;
	font-size: 13px;
}

.legal-info {
	margin-bottom: 22px;
	padding: 14px 18px;
	background: #f5f5f5;
	border-left: 3px solid #1b2a54;
	font-size: 13px;
	line-height: 1.6;
}

.legal-info p {
	margin: 0 0 8px;
}

.legal-info p:last-child {
	margin-bottom: 0;
}

.legal-info ul {
	margin: 4px 0 10px;
	padding-left: 20px;
}

@media (max-width: 760px) {
	.cookie-consent {
		padding: 12px 14px;
	}

	.cookie-consent__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.cookie-consent__actions {
		justify-content: stretch;
	}

	.cookie-consent__btn {
		flex: 1 1 50%;
	}

	.legal-page .legal-table {
		display: block;
		overflow-x: auto;
	}
}
