.site-footer {
	background: var(--eines-color-surface);
	border-color: var(--eines-color-border);
	border-top: 1px solid var(--eines-color-border);
}

.site-footer__inner {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 0 auto;
	padding: 20px 0;
	width: min(1120px, calc(100% - 32px));
}

.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__menu-link {
	color: var(--eines-color-text);
	text-decoration: none;
}

.site-footer__menu-link:hover {
	color: var(--eines-color-text);
}

.site-footer__copyright {
	color: var(--eines-color-muted);
	margin: 0;
}

.eines-footer {
	background: var(--eines-color-accent);
	border-radius: 8px;
	margin: 16px auto;
	padding: 64px;
	width: min(1376px, calc(100% - 32px));
}

.eines-footer__inner {
	align-items: stretch;
	display: flex;
	gap: 64px;
	justify-content: space-between;
	min-height: 160px;
}

.eines-footer__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.eines-footer__columns {
	align-items: flex-start;
	display: flex;
	gap: 64px;
	min-width: 0;
}

.eines-footer__group {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.eines-footer__group:first-child {
	flex-basis: 276px;
}

.eines-footer__group:nth-child(2),
.eines-footer__group:nth-child(3) {
	flex-basis: 168px;
}

.eines-footer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.eines-footer__brand {
	align-items: flex-end;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 32px;
	justify-content: space-between;
}

.eines-footer__social {
	align-items: flex-end;
	display: flex;
	gap: 16px;
	justify-content: flex-end;
}

.eines-footer__social a {
	align-items: center;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	margin: 0;
	padding: 0;
	text-decoration: none;
	width: 24px;
}

.eines-footer__social img {
	height: 20px;
	width: 20px;
}

.eines-footer h2,
.eines-footer h3,
.eines-footer a {
	color: var(--eines-color-text);
}

.eines-footer h2 {
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	margin: 0;
}

.eines-footer h3 {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	margin: 0;
}

.eines-footer a {
	font-size: 14px;
	line-height: 20px;
	text-decoration: underline;
}

.eines-footer__link {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	margin: 0;
	max-width: 100%;
	width: fit-content;
}

.eines-footer__link span:last-child {
	min-width: 0;
}

.eines-footer__icon {
	display: inline-flex;
	flex: 0 0 16px;
	height: 16px;
	width: 16px;
}

.eines-footer__icon svg {
	fill: currentColor;
	height: 16px;
	width: 16px;
}

.eines-footer__external-icon {
	flex: 0 0 16px;
	height: 16px;
	position: relative;
	width: 16px;
}

.eines-footer__external-icon::before,
.eines-footer__external-icon::after {
	content: "";
	position: absolute;
}

.eines-footer__external-icon::before {
	border-right: 2px solid currentColor;
	border-top: 2px solid currentColor;
	height: 8px;
	right: 3px;
	top: 4px;
	width: 8px;
}

.eines-footer__external-icon::after {
	border-top: 2px solid currentColor;
	right: 4px;
	top: 4px;
	transform: rotate(-45deg);
	transform-origin: right center;
	width: 9px;
}

.eines-footer__logos {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: flex-end;
}

.eines-footer__logo-amb {
	width: 224px;
}

.eines-footer__logo-diba {
	max-height: 40px;
	width: 120px;
}

@media (max-width: 1100px) {
	.eines-footer__inner,
	.eines-footer__columns {
		flex-direction: column;
	}

	.eines-footer__inner {
		gap: 40px;
	}

	.eines-footer__columns {
		gap: 28px;
	}

	.eines-footer__group,
	.eines-footer__group:first-child,
	.eines-footer__group:nth-child(2),
	.eines-footer__group:nth-child(3) {
		flex-basis: auto;
	}

	.eines-footer__brand {
		align-items: flex-start;
		width: 100%;
	}

	.eines-footer__social,
	.eines-footer__logos {
		justify-content: flex-start;
	}
}

@media (max-width: 720px) {
	.eines-footer__logos {
		align-items: stretch;
		flex-direction: column;
	}

	.eines-footer {
		padding: 40px 24px;
	}
}
