/* ==========================================================================
   Quarto Fuoco — Footer
   Pixel-perfect from Figma node 192:454
   ========================================================================== */

.qf-footer,
.qf-footer * {
	box-sizing: border-box;
}

.qf-footer {
	background: #EEEEEE;
	padding: 100px 0 50px;
	margin-top: 40px;
	font-family: "Inter", sans-serif;
	color: #12110F;
}

.qf-footer__inner {
	max-width: var(--qf-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* ----- Main row ----- */
.qf-footer__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 48px;
}

/* Brand column */
.qf-footer__brand {
	width: 254px;
	flex-shrink: 0;
}
.qf-footer__logo {
	display: inline-block;
	margin-bottom: 42px;
	line-height: 0;
}
.qf-footer__logo svg {
	display: block;
	width: 260px;
	height: 45px;
}
.qf-footer__desc {
	margin: 0;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #12110F;
	max-width: 343px;
}

/* Nav columns group */
.qf-footer__nav-group {
	display: flex;
	gap: 48px;
	flex-shrink: 0;
}
.qf-footer__col {
	width: 254px;
	min-width: 0;
	flex-shrink: 0;
}
.qf-footer__col-title {
	margin: 0 0 24px;
	font-weight: 700;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #12110F;
}
.qf-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.qf-footer__list a {
	font-weight: 400;
	font-size: 18px;
	line-height: 27px;
	color: #12110F;
	text-decoration: none;
}
.qf-footer__list a:hover {
	color: #5C2E26;
}

/* Socials */
.qf-footer__socials {
	display: flex;
	gap: 16px;
	align-items: center;
}
.qf-footer__social {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.1);
	color: #12110F;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 150ms ease;
}
.qf-footer__social svg {
	width: 24px;
	height: 24px;
	display: block;
}
.qf-footer__social:hover {
	background: rgba(92, 46, 38, 0.2);
}

/* Divider */
.qf-footer__divider {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	margin: 47px 0;
}

/* Bottom row */
.qf-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.qf-footer__copyright {
	margin: 0;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #12110F;
}
.qf-footer__legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}
.qf-footer__legal a {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #12110F;
	text-decoration: none;
}
.qf-footer__legal a:hover {
	color: #5C2E26;
}
.qf-carousel__dots .qf-carousel__dot:hover,.qf-carousel__dots .qf-carousel__dot:focus{background-color: #12110f !important;}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1463px) {
	.qf-footer {
		padding: 80px 0 40px;
	}
	.qf-footer__row {
		gap: 40px;
	}
	.qf-footer__nav-group {
		gap: 40px;
	}
}

/* Tablet / small desktop — stack when no room for horizontal */
@media (max-width: 1199px) {
	.qf-footer {
		padding: 72px 0 40px;
	}
	.qf-footer__inner {
		padding: 0 24px;
	}
	.qf-footer__row {
		flex-direction: column;
		gap: 40px;
	}
	.qf-footer__brand {
		width: auto;
	}
	.qf-footer__nav-group {
		flex-wrap: wrap;
		gap: 32px;
	}
	.qf-footer__col {
		width: auto;
		flex: 1 1 calc(33.333% - 22px);
		min-width: 160px;
	}
}

/* Tablet portrait / mobile — tutto stacked verticalmente (Figma node 192:1535) */
@media (max-width: 991px) {
	.qf-footer {
		padding: 56px 0 32px;
	}
	.qf-footer__inner {
		padding: 0 20px;
	}
	.qf-footer__row {
		gap: 32px;
	}
	.qf-footer__nav-group {
		flex-direction: column;
		gap: 32px;
	}
	.qf-footer__col {
		width: auto;
		flex: 1 1 auto;
	}
	.qf-footer__logo svg {
		width: 211px;
		height: 36px;
	}
	.qf-footer__divider {
		margin: 32px 0;
	}
	.qf-footer__bottom {
		flex-direction: column-reverse; /* legal sopra, copyright sotto come da Figma mobile */
		align-items: flex-start;
		gap: 16px;
		text-align: left;
	}
	.qf-footer__legal {
		gap: 20px;
		justify-content: flex-start;
	}
	.qf-footer__copyright {
		text-align: left;
	}
}

/* Mobile */
@media (max-width: 600px) {
	.qf-footer__logo svg {
		width: 200px;
		height: auto;
	}
	.qf-footer__col-title {
		font-size: 20px;
		line-height: 30px;
		margin-bottom: 16px;
	}
	.qf-footer__list a,
	.qf-footer__desc {
		font-size: 16px;
		line-height: 24px;
	}
	.qf-footer__legal {
		gap: 20px;
	}
}
