/* =============================================================
   STROBLE — Footer
   Reverse-engineered z stroble.pl 2026-04-07
   - USP bar (4 items, flex row, gap 30px, padding 30px 0)
   - Footer główny (4 kolumny, container 1200, padding 30 0)
   - Bottom bar (copyright)
   ============================================================= */

.stroble-footer {
	margin-top: 60px;
	background: #FFFFFF;
}

/* === USP bar (powyżej main footera) — 4 kolumny równe === */
.stroble-footer-usp {
	background: #FFFFFF;
	padding: 40px 0;
	border-top: 1px solid #F6F6F8;
}

.stroble-footer-usp__grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 13px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	align-items: start;
}

.stroble-footer-usp__item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	min-width: 0;
}

.stroble-footer-usp__icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #D3B7AE;
}

.stroble-footer-usp__icon img,
.stroble-footer-usp__icon svg {
	width: 20px;
	height: 20px;
	max-width: 20px;
	max-height: 20px;
	object-fit: contain;
	fill: currentColor;
	display: block;
}

.stroble-footer-usp__content {
	min-width: 0;
	flex: 1;
}

.stroble-footer-usp__title {
	margin: 0 0 6px;
	font-family: Poppins, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	color: #151515;
}

.stroble-footer-usp__text {
	margin: 0;
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 300;
	line-height: 19px;
	color: #5E6573;
}

/* === Main footer === */
.stroble-footer__main {
	background: var(--stroble-color-bg-alt);
	padding: 60px 0 40px;
}

.stroble-footer__grid {
	max-width: var(--stroble-container-max);
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 50px;
}

.stroble-footer__col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.stroble-footer__col--brand img {
	max-height: 60px;
	width: auto;
}

.stroble-footer__col--brand .stroble-logo-text {
	font-family: var(--stroble-font-display);
	font-size: 24px;
	font-weight: var(--stroble-fw-semibold);
	color: var(--stroble-color-text);
	text-decoration: none;
}

.stroble-footer__tagline {
	margin: 0;
	font-size: 14px;
	color: var(--stroble-color-text-mid);
	max-width: 28ch;
	line-height: 21px;
}

.stroble-footer__title {
	margin: 0 0 4px;
	font-family: var(--stroble-font-body);
	font-size: 16px;
	font-weight: var(--stroble-fw-semibold);
	line-height: 24px;
	color: var(--stroble-color-text-mid);
}

.stroble-footer__menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.stroble-footer__menu li,
.stroble-footer__menu .menu-item {
	margin: 0;
}

.stroble-footer__menu a {
	display: inline-flex;
	align-items: center;
	font-family: var(--stroble-font-body);
	font-size: 14px;
	font-weight: var(--stroble-fw-regular);
	line-height: 21px;
	color: var(--stroble-color-brown);
	text-decoration: none;
	transition: color var(--stroble-transition-fast);
}

.stroble-footer__menu a:hover {
	color: var(--stroble-color-brown-dark);
}

.stroble-footer__brand {
	margin-bottom: 12px;
}

.stroble-footer__address {
	font-style: normal;
	font-size: 14px;
	line-height: 22px;
	color: #5E6573;
	margin-bottom: 6px;
}

.stroble-footer__address p {
	margin: 0 0 4px;
}

.stroble-footer__contact {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.stroble-footer__contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	color: #5E6573;
}

.stroble-footer__contact-item svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	stroke: #B38271;
	fill: none;
}

.stroble-footer__contact-item a {
	color: #5E6573;
	text-decoration: none;
	transition: color 0.2s ease;
}

.stroble-footer__contact-item a:hover {
	color: #B38271;
}

.stroble-footer__pgpo {
	margin-top: 12px;
	max-width: 110px;
	height: auto;
}

.stroble-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}

.stroble-footer__social a,
.stroble-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: #B38271;
	color: #FFF;
	border-radius: 50%;
	transition: background 0.2s ease;
}

.stroble-footer__social a:hover,
.stroble-footer__social-link:hover {
	background: #875849;
}

.stroble-footer__social svg,
.stroble-footer__social-link svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	display: block;
}

/* === Bottom bar === */
.stroble-footer__bottom {
	background: var(--stroble-color-bg-alt);
	padding: 20px 0;
	border-top: 1px solid #E5E5E8;
}

.stroble-footer__bottom-inner {
	max-width: var(--stroble-container-max);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.stroble-footer__copyright {
	margin: 0;
	font-size: 12px;
	color: var(--stroble-color-text-light);
}

.stroble-footer__signature {
	margin: 0;
	font-family: Poppins, sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #878D9D;
}

/* === Floating socials === */
.stroble-floating-socials {
	position: fixed;
	top: 50%;
	left: 0;
	z-index: 850;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transform: translateY(-50%);
	pointer-events: none;
}

.stroble-floating-socials__link {
	width: 132px;
	height: 44px;
	padding: 0 12px 0 16px;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	background: #FFFFFF;
	color: #31343C;
	border: 1px solid #ECE7E3;
	border-left: 0;
	border-radius: 0 6px 6px 0;
	box-shadow: 0 8px 22px rgba(49, 52, 60, 0.12);
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transform: translateX(-88px);
	transition: transform 0.24s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	pointer-events: auto;
}

.stroble-floating-socials__link:hover,
.stroble-floating-socials__link:focus-visible {
	background: #B38271;
	color: #FFFFFF;
	border-color: #B38271;
	transform: translateX(0);
	outline: none;
}

.stroble-floating-socials__label {
	white-space: nowrap;
}

.stroble-floating-socials__icon {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
}

.stroble-floating-socials__icon svg {
	width: 20px;
	height: 20px;
	display: block;
}

/* ===== Mobile ===== */
@media (max-width: 1024px) {
	.stroble-footer-usp__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 30px;
	}
	.stroble-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.stroble-footer-usp {
		padding: 30px 0;
	}
	.stroble-footer-usp__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.stroble-footer__main {
		padding: 40px 0 30px;
	}
	.stroble-floating-socials {
		display: none;
	}
}

@media (max-width: 480px) {
	.stroble-footer__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.stroble-floating-socials__link {
		transition: none;
	}
}
