/* =========================================================
   SITE FOOTER
========================================================= */

.site-footer {
	background: #ffffff;
	color: #07150f;
	border-top: 4px solid transparent;
	border-image: linear-gradient(
		90deg,
		#d71920 0 25%,
		#43a047 25% 50%,
		#ffffff 50% 75%,
		#07150f 75% 100%
	) 1;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
	gap: 48px;
	align-items: start;
	padding-top: 64px;
	padding-bottom: 42px;
}

.footer-brand h2,
.footer-column h3 {
	margin-top: 0;
	color: #07150f;
}

.footer-brand h2 {
	margin-bottom: 20px;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.05;
}

.footer-brand p {
	max-width: 560px;
	margin: 0 0 18px;
	color: #4e5b55;
	line-height: 1.75;
}

.footer-column h3 {
	margin-bottom: 18px;
	font-size: 1.2rem;
}

.footer-column ul,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-column li,
.footer-menu li {
	margin: 0 0 10px;
}

.footer-column a,
.footer-menu a {
	color: #2f7d46;
	text-decoration: none;
	font-weight: 600;
}

.footer-column a:hover,
.footer-menu a:hover {
	color: #d71920;
}

.footer-bottom {
	padding-top: 20px;
	padding-bottom: 28px;
	border-top: 1px solid rgba(7, 21, 15, 0.1);
}

.footer-bottom p {
	margin: 0;
	color: #68736e;
	font-size: 0.9rem;
}

/* =========================================================
   FLOATING WHATSAPP BUTTON
========================================================= */

.mtm-whatsapp-button {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9998;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 62px;
	height: 62px;
	min-height: 62px;
	padding: 0;

	color: #ffffff !important;
	background: #25d366;

	border: 3px solid #ffffff;
	border-radius: 50%;

	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.22),
		0 0 0 6px rgba(37, 211, 102, 0.14);

	text-decoration: none !important;

	transition:
		transform 0.25s ease,
		background-color 0.25s ease,
		box-shadow 0.25s ease;
}

.mtm-whatsapp-button:hover {
	color: #ffffff !important;
	background: #1fbd5a;
	transform: translateY(-4px) scale(1.04);
}

.mtm-whatsapp-button:focus-visible {
	outline: 3px solid #d71920;
	outline-offset: 5px;
}

.mtm-whatsapp-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: transparent;
}

.mtm-whatsapp-icon svg {
	display: block;
	width: 32px;
	height: 32px;
}

.mtm-whatsapp-icon svg path {
	fill: #ffffff !important;
}

.mtm-whatsapp-label {
	position: absolute;
	right: 72px;
	width: max-content;
	padding: 9px 13px;

	color: #ffffff;
	background: #07150f;

	border-radius: 8px;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1;

	opacity: 0;
	visibility: hidden;
	transform: translateX(8px);
	pointer-events: none;

	transition:
		opacity 0.2s ease,
		visibility 0.2s ease,
		transform 0.2s ease;
}

.mtm-whatsapp-button:hover .mtm-whatsapp-label,
.mtm-whatsapp-button:focus-visible .mtm-whatsapp-label {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

	.footer-grid {
		grid-template-columns: repeat(2, minmax(220px, 1fr));
		gap: 36px;
	}
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
		padding-top: 46px;
		padding-bottom: 32px;
	}

	.footer-brand h2 {
		font-size: 2.2rem;
	}

	.mtm-whatsapp-button {
		right: 16px;
		bottom: 16px;

		width: 56px;
		height: 56px;
		min-height: 56px;

		border-width: 2px;
	}

	.mtm-whatsapp-icon svg {
		width: 29px;
		height: 29px;
	}

	.mtm-whatsapp-label {
		display: none;
	}
}

/* Hide the separate floating WhatsApp button.
   WhatsApp remains available inside the AI chatbot. */
.mtm-whatsapp-button {
	display: none !important;
}

/* =========================================================
   FOOTER SOCIAL LINKS
========================================================= */

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(7, 21, 15, 0.12);
    border-radius: 999px;
    color: #2f7d46;
    background: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
}

.footer-social-links a:hover {
    color: #d71920;
    border-color: rgba(215, 25, 32, 0.25);
}

.footer-social-links a:focus-visible {
    outline: 3px solid #d71920;
    outline-offset: 3px;
}

.footer-social-links svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}
