.site-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 106px 0 42px;
	background:
		radial-gradient(circle at 14% 20%, rgba(25, 72, 108, 0.27), transparent 32%),
		radial-gradient(circle at 80% 44%, rgba(15, 52, 84, 0.2), transparent 37%),
		linear-gradient(180deg, #031426 0%, #061b30 48%, #031426 100%);
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -3;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(108, 146, 177, 0.014) 1px, transparent 1px),
		linear-gradient(90deg, rgba(108, 146, 177, 0.014) 1px, transparent 1px);
	background-size: 78px 78px;
	mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 92%, transparent);
}

.site-footer__orbit {
	position: absolute;
	top: -515px;
	left: 2%;
	z-index: -2;
	width: 1260px;
	height: 760px;
	border: 1px solid rgba(102, 151, 188, 0.14);
	border-radius: 50%;
	transform: rotate(-5deg);
	pointer-events: none;
}

.site-footer__orbit::before {
	content: "";
	position: absolute;
	inset: 120px;
	border: 1px solid rgba(102, 151, 188, 0.09);
	border-radius: inherit;
}

.site-footer__main {
	display: grid;
	grid-template-columns: minmax(390px, 1.1fr) minmax(0, 2.9fr);
	gap: clamp(55px, 5vw, 92px);
	padding: 0 20px;
}

.site-footer__brand {
	min-width: 0;
	padding-right: clamp(28px, 3vw, 60px);
	border-right: 1px solid rgba(137, 161, 182, 0.22);
}

.site-footer__brand-link {
	display: flex;
	align-items: center;
	gap: 29px;
	width: max-content;
	max-width: 100%;
	text-decoration: none;
}

.site-footer__logo {
	display: grid;
	width: 122px;
	height: 132px;
	flex: 0 0 122px;
	place-items: center;
	clip-path: polygon(50% 0, 93% 24%, 93% 76%, 50% 100%, 7% 76%, 7% 24%);
	border: 1px solid transparent;
	color: #e6b276;
	background:
		linear-gradient(#071c31, #071c31) padding-box,
		linear-gradient(135deg, #f0c58f, #a86c47) border-box;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 55px;
	line-height: 1;
	box-shadow:
		inset 0 0 24px rgba(224, 157, 95, 0.04),
		0 15px 36px rgba(0, 0, 0, 0.18);
}

.site-footer__brand-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 11px;
}

.site-footer__brand-copy strong {
	color: var(--dz-text);
	font-size: clamp(22px, 1.38vw, 30px);
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
}

.site-footer__brand-copy small {
	color: #d39a62;
	font-size: clamp(14px, 0.9vw, 18px);
	line-height: 1.35;
}

.site-footer__description {
	max-width: 470px;
	margin: 46px 0 0;
	color: var(--dz-muted);
	font-size: clamp(16px, 1.03vw, 20px);
	line-height: 1.82;
}

.site-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin-top: 42px;
}

