:root {
	--footer-charcoal: #171717;
	--footer-charcoal-soft: #242321;
	--footer-smoke: #f5f5f2;
	--footer-brown: #a85f28;
	--footer-orange: #d88732;
	--footer-line: rgba(245, 245, 242, 0.16);
	--footer-radius: 12px;
	--footer-transition: 220ms ease;
}

.site-footer {
	position: relative;
	padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 6vw, 7rem) 1.25rem;
	overflow: hidden;
	background: var(--footer-charcoal);
	color: var(--footer-smoke);
	font-family: "Montserrat", sans-serif;
}

.site-footer::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	content: "";
	background: linear-gradient(90deg, var(--footer-brown), var(--footer-orange), var(--footer-brown));
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(220px, 1.1fr) minmax(160px, 0.8fr) minmax(250px, 1fr);
	gap: clamp(2rem, 5vw, 6rem);
	max-width: 1240px;
	margin: 0 auto;
}

.footer-brand .brand-logo {
	width: clamp(160px, 18vw, 220px);
	max-height: 78px;
	filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-contact-intro {
	max-width: 340px;
	margin: 1.25rem 0 0;
	color: rgba(245, 245, 242, 0.68);
	font-size: 0.82rem;
	line-height: 1.8;
}

.footer-column h2,
.footer-cta h2 {
	margin: 0;
	color: var(--footer-smoke);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.footer-column h2::after {
	display: block;
	width: 2.5rem;
	height: 2px;
	margin-top: 0.8rem;
	content: "";
	background: var(--footer-orange);
}

.footer-column nav {
	display: grid;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.footer-column nav a,
.footer-contact-intro + address a,
.footer-contact-intro + address span {
	color: rgba(245, 245, 242, 0.72);
	font-size: 0.78rem;
	line-height: 1.55;
	text-decoration: none;
	transition: color var(--footer-transition), padding var(--footer-transition);
}

.footer-column nav a:hover,
.footer-column nav a:focus-visible,
.footer-contact-intro + address a:hover,
.footer-contact-intro + address a:focus-visible {
	padding-left: 0.35rem;
	color: var(--footer-orange);
}

.footer-column address {
	margin-top: 1.25rem;
	font-style: normal;
}

.footer-column address p {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0 0 0.75rem;
}

.footer-column address i {
	width: 1rem;
	padding-top: 0.25rem;
	color: var(--footer-brown);
	font-size: 0.8rem;
	text-align: center;
}

.footer-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.footer-cta h2 {
	font-size: clamp(1.1rem, 2vw, 1.65rem);
	letter-spacing: 0;
	text-transform: none;
}

.footer-cta .secondary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.7rem 1.25rem;
	color: #fff;
	background: var(--footer-brown);
	border: 1px solid var(--footer-brown);
	border-radius: var(--footer-radius);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background var(--footer-transition), border-color var(--footer-transition), transform var(--footer-transition), box-shadow var(--footer-transition);
}

.footer-cta .secondary-button:hover,
.footer-cta .secondary-button:focus-visible {
	background: var(--footer-orange);
	border-color: var(--footer-orange);
	box-shadow: 0 8px 20px rgba(216, 135, 50, 0.22);
	transform: translateY(-2px);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 1240px;
	margin: 0 auto;
	padding-top: 1.25rem;
	border-top: 1px solid var(--footer-line);
	color: rgba(245, 245, 242, 0.5);
	font-size: 0.68rem;
	line-height: 1.6;
}

.footer-legal-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-legal-nav a {
	color: inherit;
	text-decoration: none;
	transition: color var(--footer-transition);
}

.footer-legal-nav a:hover,
.footer-legal-nav a:focus-visible {
	color: var(--footer-orange);
}

.floating-actions {
	position: fixed;
	right: clamp(1rem, 2vw, 1.75rem);
	bottom: clamp(1rem, 2vw, 1.75rem);
	z-index: 900;
	display: grid;
	gap: 0.65rem;
}

.floating-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	color: var(--footer-smoke);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 10px 24px rgba(23, 23, 23, 0.25);
	cursor: pointer;
	transition: background var(--footer-transition), transform var(--footer-transition), box-shadow var(--footer-transition);
}

.floating-btn:hover,
.floating-btn:focus-visible {
	box-shadow: 0 13px 28px rgba(23, 23, 23, 0.32);
	transform: translateY(-3px);
}

.whatsapp-btn {
	background: #2b8a57;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
	background: #36a96c;
}

.scroll-top-btn {
	background: var(--footer-brown);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
	background: var(--footer-orange);
}

.floating-btn svg {
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.site-footer :focus-visible,
.floating-actions :focus-visible {
	outline: 2px solid var(--footer-orange);
	outline-offset: 4px;
}

@media (max-width: 860px) {
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3rem 2rem;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

}

@media (max-width: 560px) {
	.site-footer {
		padding-right: 1.25rem;
		padding-left: 1.25rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.footer-brand {
		grid-column: auto;
	}

	.footer-cta,
	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-cta {
		gap: 1.25rem;
	}

	.footer-bottom {
		padding-bottom: 0.5rem;
	}

	.floating-actions {
		right: 0.85rem;
		bottom: 0.85rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-footer *,
	.site-footer *::before,
	.site-footer *::after,
	.floating-actions *,
	.floating-actions *::before,
	.floating-actions *::after {
		transition-duration: 0.01ms !important;
	}
}
