/*
 * Stopka prospectrum.pl (16.11.2026): markup w assets/footer-static.html, klasy .pr-stopka__*.
 *
 * Selektory zaczynają się od #footer.pr-stopka. Wygrywają wtedy ze starymi regułami #footer{…!important} z style.css,
 * który idzie z ?ver=1.0 (Child Theme Configurator) i siedzi rok w cache przeglądarek i Cloudflare. Stare reguły
 * celowały w .inner-footer-wrapper/.footer-wrap/#footer-menu, których nowy markup nie ma.
 * id="footer" zostaje: custom.js motywu nadrzędnego liczy z niego przyklejany sidebar.
 */

#footer.pr-stopka {
	--st-tlo: #25396e;
	--st-tlo-dol: #1b2a52;
	--st-tekst: #d3dbeb;
	--st-tekst-slaby: #b4c0d8;
	--st-link: #eef2fa;
	--st-akcent: #8fa8dc;
	display: block;
	position: relative;
	z-index: 1;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: var(--st-tlo) !important;
	color: var(--st-tekst);
	font: 400 14px/1.65 "Open Sans", Helvetica, Arial, sans-serif;
	text-align: left;
}

#footer.pr-stopka *,
#footer.pr-stopka *::before,
#footer.pr-stopka *::after {
	box-sizing: border-box;
}

#footer.pr-stopka .pr-stopka__kontener {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ── część główna ──────────────────────────────────────────────────────── */
#footer.pr-stopka .pr-stopka__siatka {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
	gap: 40px 48px;
	padding-top: 56px;
	padding-bottom: 52px;
}

#footer.pr-stopka .pr-stopka__kol {
	min-width: 0;
	margin: 0;
	padding: 0;
}

#footer.pr-stopka h2.pr-stopka__nazwa,
#footer.pr-stopka h2.pr-stopka__tytul {
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 0;
	background: none;
	color: #fff !important;
	font-family: inherit;
	text-align: left;
}

#footer.pr-stopka h2.pr-stopka__nazwa {
	font-size: 20px !important;
	font-weight: 700;
	line-height: 1.3 !important;
	letter-spacing: 0.01em;
	text-transform: none;
}

#footer.pr-stopka h2.pr-stopka__tytul {
	position: relative;
	padding-bottom: 12px !important;
	font-size: 13px !important;
	font-weight: 700;
	line-height: 1.4 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

#footer.pr-stopka h2.pr-stopka__tytul::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 2px;
	background: var(--st-akcent);
}

#footer.pr-stopka p {
	margin: 0;
	padding: 0;
	color: var(--st-tekst) !important;
	font-size: 14px;
	line-height: 1.65;
}

#footer.pr-stopka .pr-stopka__opis {
	max-width: 320px;
	margin-bottom: 20px;
}

/* listy: globalne ul{list-style-image:li2.jpg} w style.css */
#footer.pr-stopka ul.pr-stopka__lista,
#footer.pr-stopka ul.pr-stopka__lista li {
	margin: 0;
	padding: 0;
	list-style: none;
	list-style-image: none;
	background: none;
	border: 0;
}

/* linki */
#footer.pr-stopka a,
#footer.pr-stopka a:link,
#footer.pr-stopka a:visited {
	color: var(--st-link) !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

#footer.pr-stopka a:hover {
	color: #fff !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

#footer.pr-stopka a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
	border-radius: 3px;
}

#footer.pr-stopka .pr-stopka__linki a {
	display: block;
	padding: 5px 0;
	line-height: 1.45;
}

/* kontakt */
#footer.pr-stopka ul.pr-stopka__dane li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
}

#footer.pr-stopka .pr-stopka__dane a {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
}

#footer.pr-stopka .pr-stopka__ikona {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--st-akcent);
}

#footer.pr-stopka a.pr-stopka__tel {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.4;
	color: #fff !important;
}

#footer.pr-stopka a.pr-stopka__tel .pr-stopka__ikona {
	margin-top: 4px;
}

#footer.pr-stopka .pr-stopka__adres {
	color: var(--st-tekst);
	line-height: 1.6;
}

#footer.pr-stopka a.pr-stopka__mapa {
	display: inline-block;
	margin-top: 2px;
	color: var(--st-akcent) !important;
	font-size: 13px;
	font-weight: 600;
}

#footer.pr-stopka a.pr-stopka__mapa:hover {
	color: #fff !important;
}