.site-footer__socials a {
	display: grid;
	width: 76px;
	height: 76px;
	place-items: center;
	clip-path: polygon(50% 0, 93% 24%, 93% 76%, 50% 100%, 7% 76%, 7% 24%);
	border: 1px solid transparent;
	color: #e3a466;
	background:
		linear-gradient(#071c31, #071c31) padding-box,
		linear-gradient(135deg, rgba(226, 161, 99, 0.82), rgba(127, 83, 57, 0.66)) border-box;
	transition:
		transform 180ms ease,
		color 180ms ease,
		filter 180ms ease;
}

.site-footer__socials a:hover {
	transform: translateY(-3px);
	color: #f0c28d;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.site-footer__socials svg {
	width: 35px;
	height: 35px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.site-footer__navigation {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	min-width: 0;
}

.site-footer__column {
	min-width: 0;
	padding: 14px clamp(24px, 2vw, 41px) 5px;
	border-right: 1px solid rgba(137, 161, 182, 0.22);
}

.site-footer__column:first-child {
	padding-left: 0;
}

.site-footer__column:last-child {
	padding-right: 0;
	border-right: 0;
}

.site-footer__column h2 {
	margin: 0 0 30px;
	color: #e4a76a;
	font-size: clamp(18px, 1.1vw, 23px);
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
}

.site-footer__column ul {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__column a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	color: var(--dz-text);
	font-size: clamp(14px, 0.93vw, 18px);
	line-height: 1.35;
	text-decoration: none;
	transition: color 180ms ease;
}

.site-footer__column a:hover,
.site-footer__column a.is-accent {
	color: #e2a466;
}

.site-footer__column a svg {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	fill: none;
	stroke: #e2a466;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 180ms ease;
}

.site-footer__column a:hover svg {
	transform: translateX(4px);
}

.site-footer__advantages {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 68px 20px 0;
	padding: 31px 24px;
	border: 1px solid rgba(137, 161, 182, 0.3);
	border-radius: 17px;
	background:
		linear-gradient(145deg, rgba(18, 48, 73, 0.74), rgba(5, 21, 36, 0.82));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.014),
		0 22px 64px rgba(0, 0, 0, 0.12);
}

.site-footer-advantage {
	display: grid;
	grid-template-columns: 98px minmax(0, 1fr);
	align-items: center;
	gap: 22px;
	min-width: 0;
	padding: 0 32px;
	border-right: 1px solid rgba(137, 161, 182, 0.22);
}

.site-footer-advantage:first-child {
	padding-left: 14px;
}

.site-footer-advantage:last-child {
	padding-right: 14px;
	border-right: 0;
}

.site-footer-advantage__icon {
	width: 88px;
	height: 88px;
	color: #e3a466;
}

.site-footer-advantage__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.site-footer-advantage__icon polygon {
	fill: rgba(7, 25, 43, 0.8);
	stroke: currentColor;
	stroke-width: 1.2;
}

.site-footer-advantage__icon g {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.site-footer-advantage__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 10px;
}

.site-footer-advantage__copy strong {
	color: var(--dz-text);
	font-size: clamp(16px, 1.02vw, 21px);
	font-weight: 600;
	line-height: 1.3;
}

.site-footer-advantage__copy span {
	color: var(--dz-muted);
	font-size: clamp(14px, 0.9vw, 17px);
	line-height: 1.48;
}

.site-footer__bottom {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.5fr) auto;
	align-items: center;
	gap: 40px;
	margin: 46px 20px 0;
	padding-top: 31px;
	border-top: 1px solid rgba(137, 161, 182, 0.25);
}

.site-footer__copyright,
.site-footer__made {
	margin: 0;
	color: rgba(184, 189, 196, 0.82);
	font-size: clamp(14px, 0.93vw, 18px);
	line-height: 1.55;
}

.site-footer__legal {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px 28px;
}

.site-footer__legal a {
	color: rgba(184, 189, 196, 0.82);
	font-size: clamp(14px, 0.9vw, 17px);
	text-decoration: none;
	transition: color 180ms ease;
}

.site-footer__legal a:hover {
	color: #e2a466;
}

.site-footer__legal span {
	color: #e2a466;
}

.site-footer__made {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	white-space: nowrap;
}

.site-footer__made svg {
	width: 33px;
	height: 33px;
	fill: none;
	stroke: #e3a466;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.site-footer a:focus-visible {
	outline: 2px solid var(--dz-copper-light);
	outline-offset: 5px;
}

@media (max-width: 1480px) {
	.site-footer__main {
		grid-template-columns: minmax(340px, 0.92fr) minmax(0, 3.08fr);
		gap: 45px;
		padding-inline: 8px;
	}

	.site-footer__brand {
		padding-right: 34px;
	}

	.site-footer__logo {
		width: 102px;
		height: 112px;
		flex-basis: 102px;
		font-size: 47px;
	}

	.site-footer__brand-link {
		gap: 21px;
	}

	.site-footer__column {
		padding-inline: 20px;
	}

	.site-footer__advantages,
	.site-footer__bottom {
		margin-inline: 8px;
	}

	.site-footer-advantage {
		grid-template-columns: 79px minmax(0, 1fr);
		gap: 17px;
		padding-inline: 20px;
	}

	.site-footer-advantage__icon {
		width: 74px;
		height: 74px;
	}
}

