/* ==========================================================================
   thefad.pl / Global Footer
   Final refined footer
   Namespace: .tf-footer-*
   ========================================================================== */

.tf-footer {
	background: #f5f3ef;
	border-top: 1px solid rgba(17,17,17,.10);
	color: #1f1f1b;
	margin-top: 84px;
}

.tf-footer__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 28px 36px 22px;
}

/* ==========================================================================
   Brand layer
   ========================================================================== */

.tf-footer__brand {
	display: grid;
	grid-template-columns: minmax(176px, 210px) 1fr;
	align-items: center;
	column-gap: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(17,17,17,.10);
}

.tf-footer__brand-logo {
	position: relative;
	padding-right: 18px;
}

.tf-footer__brand-logo::after {
	content: "";
	position: absolute;
	top: 2px;
	right: 0;
	width: 1px;
	height: 36px;
	background: rgba(17,17,17,.10);
}

.tf-footer__logo-link {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.tf-footer__logo {
	font-family: "Noto Serif", Georgia, "Times New Roman", serif;
	font-size: 40px;
	line-height: 0.92;
	font-weight: 700;
	letter-spacing: -0.06em;
	color: #111111;
	white-space: nowrap;
}

.tf-footer__logo-main,
.tf-footer__logo-dot {
	color: #111111;
}

.tf-footer__logo-pl {
	color: #f26422;
}

.tf-footer__tagline {
	margin: 0;
	font-family: "Noto Serif", Georgia, "Times New Roman", serif;
	font-size: 14px;
	line-height: 1.42;
	letter-spacing: -0.01em;
	color: #2a2925;
	max-width: 560px;
	font-weight: 400;
}

/* ==========================================================================
   Navigation layer
   ========================================================================== */

.tf-footer__nav {
	padding: 20px 0 18px;
	border-bottom: 1px solid rgba(17,17,17,.10);
}

.tf-footer__nav-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 30px;
	row-gap: 22px;
}

.tf-footer__column {
	position: relative;
	padding-right: 22px;
	min-width: 0;
}

.tf-footer__column:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 2px;
	right: 0;
	width: 1px;
	height: calc(100% - 4px);
	background: rgba(17,17,17,.08);
}

.tf-footer__heading {
	margin: 0 0 13px;
	font-family: "Noto Sans", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	color: #5a554d;
}

.tf-footer__menu {
	margin: 0;
}

.tf-footer__list,
.tf-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tf-footer__list li + li {
	margin-top: 8px;
}

.tf-footer__list a {
	font-family: "Noto Serif", Georgia, "Times New Roman", serif;
	font-size: 12px;
	line-height: 1.34;
	font-weight: 400;
	color: #23221e;
	text-decoration: none;
	transition: color 0.18s ease;
}

.tf-footer__list a:hover,
.tf-footer__list a:focus-visible {
	color: #f26422;
	outline: none;
}

/* ==========================================================================
   Legal layer
   ========================================================================== */

.tf-footer__legal {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding-top: 14px;
}

.tf-footer__copyright {
	margin: 0;
	font-family: "Noto Serif", Georgia, "Times New Roman", serif;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 400;
	color: #5a554d;
}

.tf-footer__legal-nav {
	margin: 0;
}

.tf-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0;
}

.tf-footer__legal-list li {
	position: relative;
}

.tf-footer__legal-list li:not(:last-child)::after {
	content: "|";
	display: inline-block;
	margin: 0 12px;
	color: #b0a89d;
}

.tf-footer__legal-list a {
	font-family: "Noto Serif", Georgia, "Times New Roman", serif;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 400;
	color: #4f4a43;
	text-decoration: none;
	transition: color 0.18s ease;
}

.tf-footer__legal-list a:hover,
.tf-footer__legal-list a:focus-visible {
	color: #f26422;
	outline: none;
}

/* ==========================================================================
   Compact / still desktop-like
   Keep 4 columns longer
   ========================================================================== */

@media (max-width: 1279px) {
	.tf-footer {
		margin-top: 76px;
	}

	.tf-footer__inner {
		padding: 26px 30px 20px;
	}

	.tf-footer__nav-grid {
		column-gap: 24px;
	}

	.tf-footer__column {
		padding-right: 18px;
	}

	.tf-footer__heading {
		font-size: 12px;
		margin-bottom: 12px;
	}

	.tf-footer__list a {
		font-size: 12px;
	}
}

/* ==========================================================================
   Two-column stage
   Delayed breakpoint + clearer grouping
   ========================================================================== */

@media (max-width: 979px) {
	.tf-footer {
		margin-top: 68px;
	}

	.tf-footer__inner {
		padding: 24px 26px 20px;
	}

	.tf-footer__brand {
		grid-template-columns: 1fr;
		row-gap: 12px;
		padding-bottom: 14px;
	}

	.tf-footer__brand-logo {
		padding-right: 0;
		padding-bottom: 0;
	}

	.tf-footer__brand-logo::after {
		display: none;
	}

	.tf-footer__logo {
		font-size: 36px;
	}

	.tf-footer__tagline {
		max-width: 100%;
		font-size: 14px;
	}

	.tf-footer__nav {
		padding: 18px 0 16px;
	}

	.tf-footer__nav-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 34px;
		row-gap: 28px;
	}

	.tf-footer__column {
		padding-right: 0;
	}

	.tf-footer__column::after {
		display: none;
	}

	.tf-footer__column:nth-child(n + 3) {
		padding-top: 6px;
		border-top: 1px solid rgba(17,17,17,.07);
	}

	.tf-footer__heading {
		font-size: 13px;
		margin-bottom: 12px;
	}

	.tf-footer__list li + li {
		margin-top: 8px;
	}

	.tf-footer__list a {
		font-size: 12px;
	}

	.tf-footer__legal {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.tf-footer__legal-list {
		justify-content: flex-start;
	}
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 767px) {
	.tf-footer {
		margin-top: 56px;
	}

	.tf-footer__inner {
		padding: 22px 20px 18px;
	}

	.tf-footer__brand {
		padding-bottom: 14px;
		row-gap: 10px;
	}

	.tf-footer__logo {
		font-size: 28px;
	}

	.tf-footer__tagline {
		font-size: 13px;
		line-height: 1.4;
	}

	.tf-footer__nav {
		padding: 16px 0 15px;
	}

	.tf-footer__nav-grid {
		grid-template-columns: 1fr;
		row-gap: 18px;
	}

	.tf-footer__column:nth-child(n + 3) {
		padding-top: 0;
		border-top: 0;
	}

	.tf-footer__heading {
		margin-bottom: 8px;
		font-size: 12px;
	}

	.tf-footer__list li + li {
		margin-top: 7px;
	}

	.tf-footer__list a {
		font-size: 12px;
		line-height: 1.36;
	}

	.tf-footer__legal {
		padding-top: 13px;
		gap: 9px;
	}

	.tf-footer__copyright {
		font-size: 12px;
	}

	.tf-footer__legal-list {
		display: block;
	}

	.tf-footer__legal-list li + li {
		margin-top: 7px;
	}

	.tf-footer__legal-list li::after {
		display: none !important;
	}

	.tf-footer__legal-list a {
		font-size: 12px;
		line-height: 1.45;
	}
}