/**
 * Gutenberg site footer — Figma Footer (17425:27699).
 */

.site-footer {
	margin-top: auto;
	background: #fafafa;
	color: #404040;
	padding: 64px 0 48px;
}

.site-footer__inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: flex-start;
}

.site-footer__brand-col {
	display: flex;
	flex-direction: column;
	gap: 32px;
	flex: 1 1 572px;
	min-width: min(100%, 572px);
}

.site-footer__logo {
	display: inline-flex;
	line-height: 0;
	text-decoration: none;
}

.site-footer__logo img {
	display: block;
	width: 122px;
	height: 28px;
}

.site-footer__contacts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	width: 100%;
}

.site-footer__offices {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.site-footer__contact {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	min-width: 0;
}

.site-footer__contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 8px;
	background: #e7def6;
}

.site-footer__contact-icon img {
	display: block;
	width: 20px;
	height: 20px;
}

.site-footer__contact-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 10px;
	min-width: 0;
}

body.legalion-gutenberg .site-footer__contact-title {
	margin: 0;
	font-family: "Objektiv Mk1 Trial", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: #171717;
}

.site-footer__contact-lines {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

body.legalion-gutenberg .site-footer__contact-lines a,
body.legalion-gutenberg .site-footer__address,
body.legalion-gutenberg .site-footer__address a {
	font-family: "Objektiv Mk1 Trial", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: #7447a9;
	text-decoration: none;
}

.site-footer__address {
	margin: 0;
}

.site-footer__address a {
	color: inherit;
	text-decoration: none;
}

.site-footer__contact-lines a:hover,
.site-footer__address a:hover {
	text-decoration: underline;
}

.site-footer__menus {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	flex: 1 1 480px;
	max-width: 640px;
	min-width: 0;
}

.site-footer__col {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.site-footer__col-title {
	margin: 0;
	font-family: "Objektiv Mk1 Trial", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	color: #513370;
}

.site-footer__menu {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu a {
	font-family: "Objektiv Mk1 Trial", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #404040;
	text-decoration: none;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus-visible {
	color: #633e8b;
	outline: none;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 32px;
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid #f5f5f5;
}

.site-footer__bottom-left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px;
	min-width: 0;
}

.site-footer__social {
	display: flex;
	align-items: center;
	gap: 16px;
}

.site-footer__social a {
	display: inline-flex;
	line-height: 0;
}

.site-footer__social img {
	display: block;
	width: 20px;
	height: 20px;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.site-footer__legal a {
	font-family: "Objektiv Mk1 Trial", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #404040;
	text-decoration: none;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
	color: #633e8b;
	outline: none;
}

.site-footer__copy {
	margin: 0;
	font-family: "Objektiv Mk1 Trial", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #737373;
}

.site-footer__copy-brand {
	font-family: "Objektiv Mk1 Trial", sans-serif;
	font-weight: 500;
	color: #3f205f;
}

@media (max-width: 900px) {
	.site-footer {
		padding: 48px 0 32px;
	}

	.site-footer__menus {
		max-width: none;
	}

	.site-footer__bottom {
		margin-top: 48px;
	}
}

@media (max-width: 640px) {
	.site-footer__brand-col {
		min-width: 0;
	}

	.site-footer__contacts,
	.site-footer__menus {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom-left {
		gap: 16px;
	}
}