@media (max-width: 1120px) {
	.site-footer {
		padding-top: 90px;
	}

	.site-footer__main {
		grid-template-columns: 1fr;
	}

	.site-footer__brand {
		padding: 0 0 48px;
		border-right: 0;
		border-bottom: 1px solid rgba(137, 161, 182, 0.22);
	}

	.site-footer__description {
		max-width: 650px;
	}

	.site-footer__navigation {
		margin-top: 8px;
	}

	.site-footer__advantages {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 27px 0;
	}

	.site-footer-advantage:nth-child(2) {
		border-right: 0;
	}

	.site-footer-advantage:nth-child(3),
	.site-footer-advantage:nth-child(4) {
		padding-top: 25px;
		border-top: 1px solid rgba(137, 161, 182, 0.2);
	}

	.site-footer__bottom {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.site-footer__legal {
		justify-content: flex-start;
	}

	.site-footer__made {
		justify-content: flex-start;
	}
}

@media (max-width: 760px) {
	.site-footer {
		padding: 70px 0 30px;
	}

	.site-footer__main {
		gap: 36px;
		padding-inline: 0;
	}

	.site-footer__brand-link {
		align-items: flex-start;
	}

	.site-footer__logo {
		width: 86px;
		height: 94px;
		flex-basis: 86px;
		font-size: 39px;
	}

	.site-footer__brand-copy strong {
		font-size: 21px;
	}

	.site-footer__description {
		margin-top: 30px;
		font-size: 16px;
		line-height: 1.62;
	}

	.site-footer__socials {
		gap: 14px;
		margin-top: 29px;
	}

	.site-footer__socials a {
		width: 62px;
		height: 62px;
	}

	.site-footer__socials svg {
		width: 29px;
		height: 29px;
	}

	.site-footer__navigation {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 38px 0;
	}

	.site-footer__column,
	.site-footer__column:first-child,
	.site-footer__column:last-child {
		padding: 0 22px;
	}

	.site-footer__column:nth-child(2),
	.site-footer__column:nth-child(4) {
		border-right: 0;
	}

	.site-footer__column:nth-child(3),
	.site-footer__column:nth-child(4) {
		padding-top: 34px;
		border-top: 1px solid rgba(137, 161, 182, 0.2);
	}

	.site-footer__column h2 {
		margin-bottom: 23px;
	}

	.site-footer__column ul {
		gap: 17px;
	}

	.site-footer__advantages {
		grid-template-columns: 1fr;
		gap: 0;
		margin: 50px 0 0;
		padding: 11px 20px;
	}

	.site-footer-advantage,
	.site-footer-advantage:first-child,
	.site-footer-advantage:last-child {
		grid-template-columns: 73px minmax(0, 1fr);
		padding: 20px 0;
		border-top: 1px solid rgba(137, 161, 182, 0.2);
		border-right: 0;
	}

	.site-footer-advantage:first-child {
		border-top: 0;
	}

	.site-footer-advantage__icon {
		width: 68px;
		height: 68px;
	}

	.site-footer__bottom {
		margin: 38px 0 0;
	}

	.site-footer__legal {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.site-footer__legal span {
		display: none;
	}

	.site-footer__made {
		white-space: normal;
	}
}

@media (max-width: 470px) {
	.site-footer__brand-link {
		flex-direction: column;
	}

	.site-footer__navigation {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.site-footer__column,
	.site-footer__column:first-child,
	.site-footer__column:last-child,
	.site-footer__column:nth-child(3),
	.site-footer__column:nth-child(4) {
		padding: 27px 0;
		border-top: 1px solid rgba(137, 161, 182, 0.2);
		border-right: 0;
	}

	.site-footer__column:first-child {
		border-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-footer__socials a,
	.site-footer__column a,
	.site-footer__column a svg,
	.site-footer__legal a {
		transition: none;
	}
}
