/**
 * Footer — Rope Rescue (design § Footer).
 */

.site-footer {
	margin-block-start: auto;
	background: #0c0c0d;
	color: #b9b4ad;
}

.site-footer__inner {
	width: min(100%, var(--container-width, 1320px));
	margin-inline: auto;
	padding: 4rem var(--page-gutter, 1.5rem) 0;
	display: block;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 3.25rem;
	border-bottom: 1px solid #232327;
}

.site-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 0.8125rem;
	margin: 0 0 1.125rem;
	text-decoration: none;
	color: #fff;
}

.site-footer__logo-img {
	display: block;
	height: 44px;
	width: auto;
	max-width: min(100%, 220px);
	max-height: 44px;
	object-fit: contain;
	object-position: left center;
}

.site-footer__logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--color-brand, #e11827);
	color: #fff;
	font-family: var(--font-family-heading, "Inter Tight", system-ui, sans-serif);
	font-weight: 800;
	font-size: 1.25rem;
	flex: 0 0 auto;
}

.site-footer__logo-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	line-height: 1.1;
}

.site-footer__logo-name {
	font-family: var(--font-family-heading, "Inter Tight", system-ui, sans-serif);
	font-weight: 800;
	font-size: 1.125rem;
	color: #fff;
	letter-spacing: 0.01em;
}

.site-footer__logo-sub {
	font-family: var(--font-family-mono, "Roboto Mono", ui-monospace, monospace);
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	color: #8a847c;
}

.site-footer__tagline {
	margin: 0 0 1.25rem;
	max-width: 300px;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #b9b4ad;
}

.site-footer__company {
	display: flex;
	flex-direction: column;
	gap: 0;
	font-family: var(--font-family-mono, "Roboto Mono", ui-monospace, monospace);
	font-size: 0.8125rem;
	line-height: 1.9;
	color: #8a847c;
}

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

.site-footer__company a:hover {
	color: #fff;
}

.site-footer__heading {
	margin: 0 0 1rem;
	font-family: var(--font-family-heading, "Inter Tight", system-ui, sans-serif);
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	color: #fff;
	line-height: 1.3;
}

.site-footer__list,
.site-footer__nav .menu,
.site-footer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6875rem;
}

.site-footer__list a,
.site-footer__nav a {
	color: #b9b4ad;
	font-size: 0.875rem;
	text-decoration: none;
	line-height: 1.4;
}

.site-footer__list a:hover,
.site-footer__nav a:hover {
	color: #fff;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid #2a2a2e;
	border-radius: 9px;
	color: #b9b4ad;
	text-decoration: none;
	box-sizing: border-box;
}

.site-footer__social-link svg {
	display: block;
	width: 16px;
	height: 16px;
}

.site-footer__social-link:hover {
	color: #fff;
	border-color: #3a3a40;
}

.site-footer__social-link.is-static {
	cursor: default;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.875rem;
	padding: 1.375rem 0;
}

.site-footer__copy {
	margin: 0;
	font-size: 0.8125rem;
	color: #6b655e;
}

.site-footer__copy a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.site-footer__copy a:hover,
.site-footer__copy a:focus-visible {
	color: #fff;
}

.site-footer__payments {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.site-footer__pay {
	font-family: var(--font-family-mono, "Roboto Mono", ui-monospace, monospace);
	font-size: 0.65625rem;
	color: #8a847c;
	border: 1px solid #2a2a2e;
	border-radius: 5px;
	padding: 0.3125rem 0.5625rem;
	letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem 1.75rem;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.site-footer__inner {
		padding-top: 3rem;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding-bottom: 2.5rem;
	}

	.site-footer__brand {
		grid-column: auto;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
