/**
 * Stopka.
 *
 * Wartości przeniesione z ../KOLUSZ/komponenty-globalne/footer.html.
 * Różnica wobec oryginału: kolumn jest pięć zamiast trzech (doszły Adres,
 * Organizator i Dane rejestrowe, bo Marcin prosił o ujednolicenie danych
 * firmy). Dlatego siatka jest 3-kolumnowa i zawija się do dwóch rzędów,
 * zamiast ściskać pięć wąskich kolumn w jednym.
 */

.mk-footer {
	--mk-ink: var(--mk-ink-light);
	--mk-ink-dim: rgba(255, 255, 255, 0.55);
	--mk-ink-mute: rgba(255, 255, 255, 0.28);
	--mk-footer-line: rgba(255, 255, 255, 0.09);

	position: relative;
	width: 100%;
	background: var(--mk-bg-dark);
	color: var(--mk-ink);
	font-family: var(--mk-font-body);
}

/* Żółta kreska: sygnatura marki na styku z treścią. */
.mk-footer__topline {
	display: block;
	width: 100%;
	height: 3px;
	background: var(--mk-accent);
}

.mk-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* --------------------------------------------------------- siatka główna */

.mk-footer__main {
	display: grid;
	grid-template-columns: 2fr 3fr;
	align-items: start;
	gap: 80px;
	padding: 72px 0 64px;
}

/* ------------------------------------------------------------------ brand */

.mk-footer__logo {
	display: block;
	margin-bottom: 28px;
}

.mk-footer__logo img {
	display: block;
	width: auto;
	height: 48px;
	/* Logo jest kolorowe, na czerni gra tylko wersja wybielona. */
	filter: brightness(0) invert(1);
	opacity: 0.88;
}

.mk-footer__eyebrow {
	display: block;
	margin-bottom: 8px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--mk-accent);
}

.mk-footer__name {
	margin: 0 0 24px;
	font-family: var(--mk-font-display);
	font-size: clamp(38px, 4vw, 54px);
	font-weight: 400;
	line-height: 0.88;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--mk-ink);
}

.mk-footer__tagline {
	max-width: 300px;
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: var(--mk-lh-body);
	color: var(--mk-ink-dim);
}

/* --------------------------------------------------------------- kolumny */

.mk-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 40px;
}

.mk-footer__label {
	display: block;
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--mk-footer-line);
	font-family: var(--mk-font-body);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--mk-ink-mute);
}

.mk-footer__lista {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.mk-footer__lista li,
.mk-footer__adres {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	font-style: normal;
	color: var(--mk-ink-dim);
}

.mk-footer__lista a,
.mk-footer__adres a {
	color: inherit;
	text-decoration: none;
	transition: color var(--mk-dur-fast) var(--mk-ease-soft);
}

.mk-footer__lista a:hover,
.mk-footer__adres a:hover {
	color: var(--mk-accent);
}

.mk-footer__nota {
	font-size: 12px;
	font-weight: 400;
	color: var(--mk-ink-mute);
}

/* Dane rejestrowe: etykieta i wartość w jednej linii. */
.mk-footer__lista--dane li {
	display: flex;
	gap: 8px;
	align-items: baseline;
}

.mk-footer__klucz {
	flex: none;
	min-width: 48px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mk-ink-mute);
}

/* Menu w stopce korzysta z .mk-menu, ale bez animowanego podkreślenia. */
.mk-menu--footer {
	flex-direction: column;
	gap: 11px;
}

.mk-menu--footer a {
	padding-block: 0;
	font-size: 14px;
	color: var(--mk-ink-dim);
}

.mk-menu--footer a::after {
	content: none;
}

.mk-menu--footer a:hover,
.mk-menu--footer .current-menu-item > a,
.mk-menu--footer a[aria-current='page'] {
	color: var(--mk-accent);
}

/* ------------------------------------------------------------- partnerzy */

.mk-footer__partnerzy {
	padding: 36px 0;
	border-top: 1px solid var(--mk-footer-line);
}

.mk-footer__partnerzy .mk-footer__label {
	margin-bottom: 28px;
	padding-bottom: 0;
	border-bottom: 0;
}

.mk-footer__logotypy {
	display: flex;
	align-items: center;
}

.mk-footer__logotyp {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding-inline: 36px;
	border-right: 1px solid var(--mk-footer-line);
}

.mk-footer__logotyp:first-child {
	justify-content: flex-start;
	padding-left: 0;
}

.mk-footer__logotyp:last-child {
	justify-content: flex-end;
	padding-right: 0;
	border-right: 0;
}

.mk-footer__logotyp-img {
	display: block;
	width: auto;
	height: 26px;
	filter: brightness(0) invert(1);
	opacity: 0.35;
	transition: opacity var(--mk-dur-fast) var(--mk-ease-soft);
}

.mk-footer__logotyp:hover .mk-footer__logotyp-img {
	opacity: 0.72;
}

/* ------------------------------------------------------------ pasek dolny */

.mk-footer__dol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 22px 0;
	border-top: 1px solid var(--mk-footer-line);
}

.mk-footer__copy {
	margin: 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--mk-ink-mute);
}

.mk-menu--legal {
	gap: 8px 20px;
}

.mk-menu--legal a {
	padding-block: 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--mk-ink-mute);
}

.mk-menu--legal a::after {
	content: none;
}

.mk-menu--legal a:hover {
	color: var(--mk-accent);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1024px) {
	.mk-footer__main {
		grid-template-columns: 1fr;
		gap: 48px;
		padding: 56px 0 48px;
	}
}

@media (max-width: 720px) {
	.mk-footer__main {
		padding: 48px 0 40px;
	}

	.mk-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}

	.mk-footer__logotypy {
		flex-wrap: wrap;
		gap: 24px 0;
	}

	.mk-footer__logotyp {
		flex: 0 0 33.333%;
		justify-content: center;
		padding: 0;
		border-right: 0;
	}

	.mk-footer__logotyp:first-child,
	.mk-footer__logotyp:last-child {
		justify-content: center;
	}

	.mk-footer__dol {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}
