/* Imply I.T. footer – fonts are self-hosted from ../fonts */

@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Chakra Petch";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("fonts/chakra-petch-latin-600-normal.woff2") format("woff2");
}

.implyit-footer {
	--ift-bg: #0b1220;
	--ift-text: #dbe2ec;
	--ift-muted: #97a1b3;
	--ift-heading: #8b97ab;
	--ift-accent: #8dbbff;
	--ift-rule: #1e2838;
	--ift-ok: #00d492;
	--ift-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ift-display: "Chakra Petch", "IBM Plex Sans", system-ui, sans-serif;

	background: var(--ift-bg);
	color: var(--ift-muted);
	font-family: var(--ift-sans);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	margin: 0;
	padding: 0;
}

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

.implyit-footer__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

/* Main grid: brand + three link columns */
.implyit-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) repeat(3, max-content);
	column-gap: 56px;
	row-gap: 40px;
	padding: 64px 0 40px;
}

.implyit-footer__brand {
	min-width: 0;
}

.implyit-footer__logo {
	display: inline-block;
	margin-bottom: 20px;
	text-decoration: none;
	border: 0;
	box-shadow: none;
}
.implyit-footer__logo img {
	display: block;
	width: 170px;
	max-width: 100%;
	height: auto;
}
.implyit-footer__logo-text {
	font-family: var(--ift-display);
	font-size: 24px;
	font-weight: 600;
	color: #fff;
}

.implyit-footer p {
	margin: 0;
	padding: 0;
}

.implyit-footer__tagline {
	max-width: 320px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ift-muted);
}

.implyit-footer__address {
	margin-top: 12px !important;
	font-size: 14px;
	color: var(--ift-muted);
}

.implyit-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.implyit-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-top: 20px !important;
}
.implyit-footer__social a {
	font-size: 14px;
}

.implyit-footer__heading {
	margin: 0 0 14px;
	padding: 0;
	font-family: var(--ift-display);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ift-heading);
}

.implyit-footer__links li {
	margin: 0;
	padding: 0;
}
.implyit-footer__links li + li {
	margin-top: 8px;
}

.implyit-footer a {
	color: var(--ift-text);
	text-decoration: none;
	border: 0;
	box-shadow: none;
	transition: color 0.15s ease;
}
.implyit-footer a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.implyit-footer a:focus-visible {
	outline: 2px solid var(--ift-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.implyit-footer__hours {
	color: var(--ift-muted);
}

.implyit-footer a.implyit-footer__cta {
	font-weight: 600;
	color: var(--ift-accent);
}

/* Bottom bar */
.implyit-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 20px 0 24px;
	border-top: 1px solid var(--ift-rule);
	font-size: 13px;
	color: var(--ift-muted);
}

.implyit-footer__copyright {
	font-size: 13px;
}

.implyit-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 0;
}

.implyit-footer__meta a {
	color: var(--ift-muted);
}
.implyit-footer__meta a:hover {
	color: var(--ift-text);
}

.implyit-footer a.implyit-footer__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.implyit-footer__meta nav {
	display: flex;
	align-items: center;
}
.implyit-footer__status + nav::before {
	content: "·";
	margin: 0 14px;
	color: var(--ift-muted);
}

.implyit-footer__status-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--ift-ok);
	box-shadow: 0 0 0 3px rgba(0, 212, 146, 0.15);
}

.implyit-footer__legal {
	display: flex;
	flex-wrap: wrap;
}
.implyit-footer__legal li + li::before {
	content: "·";
	margin: 0 5px;
}

/* Tablet: brand on its own row, three columns below */
@media (max-width: 960px) {
	.implyit-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 32px;
		padding-top: 48px;
	}
	.implyit-footer__brand {
		grid-column: 1 / -1;
	}
	.implyit-footer__tagline {
		max-width: 480px;
	}
}

/* Phone: one column, bottom bar stacked */
@media (max-width: 600px) {
	.implyit-footer__inner {
		padding: 0 20px;
	}
	.implyit-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		row-gap: 32px;
		padding-top: 40px;
	}
	.implyit-footer__grid > .implyit-footer__col:last-child {
		grid-column: 1 / -1;
	}
	.implyit-footer__bottom,
	.implyit-footer__meta {
		flex-direction: column;
		align-items: flex-start;
	}
	.implyit-footer__meta {
		gap: 10px;
	}
	.implyit-footer__status + nav::before {
		content: none;
	}
	.implyit-footer a {
		/* bigger tap targets */
		display: inline-block;
		padding: 2px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.implyit-footer a {
		transition: none;
	}
}
