/* ══════════════════════════════════════════════════════════════
   FOOTER STYLES
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
FOOTER DESIGN TOKENS
══════════════════════════════════════════════ */
.site-footer {
	--ft-accent: #00A1E0;
	--ft-accent-glow: rgba(20, 147, 101, 0.25);
	--ft-text: #ffffff;
	--ft-text-faint: #6b7a8d;
	--ft-tr: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── FOOTER SHELL ── */
.site-footer {
	width: 100%;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	position: relative;
	overflow: hidden;
	color: var(--ft-text);
	box-sizing: border-box;
}

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

.site-footer a {
	color: inherit;
	text-decoration: none;
}
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-footer button {
	background: none;
	border: none;
	font: inherit;
}

.footer-inner {
	position: relative;
	z-index: 1;
	margin: 0 auto;
	padding-top: 100px;
}

/* ════════════════════════════════════════════
TOP ROW: logo | app label + store buttons + social
════════════════════════════════════════════ */
.footer-brand-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 32px;
}

.footer-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.footer-logo__img {
	height: 40px;
	width: auto;
	display: block;
}

.footer-brand-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.footer-app-label {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

.footer-app-label__title {
	font-size: 13px;
	font-weight: 600;
	color: var(--ft-text);
}

.footer-app-label__sub {
	font-size: 11px;
	color: var(--ft-text-faint);
}

.footer-apps {
	display: flex;
	/* 	flex-direction: column; */
	gap: 8px;
	flex-shrink: 0;
}

.footer-apps .app-store-img{
	height: 32px;
	width: auto;
	display: block;
	transition: transform var(--ft-tr), opacity var(--ft-tr);
}

.footer-apps picture,
.footer-apps img{
	height: 32px;
	width: auto;
	display: block;
	transition: transform var(--ft-tr), opacity var(--ft-tr);
}

.app-store-img:hover {
	transform: translateY(-2px);
	opacity: 0.88;
}

/* ── SOCIAL BUTTONS ── */
.social-btn {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--ft-accent);
	border: 1px solid var(--ft-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 16px;
	transition: transform var(--ft-tr), box-shadow var(--ft-tr);
}
.social-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px var(--ft-accent-glow);
}

.social-btn--sm {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	font-size: 14px;
}

/* ════════════════════════════════════════════
NAV — 5 columns in one row
════════════════════════════════════════════ */
.footer-nav {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 40px 24px;
	padding: 40px 0 44px;
	align-items: start;
}


.footer-col__title {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ft-text);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 14px;
	background-image: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.8) 0%,
		rgba(255, 255, 255, 0) 40%,
		transparent 100%
	);
	background-size: 100% 1px;
	background-repeat: no-repeat;
	background-position: bottom;
	margin-bottom: 18px;
	user-select: none;
	position: relative;
}

/* .footer-col__links.footer-col__links--solutions{
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
} */

@media (min-width: 769px) {
	.footer-col__title::after {
		content: "";
		position: absolute;
		bottom: -1px;
		left: 0;
		width: 24px;
		height: 2px;
		background: var(--ft-accent);
		border-radius: 2px;
	}
}

.footer-col__chevron {
	display: none;
	width: 16px;
	height: 16px;
	color: var(--ft-text-faint);
	transition: transform var(--ft-tr);
	flex-shrink: 0;
}

.footer-col__links {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.footer-col__links li a {
	font-size: 14px;
	font-weight: 400;
	color: var(--ft-text);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1.4;
	position: relative;
	padding-bottom: 2px;
	transition: color var(--ft-tr);
}

.footer-col__links li a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.6);
	transition: width var(--ft-tr);
}
.footer-col__links li a:hover::after {
	width: 100%;
}

/* ════════════════════════════════════════════
BOTTOM BAR
════════════════════════════════════════════ */
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	flex-wrap: wrap;
}

.footer-bottom__legal {
	display: flex;
	align-items: center;
	gap: 24px !important;
	flex-wrap: wrap;
}

.footer-bottom__legal-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--ft-text);
}

.footer-bottom__legal a {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	transition: color var(--ft-tr);
	position: relative;
}
.footer-bottom__legal a:hover {
	color: #ffffff;
}
.footer-bottom__legal a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.6);
	transition: width var(--ft-tr);
}
.footer-bottom__legal a:hover::after {
	width: 100%;
}

.footer-bottom__follow {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-bottom__follow-label {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	margin-right: 4px;
}

/* ════════════════════════════════════════════
COPYRIGHT ROW
════════════════════════════════════════════ */
.footer-copyright {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0 32px;
}

.footer-bottom__copy {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
	margin: 0;
}

.footer-bottom__copy a {
	color: rgba(255, 255, 255, 0.80);
	font-weight: 600;
	transition: color var(--ft-tr);
	position: relative;
}
.footer-bottom__copy a:hover {
	color: rgba(255, 255, 255, 1);
	font-weight: 600;
}
.footer-bottom__copy a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.6);
	transition: width var(--ft-tr);
}
.footer-bottom__copy a:hover::after {
	width: 100%;
}

