/* =========================================================================
   Stopka serwisu zamow-kontener.pl
   Zgodna z „Wytyczne designu" (tokeny, kontrast AA, promienie, breakpointy).
   Prefiks .zk-  |  wszystkie wartości przez var(--zk-*) z fallbackiem.
   ========================================================================= */

.zk-footer,
.zk-footer * {
	box-sizing: border-box;
}

.zk-footer {
	font-family: var(--zk-font, sans-serif); /* kanon: zk-ui.css (Geist) */
	/* Tokeny --zk-*: KANON w assets/zk-ui.css (globalny, prio 5) — redefinicja
	   usunięta 2026-07-24 (Etap 2a); tu zostają tylko tokeny stopki --zk-foot-*. */
	/* Tekst na granacie: biel z przezroczystością (konwencja z paska USP nagłówka,
	   który używa color:#fff + opacity). Bez nowych barw. */
	--zk-foot-fg: #ffffff;
	--zk-foot-muted: rgba(255, 255, 255, .72);
	--zk-foot-link: rgba(255, 255, 255, .82);
	--zk-foot-border: rgba(255, 255, 255, .12);

	background: var(--zk-navy);
	color: var(--zk-foot-fg);
	font-family: inherit;
}

.zk-footer .zk-footer__inner {
	max-width: var(--zk-max);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---- linki: reset kolorów motywu (custom.css koloruje linki wewnętrzne) ---- */
.zk-footer a {
	color: var(--zk-foot-link);
	text-decoration: none;
	transition: color .15s ease;
}
.zk-footer a:hover,
.zk-footer a:focus-visible {
	color: var(--zk-foot-fg);
}
.zk-footer a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	border-radius: 3px;
}

/* =========================================================================
   1) PRE-STOPKA — pasek konwersji (zielona powierzchnia, ciemny tekst)
   ========================================================================= */
.zk-foot-cta {
	/* Zieleń brandowa systemowa (--zk-green-dark #487214) jako powierzchnia.
	   Biały tekst na #487214 = 5,7:1 (WCAG AA). Delikatny biały rozbłysk dla głębi. */
	background:
		radial-gradient(120% 150% at 84% 6%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 55%),
		var(--zk-green-dark);
	color: #ffffff;
	border-bottom: 2px solid var(--zk-green);   /* keyline na styku z navy */
}
.zk-foot-cta__inner {
	max-width: var(--zk-max);
	margin: 0 auto;
	padding: 52px 20px;
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 44px;
	align-items: center;
}
.zk-foot-cta__badge {
	display: inline-block;
	background: rgba(255, 255, 255, .14);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, .45);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	padding: 7px 14px;
	border-radius: var(--zk-r-pill);
	backdrop-filter: saturate(120%);
}
.zk-foot-cta__title {
	margin: 16px 0 10px;
	color: #ffffff;
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
	font-weight: 800;
	line-height: 1.12;
}
.zk-foot-cta__text {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, .9);
	font-size: 1.05rem;
	line-height: 1.5;
	max-width: 34em;
}
.zk-foot-cta__usps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
}
/* USP jako chipy — spójne z badge, „premium" na ciemnej zieleni */
.zk-foot-cta__usps li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: .95rem;
	color: #ffffff;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .24);
	padding: 8px 14px 8px 11px;
	border-radius: var(--zk-r-pill);
}
.zk-foot-cta__check {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--zk-green);   /* jasnozielony „ptaszek" na chipie */
}

/* karta odpowiedzi (biała) */
.zk-foot-cta__card {
	background: #ffffff;
	border-radius: var(--zk-r-card);
	padding: 28px 26px;
	box-shadow: 0 18px 40px -18px rgba(20, 32, 4, .45);
}
.zk-foot-cta__card-title {
	margin: 0 0 6px;
	color: var(--zk-ink);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
}
.zk-foot-cta__card-text {
	margin: 0 0 18px;
	color: var(--zk-muted);
	font-size: .97rem;
	line-height: 1.5;
}
.zk-foot-cta__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.zk-foot-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 20px;
	border-radius: var(--zk-r-pill);
	font-weight: 800;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.zk-foot-cta__btn svg { flex: 0 0 auto; }
.zk-foot-cta__btn:active { transform: translateY(1px); }

/* Wariant secondary „wypełniony zielony" (wytyczne, sekcja 4b) — biały tekst 5,7:1.
   Czerwień rezerwujemy dla zamówienia online, więc kontakt = zieleń brandowa. */
.zk-foot-cta__btn--primary {
	background: var(--zk-bg-soft);          /* #f2f4ec */
	border: 1.5px solid #d4e7b3;
}
.zk-foot-cta__btn--primary,
.zk-foot-cta__btn--primary span,
.zk-foot-cta__btn--primary svg {
	color: var(--zk-green-dark) !important;   /* widoczny na jasnym tle (wytyczne, sekcja 4) */
}
.zk-foot-cta__btn--primary:hover,
.zk-foot-cta__btn--primary:focus-visible {
	background: #eaf3d8;
	border-color: #cfe2a8;
}
.zk-foot-cta__btn--phone {
	background: #ffffff;
	border: 1.5px solid var(--zk-line);
	color: var(--zk-ink);
}
.zk-foot-cta__btn--phone span { color: var(--zk-ink); }
.zk-foot-cta__btn--phone svg { color: var(--zk-green-dark); }
.zk-foot-cta__btn--phone:hover,
.zk-foot-cta__btn--phone:focus-visible {
	background: var(--zk-bg-soft);
	border-color: var(--zk-line);
	color: var(--zk-ink);
}
.zk-foot-cta__meta {
	margin: 16px 0 0;
	font-size: .9rem;
	color: var(--zk-muted);
	text-align: center;
}
.zk-foot-cta__meta a {
	color: var(--zk-green-dark);
	font-weight: 700;
	text-decoration: underline;
}
.zk-foot-cta__meta a:hover,
.zk-foot-cta__meta a:focus-visible {
	color: var(--zk-green-dark);   /* nie biały – link jest na białej karcie */
	text-decoration: none;
}
.zk-foot-cta__card :focus-visible { outline-color: var(--zk-green-dark); }

