/*
 * Stopka — StützSkin
 * 4 kolumny: marka + kontakt, usługi, gabinet, newsletter.
 * Dolna belka z prawami autorskimi i informacją o realizacji.
 */

/* ----------------------------------------------------------------
 * Wrapper stopki
 * ---------------------------------------------------------------- */
.site-footer {
	background: #110F0E;
	color: rgba(247, 243, 238, 0.6);
	padding: 72px 48px 0;
}

/* ----------------------------------------------------------------
 * Siatka 4 kolumn
 * ---------------------------------------------------------------- */
.footer-grid {
	display: grid;
	grid-template-columns: 1.8fr 1.4fr 1fr 1.8fr;
	gap: 48px;
	max-width: 1440px;
	margin: 0 auto;
	padding-bottom: 48px;
}

/* ----------------------------------------------------------------
 * Nagłówki kolumn
 * ---------------------------------------------------------------- */
.footer-col h4 {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(247, 243, 238, 0.55); /* podwyższone z 0.4 dla czytelności */
	margin-bottom: 20px;
}

/* ----------------------------------------------------------------
 * Linki w kolumnach
 * current-menu-item i current_page_item nadpisują kolor — wymuszamy jednolity styl
 * ---------------------------------------------------------------- */
.footer-col a,
.footer-col li a,
.footer-col li.current-menu-item a,
.footer-col li.current_page_item a,
.footer-col li.current-menu-ancestor a {
	font-size: 13px;
	color: rgba(247, 243, 238, 0.6);
	text-decoration: none;
	display: block;
	margin-bottom: 10px;
	transition: color 0.2s;
}

.footer-col a:hover,
.footer-col li a:hover {
	color: var(--brick);
}

/* ----------------------------------------------------------------
 * Kolumna 1: marka
 * ---------------------------------------------------------------- */
.footer-logo {
	display: inline-block;
	margin-bottom: 16px;
	text-decoration: none;
}

.footer-logo__img {
	height: 32px;
	width: auto;
	display: block;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.85;
	transition: opacity 0.2s;
}

.footer-logo:hover .footer-logo__img {
	opacity: 1;
}

.footer-desc {
	font-size: 13px;
	line-height: 1.7;
	margin-bottom: 20px;
	color: rgba(247, 243, 238, 0.65);
}

.footer-contact__item {
	font-size: 12px;
	color: rgba(247, 243, 238, 0.65);
	text-decoration: none;
	display: block;
	margin-bottom: 8px;
	line-height: 1.5;
	transition: color 0.2s;
}

a.footer-contact__item:hover {
	color: var(--brick);
}

/* ----------------------------------------------------------------
 * Kolumna 4: newsletter
 * ---------------------------------------------------------------- */
.footer-newsletter__desc {
	font-size: 13px;
	line-height: 1.7;
	margin-bottom: 16px;
	color: rgba(247, 243, 238, 0.65);
}

.footer-newsletter input[type="email"] {
	width: 100%;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.07);
	border: 0.5px solid rgba(247, 243, 238, 0.15);
	color: var(--cream);
	font-family: var(--sans);
	font-size: 13px;
	margin-bottom: 8px;
	border-radius: var(--radius);
	outline: none;
	transition: border-color 0.2s;
}

.footer-newsletter input[type="email"]::placeholder {
	color: rgba(247, 243, 238, 0.3);
}

.footer-newsletter input[type="email"]:focus {
	border-color: var(--brick);
}

.footer-newsletter button {
	width: 100%;
	background: var(--plum);
	color: var(--white);
	padding: 10px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	border-radius: var(--radius);
	transition: background 0.2s;
}

.footer-newsletter button:hover {
	background: var(--plum-dark);
}

/* ----------------------------------------------------------------
 * Social media
 * ---------------------------------------------------------------- */
.footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
}

.footer-social__link {
	display: inline-flex;
	align-items: center;
	color: rgba(247, 243, 238, 0.4);
	text-decoration: none;
	transition: color 0.2s;
	margin-bottom: 0; /* nadpisuje display:block z .footer-col a */
}

.footer-social__link:hover {
	color: var(--brick);
}

.footer-social__link--text {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ----------------------------------------------------------------
 * Kolumna usług — dwie podkolumny
 * ---------------------------------------------------------------- */
.footer-uslugi-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0 16px;
}

.footer-uslugi-lista {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-uslugi-lista li a {
	font-size: 12px;
	color: rgba(247, 243, 238, 0.55);
	text-decoration: none;
	display: block;
	padding: 4px 0;
	margin-bottom: 0;
	transition: color 0.2s;
	line-height: 1.4;
}

.footer-uslugi-lista li a:hover {
	color: var(--brick);
}

.footer-uslugi-lista li a:visited {
	color: rgba(247, 243, 238, 0.55);
}

.footer-uslugi-label {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(247, 243, 238, 0.3);
	margin-bottom: 8px;
	margin-top: 4px;
	display: block;
}

/* ----------------------------------------------------------------
 * Dolna belka
 * ---------------------------------------------------------------- */
.footer-bottom {
	border-top: 0.5px solid rgba(247, 243, 238, 0.08);
	padding: 24px 0;
	margin-top: 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11px;
	color: rgba(247, 243, 238, 0.25);
}

.footer-bottom p {
	font-size: 11px;
	color: rgba(247, 243, 238, 0.35);
	line-height: 1;
}

.footer-bottom a {
	display: inline;
	margin-bottom: 0;
	color: rgba(247, 243, 238, 0.4);
	text-decoration: none;
	transition: color 0.2s;
}

.footer-bottom a:hover {
	color: var(--brick);
}

/* ----------------------------------------------------------------
 * Tablet (≤1024px) — 2×2, kolumna usług na pełną szerokość
 * ---------------------------------------------------------------- */
@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.footer-col--uslugi {
		grid-column: 1 / -1;
	}
}

/* ----------------------------------------------------------------
 * Mobile (≤768px) — 1 kolumna
 * ---------------------------------------------------------------- */
@media (max-width: 768px) {
	.site-footer {
		padding: 48px 20px 0;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-col--uslugi {
		grid-column: auto;
	}

	.footer-uslugi-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 8px;
		text-align: center;
		padding: 20px 0;
		margin-top: 40px;
	}
}
