/* Footer V2 — navy, 4 columns. Loaded only when ntt_ft_v2_enabled(). All values come from tokens.css. */

/* Hide the old (empty) Flatsome footer blocks while V2 is on */
#footer .footer_background,
#footer .footer-widgets,
#footer .absolute-footer {
	display: none;
}

.my-ft {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-color: var(--my-color-primary-dark);
	/* Soft brand-blue glows + fine diagonal lines, glows drift slowly */
	background-image:
		radial-gradient(40% 60% at 12% 0%, color-mix(in srgb, var(--my-color-secondary) 34%, transparent), transparent 70%),
		radial-gradient(45% 70% at 92% 100%, color-mix(in srgb, var(--my-color-primary) 70%, transparent), transparent 70%),
		radial-gradient(30% 40% at 60% 40%, color-mix(in srgb, var(--my-color-secondary) 12%, transparent), transparent 70%),
		repeating-linear-gradient(135deg, color-mix(in srgb, var(--my-color-text-invert) 4%, transparent) 0 1px, transparent 1px 22px);
	background-size: 160% 160%, 160% 160%, 200% 200%, auto;
	animation: my-ft-drift 22s ease-in-out infinite alternate;
	color: var(--my-color-text-invert-muted);
	font-family: var(--my-font-body);
	font-size: var(--my-fs-small);
	line-height: var(--my-lh-body);
	text-align: left;
}
@keyframes my-ft-drift {
	0% { background-position: 0% 0%, 100% 100%, 50% 50%, 0 0; }
	100% { background-position: 30% 20%, 70% 80%, 20% 70%, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.my-ft { animation: none; }
}

.my-ft .my-ft__wrap {
	box-sizing: border-box;
	max-width: var(--my-container);
	margin: 0 auto;
	padding: var(--my-space-8) var(--my-space-5) var(--my-space-5);
}

.my-ft .my-ft__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--my-space-7);
	margin: 0;
	padding: 0;
}

.my-ft .my-ft__col {
	min-width: 0;
	margin: 0;
	padding: 0;
}

/* Brand column */
.my-ft .my-ft__logo {
	display: inline-block;
	margin: 0 0 var(--my-space-4);
	padding: 0;
}
.my-ft .my-ft__logo--chip {
	padding: var(--my-space-2) var(--my-space-3);
	background-color: var(--my-color-bg);
	border-radius: 2px;
}
.my-ft .my-ft__logo img {
	display: block;
	border-radius: 2px;
	width: auto;
	max-width: 180px;
	max-height: 56px;
	margin: 0;
}
.my-ft .my-ft__logo-text {
	color: var(--my-color-text-invert);
	font-family: var(--my-font-heading);
	font-weight: var(--my-fw-bold);
}
.my-ft .my-ft__about {
	max-width: 36ch;
	margin: 0 0 var(--my-space-4);
	padding: 0;
	color: var(--my-color-text-invert-muted);
	font-size: var(--my-fs-small);
}
.my-ft .my-ft__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--my-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}
.my-ft .my-ft__chip {
	margin: 0;
	padding: var(--my-space-1) var(--my-space-3);
	border: 1px solid var(--my-glass-border);
	border-radius: var(--my-radius-pill);
	background-color: var(--my-glass-bg);
	color: var(--my-color-text-invert);
	font-size: var(--my-fs-xs);
	font-weight: var(--my-fw-semi);
	letter-spacing: var(--my-ls-caps-sm);
	list-style: none;
}

/* Column titles + lists */
.my-ft .my-ft__title {
	margin: 0 0 var(--my-space-4);
	padding: 0;
	color: var(--my-color-text-invert);
	font-family: var(--my-font-heading);
	font-size: var(--my-fs-lead);
	font-weight: var(--my-fw-bold);
	line-height: var(--my-lh-tight);
	letter-spacing: var(--my-ls-caps-sm);
	text-transform: uppercase;
}
.my-ft .my-ft__title::after {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	margin-top: var(--my-space-3);
	background-color: var(--my-color-secondary);
}
.my-ft .my-ft__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.my-ft .my-ft__list li {
	margin: 0;
	padding: var(--my-space-1) 0;
	color: var(--my-color-text-invert-muted);
	list-style: none;
}
.my-ft .my-ft__list a {
	color: var(--my-color-text-invert-muted);
	text-decoration: none;
	transition: color var(--my-dur) var(--my-ease);
}
.my-ft .my-ft__list a:hover,
.my-ft .my-ft__list a:focus-visible {
	color: var(--my-color-secondary);
	text-decoration: underline;
}

/* Contact rows: icon + text */
.my-ft .my-ft__list--contact li {
	display: flex;
	align-items: flex-start;
	gap: var(--my-space-3);
	padding: var(--my-space-2) 0;
}
.my-ft .my-ft__icon {
	flex: 0 0 auto;
	margin-top: 2px;
	color: var(--my-color-secondary);
}
.my-ft .my-ft__text {
	min-width: 0;
	color: var(--my-color-text-invert-muted);
	overflow-wrap: anywhere;
}
.my-ft .my-ft__list--contact a {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Bottom line */
.my-ft .my-ft__copy {
	margin: var(--my-space-7) 0 0;
	padding: var(--my-space-5) 0 0;
	border-top: 1px solid var(--my-line-on-dark);
	color: var(--my-color-text-invert-muted);
	font-size: var(--my-fs-xs);
	text-align: left;
}

/* Tablet: 2 columns */
@media (min-width: 550px) {
	.my-ft .my-ft__wrap {
		padding-left: var(--my-space-6);
		padding-right: var(--my-space-6);
	}
	.my-ft .my-ft__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--my-space-7) var(--my-space-6);
	}
}

/* Desktop: 4 columns, brand column wider */
@media (min-width: 850px) {
	.my-ft .my-ft__grid {
		grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
		gap: var(--my-space-7);
	}
	.my-ft .my-ft__copy {
		text-align: center;
	}
}
