.site-footer {
	background-color: var(--secondary);
	color: color-mix(in srgb, white 78%, var(--secondary));
	padding-top: var(--space-xl-2xl);
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.4fr;
	gap: var(--space-l);
	padding-bottom: var(--space-l);
}

.footer-brand p {
	max-width: 32ch;
	font-size: var(--step--1);
}

.footer-col h4 {
	color: white;
	font-size: var(--step--1);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: var(--space-s);
}

.footer-col ul {
	display: grid;
	gap: var(--space-xs);
	list-style: none;
	padding: 0;
}

.footer-col a {
	color: color-mix(in srgb, white 78%, var(--secondary));
	font-size: var(--step--1);
	transition: color 0.2s var(--ease);
}

.footer-col a:hover {
	color: white;
}

.footer-contact li {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	font-size: var(--step--1);
	margin-bottom: var(--space-xs);
}

.footer-contact svg {
	width: 18px;
	height: 18px;
	color: var(--light-green);
	flex-shrink: 0;
}

.footer-social {
	display: flex;
	gap: var(--space-xs);
	margin-top: var(--space-s-m);
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.08);
	color: white;
	transition: background-color 0.2s var(--ease);
}

.footer-social a:hover {
	background-color: var(--light-green);
}

.footer-social svg {
	width: 18px;
	height: 18px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-block: var(--space-m);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-m);
	justify-content: space-between;
	align-items: center;
	font-size: var(--step--1);

	& .legal {
		display: flex;
		gap: var(--space-m);
		flex-wrap: wrap;

		& a {
			color: white;
		}
	}
}

@media (max-width: 640px) {
	.footer-grid {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.footer-brand {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;

		& responsive-svg {
			width: auto;
		}
	}

	.footer-col {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;

		& > p {
			font-weight: 600;
		}
	}
}

responsive-svg {
	font-size: var(--step-0);
	padding-block: var(--space-s);
	width: 100%;
}
