/* =========================================================
   FOOTER – LAYOUT BAZOWY
   ========================================================= */
.custom-footer-div {
	background-image: url("./footer-only.png");
	background-repeat: no-repeat;
	background-position: top center;
	background-size: contain;  /* KLUCZOWE */
	opacity: 0.25;

}

.custom-footer-padding {
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    color: #ffffff;
	display: flex;
	line-height: 1.2em;
}

.custom-footer {
	position: relative;
}

/* OVERLAY REFERENCYJNY – POPRAWNY */
.custom-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	height: 100%;
	pointer-events: none;
	z-index: 999;
}

.custom-footer {
	background: #0f0f0f; /* docelowo czarny jak w referencji */
	color: #f2f2f2;
	font-family: "Josefin Sans", sans-serif;
	font-size: 15px;
	line-height: 1.55;
}

.custom-footer__inner {
    padding: 70px 55px 0 55px;
}

/* container Rey */
.custom-footer .rey-siteContainer {
	margin: 0 auto;
}

/* =========================================================
   UKŁAD GŁÓWNY – 2 STREFY
   ========================================================= */

.footer-layout {
	display: grid;
	grid-template-columns: 420px 1fr; /* BRAND | PRAWA STRONA */
	column-gap: 80px;
	align-items: start;
	margin-right: var(--main-gutter-size);
    margin-left: var(--main-gutter-size);
}

/* =========================================================
   LEWA STRONA – BRAND
   ========================================================= */
.footer-icon {
	fill: #FFFFFF;
	color: #FFFFFF;
	border-color: #FFFFFF;
	font-size: 20px
}

.footer-brand {
	font-size: 16px;
}

.footer-brand img {
	max-width: 220px;
	margin-bottom: 20px;
}

.footer-brand p {
	margin: 0 0 10px;
	opacity: 0.9;
}

.footer-brand a {
	color: #ffffff;
	text-decoration: none;
}

.footer-brand a:hover {
	opacity: 0.8;
}

.brand-info {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 1em;
}
.brand-info span {
	line-height: 1.6em;
}

.brand-desc {
	margin-bottom: 1.6em;
	font-size: 14px;
}

.brand-desc span {
	line-height: 1.4em;
	margin-left: 30px;
}
.brand-socials {
	display: flex;
	gap: 18px;
	margin-top: 22px;
	padding-left: 18px
}

.social-link {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	opacity: 0.9;
	transition: opacity 0.2s ease;
}

.social-link:hover {
	opacity: 1;
}

.social-icon {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* wyjątek: YouTube ma wypełniony play */
.social-icon polygon {
	fill: currentColor;
	stroke: none;
}

.brand-socials {
	display: flex;
	gap: 16px;
	margin-top: 20px;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #ffffff;
	text-decoration: none;
}

.social-link:hover {
	opacity: 0.8;
}

.social-link .icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
	display: block;
}

/* =========================================================
   PRAWA STRONA – MENU
   ========================================================= */

.footer-right {
	display: flex;
	flex-direction: column;
}


.footer-menus {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 48px;
}

/* nagłówki kolumn */
.footer-col h4 {
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 14px;
	color: #ffffff;
}

/* listy */
.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col ul li {
	margin-bottom: 7px;
}

.footer-col ul li a {
	color: #ffffff;
	opacity: 0.85;
	text-decoration: none;
}

.footer-col ul li a:hover {
	opacity: 1;
}

/* =========================================================
   NEWSLETTER – POD MENU, PRAWA STRONA
   ========================================================= */

.footer-newsletter {
	margin-top: 40px;
	width: 100%;
	max-width: none;              
	display: flex;
	align-items: center;          
	justify-content: center;    
	gap: 20px;
}

.footer-newsletter h4 {
	font-size: 14px;
	margin-bottom: 3px;
	min-width: 100px;
}

.footer-newsletter form {
	display: flex;
	gap: 12px;
	width: 100%;
	max-width: 640px; 
}

.footer-newsletter input {
	height: 38px;
	line-height: 38px;
}

.footer-layout .footer-newsletter button.footer-button {
	background: #000000;
	color: #ffffff;
	border: 1px solid #ffffff;	
	height: 38px;
	padding: 0 22px;
	cursor: pointer;
	font-size: 13px;
	line-height: 38px;
	white-space: nowrap;
	margin-top: 3px;
}
.footer-layout .footer-newsletter button.footer-button:hover {
	background: #ffffff;
	color: #000000;
	border: 1px solid #ffffff;	
}

footer .footer-layout .footer-newsletter .gform_footer {
	margin: 0;
	padding: 0;
}

footer .footer-layout .footer-newsletter .gform_footer input {
	margin: 0 0 2px 0;
	min-width: 250px;
}

/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
	margin-top: 48px;
	padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,0.2);
	font-size: 12px;
	opacity: 0.85;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
	.custom-footer__inner {
		padding: 48px 0;
	}
	.footer-layout {
		grid-template-columns: 1fr;
		row-gap: 48px;
	}
	.footer-brand {
		text-align: center;
	}
	.brand-info {
		justify-content: center;
	}
	.footer-brand {
		text-align: center;
	}

	.brand-socials {
		justify-content: center;
	}

	.footer-menus {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 32px;
		text-align: center
	}
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
	.footer-menus {
		grid-template-columns: 1fr;
		row-gap: 24px;
	}

	.footer-newsletter form {
		flex-direction: column;
		justify-content: flex-start;
	}

	.footer-newsletter button {
		width: 100%;
	}
	.footer-newsletter form {
		max-width: 100%;
	}
}
