/*!
 * Influenzic Gen 2 — Pre-Footer CTA Banner & Footer
 *
 * @package influenzic
 */

.g2-cta-band {
	background:
		radial-gradient(620px 320px at 78% 45%, rgba(var(--g2-primary-rgb), 0.52), transparent 72%),
		linear-gradient(135deg, #12142b 0%, #242168 58%, var(--g2-dark) 100%);
	color: var(--g2-bg-white);
	padding: 32px 0;
	position: relative;
	overflow: hidden;
}

.g2-script-accent {
	font-family: "Kaushan Script", cursive;
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 1.2;
	display: inline-block;
	width: fit-content;
	position: relative;
	padding-bottom: 24px;
	margin-bottom: 8px;
	color: #ffffff;
}

.g2-script-accent::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 25px;
	background: url("../../../images/gen2/brush-underline.svg") center no-repeat;
	background-size: 100%;
	filter: brightness(0) invert(1);
}

.g2-cta-band__grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr auto;
	gap: 32px;
	align-items: center;
}

.g2-cta-band__title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.g2-cta-crown {
	flex-shrink: 0;
}

.g2-cta-band__sub {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.84);
	max-width: 440px;
}

.g2-cta-band__mid {
	padding-left: 28px;
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.g2-cta-band__mint-head {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #34d399;
	margin-bottom: 12px;
}

.g2-cta-band__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.94);
}

.g2-cta-band__list li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.g2-cta-band__list svg {
	color: #34d399;
	flex-shrink: 0;
}

.g2-cta-band__right {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.g2-cta-band__kicker {
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
}

.g2-cta-band__mint-big {
	font-size: 22px;
	font-weight: 800;
	color: #34d399;
	margin-bottom: 10px;
}

.g2-cta-band--simple {
	background: var(--g2-cta-gradient);
	padding: 44px 0;
}

.g2-cta-band__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.g2-cta-band--simple h2 {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 800;
	color: #ffffff;
}

.g2-cta-band--simple p {
	margin: 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
	.g2-cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.g2-cta-band__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.g2-cta-band__mid {
		padding-left: 0;
		padding-top: 20px;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.16);
	}
}

.g2-footer {
	background: var(--g2-bg-dark);
	color: var(--g2-text-on-dark-muted);
	padding: 56px 0 28px;
}

.g2-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, 0.8fr) 1.5fr;
	gap: 28px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--g2-border-dark);
}

.g2-footer__brand p {
	font-size: 13px;
	line-height: 1.55;
	margin: 12px 0 8px;
}

.g2-footer__addr {
	font-size: 12px;
	color: #64748b;
}

.g2-footer__title {
	margin: 0 0 12px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--g2-bg-white);
}

.g2-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
}

.g2-footer__links a {
	color: var(--g2-text-on-dark-muted);
	text-decoration: none;
}

.g2-footer__links a:hover {
	color: var(--g2-bg-white);
}

.g2-footer__col--cont {
	padding-top: 28px;
}

.g2-footer__nl p {
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 12px;
}

.g2-nl-form__row {
	display: flex;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.10);
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.g2-nl-form__row:focus-within {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.12);
}

.g2-nl-form__row input {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	background: transparent;
	color: #ffffff;
	padding: 12px 14px;
	font-size: 13.5px;
}

.g2-nl-form__row input::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.g2-nl-form__row .g2-btn {
	flex-shrink: 0;
	border-radius: 0;
	border: none;
	padding: 12px 18px;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.g2-nl-form .inzc-nl__msg {
	margin: 8px 0 0;
	font-size: 12px;
	color: #93c5fd;
}

.g2-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 22px;
	font-size: 12.5px;
}

@media (max-width: 1024px) {
	.g2-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.g2-cta-band {
		padding: 40px 0;
	}

	.g2-cta-band__grid {
		gap: 20px;
	}

	.g2-cta-band__inner,
	.g2-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.g2-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.g2-footer__brand {
		grid-column: 1 / -1;
		order: 1;
	}

	.g2-footer__grid > div:nth-child(2) {
		order: 2;
	}

	.g2-footer__grid > div:nth-child(5) {
		order: 3;
	}

	.g2-footer__grid > div:nth-child(3) {
		order: 4;
	}

	.g2-footer__grid > div:nth-child(4) {
		order: 5;
	}

	.g2-footer__nl,
	.g2-footer__grid > div:nth-child(6) {
		grid-column: 1 / -1;
		order: 6;
	}
}