/* =========================================================================
   2) STOPKA GŁÓWNA (navy)
   ========================================================================= */
.zk-footer__main {
	padding: 56px 0 44px;
}
.zk-footer__main .zk-footer__inner {
	display: grid;
	grid-template-columns: 1.35fr 3fr;
	gap: 48px;
}

/* --- kolumna marki --- */
.zk-footer__logo-link {
	display: inline-block;
}
.zk-footer__logo {
	display: block;
	width: 210px;
	max-width: 100%;
	height: auto;
}
.zk-footer__brand-text {
	font-size: 1.4rem;
	font-weight: 800;
	color: #fff;
}
.zk-footer__tagline {
	margin: 16px 0 20px;
	color: var(--zk-foot-muted);
	font-size: .95rem;
	line-height: 1.55;
	max-width: 30em;
}
.zk-footer__contact {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.zk-footer__contact-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: #fff;   /* telefon i mail – biały tekst */
}
.zk-footer__contact-link:hover,
.zk-footer__contact-link:focus-visible { color: #fff; }
.zk-footer__contact-link svg { flex: 0 0 auto; color: var(--zk-green); }
.zk-footer__contact-link--phone {
	font-size: 1.2rem;
	font-weight: 800;
	color: #fff;
}

/* Linia rejestrowa (NIP + nazwa) pod danymi kontaktowymi. */
.zk-footer__reg {
	margin: -6px 0 20px;
	font-size: .82rem;
	line-height: 1.45;
	color: var(--zk-foot-muted);
}

/* --- social --- */
.zk-footer__socials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
}
.zk-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--zk-r-control);
	background: rgba(255, 255, 255, .08);
	border: 1px solid var(--zk-foot-border);
	color: var(--zk-foot-link);
}
.zk-footer__social:hover,
.zk-footer__social:focus-visible {
	background: var(--zk-green);
	border-color: var(--zk-green);
	color: var(--zk-ink);
}

/* --- kolumny linków --- */
.zk-footer__nav {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 32px;
}
.zk-footer__col-title {
	margin: 0 0 16px;
	color: #fff;
	font-size: .95rem;
	font-weight: 800;
	letter-spacing: .01em;
	position: relative;
	padding-bottom: 10px;
}
.zk-footer__col-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 26px;
	height: 3px;
	border-radius: 2px;
	background: var(--zk-green);
}
.zk-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}
.zk-footer__list a {
	font-size: .93rem;
	line-height: 1.35;
}
/* Oferta – szeroka kolumna w dwóch pod-kolumnach */
.zk-footer__col--wide .zk-footer__list {
	display: block;
	columns: 2;
	column-gap: 30px;
}
.zk-footer__col--wide .zk-footer__list li {
	break-inside: avoid;
	margin-bottom: 11px;
}

/* =========================================================================
   3) SEKCJA LOKALIZACJI (oddzielona od oferty)
   ========================================================================= */
.zk-footer__cities {
	border-top: 1px solid var(--zk-foot-border);
	padding: 34px 0 44px;
}
.zk-footer__cities-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px 28px;
}
.zk-footer__cities-list a {
	font-size: .9rem;
	line-height: 1.3;
	color: var(--zk-foot-muted);
}
.zk-footer__cities-list a:hover,
.zk-footer__cities-list a:focus-visible { color: #fff; }

/* =========================================================================
   4) PASEK DOLNY
   ========================================================================= */
.zk-footer__bottom {
	background: rgba(0, 0, 0, .14);   /* subtelne przyciemnienie navy, bez nowej barwy */
	border-top: 1px solid var(--zk-foot-border);
	padding: 18px 0;
}
.zk-footer__bottom .zk-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	flex-wrap: wrap;
}
.zk-footer__copy {
	margin: 0;
	color: var(--zk-foot-muted);
	font-size: .85rem;
}
.zk-footer__legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}
.zk-footer__legal a {
	font-size: .85rem;
	color: var(--zk-foot-muted);
}
.zk-footer__legal a:hover,
.zk-footer__legal a:focus-visible { color: #fff; }

/* =========================================================================
   RESPONSYWNOŚĆ (breakpointy zgodne z nagłówkiem)
   ========================================================================= */
@media (max-width: 1100px) {
	.zk-footer__main .zk-footer__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.zk-foot-cta__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 820px) {
	.zk-footer__cities-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
	.zk-footer__main { padding: 44px 0 36px; }
	.zk-footer__nav {
		grid-template-columns: 1fr 1fr;
		gap: 28px 24px;
	}
	.zk-footer__col--wide { grid-column: 1 / -1; }
	.zk-foot-cta__inner { padding: 40px 20px; }
	.zk-footer__cities-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
	.zk-footer__nav { grid-template-columns: 1fr; }
	.zk-footer__col--wide .zk-footer__list { columns: 1; }
	.zk-footer__cities-list { grid-template-columns: 1fr; }
	.zk-footer__bottom .zk-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.zk-foot-cta__usps { flex-direction: column; gap: 10px; }
	.zk-foot-cta__actions { gap: 10px; }
}

/* Redukcja ruchu */
@media (prefers-reduced-motion: reduce) {
	.zk-footer a,
	.zk-foot-cta__btn,
	.zk-footer__social { transition: none; }
}
