.site-footer,
.site-footer * {
	box-sizing: border-box;
}

.site-footer {
	background: linear-gradient(160deg, #2F6FE4 0%, #8B5CF6 100%);
	color: #fff;
	padding: 60px 0;
	margin-top: 100px;
}
.footer-contact a.footer-contact__phone > span {
    font-size: 14px;
}
.site-footer__container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 26px;

	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: auto auto;
	column-gap: 24px;
	row-gap: 32px;

	grid-template-areas:
        "nav btn docs"
        "contacts address meta";
}

.site-footer__container > * {
	min-width: 0;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.footer-nav {
	grid-area: nav;
}

.site-footer .footer-btn {
	grid-area: btn;
	align-self: start;
	justify-self: start;
	color: #2F6FE4;
}

.footer-docs {
	grid-area: docs;
}

.footer-contacts-pair {
	grid-area: contacts;
	display: flex;
	gap: 32px;
}

.footer-address {
	grid-area: address;
}

.footer-meta {
	grid-area: meta;
}

.footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	column-gap: 18px;
	row-gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav__list a {
	font-size: 14px;
	font-weight: 500;
}

.footer-nav__list a:hover {
	opacity: .8;
}

.footer-docs ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}
.footer-docs ul{
	line-height: 1;
	gap: 4px;
}
.footer-docs a {
	font-size: 12px;
	color: #E5E5E5;
	font-weight: 500;
}

.footer-docs a:hover {
	color: #fff;
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-contact__label {
	font-size: 12px;
	color: #E5E5E5;
	margin-bottom: 12px;
}

.footer-contact__phone {
	font-size: 16px;
	font-weight: 600;
}

.footer-contact__hours {
	font-size: 14px;
	line-height: 1.5;
}

.footer-address {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-weight: 500;
}

.footer-address__line,
.footer-address__email {
	font-size: 16px;
}

.footer-social {
	display: flex;
	gap: 20px;

}

.footer-social a {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	position: relative;
	transition: transform .2s ease, opacity .2s ease;
}

.footer-social a::before {
	content: '';
	position: absolute;
	inset: -11px;
}

.footer-social a svg {
	display: block;
}

.footer-social a:hover,
.footer-social a:focus {
	opacity: .75;
	transform: translateY(-2px);
}

.footer-social a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 6px;
	border-radius: 50%;
	opacity: 1;
}

.footer-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.footer-badge iframe {
    border-radius: 10px;
	overflow: hidden;
}

.site-footer__copyright {
	font-size: 14px;
	color:#fff;
}

.footer-nav__list > li {
	position: relative;
}

.footer-nav__list li.menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.footer-nav__list li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 4px;
	margin-left: 2px;
	vertical-align: middle;
	background-color: currentColor;
	-webkit-mask-image: url(../img/menu_vector.svg);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: 7px 4px;
	mask-image: url(../img/menu_vector.svg);
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: 7px 4px;
	transform: rotate(0deg);
	transform-origin: 50% 50%;
	transition: transform .2s ease;
}

.footer-nav__list li.menu-item-has-children.is-open > a::after {
	transform: rotate(180deg);
}

.footer-nav .sub-menu {
	top: auto;
	bottom: 100%;
	margin: 0 0 8px;
}

.footer-nav__list li.menu-item-has-children:hover > .sub-menu,
.footer-nav__list li.menu-item-has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

footer li.current-menu-item > a .main-nav__label::after,
footer li.current_page_item > a .main-nav__label::after,
footer li.current-menu-parent > a .main-nav__label::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 1px;
	background-color: #ffffff;
}
nav.footer-nav {
	width: 65%;
}
@media (max-width: 991px) {
    .footer-docs ul{
    	line-height: 0.9;
    	gap: 4px;
    }
    .footer-address {
        gap: 12px;
    }
    .site-footer {
        background: linear-gradient(100deg, #2F6FE4 0%, #8B5CF6 100%);
    }
    .footer-social {
    	display: flex;
        gap: 20px;
        margin-bottom: 14px;
    }
	nav.footer-nav {
		width: 100%;
		margin-bottom: 26px;
	}
	.site-footer {
		padding: 40px 0 40px;
		margin-top: 40px;
	}

	.site-footer__container {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		column-gap: 0;
		row-gap: 14px;
		padding: 0 20px;
		grid-template-areas:
            "nav"
            "contacts"
            "btn"
            "address"
            "docs"
            "meta";
	}

	.site-footer .footer-btn {
		display: none;
	}

	.footer-nav__list {
		flex-direction: column;
		align-items: flex-start;
		row-gap: 20px;
	}

	.footer-contacts-pair {
		flex-direction: column;
		gap: 28px;
	}

	span.footer-contact__label {
		margin-bottom: 9px;
	}

	.footer-contact__phone {
		font-size: 16px;
		font-weight: 500;
	}

	span.footer-contact__hours {
		font-size: 12px;
	}

	.footer-meta {
		align-items: flex-start;
		margin-top: 26px;
	}

	.footer-nav .sub-menu {
		position: static;
		display: none;
		flex-direction: column;
		gap: 8px;
		min-width: 0;
		margin: 8px 0 0;
		padding: 0 0 0 12px;
		background: none;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.footer-nav__list li.menu-item-has-children.is-open > .sub-menu {
		display: flex;
	}

	.footer-nav .sub-menu li a {
		padding: 0;
		font-size: 14px;
		color: rgba(255, 255, 255, .85);
		white-space: normal;
	}
	.footer-docs a {
		font-size: 12px;
		font-weight: 600;
	}
}
@media (min-width: 992px){
	.footer-nav__list li.menu-item-has-children:hover > a::after{
		transform: rotate(180deg);
	}
}
@media (min-width:1150px){
    .footer-contacts-pair .footer-contact {
        min-width: 296px;
    }
}