.footer-system-status {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
	transition: color var(--ft-tr);
}
.footer-system-status:hover {
	color: #ffffff;
}

/* ════════════════════════════════════════════
TABLET ≤ 980px
════════════════════════════════════════════ */
@media (max-width: 980px) {
	.footer-nav {
		grid-template-columns: repeat(3, 1fr);
		gap: 36px 20px;
	}
	.footer-inner {
		padding-top: 80px;
	}
}

/* ════════════════════════════════════════════
MOBILE ≤ 768px — base accordion
════════════════════════════════════════════ */
@media (max-width: 768px) {
	.footer-inner {
		padding-top: 60px;
	}

	.footer-brand-top {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding-bottom: 28px;
	}

	.footer-brand-right {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.footer-app-label {
		align-items: flex-start;
	}

	.footer-apps {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 10px;
	}
	.app-store-img {
		height: 35px;
	}

	.footer-nav {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 0 0 8px;
		border-bottom: none;
	}


	/* col title */
	.footer-col__title {
		padding: 16px 0;
		margin-bottom: 0;
		cursor: pointer;
		background-image: none;
	}
	.footer-col__title::after {
		display: none !important;
	}
	.footer-col__chevron {
		display: block;
	}

	/* normal col chevron rotate */
	.footer-col.is-open > .footer-col__title > .footer-col__chevron {
		transform: rotate(180deg);
	}

	/* normal col links */
	.footer-col__links {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.35s;
		gap: 0;
		padding-bottom: 0;
	}
	.footer-col__links li a {
		padding: 10px 0;
		font-size: 13.5px;
	}
	.footer-col.is-open > .footer-col__links {
		max-height: 800px;
		padding-bottom: 16px;
		gap: 0;
	}

	.footer-col__links.footer-col__links--solutions{
		display: flex;
		grid-template-columns: unset;
	}

	.footer-bottom {
		align-items: flex-start;
		gap: 14px;
		padding: 20px 0;
	}
	.footer-bottom__legal {
		gap: 14px !important;
	}
}

@media (max-width: 576px) {
	.footer-bottom {
		flex-direction: column;
	}
}


/* ════════════════════════════════════════════
DOUBLE COL — Company + Other Products
════════════════════════════════════════════ */
.footer-col--double {
	display: flex;
	flex-direction: column;
}

.footer-col__title--spaced {
	margin-top: 28px;
}

@media (max-width: 768px) {
	.footer-col__title--spaced {
		margin-top: 0;
	}

	/* double col: each title controls its own links via JS inline style */
	.footer-col--double .footer-col__title.is-open .footer-col__chevron {
		transform: rotate(180deg);
	}

	/* double col links start closed — JS overrides with inline style */
	.footer-col--double .footer-col__links {
		max-height: 0;
		overflow: hidden;
		padding-bottom: 0;
		transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.35s;
	}
}

/* ════════════════════════════════════════════
SOLUTIONS — desktop
════════════════════════════════════════════ */
.solutions-group {
	list-style: none;
	margin-bottom: 4px;
}

.solutions-subhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 6px;
}

.solutions-children {
	list-style: none;
	margin: 0 0 14px 0;
	padding: 0 0 0 8px !important;
	border-left: 1.5px solid rgba(20, 147, 101, 0.3);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.solutions-children li a {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	transition: color var(--ft-tr);
	position: relative;
}

.solutions-children li a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.6);
	transition: width var(--ft-tr);
}
.solutions-children li a:hover::after {
	width: 100%;
}

.solutions-children li a:hover {
	color: #ffffff;
}
/* .solutions-children li a::after {
display: none;
} */

/* ════════════════════════════════════════════
SOLUTIONS — mobile accordion
════════════════════════════════════════════ */
@media (max-width: 768px) {

	.solutions-subhead {
		cursor: pointer;
		padding: 10px 0;
		margin-bottom: 0;
	}

	.solutions-subhead .footer-col__chevron {
		display: block;
		width: 16px;
		height: 16px;
		flex-shrink: 0;
		color: rgba(255, 255, 255, 0.5);
		transform: rotate(0deg);
		transition: transform var(--ft-tr);
	}

	/* arrow rotate — only when THIS group is open */
	.solutions-group.is-open > .solutions-subhead .footer-col__chevron {
		transform: rotate(180deg);
	}

	/* children always start closed on mobile — JS controls via inline style */
	.solutions-children {
		max-height: 0 !important;
		overflow: hidden;
		margin-bottom: 0;
		padding-bottom: 0;
		transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.35s, margin-bottom 0.35s;
	}

	/* when group is open, JS sets inline style — CSS allows it */
	.solutions-group.is-open > .solutions-children {
		max-height: 600px !important;
		padding-bottom: 10px;
		margin-bottom: 4px;
	}
}

@media (min-width: 769px) {
	.solutions-subhead .footer-col__chevron {
		display: none;
	}
}
