:root {
	--color-text: #2b2f33;
	--color-border: #e4e1dc;
	--radius: 6px;
	--color-primary: #51c364;
}

.site-footer {
	padding: 56px 0 26px;
	background: var(--color-primary);
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
}

.footer-main {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 80px;
	align-items: start;
	padding-bottom: 42px;
}

.footer-brand {
	text-align: left;
}

.footer-brand img {
	width: 96px;
	height: 96px;
	object-fit: contain;
	border-radius: 20px;
	background: #fff;
}

.footer-brand p {
	margin-top: 18px;
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px;
}

.footer-links__group {
	display: grid;
	align-content: start;
	gap: 12px;
}

.footer-links__group h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
}

.footer-links__group a {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.footer-records {
	flex: 1;
	font-size: 13px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.92);
}

.footer-records a {
	color: inherit;
}

.footer-socials {
	display: flex;
	align-items: center;
	gap: 12px;
}

.footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 10px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

@media (max-width: 1100px) {
	.footer-main {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.site-footer {
		padding: 44px 0 24px;
	}

	.footer-brand p {
		font-size: 1.5rem;
	}

	.footer-links {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
