footer {
	font-size: 12px;
	font-size: 1.2rem;
	letter-spacing: 0.07rem;
}

footer h2 {
	font-weight: 600;
}

footer {
	position: relative;
	top: 51px;
	background-color: #e6e6e8;
	color: #515154;
	padding-left: calc(max(8px, env(safe-area-inset-left)));
	padding-right: calc(max(8px, env(safe-area-inset-right)));
}

footer a {
	color: #424245;
	text-decoration: underline;
	text-underline-offset: 2px;
}

footer a:hover {
	color: #1d1d1f;
}

.footer-wrapper {
	max-width: 1200px;
	margin: auto;
	padding: 50px 0 32px;
}

.footer-brand {
	margin-bottom: 40px;
	text-align: left;
}

.footer-brand-logo {
	display: inline-block;
	height: 48px;
	width: auto;
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: left;
}

.footer-columns h2 {
	margin: 0 0 14px 0;
	font-size: 1.3rem;
	text-transform: uppercase;
	letter-spacing: 0.08rem;
	color: #1d1d1f;
}

.footer-columns p {
	margin: 0 0 8px 0;
	line-height: 1.7;
}

.footer-whatsapp-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

.footer-whatsapp-link svg {
	width: 15px;
	height: 15px;
	fill: #25D366;
	flex-shrink: 0;
}

.footer-links-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-links-list a {
	text-decoration: none;
}

.footer-links-list a:hover,
.footer-links-list a:focus-visible {
	color: #e11d2e;
	text-decoration: underline;
}

.dati-fiscali {
	max-width: 1200px;
	margin: 0 auto;
	border-top: 0.1rem solid;
	padding: 16px 0 24px;
}

.dati-fiscali p {
	margin: 0 0 4px 0;
	text-align: center;
}

.dati-fiscali p:last-child {
	margin-bottom: 0;
}

@media (max-width: 1044px) {
	footer {
		min-width: 320px;
		padding: 0 8px;
	}
}

@media (max-width: 900px) {
	.footer-columns {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 32px;
	}
}

@media (max-width: 767px) {
	.footer-brand {
		text-align: center;
	}

	.footer-columns {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 24px;
	}

	.footer-whatsapp-link {
		justify-content: center;
	}
}

/* WhatsApp floating button */
.whatsapp-fab {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: #25D366;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
	outline: 2px solid #128C7E;
	outline-offset: 3px;
}

.whatsapp-fab svg {
	width: 32px;
	height: 32px;
	fill: #ffffff;
}

@media (max-width: 767px) {
	.whatsapp-fab {
		bottom: 20px;
		right: 20px;
		width: 48px;
		height: 48px;
	}

	.whatsapp-fab svg {
		width: 27px;
		height: 27px;
	}
}
