/* =========================================================
   ZG8 LAB Custom Footer
   Bright #AFF502 base, optional dashboard-uploaded grid,
   responsive columns, and scroll-triggered accents.
   ========================================================= */

.zg8lf,
.zg8lf *,
.zg8lf *::before,
.zg8lf *::after {
	box-sizing: border-box;
}

.zg8lf {
	--zg8lf-green: #aff502;
	--zg8lf-ink: #151b0e;
	--zg8lf-muted: rgba(21, 27, 14, 0.78);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: block;
	width: 100%;
	margin: 0;
	padding: clamp(44px, 6.2vw, 76px) clamp(20px, 4.5vw, 58px) 18px;
	background: var(--zg8lf-green);
	color: var(--zg8lf-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.zg8lf__grid {
	position: absolute;
	z-index: -1;
	inset: 0;
	background-color: transparent;
	background-position: center;
	background-repeat: repeat;
	background-size: cover;
	opacity: 0.22;
	pointer-events: none;
}

.zg8lf__inner {
	position: relative;
	z-index: 1;
	width: min(100%, 1200px);
	margin: 0 auto;
}

.zg8lf__columns {
	display: grid;
	grid-template-columns: minmax(235px, 1.1fr) minmax(175px, 0.95fr) minmax(245px, 1fr);
	gap: clamp(30px, 6vw, 88px);
	align-items: start;
}

.zg8lf__brand,
.zg8lf__links,
.zg8lf__contact {
	min-width: 0;
}

.zg8lf__logo-link {
	display: inline-flex;
	align-items: flex-start;
	max-width: 100%;
	margin-bottom: clamp(18px, 2.2vw, 28px);
	text-decoration: none;
}

.zg8lf__logo {
	display: block;
	width: var(--zg8lf-logo-w, 180px);
	height: var(--zg8lf-logo-h, 105px);
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

.zg8lf__logo-fallback {
	display: inline-block;
	color: var(--zg8lf-ink);
	font-family: "Arial Black", Impact, sans-serif;
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 900;
	line-height: 0.84;
	letter-spacing: -3px;
}



.zg8lf__headline {
	position: relative;
	margin: 0 0 10px;
	color: #000000;
	font-family: "Arial Black", Impact, sans-serif;
	font-size: clamp(27px, 3vw, 39px);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -1.7px;

	/* White outline */
	text-shadow:
		2px 2px 0 #ffffff,
		-2px -2px 0 #ffffff,
		2px -2px 0 #ffffff,
		-2px 2px 0 #ffffff;
}

.zg8lf__grow { position: relative; z-index: 0; display: inline-block; color: #ffffff; text-shadow: 2px 2px 0 var(--zg8lf-ink), -1px -1px 0 var(--zg8lf-ink), 1px -1px 0 var(--zg8lf-ink), -1px 1px 0 var(--zg8lf-ink); }


.zg8lf__grow::after {
	position: absolute;
	z-index: -1;
	top: -7px;
	left: -14px;
	width: calc(100% + 28px);
	height: calc(100% + 13px);
	border: 2px solid #ffffff;
	border-radius: 50%;
	content: "";
	opacity: 0;
	transform: rotate(-6deg) scale(0.97);
	transform-origin: center;
	clip-path: inset(0 100% 0 0);
}

.zg8lf.is-visible .zg8lf__grow::after {
	animation: zg8lf-draw-ellipse 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.zg8lf__description {
	max-width: 285px;
	margin: 0 0 16px;
	color: var(--zg8lf-ink);
	font-size: clamp(12px, 1.15vw, 14px);
	font-weight: 700;
	line-height: 1.28;
}

.zg8lf__together {
	display: inline;
	padding: 0 4px;
	background: transparent;
	transition: background-color 0.38s ease 0.45s, color 0.38s ease 0.45s;
}

.zg8lf.is-visible .zg8lf__together {
	background: #ffffff;
	color: var(--zg8lf-ink);
}

.zg8lf__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 40px;
	padding: 10px 23px;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 7px 13px rgba(21, 27, 14, 0.16);
	color: var(--zg8lf-ink);
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zg8lf__cta:hover,
.zg8lf__cta:focus-visible {
	box-shadow: 0 10px 18px rgba(21, 27, 14, 0.22);
	color: var(--zg8lf-ink);
	transform: translateY(-2px);
}

.zg8lf__cta svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.zg8lf h3 {
	display: inline-block;
	margin: 5px 0 18px;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--zg8lf-muted);
	color: var(--zg8lf-ink);
	font-family: "Arial Black", Impact, sans-serif;
	font-size: clamp(18px, 2vw, 23px);
	line-height: 1;
}

.zg8lf__menu {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zg8lf__menu li {
	margin: 0;
	padding: 0;
}

.zg8lf__menu li::before,
.zg8lf__menu li::after {
	content: none;
}

.zg8lf__menu a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--zg8lf-muted);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.zg8lf__menu a::before {
	content: "»";
	color: var(--zg8lf-ink);
	font-size: 23px;
	font-weight: 900;
	line-height: 0.6;
}

.zg8lf__menu a:hover,
.zg8lf__menu a:focus-visible {
	color: var(--zg8lf-ink);
	transform: translateX(3px);
}

.zg8lf__contact-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 25px;
	padding: 0;
	list-style: none;
}

.zg8lf__contact-list li,
.zg8lf__contact-list a {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--zg8lf-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.zg8lf__contact-list a:hover,
.zg8lf__contact-list a:focus-visible {
	color: var(--zg8lf-ink);
}

.zg8lf__contact-list svg {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.zg8lf__social-title {
	margin-top: 3px !important;
	margin-bottom: 16px !important;
}

.zg8lf__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.zg8lf__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: var(--zg8lf-ink);
	color: #AFF502;
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.zg8lf__social:hover,
.zg8lf__social:focus-visible {
	background: #ffffff;
	color: var(--zg8lf-ink);
	transform: translateY(-2px);
}

.zg8lf__social svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.zg8lf__social:nth-child(2) svg,
.zg8lf__social:nth-child(3) svg,
.zg8lf__social:nth-child(4) svg {
	fill: currentColor;
	stroke: none;
}

.zg8lf__bottom {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1.1fr;
	gap: 20px;
	align-items: center;
	margin-top: clamp(38px, 5.5vw, 70px);
	padding-top: 13px;
	border-top: 1px solid rgba(21, 27, 14, 0.24);
	color: var(--zg8lf-muted);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
}

.zg8lf__bottom p {
	margin: 0;
}

.zg8lf__bottom p:nth-child(2) {
	text-align: center;
}

.zg8lf__bottom p:last-child {
	text-align: right;
}

.zg8lf__bottom a {
	color: inherit;
	text-decoration: none;
}

.zg8lf__bottom a:hover,
.zg8lf__bottom a:focus-visible {
	color: var(--zg8lf-ink);
	text-decoration: underline;
}

@keyframes zg8lf-draw-ellipse {
	0% {
		opacity: 0;
		clip-path: inset(0 100% 0 0);
		transform: rotate(-6deg) scale(0.97);
	}
	30% {
		opacity: 1;
	}
	100% {
		opacity: 1;
		clip-path: inset(0 0 0 0);
		transform: rotate(-6deg) scale(1);
	}
}

@media (max-width: 900px) {
	.zg8lf__columns {
		grid-template-columns: minmax(220px, 1fr) minmax(200px, 1fr);
		gap: 44px 50px;
	}

	.zg8lf__brand {
		grid-row: span 2;
	}

	.zg8lf__bottom {
		grid-template-columns: 1fr 1fr;
	}

	.zg8lf__bottom p:last-child {
		grid-column: 1 / -1;
		text-align: center;
	}
}

@media (max-width: 600px) {
	.zg8lf {
		padding: 42px 20px 18px;
	}

	.zg8lf__columns {
		display: flex;
		flex-direction: column;
		gap: 35px;
	}

	.zg8lf__brand,
	.zg8lf__links,
	.zg8lf__contact {
		width: 100%;
	}

	.zg8lf__brand {
		order: 1;
	}

	.zg8lf__links {
		order: 2;
	}

	.zg8lf__contact {
		order: 3;
	}

	.zg8lf__logo-link {
		margin-bottom: 20px;
	}

	.zg8lf__headline {
		font-size: clamp(28px, 9vw, 38px);
	}

	.zg8lf__desktop-break {
		display: none;
	}

	.zg8lf h3 {
		margin-top: 0;
	}

	.zg8lf__bottom {
		display: flex;
		flex-direction: column;
		gap: 9px;
		margin-top: 42px;
		text-align: center;
	}

	.zg8lf__bottom p:nth-child(2),
	.zg8lf__bottom p:last-child {
		text-align: center;
	}
}

@media (max-width: 360px) {
	.zg8lf {
		padding-right: 15px;
		padding-left: 15px;
	}

	.zg8lf__description {
		font-size: 12px;
	}

	.zg8lf__socials {
		gap: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zg8lf *,
	.zg8lf *::before,
	.zg8lf *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}