/* ============================================================
   PARENDI - Footer (Mega Modern Pink Editorial)
   6-column grid + brand band + legal microcopy + Klikon credit
   ============================================================ */

.site-footer {
	position: relative;
	width: 100%;
	background: linear-gradient(160deg, #1A1714 0%, #0E0C0A 100%);
	color: #FFFFFF;
	font-family: var(--font-sans, 'Inter', sans-serif);
	padding: clamp(72px, 10vh, 130px) 0 0;
	border-top: 1px solid rgba(201, 169, 110, 0.3);
	z-index: 70;
	overflow: hidden;
	isolation: isolate;
}

/* Dekoracyjny script tla "parendi" - subtelny gold watermark */
.site-footer::before {
	content: 'parendi';
	position: absolute;
	right: clamp(-20px, -2vw, -40px);
	bottom: clamp(80px, 12vh, 160px);
	font-family: 'Allura', cursive;
	font-size: clamp(220px, 28vw, 460px);
	font-weight: 400;
	line-height: 0.8;
	color: rgba(201, 169, 110, 0.07);
	pointer-events: none;
	user-select: none;
	z-index: 0;
	white-space: nowrap;
}

.site-footer > * {
	position: relative;
	z-index: 1;
}

/* ─── 6-column grid ────────────────────────────── */

.site-footer__columns {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 80px);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(32px, 4vw, 56px) clamp(20px, 2vw, 40px);
}

@media (max-width: 1100px) {
	.site-footer__columns {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.site-footer__columns {
		grid-template-columns: 1fr;
	}
}

.site-footer__col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* Column heading - gold italic na czarnym */
.site-footer__heading {
	font-family: var(--font-serif, 'Fraunces', serif);
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	letter-spacing: -0.01em;
	color: #C9A96E;
	margin: 0 0 24px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(201, 169, 110, 0.25);
}

.site-footer__nav {
	width: 100%;
}

.site-footer__list,
.site-footer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.site-footer__list li,
.site-footer__nav li {
	margin: 0;
}

.site-footer__link,
.site-footer__list a,
.site-footer__nav a {
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-weight: 400;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	position: relative;
	display: inline-block;
	transition: color 0.3s ease, transform 0.3s ease;
}

.site-footer__link::after,
.site-footer__list a::after,
.site-footer__nav a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 1px;
	bottom: -2px;
	left: 0;
	background-color: #C9A96E;
	transition: width 0.3s ease;
}

.site-footer__link:hover::after,
.site-footer__list a:hover::after,
.site-footer__nav a:hover::after {
	width: 100%;
}

.site-footer__link:hover,
.site-footer__list a:hover,
.site-footer__nav a:hover {
	color: #C9A96E;
	transform: translateX(2px);
}

/* BRANDS column */
.site-footer__brands {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.site-footer__brands li {
	font-family: var(--font-serif, 'Fraunces', serif);
	font-style: italic;
	font-weight: 400;
	font-size: 17px;
	letter-spacing: 0.15em;
	color: #C9A96E;
	text-transform: uppercase;
}

.site-footer__brands-note {
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-size: 10px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
	margin: 0;
}

/* VISIT column */
.site-footer__visit {
	font-style: normal;
	font-size: 13px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.85);
}

.site-footer__visit p {
	margin: 0 0 16px;
}

.site-footer__visit-name {
	font-family: var(--font-serif, 'Fraunces', serif);
	font-style: italic;
	font-weight: 400;
	font-size: 15px;
	color: #FFFFFF;
}

.site-footer__visit-contact {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.site-footer__visit-contact a {
	color: #FFFFFF !important;
	font-weight: 500;
}

.site-footer__visit-hours {
	color: rgba(255, 255, 255, 0.7);
}

.site-footer__directions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #C9A96E;
	text-decoration: none;
	margin-top: 8px;
	padding: 8px 16px;
	background: rgba(201, 169, 110, 0.08);
	border: 1px solid rgba(201, 169, 110, 0.4);
	border-radius: 999px;
	transition: background 0.3s ease, gap 0.3s ease;
}

