/* ==========================================================================
   Footer, floating buttons, mobile action bar
   ========================================================================== */

.site-footer {
	background: var(--navy-900);
	color: rgb(255 255 255 / 72%);
	font-size: var(--fs-sm);
}

.site-footer__top {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: 2.5rem;
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.site-footer__logo img {
	height: 52px;
	width: auto;
	margin-bottom: 1.1rem;
	padding: 8px 12px;
	border-radius: 10px;
	background: #fff;
}

.site-footer__about p {
	margin-bottom: 1.25rem;
	line-height: 1.7;
}

.site-footer__contact {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.site-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 0.7rem;
}

.site-footer__contact .icon {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	fill: var(--orange);
	flex: none;
}

.site-footer a {
	color: rgb(255 255 255 / 72%);
}

.site-footer a:hover {
	color: var(--orange);
}

.site-footer__title {
	margin-bottom: 1.1rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid rgb(255 255 255 / 15%);
	font-size: 1.0625rem;
	font-weight: 700;
	color: #fff;
}

.site-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__list li {
	margin-bottom: 0.15rem;
}

.site-footer__list a {
	display: block;
	padding: 0.3rem 0;
	transition: color var(--t), padding-left var(--t);
}

.site-footer__list a:hover {
	padding-left: 0.4rem;
}

.site-footer__social {
	display: flex;
	gap: 0.6rem;
}

.site-footer__social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1.5px solid rgb(255 255 255 / 22%);
	border-radius: 50%;
	transition: background var(--t), border-color var(--t), transform var(--t);
}

.site-footer__social a:hover {
	background: var(--orange);
	border-color: var(--orange);
	transform: translateY(-3px);
}

.site-footer__social .icon {
	width: 16px;
	height: 16px;
	fill: currentcolor;
}

.site-footer__bar {
	border-top: 1px solid rgb(255 255 255 / 12%);
	font-size: var(--fs-xs);
}

.site-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-block: 1.1rem;
}

.site-footer__bar p {
	margin: 0;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal li {
	margin: 0;
}

@media (max-width: 991px) {
	.site-footer__top {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}

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

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

	.site-footer__bar-inner {
		flex-direction: column;
		text-align: center;
	}
}

/* --------------------------------------------------------------------------
   Floating buttons
   -------------------------------------------------------------------------- */
.floatbtns {
	position: fixed;
	right: 16px;
	bottom: 20px;
	z-index: 800;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.floatbtns__btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 6px 20px rgb(0 0 0 / 22%);
	transition: transform var(--t), box-shadow var(--t);
}

.floatbtns__btn:hover {
	transform: scale(1.08);
	color: #fff;
	box-shadow: 0 10px 26px rgb(0 0 0 / 30%);
}

.floatbtns__btn .icon {
	width: 26px;
	height: 26px;
	fill: currentcolor;
}

.floatbtns__btn--wa {
	background: var(--whatsapp);
}

.floatbtns__btn--call {
	background: var(--navy);
}

/* A pulse on the WhatsApp button, once, so it gets noticed without nagging. */
.floatbtns__btn--wa::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgb(37 211 102 / 60%);
	animation: anmol-pulse 2.4s ease-out 3;
}

@keyframes anmol-pulse {
	70% {
		box-shadow: 0 0 0 16px rgb(37 211 102 / 0%);
	}
	100% {
		box-shadow: 0 0 0 0 rgb(37 211 102 / 0%);
	}
}

.floatbtns__btn--wa {
	position: relative;
}

@media (prefers-reduced-motion: reduce) {
	.floatbtns__btn--wa::before {
		animation: none;
	}
}

/* The mobile bar already covers call and WhatsApp on small screens. */
@media (max-width: 991px) {
	.floatbtns {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Mobile action bar
   -------------------------------------------------------------------------- */
.mobilebar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 950;
	display: none;
	height: var(--mobilebar-h);
	background: #fff;
	box-shadow: 0 -3px 16px rgb(11 61 145 / 14%);
	padding-bottom: env(safe-area-inset-bottom);
}

.mobilebar__btn {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 0;
	border: 0;
	border-right: 1px solid rgb(255 255 255 / 25%);
	font: inherit;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
}

.mobilebar__btn:last-child {
	border-right: 0;
}

.mobilebar__btn:hover,
.mobilebar__btn:focus {
	color: #fff;
}

.mobilebar__btn .icon {
	width: 19px;
	height: 19px;
	fill: currentcolor;
}

.mobilebar__btn--call {
	background: var(--navy);
}
.mobilebar__btn--wa {
	background: var(--whatsapp);
}
.mobilebar__btn--quote {
	background: var(--orange);
}

@media (max-width: 991px) {
	.mobilebar {
		display: flex;
	}
}
