/* -------------------------------------------------------------------------
   Universal site footer
   ------------------------------------------------------------------------- */

.site-content {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.site-content > .home-final-cta:last-child {
	margin-bottom: 0 !important;
}

.site-footer {
	background: #1a532b;
	color: #ffffff;
	margin-top: 0 !important;
	position: relative;
	z-index: 2;
}

/* Cover any leftover white strip above the footer */
.site-footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -40px;
	height: 40px;
	background: #32A852;
	pointer-events: none;
	z-index: -1;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: color 0.15s ease;
}

.site-footer a:hover {
	color: #ffb320;
}

.site-footer__main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2rem 1.5rem;
	max-width: 1120px;
	margin: 0 auto;
	padding: 3rem 1.5rem 2.25rem;
}

.site-footer__logo {
	display: inline-block;
	margin-bottom: 0.9rem;
}

.site-footer__logo img {
	height: 44px;
	width: auto;
	filter: brightness(1.05);
}

.site-footer__tagline {
	margin: 0 0 1.1rem;
	max-width: 280px;
	font-size: 0.9rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.site-footer__social {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.9);
}

.site-footer__fb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	color: #fff;
}

.site-footer__fb:hover {
	background: #1877f2;
	border-color: #1877f2;
	color: #fff;
}

.site-footer__heading {
	margin: 0 0 0.9rem;
	font-size: 1rem;
	font-weight: 800;
	color: #fff;
}

.site-footer__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.site-footer__col a {
	font-size: 0.9rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.88);
}

.site-footer__dubai {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.85rem;
	max-width: 1120px;
	margin: 0 auto;
	padding: 1rem 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.85rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}

.site-footer__dubai strong {
	color: #fff;
	font-weight: 800;
	margin-right: 0.25rem;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	max-width: 1120px;
	margin: 0 auto;
	padding: 1.15rem 1.5rem 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer__copy p {
	margin: 0 0 0.25rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.45;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.site-footer__legal a {
	font-size: 0.85rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
}

.site-footer__icons {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	flex-wrap: wrap;
	gap: 1.15rem 1.5rem;
	padding: 2rem 1.5rem 2.35rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #ffb320;
}

.site-footer__icons svg {
	width: 72px;
	height: 72px;
	flex-shrink: 0;
}

@media (max-width: 980px) {
	.site-footer__main {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.site-footer__main {
		grid-template-columns: 1fr;
		padding-top: 2.25rem;
	}

	.site-footer__bottom {
		flex-direction: column;
	}

	.site-footer__icons svg {
		width: 58px;
		height: 58px;
	}
}

/* WhatsApp float — global so it never adds in-flow gap before footer */
.whatsapp-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 1100;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 1rem 0.55rem 0.65rem;
	background: #fff;
	border: 1px solid #d8dee4;
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	color: #243746;
	font-size: 0.9rem;
	font-weight: 700;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-float:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
	color: #243746;
}

.whatsapp-float__icon {
	display: block;
	flex-shrink: 0;
}

@media (max-width: 720px) {
	.whatsapp-float span {
		display: none;
	}

	.whatsapp-float {
		padding: 0.65rem;
		border-radius: 50%;
	}
}
