/* ==========================================================================
   Quarto Fuoco — Hero (home front-page)
   Pixel-perfect from Figma node 192:64
   ========================================================================== */

.qf-home {
	margin: 0;
	padding: 0;
}

/* ----- Hero container ----- */
/* BG full-bleed (no max-width), contenuto interno capped a var(--qf-max-width) */
.qf-hero {
	position: relative;
	width: 100%;
	min-height: 720px;
	overflow: hidden;
	background: #E3D4C6;
	padding: 56px 0 80px;
	box-sizing: border-box;
}

/* Decorative ellipse glow (top-right) */
.qf-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}
.qf-hero__ellipse {
	position: absolute;
	width: 1542px;
	height: 1334px;
	left: 50%;
	top: -611px;
	transform: translateX(-22%);
	background: rgba(255, 255, 255, 0.20);
	border-radius: 50%;
}

/* ----- Inner layout ----- */
.qf-hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--qf-max-width);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 24px;
	gap: 32px;
}

/* ----- Left: text + buttons ----- */
.qf-hero__content {
	flex: 0 0 619px;
	max-width: 619px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.qf-hero__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.qf-hero__title {
	margin: 0;
	font-family: "Epilogue", sans-serif;
	font-weight: 500;
	font-size: 72px;
	line-height: 108px;
	letter-spacing: 0.12px;
	color: #12110F;
}
.qf-hero__title-brand {
	display: block;
	color: #5C2E26;
}

.qf-hero__subtitle {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 0.12px;
	color: #12110F;
}

/* ----- Buttons ----- */
.qf-hero__actions {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.qf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	letter-spacing: 0.12px;
	border-radius: 100px;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.qf-btn--primary {
	padding: 18px 32px;
	background: #9A4F3F;
	color: #FFFFFF;
	border: 0;
}
.qf-btn--primary:hover,
.qf-btn--primary:focus {
	background: #7E3E32;
	color: #FFFFFF;
}

.qf-btn--secondary {
	padding: 16px 32px;
	background: transparent;
	color: #5C2E26;
	border: 2px solid #5C2E26;
}
.qf-btn--secondary:hover,
.qf-btn--secondary:focus {
	background: #5C2E26;
	color: #FFFFFF;
}

.qf-btn__icon {
	display: inline-block;
	width: 20px;
	height: 20px;
}

/* ----- Right: image ----- */
.qf-hero__media {
	flex: 0 1 596px;
	max-width: 596px;
	height: 741px;
	border-radius: 20px;
	overflow: hidden;
}
.qf-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

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

/* Laptop / tablet landscape — 992-1463px */
@media (max-width: 1463px) {
	.qf-hero {
		padding: 80px 0;
		min-height: 0;
	}
	.qf-hero__title {
		font-size: 56px;
		line-height: 72px;
	}
	.qf-hero__media {
		flex: 0 1 480px;
		max-width: 480px;
		height: 600px;
	}
}

/* Mobile + tablet portrait — fino a 991px (Figma node 192:1219) */
@media (max-width: 991px) {
	.qf-hero {
		padding: 38px 0;
		min-height: 0;
	}
	.qf-hero__inner {
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		padding: 0 20px;
		gap: 30px;
	}

	/* Testo + CTA */
	.qf-hero__content {
		flex: 1 1 auto;
		max-width: 100%;
		gap: 40px;
	}
	.qf-hero__text {
		gap: 20px;
	}
	.qf-hero__title {
		font-size: 36px;
		line-height: 54px;
	}
	.qf-hero__subtitle {
		font-size: 20px;
		line-height: 30px;
	}

	/* Bottoni stackati verticali, full-width */
	.qf-hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.qf-btn {
		width: 100%;
	}
	.qf-btn--primary,
	.qf-btn--secondary {
		padding: 18px 32px;
	}

	/* Immagine full-width sotto */
	.qf-hero__media {
		flex: 1 1 auto;
		max-width: 100%;
		height: auto;
		aspect-ratio: 362 / 475;
	}
}
