/*
 * Chiusura del footer per le landing standalone (white label, San Salvo)
 * (template-parts/landing-footer-legal.php).
 *
 * È la barra legale e la firma «Hornoi» del footer del sito (chrome.css,
 * .hc-ftr__bot e .hc-ftr__sign), rifatte con i colori e i font delle
 * landing: Manrope al posto di Inter Tight, i grigi di .footer.
 *
 * I selettori hanno un elemento in più (footer.footer) perché questo file
 * arriva prima del CSS incorporato della landing e deve vincere su .footer.
 */

footer.footer {
	padding-bottom: 0;
	overflow: hidden;
}

/* barra legale */
footer.footer .foot-bot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 34px;
	padding-block: 26px;
	border-top: 1px solid #242424;
	font-size: 12px;
	color: #6c6c6c;
}
footer.footer .foot-legal { display: flex; flex-wrap: wrap; gap: 22px; }
footer.footer .foot-legal a { transition: color .2s; }
footer.footer .foot-legal a:hover { color: #fff; }

footer.footer .foot-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
footer.footer .foot-status i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #3fcf6b;
	animation: hc-landing-pulse 2.6s ease-in-out infinite;
}
@keyframes hc-landing-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(63, 207, 107, .5); }
	70%  { box-shadow: 0 0 0 7px rgba(63, 207, 107, 0); }
	100% { box-shadow: 0 0 0 0 rgba(63, 207, 107, 0); }
}

/* firma grande in fondo, tagliata dal bordo */
footer.footer .foot-sign {
	position: relative;
	overflow: hidden;
	height: clamp(60px, 11vw, 150px);
	pointer-events: none;
}
footer.footer .foot-sign span {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	font-family: Manrope, Arial, sans-serif;
	font-size: clamp(4rem, 16vw, 15rem);
	font-weight: 800;
	letter-spacing: -.06em;
	line-height: .85;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .09);
}

@media (max-width: 700px) {
	footer.footer .foot-bot {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	footer.footer .foot-status i { animation: none; }
}
