.header {
	padding-bottom: 28px;
}

.legal-note {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	background: var(--color-primary);
	border-top: 1px solid var(--color-semi);
	color: var(--color-accent);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: .01em;
	text-align: center;
	padding: 4px 0;
}

.legal-note .container {
	padding-top: 0;
	padding-bottom: 0;
}

@media only screen and (max-width: 767px) {
	.header {
		height: 71px;
		padding-bottom: 22px;
	}
	.legal-note {
		font-size: 12px;
		padding: 3px 0;
	}
	.legal-note .container {
		padding-left: 14px;
		padding-right: 14px;
	}
}

.header, .header *,
.legal-note, .legal-note *,
.footer, .footer *,
.footer-mob, .footer-mob *,
.popup, .popup *,
.requisites, .requisites *,
.formcard, .formcard *,
a[href^="mailto:"], a[href^="mailto:"] *,
a[href^="tel:"], a[href^="tel:"] * {
	-webkit-user-select: text;
	user-select: text;
}

a[href^="mailto:"],
a[href^="tel:"] {
	-webkit-user-drag: none;
}

body.page-template-template-contacts,
body.page-template-template-contacts * {
	-webkit-user-select: text;
	user-select: text;
}

body.page-template-template-contacts a {
	-webkit-user-drag: none;
}

/* 11.09.2026: виджет Envybox (fixed, z-index 9990) перекрывал галочку согласия и кнопку
   «Отправить» — на телефоне тап уходил в виджет. Опускаем виджет под формы и попапы (у обёртки формы .hero__form z-index 2)
   (попапы z 8–10): там, где виджет пересекается с формой, сверху форма. */
.ws-video-widget {
	z-index: 1 !important;
}
form.wpcf7-form {
	position: relative;
	z-index: 6;
}

/* Текст согласия стал длиннее (две ссылки) — переносится на 2–3 строки, выравниваем по верху */
.wpcf7-acceptance .wpcf7-list-item-label {
	line-height: 1.3;
}
.wpcf7-acceptance .wpcf7-list-item-label a {
	text-decoration: underline;
	text-underline-offset: 2px;
}