#footer.pr-stopka p.pr-stopka__rejestr {
	margin-top: 16px;
	color: var(--st-tekst-slaby) !important;
	font-size: 12.5px;
}

#footer.pr-stopka .pr-stopka__rejestr span {
	white-space: nowrap;
}

/* Facebook */
#footer.pr-stopka a.pr-stopka__fb {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
}

#footer.pr-stopka .pr-stopka__fb-ikona {
	display: inline-flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: #fff;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

#footer.pr-stopka .pr-stopka__fb-ikona svg {
	display: block;
}

#footer.pr-stopka a.pr-stopka__fb:hover .pr-stopka__fb-ikona {
	background: #1877f2;
	border-color: #1877f2;
}

/* tekst tylko dla czytników ekranu */
#footer.pr-stopka .pr-stopka__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ── pasek dolny ───────────────────────────────────────────────────────── */
#footer.pr-stopka .pr-stopka__dol {
	background: var(--st-tlo-dol);
}

#footer.pr-stopka .pr-stopka__dol-wnetrze {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 18px;
	padding-bottom: 18px;
}

#footer.pr-stopka p.pr-stopka__copy {
	color: var(--st-tekst-slaby) !important;
	font-size: 13px;
}

#footer.pr-stopka ul.pr-stopka__prawne {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
}

#footer.pr-stopka .pr-stopka__prawne a {
	display: inline-block;
	padding: 2px 0;
	color: var(--st-tekst) !important;
	font-size: 13px;
}

#footer.pr-stopka .pr-stopka__prawne a:hover {
	color: #fff !important;
}

/* ── przycisk „do góry” (pokazuje i chowa custom.js motywu; na telefonie ukrywa responsive.css) ── */
a.back-to-top {
	bottom: 20px !important;
	right: 20px !important;
	width: 44px;
	height: 44px;
	padding: 0 !important;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 50% !important;
	background: #25396e !important;
	color: #fff !important;
	opacity: 1 !important;
	box-shadow: 0 4px 14px rgba(10, 22, 48, 0.35);
	font-size: 20px;
	line-height: 40px !important;
	text-align: center;
	text-decoration: none !important;
	z-index: 100;
}

a.back-to-top::before {
	display: block;
	line-height: 40px;
}

a.back-to-top:hover {
	background: #1b2a52 !important;
}

a.back-to-top:focus-visible {
	outline: 2px solid #1d4c99;
	outline-offset: 3px;
}

/* ── wąski desktop / tablet poziomo ────────────────────────────────────── */
@media (max-width: 1199px) {
	#footer.pr-stopka .pr-stopka__siatka {
		grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
		column-gap: 32px;
	}
}

/* ── tablet ────────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
	#footer.pr-stopka .pr-stopka__siatka {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 40px;
		padding-top: 44px;
		padding-bottom: 40px;
	}
}

/* przycisk „do góry” w prawym dolnym rogu nie może przykryć linków paska dolnego */
@media (max-width: 1199px) {
	#footer.pr-stopka .pr-stopka__dol-wnetrze {
		padding-right: 84px;
	}
}

/* ── telefon ───────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
	#footer.pr-stopka .pr-stopka__dol-wnetrze {
		padding-right: 20px;
	}
}

@media (max-width: 599px) {
	#footer.pr-stopka .pr-stopka__siatka {
		gap: 32px 20px;
		padding-top: 36px;
		padding-bottom: 32px;
	}

	#footer.pr-stopka .pr-stopka__marka,
	#footer.pr-stopka .pr-stopka__kontakt {
		grid-column: 1 / -1;
	}

	#footer.pr-stopka .pr-stopka__opis {
		max-width: none;
	}

	/* cele dotyku ≥ 40 px */
	#footer.pr-stopka .pr-stopka__linki a {
		display: flex;
		align-items: center;
		min-height: 40px;
		padding: 6px 0;
		line-height: 1.35;
	}

	#footer.pr-stopka .pr-stopka__dane a,
	#footer.pr-stopka a.pr-stopka__fb,
	#footer.pr-stopka a.pr-stopka__mapa,
	#footer.pr-stopka .pr-stopka__prawne a {
		min-height: 40px;
		align-items: center;
	}

	#footer.pr-stopka a.pr-stopka__mapa,
	#footer.pr-stopka .pr-stopka__prawne a {
		display: inline-flex;
	}

	#footer.pr-stopka .pr-stopka__dol-wnetrze {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding-top: 14px;
		padding-bottom: 14px;
	}
}
