/**
 * Footer Styles
 * Includes: footer layout, logo, menus, social links, copyright
 */

.footer {
	background: #575965;
	padding: 68px 0 37px;
}

footer .container {
	flex-direction: row;
}

.footer .logo_container {
	width: 25%;
}

.footer .logo {
	width: fit-content;
}

.footer .logo-img {
	max-width: 84px;
}

.footer .logo-title {
	font-size: 20px;
	line-height: 24px;
}

.footer .logo-subtitle {
	font-size: 16px;
	line-height: 16px;
}

.footer-menu,
.footer-menu .sub-menu {
	list-style: none;
}

.footer-menu .menu-item:not(:last-child) {
	margin-bottom: 16px;
}

.footer .menu-item a {
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: #fff;
}

.footer-phone.flex {
	height: 100%;
}

.footer-phone .header-top-phone {
	margin: auto auto 0 0;
}

.footer-box {
	margin-top: 24px;
	margin-bottom: 58px;
}

.soc-links {
  display: flex;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 24px;
  justify-content: flex-end;
}

.soc-links-elem {
  width: 20px;
  height: 20px;
}

.soc-links-elem:not(:last-child) {
  margin-right: 12px;
}

.soc-links-twitter {
	background: url("../../img/twitter.svg") no-repeat;
	background-size: contain;
}

.soc-links-fb {
	background: url("../../img/fb.svg") no-repeat;
	background-size: contain;
}

.soc-links-linkedin {
	background: url("../../img/linkedIn.svg") no-repeat;
	background-size: contain;
}

.soc-links-youtube {
	background: url("../../img/youtube.svg") no-repeat;
	background-size: contain;
}

.soc-links-instagram {
	background: url("../../img/instagram.svg") no-repeat;
	background-size: contain;
}

.soc-links-mail {
	background: url("../../img/icons/mail.svg") no-repeat;
	background-size: contain;
}

.soc-links-tg {
	background: url("../../img/icons/telegram.svg") no-repeat;
	background-size: contain;
}

.soc-links-wa {
	background: url("../../img/icons/whatsapp2.svg") no-repeat;
	background-size: contain;
}

.footer .header-top-inner {
	text-align: right;
	padding: 10px 0;
}

footer .container {
	display: block;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 0;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.2s ease;
}

.footer-social__link:hover {
    background: rgba(255, 255, 255, 0.3);
}

.footer-social__link img {
    display: block;
    filter: brightness(0) invert(1);
}

footer .copy,
footer .copy a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
}

/* ==========================================
   Media Queries
   ========================================== */

@media (max-width: 1024px) {
	.footer .logo-img {
		max-width: 61px;
	}

	.footer .logo-title {
		font-size: 14px;
		line-height: 24px;
	}

	.footer .logo-subtitle {
		font-size: 12px;
		line-height: 10px;
	}
}

@media (max-width: 991px) {
    .footer-phone .header-top-phone {
        margin: 0;
        margin-bottom: 53px;
    }
}

@media (max-width: 900px) {
	.footer-row:first-child .container {
		flex-direction: column;
	}

	.footer-row:first-child .container .footer-box-row {
		flex-direction: column;
	}

	.footer .header-top-inner {
		text-align: center;
	}

	.footer .logo {
		margin: 0 auto;
	}

	.footer .logo_container {
		width: 100%;
	}

	.footer-box {
		width: 100%;
	}
}

@media (max-width: 768px) {
    .footer-menu-wrapper:not(:last-child) {
    	margin-bottom: 53px;
    }

    .footer-box {
    	margin-top: 47px;
    	margin-bottom: 42px;
    }
}

@media (max-width: 480px) {
	.footer .header-btns {
		display: none;
	}

	.soc-links {
		padding-top: 0;
	}

	.footer .header-top-phone {
		display: block;
	}

	.footer-row:last-child .container {
		flex-direction: column;
	}
}

@media (max-width: 400px) {
    footer .copy, footer .copy a {
    	font-size: 7px;
    	font-weight: 400;
    	line-height: 10px;
    }
}
