.ab-footer {
	background: #2e3192;
	color: #fff;
	font-family: Alexandria, "Trebuchet MS", sans-serif;
}

.ab-footer a {
	color: #fff;
	text-decoration: none;
}

.ab-footer-social {
	padding: 28px 16px 8px;
	text-align: center;
}

.ab-footer-social h2 {
	margin: 0;
	font-size: 31px;
	font-weight: 500;
	line-height: 1.2;
}

.ab-footer-social ul {
	display: flex;
	justify-content: center;
	gap: 31px;
	margin: 22px 0 18px;
	padding: 0;
	list-style: none;
}

.ab-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	color: #fff;
}

.ab-footer-social svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.ab-social-facebook { background: #3b5998; border-radius: 50%; }
.ab-social-instagram { background: #111; }
.ab-social-tiktok { background: #111; }
.ab-social-pinterest { background: #bd081c; }

.ab-footer-main {
	display: grid;
	grid-template-columns: 1fr 1.15fr 1fr;
	align-items: center;
	justify-items: center;
	max-width: 1100px;
	margin: 0 auto;
	padding: 8px 20px 18px;
}

.ab-footer-logo img {
	display: block;
	width: 150px;
	height: auto;
}

.ab-footer-contacts {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Lato, "Trebuchet MS", sans-serif;
	font-size: 16px;
	line-height: 1.45;
}

.ab-footer-contacts li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 4px 0;
}

.ab-footer-contacts svg {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	fill: #fcee21;
	flex: 0 0 auto;
}

.ab-map {
	width: 190px;
	height: auto;
}

.ab-footer-legal {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 6px;
	padding: 12px 16px 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	font-family: Lato, "Trebuchet MS", sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}

.ab-footer-legal p {
	margin: 0;
}

.ab-footer-legal a:hover,
.ab-footer-legal a:focus-visible,
.ab-footer-contacts a:hover,
.ab-footer-contacts a:focus-visible {
	color: #fcfc3c;
}

@media (max-width: 800px) {
	.ab-footer-social h2 {
		font-size: 24px;
	}

	.ab-footer-main {
		grid-template-columns: 1fr;
		gap: 18px;
		text-align: center;
	}

	.ab-footer-contacts li {
		justify-content: center;
	}
}