.site-footer__directions:hover {
	background: rgba(201, 169, 110, 0.18);
	gap: 12px;
}

/* NEWSLETTER column */
.site-footer__newsletter-lead {
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.85);
}

.site-footer__newsletter {
	width: 100%;
}

.site-footer__newsletter-field {
	position: relative;
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	padding: 6px 6px 6px 18px;
	transition: background 0.3s ease, border-color 0.3s ease;
}

.site-footer__newsletter-field:focus-within {
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.5);
}

.site-footer__newsletter-input {
	flex: 1;
	background: transparent;
	border: none;
	padding: 0;
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-size: 13px;
	color: #FFFFFF;
	outline: none;
	min-width: 0;
}

.site-footer__newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.site-footer__newsletter-submit {
	background: linear-gradient(120deg, #7A5C1E 0%, #C9A96E 100%);
	border: none;
	cursor: pointer;
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #FFFFFF;
	padding: 9px 16px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: opacity 0.2s ease, gap 0.3s ease;
	flex-shrink: 0;
}

.site-footer__newsletter-submit:hover {
	opacity: 0.88;
	gap: 10px;
}

.site-footer__newsletter-note {
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-style: italic;
	font-size: 10px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.65);
	margin: 14px 0 0;
}

/* ─── Brand Band (logo + tagline + socials) ── */

