.header,
.footer {
	font-family: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
	color: #2b2f33;
}

.header {
	position: sticky;
	left: 0;
	top: 0;
	z-index: 10;
	width: 100%;
	padding-block: 12px;
	will-change: transform;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, .25);
	background: #fff;
	font-family: "Manrope", "Segoe UI", Roboto, Arial, sans-serif !important
}

.header a,
.header button,
.header li,
.header span {
	font-family: inherit !important
}

.header__left,
.header__menu,
.header__contacts {
	font-size: 14px !important;
	line-height: 1.2;
	min-height: 32px
}

.header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 32px
}

.header__logo img {
	width: 124px;
	height: 35px;
	object-fit: contain
}

.header__top-wrapper {
	display: flex;
	align-items: center
}

.header__left {
	display: flex;
	align-items: center;
	gap: 40px
}

.header__address {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 20px
}

.header__address svg {
	width: 20px;
	height: 20px;
	fill: #f43
}

.header__menu {
	display: flex;
	align-items: center;
	gap: 40px
}

.header__menu>li>a {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: underline;
	-webkit-text-decoration-skip-ink: none;
	text-decoration-skip-ink: none;
	text-underline-offset: .1lh;
	transition: color .3s, text-decoration-color .3s;
	text-decoration-color: transparent
}

.header__menu>li {
	display: inline-flex;
	align-items: center;
	min-height: 32px
}

.header__menu>li.current-menu-item,
.header__menu>li.current_page_item,
.header__menu>li.current-menu-parent,
.header__menu>li.current-menu-ancestor,
.header__menu>li.current_page_parent,
.header__menu>li.current_page_ancestor {
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important
}

.header__menu>.menu-item-has-children.current-menu-item,
.header__menu>.menu-item-has-children.current_page_item,
.header__menu>.menu-item-has-children.current-menu-parent,
.header__menu>.menu-item-has-children.current-menu-ancestor,
.header__menu>.menu-item-has-children.current_page_parent,
.header__menu>.menu-item-has-children.current_page_ancestor {
	padding-right: 18px !important
}

.header__menu>li.current-menu-item>a,
.header__menu>li.current_page_item>a,
.header__menu>li.current-menu-parent>a,
.header__menu>li.current-menu-ancestor>a,
.header__menu>li.current_page_parent>a,
.header__menu>li.current_page_ancestor>a {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	padding: 0;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-decoration-color: transparent !important
}

.header__menu>li>a:focus-visible {
	text-decoration-color: currentColor
}

.header__menu .menu-item-has-children {
	position: relative;
	padding-right: 18px
}

.header__menu .menu-item-has-children:after {
	content: "";
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 19;
	width: 220px;
	height: 12px
}

.header__menu .menu-item-arrow {
	position: absolute;
	right: 0;
	top: 50%;
	translate: 0 -50%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	width: 14px;
	height: 14px;
	color: #2b2f33;
	transition: rotate .3s, color .3s
}

.header__menu .menu-item-arrow:before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	margin-inline: auto;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	rotate: 45deg;
	translate: 0 -1px
}

.header__menu .sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 20;
	display: none;
	gap: 8px;
	min-width: 220px;
	padding: 12px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(43, 47, 51, .12)
}

.header__menu .sub-menu li {
	z-index: 1
}

.header__menu .sub-menu a {
	display: inline-flex;
	width: 100%;
	font-size: 14px;
	line-height: 1.35
}

.header__menu .menu-item-has-children:hover>.sub-menu,
.header__menu .menu-item-has-children:focus-within>.sub-menu {
	display: grid
}

.header__menu .menu-item-has-children:hover>.menu-item-arrow,
.header__menu .menu-item-has-children:focus-within>.menu-item-arrow,
.header__menu .menu-item-has-children.is-open>.menu-item-arrow {
	rotate: 180deg
}

.header__contacts {
	display: flex;
	align-items: center;
	gap: 12px
}

.header__contacts>:not(:last-child):not(.header__button) {
	position: relative
}

.header__contacts>:not(:last-child):not(.header__button):after {
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	translate: 0 -50%;
	width: 1px;
	height: 16px;
	background: #aaacad
}

