/**
 * MKAACF site footer — 4-column layout on carbon-fiber background.
 */

.mkaacf-site-footer {
	position: relative;
	isolation: isolate;
	background-color: #0a0a0a;
	background-image: url('../images/footer/carbon-fiber-bg.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	margin-top: 0;
	overflow: hidden;
}

.mkaacf-site-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(180deg, rgba(6, 6, 8, 0.78) 0%, rgba(6, 6, 8, 0.86) 55%, rgba(6, 6, 8, 0.94) 100%),
		radial-gradient(ellipse 80% 70% at 50% 0%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
	pointer-events: none;
}

.mkaacf-site-footer__inner,
.mkaacf-site-footer__bar {
	position: relative;
	z-index: 1;
}

.mkaacf-site-footer__inner {
	max-width: 1920px;
	margin: 0 auto;
	padding: clamp(48px, 5.5vw, 72px) clamp(20px, 4vw, 64px) clamp(32px, 4vw, 48px);
	box-sizing: border-box;
}

.mkaacf-site-footer__layout {
	display: grid;
	grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(140px, 0.85fr)) minmax(240px, 1.25fr);
	gap: clamp(28px, 3.5vw, 56px);
	align-items: start;
}

.mkaacf-site-footer__brand {
	min-width: 0;
	max-width: 360px;
}

.mkaacf-site-footer__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #fff;
}

.mkaacf-site-footer__logo-name {
	font-family: var(--mkaacf-font-sans, Helvetica, "Helvetica Neue", Arial, sans-serif);
	font-size: clamp(1.625rem, 2.2vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
}

.mkaacf-site-footer__logo-tagline {
	display: none;
}

.mkaacf-site-footer__logo-img {
	display: block;
	height: auto;
	max-width: 180px;
	width: auto;
}

.mkaacf-site-footer__brand-desc {
	margin: 16px 0 0;
	font-size: 0.875rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.68);
}

.mkaacf-site-footer__col,
.mkaacf-site-footer__aside {
	min-width: 0;
}

.mkaacf-site-footer__title {
	margin: 0 0 18px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.mkaacf-site-footer__links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.mkaacf-site-footer__link {
	font-size: 0.875rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	transition: color 0.2s ease;
}

.mkaacf-site-footer__link:hover {
	color: #fff;
}

.mkaacf-site-footer__link--static {
	opacity: 0.45;
	cursor: default;
}

.mkaacf-site-footer__link--static:hover {
	color: rgba(255, 255, 255, 0.78);
}

.mkaacf-site-footer__social {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 22px;
}

.mkaacf-site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mkaacf-site-footer__social-link:hover {
	background: rgba(220, 34, 35, 0.9);
	border-color: rgba(220, 34, 35, 0.9);
	color: #fff;
	transform: translateY(-1px);
}

.mkaacf-site-footer__social-link--static {
	opacity: 0.4;
	cursor: default;
	pointer-events: none;
}

.mkaacf-site-footer__social-icon {
	display: block;
	width: 18px;
	height: 18px;
}

.mkaacf-site-footer__newsletter-lead {
	margin: 0 0 14px;
	font-size: 0.875rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.72);
}

.mkaacf-site-footer__topics {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.mkaacf-site-footer__topic {
	position: relative;
	padding: 0 0 0 14px;
	font-size: 0.875rem;
	line-height: 1.45;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
}

.mkaacf-site-footer__topic::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #dc2223;
}

.mkaacf-site-footer__form {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0;
	width: 100%;
	max-width: 360px;
}

.mkaacf-site-footer__input {
	flex: 1 1 auto;
	min-width: 12.5rem;
	height: 44px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-right: 0;
	border-radius: 4px 0 0 4px;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-family: inherit;
	font-size: 0.8125rem;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.mkaacf-site-footer__input::placeholder {
	color: rgba(255, 255, 255, 0.4);
	opacity: 1;
	white-space: nowrap;
}

.mkaacf-site-footer__input:focus {
	border-color: rgba(220, 34, 35, 0.65);
	background: rgba(0, 0, 0, 0.55);
}

.mkaacf-site-footer__btn {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 14px;
	border: none;
	border-radius: 0 4px 4px 0;
	background: #dc2223;
	color: #fff;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.mkaacf-site-footer__btn:hover {
	background: #c01e1f;
}

.mkaacf-site-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.28);
}

.mkaacf-site-footer__bar-inner {
	max-width: 1920px;
	margin: 0 auto;
	padding: 16px clamp(20px, 4vw, 64px);
	box-sizing: border-box;
}

.mkaacf-site-footer__copy {
	margin: 0;
	font-size: 0.6875rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 1023.98px) {
	.mkaacf-site-footer__layout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mkaacf-site-footer__brand,
	.mkaacf-site-footer__aside {
		grid-column: 1 / -1;
		max-width: none;
	}
}

@media (max-width: 599.98px) {
	.mkaacf-site-footer__layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.mkaacf-site-footer__form {
		flex-direction: column;
		gap: 10px;
	}

	.mkaacf-site-footer__input,
	.mkaacf-site-footer__btn {
		width: 100%;
		border-radius: 4px;
		border-right: 1px solid rgba(255, 255, 255, 0.2);
	}

	.mkaacf-site-footer__btn {
		border: none;
	}
}
