.page-footer {
	background: #C80F2E;
	color: var(--color-white);
	overflow: hidden;
	position: relative;
}

.footer-top {
	padding: 65px 0;
}

.footer-top__left h4 {
	color: var(--color-white);
	text-transform: capitalize;
	font-size: 25px;
	line-height: 1.47em;
}

.footer-social ul {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 22px;
	padding: 0;
	margin: 0;
}

.footer-social ul li {
	padding: 0;
	margin: 0;
}

.footer-social ul li:before {
	display: none;
}

.footer-social ul li a {
	color: var(--color-white);
	font-size: 32px;
}

.footer-top h3 {
	color: var(--color-white);
	font-size: 25px;
	margin: 0 0 28px;
}

.footer-top h5 {
	color: var(--color-white);
	font-size: 20px;
	margin: 0 0 5px;
}

.footer-top__links ul {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-direction: column;
	gap: 4px;
	padding: 0;
	margin: 0;
}

.footer-top__links ul li {
	padding: 0;
	margin: 0;
}

.footer-top__links ul li:before {
	display: none;
}

.footer-top__links ul li a {
	color: var(--color-white);
	font-weight: normal;
	font-family: var(--body-font-family);
	font-size: 20px;
}

.footer-top__links__flex {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 58px;
}

.footer-top__flex {
	display: flex;
	flex-direction: column;
	gap: 35px;
}

.footer-top__contact ul {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-direction: column;
	gap: 27px;
	padding: 0;
	margin: 0;
}

.footer-top__contact ul li {
	padding: 0;
	margin: 0;
}

.footer-top__contact ul li:before {
	display: none;
}

.footer-top__contact ul li :where(a, p) {
	color: var(--color-white);
	font-weight: normal;
	font-family: var(--body-font-family);
	font-size: 20px;
	display: flex;
	align-items: flex-start;
	line-height: normal;
	justify-content: flex-start;
	gap: 13px;
}

.footer-top__contact ul li a i {
	font-size: 23px;
}

.footer-top__contact ul li a i.icon-location {
	font-size: 24px;
}

.footer-top__contact .btn {
	margin: 23px 0 0;
	background: var(--color-white);
	color: var(--color-black);
}

.footer-top__contact .btn::before {
	background: var(--color-gray-500);
}

.footer-bottom {
	background: var(--color-black);
	padding: 30px 0 38px;
}

.footer-bottom__flex ul,
.footer-bottom__flex ul li {
	padding: 0;
	margin: 0;
}

.footer-bottom__flex ul li:before {
	display: none;
}

.footer-bottom__flex ul li,
.footer-bottom__flex ul li a {
	color: var(--color-white);
	font-family: var(--body-font-family);
	font-size: 16px;
	font-weight: normal;
}

.footer-bottom__flex ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px 52px;
}

.back-to-top a {
	font-size: 20px;
	color: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	gap: 15px;
}

.back-to-top {
	margin: 28px 0 0;
}

.back-to-top a i {
	font-size: 29px;
	width: 49px;
	height: 49px;
	background: var(--primary-color);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;

	&:before {
		color: inherit;
	}
}



.back-to-top a:hover i  {
	color: var(--primary-color);
	background: var(--color-white)
}

@media (min-width: 768px) {
	.footer-top {
		padding: 80px 0;
		position: relative;
		z-index: 1;
	}

	.footer-top__flex {
		flex-direction: row;
		flex-wrap: wrap;
		padding-left: 109px;
	}

	.footer-bottom {
		padding: 31px 0 16px;
	}

	.back-to-top {
		margin: 35px 0 0;
	}

	.footer-top:after {
		content: "";
		position: absolute;
		width: 350px;
		height: 100%;
		left: -213px;
		background: var(--primary-color-dark);
		clip-path: polygon(70% 0, 100% 50%, 70% 100%, 0 100%, 0 0);
		top: 0;
		z-index: -1;
	}
}

@media (min-width: 1200px) {
	.footer-bottom__flex {
		position: relative;
	}

	.back-to-top {
		margin: 0;
		position: absolute;
		right: 0;
		top: 50%;
		transform: translate(0, -50%);
	}

	.footer-bottom {
		padding: 26px 0;
	}

	.footer-top__left {
		max-width: 304px;
	}

	.footer-top__flex {
		gap: 70px;
		padding: 0 0 0 86px;
		flex-wrap: nowrap;
	}

	.footer-top {
		padding: 70px 0 52px;
	}

	.back-to-top a {
		font-size: 25px;
	}

	.footer-top__links__flex {
		gap: 100px;
	}

	.footer-top__links ul {
		gap: 1px;
	}

	.footer-bottom__flex ul li a:hover,
	.back-to-top a:hover {
		color: var(--primary-color);
		background: transparent;
	}

	.footer-top__contact ul li a:hover,
	.footer-top__links ul li a:hover,
	.footer-social ul li a:hover {
		opacity: 0.8;
		background: transparent;
	}

	.footer-top__contact .btn:hover {
		color: var(--color-white);
		background: transparent;
		box-shadow: 0 0 0 2px var(--color-white);
	}

	.footer-top__contact .btn:hover::before {
		background: rgba(255, 255, 255, 0.2);
	}
}

@media (min-width: 1600px) {
	.footer-top:after {
		width: 250px;
		left: 0;
		clip-path: polygon(70% 0, 100% 50%, 70% 100%, 0 100%, 0 0);
	}

	.footer-top__flex {
		padding: 0;
		gap: 112px;
	}

	.footer-top__links {
		margin-left: -20px;
	}
}
