.iqg-native-footer-location {
	position: relative;
	z-index: 1;
}

.iqg-footer {
	--iqg-footer-bg: #101410;
	--iqg-footer-panel: #151c15;
	--iqg-footer-text: #f5f7f2;
	--iqg-footer-muted: rgba(245, 247, 242, 0.62);
	--iqg-footer-soft: rgba(245, 247, 242, 0.42);
	--iqg-green-dark: #1a3a1a;
	--iqg-green: #2d6a2d;
	--iqg-leaf: #8fb34a;
	--iqg-line: rgba(245, 247, 242, 0.18);
	position: relative;
	margin-top: 0;
	background: var(--iqg-footer-bg);
	color: var(--iqg-footer-text);
	font-family: var(--iqg-font-text, "Azeret Mono", monospace);
}

.iqg-footer,
.iqg-footer * {
	box-sizing: border-box;
}

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

.iqg-footer-logo,
.iqg-footer-title,
.iqg-footer-heading {
	font-family: var(--iqg-font-heading, "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.iqg-footer-copy,
.iqg-footer-cta,
.iqg-footer-list a,
.iqg-footer-contact,
.iqg-footer-bottom,
.iqg-footer-legal a {
	font-family: var(--iqg-font-text, "Azeret Mono", monospace);
}

.iqg-footer-inner {
	width: min(1280px, calc(100% - 48px));
	margin: 0 auto;
	padding: clamp(72px, 8vw, 108px) 0 30px;
}

.iqg-footer-main {
	display: grid;
	grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
	gap: clamp(54px, 7vw, 104px);
	align-items: start;
}

.iqg-footer-lead {
	display: grid;
	gap: 24px;
}

.iqg-footer-logo {
	display: inline-flex;
	flex-direction: column;
	width: fit-content;
	line-height: 1;
}

.iqg-footer-logo-main {
	display: inline-flex;
	align-items: baseline;
	color: #fff;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: 0;
}

.iqg-footer-logo-i {
	color: var(--iqg-leaf);
}

.iqg-footer-logo-sub {
	margin-top: 8px;
	color: var(--iqg-footer-soft);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
}

.iqg-footer-title {
	max-width: 360px;
	margin: 0;
	color: #fff;
	font-size: clamp(29px, 2.7vw, 42px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: 0;
}

.iqg-footer-copy {
	max-width: 360px;
	margin: 0;
	color: var(--iqg-footer-muted);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.58;
}

.iqg-footer-cta {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	width: min(100%, 310px);
	min-height: 56px;
	padding: 0 22px;
	border: 1px solid rgba(245, 247, 242, 0.82);
	color: #fff;
	background: transparent;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease;
}

.iqg-footer-cta:hover,
.iqg-footer-cta:focus-visible {
	border-color: var(--iqg-leaf);
	color: var(--iqg-green-dark);
	background: var(--iqg-leaf);
	outline: none;
}

.iqg-footer-cta span {
	font-size: 24px;
	line-height: 1;
}

.iqg-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.iqg-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid transparent;
	border-radius: 999px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease;
}

.iqg-footer-social a:hover,
.iqg-footer-social a:focus-visible {
	border-color: var(--iqg-leaf);
	color: var(--iqg-green-dark);
	background: var(--iqg-leaf);
	outline: none;
}

.iqg-footer-nav {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px 32px;
	min-height: 320px;
	padding-left: clamp(48px, 6vw, 82px);
	border-left: 1px solid var(--iqg-line);
}

.iqg-footer-col {
	min-width: 0;
}

.iqg-footer-heading {
	margin: 0 0 22px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.iqg-footer-list {
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.iqg-footer-list a {
	color: var(--iqg-footer-muted);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	transition: color 160ms ease;
}

.iqg-footer-list a:hover,
.iqg-footer-list a:focus-visible {
	color: var(--iqg-leaf);
	outline: none;
}

.iqg-footer-list a.is-current,
body.post-type-archive-realizacja .iqg-footer-link-realizacje,
body.single-realizacja .iqg-footer-link-realizacje {
	color: #d3ea81;
	font-weight: 700;
	text-shadow: 0 0 16px rgba(143, 179, 74, 0.28);
}

.iqg-footer-contact {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(245, 247, 242, 0.1);
	color: var(--iqg-footer-soft);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.iqg-footer-contact a {
	color: #fff;
	transition: color 160ms ease;
}

.iqg-footer-contact a:hover,
.iqg-footer-contact a:focus-visible {
	color: var(--iqg-leaf);
	outline: none;
}

.iqg-footer-contact span:not(:last-child)::after {
	margin-left: 12px;
	color: rgba(245, 247, 242, 0.24);
	content: "/";
}

.iqg-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 34px;
	align-items: center;
	justify-content: space-between;
	margin-top: clamp(54px, 7vw, 84px);
	padding-top: 28px;
	border-top: 1px solid var(--iqg-line);
	color: rgba(245, 247, 242, 0.48);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}

.iqg-footer-bottom p {
	margin: 0;
}

.iqg-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	align-items: center;
}

.iqg-footer-legal a {
	color: rgba(245, 247, 242, 0.62);
	transition: color 160ms ease;
}

.iqg-footer-legal a:hover,
.iqg-footer-legal a:focus-visible {
	color: var(--iqg-leaf);
	outline: none;
}

@media (max-width: 980px) {
	.iqg-footer-main {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.iqg-footer-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-height: 0;
		padding-top: 42px;
		padding-left: 0;
		border-top: 1px solid var(--iqg-line);
		border-left: 0;
	}
}

@media (max-width: 720px) {
  .iqg-footer {
    margin-top: 0;
  }

	.iqg-footer-inner {
		width: min(100% - 32px, 1280px);
		padding: 58px 0 26px;
	}

	.iqg-footer-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 28px;
	}

	.iqg-footer-heading {
		margin-bottom: 16px;
		font-size: 15px;
	}

	.iqg-footer-list {
		gap: 10px;
	}

	.iqg-footer-list a {
		font-size: 12.5px;
	}

	.iqg-footer-contact {
		flex-direction: column;
		align-items: flex-start;
	}

	.iqg-footer-contact span:not(:last-child)::after {
		content: "";
	}

	.iqg-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 390px) {
	.iqg-footer-nav {
		gap: 30px 18px;
	}

	.iqg-footer-heading {
		font-size: 14.5px;
	}

	.iqg-footer-list a {
		font-size: 12px;
		line-height: 1.32;
	}
}

@media (max-width: 340px) {
	.iqg-footer-nav {
		grid-template-columns: 1fr;
	}
}
