/* ANCHOR footer */

.footer {
	font-size: 1.4rem;
	background: url("/assets/img/Rectangl.png") no-repeat;
	background-size: cover;
	z-index: 10;
}

.footer.river-trip {
	padding-bottom: 6.7rem;
}

.footer.show-all-trips-bar {
	padding-bottom: 4.3rem;
}

.footer-main-section {
	padding: 5.2rem 0;
	text-align: center;
}

.footer-copyright-section {
	background-color: #031119;
}

.footer-copyright-section--list {
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 140%;
	text-align: center;
	color: rgba(255, 255, 255, 1);
	opacity: 40%;
	padding: 2rem 0;
}

.footer-main-section {
	display: flex;
	justify-content: space-between;
	gap: 8rem;
}

.footer .links-section {
	flex-shrink: 1;
	display: flex;
	justify-content: space-between;
	width: 100%;
	max-width: 46.2rem;
}

.footer .links-group {
	color: white;
	text-align: start;
}

.footer .links-group .title {
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 2.4rem;
}

.footer .links-group .link {
	color: rgba(255, 255, 255, 0.7);
	font-weight: 400;
	margin-bottom: 1.2rem;
	font-size: 1.6rem;
}

.footer .image-section {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer .image-section .logo {
	width: 11.6rem;
	height: 11.6rem;
	margin-bottom: 6.5rem;
}

.footer .social-wrapper {
	display: flex;
	justify-content: space-between;
	width: 11.2rem;
	gap: 0.8rem;
	padding: 0 0.3rem;
}

.footer .contacts-section {
	flex-shrink: 0;
	text-align: start;
}

.footer .contacts-section .title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 2rem;
}

.footer .contacts-section .contact-block {
	margin-bottom: 3.2rem;
}

.footer .contact-block .number {
	color: #fffffe !important;
}

.footer .contacts-section .text-block {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.8rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 1);
	margin-bottom: 0.8rem;
}

.footer .contacts-section img {
	width: 1.3rem;
	height: 1.3rem;
}

.footer .contacts-section .detail {
	font-size: 1.4rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.7);
	opacity: 70%;
}

.footer .contacts-section .detail.link {
	color: rgba(255, 255, 255, 1);
	text-decoration: underline;
	opacity: 100%;
}

.footer .footer-main-section .base-button {
	display: none;
}

.footer .social-wrapper a {
	width: 3.2rem;
	height: 3.2rem;
}

.footer .social-wrapper a img {
	width: 100%;
	height: 100%;
}

@media only screen and (max-width: 1172px) {
	.footer-main-section {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(3, auto);
		grid-template-areas:
			"logo links-clients links-about"
			"footer-contacts footer-contacts footer-contacts"
			"footer-button footer-button footer-button";
		gap: 3rem;
		justify-content: space-around;
	}

	.footer .image-section {
		grid-area: logo;
	}

	.footer .links-group-clients {
		grid-area: links-clients;
	}

	.footer .links-group-about {
		grid-area: links-about;
	}

	.footer .contacts-section {
		grid-area: footer-contacts;
	}

	.footer .base-button {
		grid-area: footer-button;
	}

	.footer .links-section {
		display: flex;
		justify-content: space-around;
		width: 100%;
		max-width: none;
	}

	.footer .contacts-section .contact-block {
		margin-bottom: 0rem;
	}

	.footer .contacts-section .title {
		display: none;
	}

	.footer .contacts-section {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
	}

	.footer .footer-main-section .base-button {
		display: block;
		max-width: 32rem;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		border: 1px solid #4aa9da;
		color: #4aa9da;
	}
}

@media only screen and (max-width: 1172px) {
	.footer.show-all-trips-bar {
		padding-bottom: 7.3rem;
	}
}

@media only screen and (max-width: 1172px) {
	.footer-main-section {
		padding: 4rem 2.8rem;
		text-align: center;
	}

	.footer .image-section .logo {
		margin-bottom: 1.2rem;
	}

	.footer .social-wrapper {
		width: 11.6rem;
		padding: 0rem;
	}
}

@media only screen and (max-width: 1172px) {
}

@media only screen and (max-width: 650px) {
	.footer-main-section {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(4, auto);
		grid-template-areas:
			"logo logo"
			"links-clients links-about"
			"footer-contacts footer-contacts"
			"footer-button footer-button";
		gap: 3rem;
		justify-content: space-around;
	}
}

@media only screen and (max-width: 650px) {
	.footer-main-section {
		padding: 2rem 0;
		text-align: center;
	}

	.footer .image-section .logo {
		margin-bottom: 1.2rem;
	}

	.footer .address-block {
	}

	.footer .links-section {
		justify-content: space-between;
	}

	.footer .contacts-section {
		flex-direction: column;
		gap: 1.2rem;
		justify-content: space-between;
	}

	.footer .links-group .title {
		font-size: 1.6rem;
		font-weight: 600;
		margin-bottom: 1.6rem;
	}
}
