/* =========================================================
   OfficePoint Kenya — Footer component v2
   Plain business footer; plugin-owned reusable component
   Prefix: op-
   ========================================================= */

.op-site-footer {
	--op-footer-max: 1360px;
	--op-footer-navy: #0a1624;
	--op-footer-brick: #a8443a;
	--op-footer-white: #ffffff;
	width: 100%;
	margin: 0;
	color: var(--op-footer-white);
	background: var(--op-footer-navy);
	border-top: 4px solid var(--op-footer-brick);
	font-family: "Source Sans 3", Arial, sans-serif;
}

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

.op-site-footer a,
.op-site-footer a:visited {
	color: inherit;
	text-decoration: none;
}

.op-site-footer__inner {
	width: min(var(--op-footer-max), calc(100% - 48px));
	margin-inline: auto;
}

.op-site-footer__main {
	padding: 54px 0 46px;
}

.op-site-footer__directory {
	display: grid;
	grid-template-columns: minmax(280px, 1.75fr) minmax(145px, 0.8fr) minmax(170px, 0.9fr) minmax(245px, 1.15fr);
	gap: clamp(34px, 4.5vw, 76px);
	align-items: start;
}

.op-site-footer__brand {
	max-width: 420px;
}

.op-site-footer__logo {
	display: block;
	width: min(224px, 100%);
	margin-bottom: 20px;
}

.op-site-footer__logo svg {
	display: block;
	width: 100%;
	height: auto;
}

.op-site-footer__brand p {
	max-width: 390px;
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.96rem;
	line-height: 1.65;
}

.op-site-footer__links {
	display: contents;
}

.op-site-footer__column h3,
.op-site-footer__contact h3 {
	margin: 2px 0 19px;
	color: var(--op-footer-white);
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.015em;
}

.op-site-footer__column ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.op-site-footer__column a,
.op-site-footer__contact > a,
.op-site-footer__contact address {
	color: rgba(255, 255, 255, 0.66);
	font-size: 0.9rem;
	font-style: normal;
	line-height: 1.45;
	transition: color 150ms ease;
}

.op-site-footer__column a:hover,
.op-site-footer__contact > a:hover {
	color: var(--op-footer-white);
}

.op-site-footer__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.op-site-footer__contact address {
	max-width: 280px;
	margin: 0 0 9px;
}

.op-site-footer__contact > a {
	margin-bottom: 7px;
	overflow-wrap: anywhere;
}

.op-site-footer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 15px;
	margin-top: 15px;
}

.op-site-footer__quote-link,
.op-site-footer__quote-link:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 14px;
	color: var(--op-footer-white);
	background: var(--op-footer-brick);
	border: 1px solid var(--op-footer-brick);
	border-radius: 2px;
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
	transition: background-color 150ms ease, border-color 150ms ease;
}

.op-site-footer__quote-link:hover {
	color: var(--op-footer-white);
	background: #88372f;
	border-color: #88372f;
}

.op-site-footer__whatsapp-link,
.op-site-footer__whatsapp-link:visited {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: rgba(255, 255, 255, 0.78);
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
}

.op-site-footer__whatsapp-link::before {
	width: 7px;
	height: 7px;
	margin-right: 8px;
	content: "";
	background: #25d366;
	border-radius: 50%;
}

.op-site-footer__whatsapp-link:hover {
	color: var(--op-footer-white);
}

.op-site-footer__bottom {
	padding: 17px 0;
	background: #07111d;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.op-site-footer__bottom-grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.op-site-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.48);
	font-size: 0.76rem;
	line-height: 1.5;
}

.op-site-footer__bottom p span {
	margin-left: 7px;
}

.op-site-footer__bottom p a {
	color: rgba(255, 255, 255, 0.78);
	font-weight: 600;
}

.op-site-footer__bottom nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 9px 20px;
}

.op-site-footer__bottom nav a {
	color: rgba(255, 255, 255, 0.54);
	font-size: 0.75rem;
	line-height: 1.3;
}

.op-site-footer__bottom a:hover {
	color: var(--op-footer-white);
}

@media (max-width: 980px) {
	.op-site-footer__directory {
		grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(150px, 0.8fr));
		gap: 42px 36px;
	}

	.op-site-footer__contact {
		grid-column: 1 / -1;
		padding-top: 30px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.op-site-footer__contact h3 {
		margin-bottom: 14px;
	}
}

@media (max-width: 680px) {
	.op-site-footer__inner {
		width: min(100% - 36px, var(--op-footer-max));
	}

	.op-site-footer__main {
		padding: 40px 0 34px;
	}

	.op-site-footer__directory {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 22px;
	}

	.op-site-footer__brand {
		grid-column: 1 / -1;
		max-width: none;
		padding-bottom: 30px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.op-site-footer__logo {
		width: 200px;
		margin-bottom: 16px;
	}

	.op-site-footer__brand p {
		max-width: 500px;
		font-size: 0.91rem;
	}

	.op-site-footer__column h3,
	.op-site-footer__contact h3 {
		margin-bottom: 15px;
	}

	.op-site-footer__column ul {
		gap: 9px;
	}

	.op-site-footer__column a,
	.op-site-footer__contact > a,
	.op-site-footer__contact address {
		font-size: 0.87rem;
	}

	.op-site-footer__contact {
		grid-column: 1 / -1;
		padding-top: 28px;
	}

	.op-site-footer__bottom-grid {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.op-site-footer__bottom p span {
		display: block;
		margin: 2px 0 0;
	}

	.op-site-footer__bottom nav {
		justify-content: flex-start;
	}
}

@media (max-width: 360px) {
	.op-site-footer__directory {
		grid-template-columns: 1fr;
	}

	.op-site-footer__brand,
	.op-site-footer__contact {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.op-site-footer *,
	.op-site-footer *::before,
	.op-site-footer *::after {
		transition-duration: 0.01ms !important;
	}
}