.header__tel {
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	text-decoration: underline;
	-webkit-text-decoration-skip-ink: none;
	text-decoration-skip-ink: none;
	text-underline-offset: .1lh;
	transition: color .3s, text-decoration-color .3s;
	text-decoration-color: transparent
}

.header__tel:focus-visible {
	text-decoration-color: currentColor
}

.header__social {
	display: flex;
	align-items: center;
	gap: 6px
}

.header__social svg {
	max-width: 20px;
	max-height: 20px
}

.header__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 170px;
	font-weight: 700;
	min-height: 32px;
	padding: 4px 20px
}

.header__button:after {
	content: "";
	width: 1em;
	height: 1em;
	mask: url(../img/icons/next.svg) center/contain no-repeat;
	-webkit-mask: url(../img/icons/next.svg) center/contain no-repeat;
	background: #fff;
	transition: all .4s
}

/* Модальные окна (используются и на главной, и на /tinting/) */
.modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	background: rgba(43, 47, 51, .55)
}

.modal__dialog {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 20px
}

.modal__content {
	position: relative;
	width: min(560px, calc(100vw - 24px));
	padding: 24px;
	border-radius: 16px;
	background: #fff;
	color: #2b2f33
}

.modal__title {
	margin: 0 0 14px;
	line-height: 1.2
}

.modal__form .form__fields {
	display: grid;
	gap: 12px
}

.modal__close {
	position: absolute;
	right: 14px;
	top: 14px;
	display: flex;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer
}

.modal__close svg {
	width: 20px;
	height: 20px;
	fill: #9fabb9
}

.modal-callback .input,
.modal-callback .textarea {
	border: 1px solid #d7dfe8;
	background: #fff;
	color: #2b2f33
}

.modal-callback .checkbox {
	color: #2b2f33
}

.modal-callback .checkbox__input:before {
	border-color: #2b2f33
}

.modal-callback .checkbox__input:after {
	background: #2b2f33
}

.modal-thank .modal__content {
	display: grid;
	justify-items: center
}

.modal-thank .modal__title,
.modal-thank .modal__subtitle {
	margin: 0
}



.footer {
	padding-top: 100px;
	padding-bottom: 12px;
	background: #2b2f33;
	color: #fff
}

.footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid #9fabb9
}

.footer__left {
	display: grid;
	gap: 32px
}

.footer__logo {
	display: inline-flex;
	justify-content: flex-start;
	margin-left: 0
}

.footer__logo img {
	display: block;
	object-position: left center
}

.footer__text {
	max-width: 370px
}

.footer__social {
	display: flex;
	gap: 24px
}

.footer__right {
	display: flex;
	align-items: flex-start;
	gap: 20px
}

.footer__item {
	display: grid;
	min-width: 235px;
	align-content: start;
	gap: 12px
}

.footer__item-title {
	margin-bottom: 44px;
	font-weight: 700;
	font-size: 23px;
	line-height: 1.04348
}

.footer__item ul {
	display: grid;
	gap: 12px
}

.footer__item a {
	text-decoration: underline;
	-webkit-text-decoration-skip-ink: none;
	text-decoration-skip-ink: none;
	text-underline-offset: .1lh;
	transition: color .3s, text-decoration-color .3s;
	text-decoration-color: transparent
}

.footer__item a:focus-visible {
	text-decoration-color: currentColor
}

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px
}



.menu-link {
	position: relative;
	order: 10;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	position: relative;
	border-radius: 8px
}

.menu-link:before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	background-image: linear-gradient(90deg, #007bff 0, #0cf 100%);
	border-radius: inherit;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none
}

.menu-link.active .menu-lines {
	background: 0 0
}

.menu-link.active .menu-lines:after {
	top: 0;
	rotate: -135deg
}

.menu-link.active .menu-lines:before {
	top: 0;
	rotate: 135deg
}