.site-footer__brand-band {
	max-width: 1440px;
	margin: clamp(56px, 8vh, 88px) auto 0;
	padding: clamp(40px, 5vh, 56px) clamp(20px, 4vw, 80px);
	border-top: 1px solid rgba(201, 169, 110, 0.2);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-footer__wordmark {
	font-family: var(--font-serif, 'Fraunces', serif);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(48px, 6vw, 80px);
	line-height: 1;
	letter-spacing: -0.03em;
	color: #FFFFFF;
	margin: 0;
}

.site-footer__brand-logo {
	display: inline-block;
	text-decoration: none;
	line-height: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-footer__brand-logo:hover {
	opacity: 0.85;
	transform: scale(1.02);
}

.site-footer__brand-logo img,
.site-footer__brand-logo svg {
	display: block;
	height: clamp(56px, 7vw, 100px);
	width: auto;
	max-width: 100%;
	/* Jesli klient nie wgral logo_dark, wymus jasna wersje filter'em */
	filter: brightness(0) invert(1);
}

.site-footer__tagline {
	font-family: 'Allura', cursive;
	font-style: normal;
	font-weight: 400;
	font-size: clamp(22px, 2.4vw, 32px);
	color: #C9A96E;
	opacity: 1;
}

.site-footer__socials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 14px;
}

.site-footer__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #C9A96E;
	background: rgba(201, 169, 110, 0.08);
	border: 1px solid rgba(201, 169, 110, 0.3);
	border-radius: 50%;
	transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.site-footer__socials a:hover {
	background: rgba(201, 169, 110, 0.2);
	color: #C9A96E;
	border-color: #C9A96E;
	transform: translateY(-3px);
}

/* ─── Bottom legal microcopy (still pink, na koncu pink sekcji) ─────── */

.site-footer__bottom {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 0 0 28px;
}

.site-footer__bottom-tint {
	display: none;
}

.site-footer__bottom-inner {
	position: relative;
	max-width: 1440px;
	margin: 0 auto;
	padding: 24px clamp(20px, 4vw, 80px) 0;
	border-top: 1px solid rgba(201, 169, 110, 0.15);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.site-footer__bottom-inner a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-footer__bottom-inner a:hover {
	color: #FFFFFF;
}

.site-footer__sep {
	opacity: 0.5;
}

.site-footer__legal {
	display: contents;
}

.site-footer__legal li {
	list-style: none;
	display: inline;
}

.site-footer__legal li:not(:last-child)::after {
	content: '·';
	margin: 0 8px;
	opacity: 0.4;
}

/* ─── CREDIT BAR (Wykonano: Klikon Media) - bialy pasek na samym dole ─── */

.site-footer__credit {
	position: relative;
	width: 100%;
	background: #FFFFFF;
	padding: 16px clamp(20px, 4vw, 80px);
	border-top: 1px solid rgba(26, 23, 20, 0.08);
	z-index: 2;
}

.site-footer__credit-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.site-footer__credit-label {
	font-family: var(--font-sans, 'Inter', sans-serif);
	font-weight: 500;
	font-size: 10px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--c-text-muted, #6B5F53);
}

.site-footer__credit-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	opacity: 0.7;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-footer__credit-link:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.site-footer__credit-logo {
	display: block;
	height: clamp(28px, 3vw, 36px);
	width: auto;
}

/* ─── Mobile (≤767px) - logo PARENDI biale na GORZE footera ─────────────
   .site-footer staje sie flex column, brand-band dostaje order:-1 zeby
   wskoczyc nad 6-column grid. Tagline + socials nadal pod logiem.
   Reszta sekcji (columns, bottom, credit) jedzie w naturalnej kolejnosci. */
@media (max-width: 767px) {
	.site-footer {
		display: flex;
		flex-direction: column;
		padding-top: 0;
	}
	.site-footer > .site-footer__brand-band {
		order: -1;
		margin-top: 0;
		padding-top: clamp(36px, 6vh, 56px);
		padding-bottom: clamp(28px, 4vh, 40px);
		border-top: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
		flex-direction: column;
		text-align: center;
		gap: 18px;
	}
	.site-footer > .site-footer__columns {
		padding-top: clamp(40px, 6vh, 56px);
	}
	.site-footer__brand-logo img,
	.site-footer__brand-logo svg {
		height: clamp(64px, 14vw, 96px);
		margin: 0 auto;
	}
	.site-footer__tagline {
		font-size: clamp(24px, 6vw, 32px);
	}
	.site-footer__socials {
		justify-content: center;
	}

	/* Kolumny + naglowki + zawartosc wycentrowana na mobile */
	.site-footer__col {
		align-items: center;
		text-align: center;
	}
	.site-footer__heading {
		text-align: center;
		border-bottom: 0;
		padding-bottom: 0;
		margin-bottom: 16px;
		position: relative;
	}
	/* Mala kreska pod naglowkiem (zamiast full-width border-bottom) - subtelny editorial */
	.site-footer__heading::after {
		content: '';
		display: block;
		width: 36px;
		height: 1px;
		background: rgba(255, 255, 255, 0.35);
		margin: 14px auto 0;
	}
	.site-footer__list,
	.site-footer__brands,
	.site-footer__visit {
		text-align: center;
		list-style: none;
		padding: 0;
		margin: 0;
	}
	.site-footer__brands-note {
		text-align: center;
	}
	.site-footer__visit-name,
	.site-footer__visit p,
	.site-footer__visit-contact,
	.site-footer__visit-hours {
		text-align: center;
	}
	.site-footer__visit-contact {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
	}
	.site-footer__directions {
		justify-content: center;
		margin: 12px auto 0;
	}
	/* Bottom legal microcopy wycentrowane */
	.site-footer__bottom-inner {
		justify-content: center;
		flex-wrap: wrap;
		text-align: center;
	}
}

/* ─── TABLET (768-1099px) - dedykowane dostosowanie ────────────
   Bez tej sekcji: przy 768-1099 uzywalo 3 kolumn (z default 1100 breakpoint)
   ale przy portrait tablet ~768-899 to za waskie. Landscape iPad 900-1099 mogloby
   utrzymac 4 kolumny zamiast 3. */

/* iPad landscape + narrow desktop (900-1099) - 4 kolumny sensowniej */
@media (max-width: 1099px) and (min-width: 900px) {
	.site-footer__columns {
		grid-template-columns: repeat(4, 1fr);
		gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 28px);
	}
}

/* iPad portrait + waski tablet (768-899) - 2 kolumny, lepsze breathing room */
@media (max-width: 899px) and (min-width: 768px) {
	.site-footer__columns {
		grid-template-columns: repeat(2, 1fr);
		gap: clamp(32px, 4vw, 48px);
		padding: 0 clamp(28px, 5vw, 60px);
	}
	.site-footer__heading {
		font-size: 20px;
	}
}