.menu-lines,
.menu-lines:before,
.menu-lines:after {
	position: absolute;
	left: 50%;
	width: 13px;
	height: 1px;
	translate: -50% -50%;
	background: linear-gradient(90deg, #007bff 0, #0cf 100%);
	transition: .4s;
	pointer-events: none;
	border-radius: 1px
}

.menu-lines {
	top: 50%
}

.menu-lines:before {
	content: "";
	top: -4px
}

.menu-lines:after {
	content: "";
	top: 5px
}

@media (min-width:1200px) {
	.menu-link {
		display: none
	}
}

@media (min-width:992px) {
	.header__contacts>:not(:last-child):not(.header__button) {
		padding-right: 12px
	}
}


@media (max-width:1439px) {
	.footer {
		padding-block: 80px 64px
	}
}

@media (max-width:1199px) {
	.header__mobile {
		position: fixed;
		right: -100vw;
		top: var(--headerFixedHeight);
		z-index: 5;
		display: grid;
		grid-template-columns: 100%;
		justify-items: start;
		align-content: start;
		gap: 20px;
		width: min(500px, 101vw);
		padding: 40px 20px 40px;
		background: #fff;
		border-radius: 0 0 0 20px;
		opacity: 0;
		transition: right .3s, opacity .3s;
		max-height: 100vh;
		overflow-y: auto;
		overflow-x: hidden;
		pointer-events: none
	}

	@supports (-moz-appearance:none) {
		.header__mobile {
			scrollbar-color: #3395ff #dfe4ec;
			scrollbar-width: thin
		}
	}

	.header__mobile::-webkit-scrollbar {
		width: 4px
	}

	.header__mobile::-webkit-scrollbar-track-piece {
		background-color: #dfe4ec;
		border-radius: 4px
	}

	.header__mobile::-webkit-scrollbar-thumb {
		background-color: #3395ff;
		border-radius: 4px
	}

	.header__mobile.active {
		right: 0;
		opacity: 1;
		pointer-events: auto
	}

	.header__nav {
		width: 100%
	}

	.header__menu {
		display: grid;
		grid-template-columns: 100%;
		gap: 20px;
		width: 100%
	}

	.header__menu>li {
		display: block;
		width: 100%;
		min-height: 0
	}

	.header__menu .menu-item-has-children {
		display: block;
		position: relative;
		width: 100%;
		padding-right: 0
	}

	.header__menu .menu-item-has-children:after {
		display: none
	}

	.header__menu .menu-item-has-children>a {
		display: block;
		width: 100%;
		padding-right: 44px;
		box-sizing: border-box
	}

	.header__menu .menu-item-arrow {
		right: 0;
		top: 0;
		translate: 0;
		width: 28px;
		height: 28px;
		border-radius: 8px;
		background: #f3f7fb
	}

	.header__menu .menu-item-has-children:hover>.sub-menu,
	.header__menu .menu-item-has-children:focus-within>.sub-menu {
		display: none
	}

	.header__menu .sub-menu {
		position: static;
		min-width: 0;
		width: 100%;
		padding: 0 0 0 16px;
		margin-top: 12px;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		display: none;
		grid-template-columns: 100%;
		gap: 12px
	}

	.header__menu .menu-item-has-children.is-open>.sub-menu {
		display: grid
	}

	.header__menu .sub-menu li {
		width: 100%
	}

	.header__menu .sub-menu a {
		display: block;
		width: 100%;
		font-size: 15px
	}

	.header__contacts>:not(:last-child):not(.header__button):after {
		display: none
	}

	.footer {
		padding-block: 40px
	}

	.footer__top {
		flex-direction: column-reverse;
		align-items: center;
		gap: 44px;
		margin-bottom: 12px;
		padding-bottom: 12px
	}

	.footer__left {
		display: grid;
		justify-items: center;
		gap: 20px;
		width: 100%;
		text-align: center
	}

	.footer__left>* {
		margin-inline: auto
	}

	.footer__logo {
		display: flex;
		justify-content: center;
		width: max-content;
		margin-inline: auto
	}

	.footer__logo img {
		margin-inline: auto;
		object-position: center center
	}

	.footer__logo img {
		width: round(clamp(min(218px, 164px), 139.4247572816px + 6.5533980583vw, max(218px, 164px)), 1px);
		height: round(clamp(min(42px, 32px), 27.4490291262px + 1.213592233vw, max(42px, 32px)), 1px)
	}

	.footer__text {
		display: none
	}

	.footer__right {
		display: grid;
		grid-template-columns: 100%;
		justify-items: center;
		align-items: start;
		gap: 20px;
		width: 100%
	}

	.footer__right>* {
		margin-inline: auto
	}

	.footer__item {
		width: 100%;
		min-width: 0;
		justify-items: center;
		text-align: center
	}

	.footer__item:first-child {
		text-align: center
	}

	.footer__item-title {
		margin-bottom: 12px
	}

	.footer__item ul {
		justify-items: center
	}

	.footer__social {
		width: max-content;
		margin-inline: auto;
		justify-content: center;
		gap: round(clamp(min(12px, 4px), .359223301px + .9708737864vw, max(12px, 4px)), 1px)
	}

	.footer__bottom {
		flex-direction: column;
		justify-content: center;
		text-align: center
	}
}


@media (max-width:767px) {
	.header__tel {
		font-size: 14px
	}

	.header .container {
		padding-inline: 20px
	}

	.footer__top {
		align-items: center
	}

	.footer__left {
		display: grid;
		justify-items: center;
		gap: 20px;
		width: 100%;
		text-align: center
	}

	.footer__logo {
		justify-content: center;
		width: max-content;
		margin-inline: auto
	}

	.footer__logo img {
		margin-inline: auto;
		object-position: center center
	}

	.footer__social {
		width: max-content;
		margin-inline: auto;
		justify-content: center
	}

	.footer__right {
		display: grid;
		grid-template-columns: 100%;
		justify-items: center;
		justify-content: flex-start;
		gap: 20px;
		width: 100%
	}

	.footer__item {
		width: 100%;
		min-width: 0;
		align-content: start;
		align-items: center;
		justify-items: center;
		text-align: center
	}

	.footer__item:first-child {
		text-align: center
	}

	.footer__item ul {
		justify-items: center
	}

	.footer__bottom {
		flex-direction: column;
		justify-content: center;
		text-align: center
	}
}

@media (max-width:575px) {
	.header {
		padding-block: 8px
	}

	.header .container {
		padding-inline: 8px
	}

	.header__logo img {
		flex: 0 0 32px;
		height: 32px
	}

	.header__button {
		min-height: 32px
	}


	.footer__item-title {
		font-size: 16px
	}

	.footer__logo img {
		width: min(132px, 64vw) !important
	}
}

@media (max-width:1439px) and (min-width:992px) {

	.header__left,
	.header__menu {
		gap: round(clamp(min(40px, 20px), -24.384787472px + 4.4742729306vw, max(40px, 20px)), 1px)
	}

	.header__left,
	.header__menu {
		font-size: round(clamp(min(16px, 14px), 9.5615212528px + .4474272931vw, max(16px, 14px)), 1px)
	}

	.header .container {
		padding-inline: round(clamp(min(40px, 32px), 14.2460850112px + 1.7897091723vw, max(40px, 32px)), 1px)
	}

	.header__contacts {
		gap: round(clamp(min(12px, 8px), -.8769574944px + .8948545861vw, max(12px, 8px)), 1px)
	}

	.header__contacts>:not(:last-child):not(.header__button) {
		padding-right: round(clamp(min(12px, 8px), -.8769574944px + .8948545861vw, max(12px, 8px)), 1px)
	}
}

@media (max-width:1199px) and (min-width:992px) {
	.header__contacts {
		gap: round(clamp(min(12px, 8px), -.8769574944px + .8948545861vw, max(12px, 8px)), 1px)
	}
}

@media (max-width:1199px) {
	.footer__top {
		align-items: center !important
	}

	.footer__left {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important
	}

	.footer__logo,
	.footer__social {
		align-self: center !important;
		margin-inline: auto !important
	}

	.footer__logo img {
		display: block;
		width: min(180px, 72vw) !important;
		height: auto !important;
		margin-inline: auto !important
	}
}

@media (any-hover:hover) {
	.header__menu>li>a:hover {
		text-decoration-color: currentColor
	}

	.header__tel:hover {
		text-decoration-color: currentColor
	}

	.footer__item a:hover {
		text-decoration-color: currentColor
	}
}
