/*
Theme Name:   La Ferrocasa
Description:  Tema child di Twenty Twenty-Four per il sito La Ferrocasa: header, footer, prodotti e stile del redesign.
Author:       La Ferrocasa
Template:     twentytwentyfour
Version:      1.1.0
Requires at least: 6.6
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  ferrocasa
*/

/* ==========================================================================
   Base
   ========================================================================== */

:root {
	--lfc-red: var(--wp--preset--color--accent, #BF0102);
	--lfc-red-dark: var(--wp--preset--color--accent-2, #9E0001);
	--lfc-black: var(--wp--preset--color--contrast, #141413);
	--lfc-graphite: var(--wp--preset--color--contrast-2, #212529);
	--lfc-muted: var(--wp--preset--color--contrast-3, #555555);
	--lfc-line: var(--wp--preset--color--accent-3, #E0E0E0);
	--lfc-light: var(--wp--preset--color--base-2, #F4F4F4);
	--lfc-heading: var(--wp--preset--font-family--heading, Montserrat, sans-serif);
	--lfc-body: var(--wp--preset--font-family--body, Poppins, sans-serif);
	--lfc-header-h: 76px;
	--lfc-ease: cubic-bezier(.2, .7, .2, 1);
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

[id] {
	scroll-margin-top: calc(var(--lfc-header-h) + var(--wp-admin--admin-bar--height, 0px));
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.lfc-main p:empty {
	display: none;
}

/* Le sezioni della home sono attaccate tra loro, senza spazio tra i blocchi */
.wp-block-post-content > .alignfull,
.lfc-main > .alignfull {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Icone (blocchi Immagine con SVG) */
.lfc-icon {
	margin: 0;
	line-height: 0;
	flex: none;
}

.lfc-icon img {
	display: block;
}

.lfc-icon-box {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .18);
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.lfc-icon-box--accent {
	background: var(--lfc-red);
	border-color: var(--lfc-red);
}

.lfc-icon-box--sm {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 0;
	background: rgba(20, 20, 19, .18);
}

.lfc-icon-box--round {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: var(--lfc-red);
}

/* ==========================================================================
   Pulsanti
   ========================================================================== */

.wp-block-button__link {
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
}

.lfc-btn-arrow .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.lfc-btn-arrow .wp-block-button__link::after {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("assets/icons/arrow.svg") center / contain no-repeat;
	mask: url("assets/icons/arrow.svg") center / contain no-repeat;
}

.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button .wp-block-button__link.is-style-outline {
	background: transparent;
	color: var(--lfc-black);
	border: 1.5px solid currentColor;
	padding: 16.5px 27.5px;
}

.wp-block-button.lfc-btn-light > .wp-block-button__link {
	color: #fff;
	border-color: rgba(255, 255, 255, .85);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--lfc-black);
	color: #fff;
	border-color: var(--lfc-black);
}

.wp-block-button.lfc-btn-light > .wp-block-button__link:hover {
	background: #fff;
	color: var(--lfc-black);
	border-color: #fff;
}

/* ==========================================================================
   Eyebrow (numero + linea + etichetta)
   ========================================================================== */

.lfc-eyebrow {
	gap: 14px !important;
	margin-bottom: 24px;
	align-items: center;
}

.lfc-eyebrow p {
	margin: 0;
}

.lfc-eyebrow__num {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: 13px;
	line-height: 1;
	letter-spacing: .1em;
	color: var(--lfc-red);
}

.lfc-eyebrow__num::after {
	content: "";
	width: 40px;
	height: 1px;
	background: var(--lfc-red);
}

.lfc-eyebrow__label {
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--lfc-muted);
}

.lfc-eyebrow--light .lfc-eyebrow__num {
	color: #fff;
}

.lfc-eyebrow--light .lfc-eyebrow__label {
	color: rgba(255, 255, 255, .72);
}

.lfc-eyebrow--line::before {
	content: "";
	width: 40px;
	height: 2px;
	flex: none;
	background: var(--lfc-red);
}

.lfc-eyebrow--line .lfc-eyebrow__label {
	color: #fff;
	letter-spacing: .24em;
}

/* Testi ricorrenti */
.lfc-lead {
	margin-top: 32px !important;
	font-size: clamp(19px, 1.7vw, 23px);
	line-height: 1.5;
	font-weight: 400;
	color: var(--lfc-black);
	text-wrap: pretty;
}

.lfc-lead--light {
	margin-top: 0 !important;
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.65;
	font-weight: 300;
	color: rgba(255, 255, 255, .86);
}

.lfc-muted {
	margin-top: 20px !important;
	font-size: 16px;
	line-height: 1.8;
	color: var(--lfc-muted);
	text-wrap: pretty;
}

.lfc-muted-light {
	margin-top: 24px !important;
	max-width: 460px;
	font-size: 16px;
	line-height: 1.75;
	color: rgba(255, 255, 255, .8);
}

.lfc-main h2 {
	margin: 0;
	text-wrap: balance;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

/* Colonne a due blocchi (Chi siamo, Visione, Rivenditori, Contatti) */
.wp-block-columns.lfc-split {
	gap: clamp(40px, 6vw, 96px);
	margin: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}

@media (max-width: 600px) {
	header.wp-block-template-part {
		top: 0;
	}
}

.lfc-header {
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.lfc-header__inner {
	min-height: var(--lfc-header-h);
	gap: 24px;
}

.lfc-logo {
	line-height: 0;
}

.lfc-logo img {
	height: 55px !important;
	width: auto !important;
}

.lfc-footer .lfc-logo img {
	height: 38px !important;
}

/* Menu desktop */
.lfc-nav .wp-block-navigation__container {
	gap: clamp(18px, 2.2vw, 34px);
	align-items: center;
}

.lfc-nav .wp-block-navigation-item__content {
	padding: 8px 0;
	border-bottom: 2px solid transparent;
	transition: border-color .2s, color .2s;
}

.lfc-nav .wp-block-navigation-item:not(.lfc-nav-cta) .wp-block-navigation-item__content:hover,
.lfc-nav .wp-block-navigation-item:not(.lfc-nav-cta) .wp-block-navigation-item__content:focus-visible {
	border-bottom-color: var(--lfc-red);
}

.lfc-nav .lfc-nav-cta .wp-block-navigation-item__content {
	background: var(--lfc-red);
	color: #fff;
	padding: 13px 22px;
	border: 0;
	border-radius: 12px;
	transition: background-color .2s, transform .2s;
}

.lfc-nav .lfc-nav-cta .wp-block-navigation-item__content:hover {
	background: var(--lfc-red-dark);
	transform: translateY(-1px);
}

/* Pulsante hamburger */
.lfc-nav .wp-block-navigation__responsive-container-open {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .18);
	align-items: center;
	justify-content: center;
	color: #fff;
}

.lfc-nav .wp-block-navigation__responsive-container-open svg {
	width: 22px;
	height: 22px;
}

/* Menu mobile fino a 899px (il core lo attiva solo sotto i 600px) */
@media (max-width: 899px) {
	.lfc-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.lfc-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* Pannello menu mobile */
.lfc-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 14px var(--wp--preset--spacing--gutter) 24px;
	background: var(--lfc-black) !important;
}

.lfc-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 0;
	right: 0;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .18);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.lfc-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 72px !important;
	align-items: stretch !important;
}

.lfc-nav .is-menu-open a:focus-visible {
	outline: 2px solid var(--lfc-red);
	outline-offset: 2px;
}

.lfc-nav .is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0 !important;
	align-items: stretch !important;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.lfc-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
}

.lfc-nav .is-menu-open .wp-block-navigation-item:not(.lfc-nav-cta) .wp-block-navigation-item__content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 16px 0;
	font-size: 15px;
	letter-spacing: .1em;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.lfc-nav .is-menu-open .wp-block-navigation-item:not(.lfc-nav-cta) .wp-block-navigation-item__content::after {
	content: "";
	width: 18px;
	height: 18px;
	background-color: var(--lfc-red);
	-webkit-mask: url("assets/icons/arrow.svg") center / contain no-repeat;
	mask: url("assets/icons/arrow.svg") center / contain no-repeat;
}

.lfc-nav .is-menu-open .lfc-nav-cta {
	margin-top: 20px;
}

.lfc-nav .is-menu-open .lfc-nav-cta .wp-block-navigation-item__content {
	box-sizing: border-box;
	width: 100%;
	text-align: center;
	justify-content: center;
	padding: 16px;
	font-size: 14px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.wp-block-cover.lfc-hero {
	min-height: clamp(700px, 60vw, 880px) !important;
	padding: 0 var(--wp--preset--spacing--gutter) clamp(96px, 9vw, 128px) !important;
	overflow: hidden;
	color: #fff;
}

.lfc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(20, 20, 19, .85) 0%, rgba(20, 20, 19, 0) 70%);
	pointer-events: none;
}

/* indicatore di scroll */
.lfc-hero::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 26px;
	z-index: 2;
	width: 24px;
	height: 38px;
	margin-left: -12px;
	border: 1.5px solid rgba(255, 255, 255, .6);
	border-radius: 14px;
	background: linear-gradient(#fff, #fff) no-repeat;
	background-size: 3px 8px;
	background-position: center 7px;
	animation: lfcScroll 1.8s ease-in-out infinite;
}

@keyframes lfcScroll {
	0% { background-position: center 7px; }
	70% { background-position: center 19px; background-size: 3px 8px; }
	71%, 100% { background-size: 3px 0; }
}

.lfc-hero .wp-block-cover__inner-container {
	position: static;
}

.lfc-hero__content {
	position: relative;
	z-index: 2;
}

.lfc-hero__year {
	position: absolute;
	z-index: 1;
	right: clamp(-20px, -1vw, 0px);
	top: clamp(80px, 8vw, 120px);
	margin: 0 !important;
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: clamp(120px, 22vw, 340px);
	line-height: .8;
	letter-spacing: -.02em;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .22);
	pointer-events: none;
	user-select: none;
}

.lfc-hero .lfc-eyebrow {
	margin-bottom: 28px;
}

.lfc-hero__title {
	margin: 0 !important;
	max-width: 1000px;
	font-size: clamp(34px, 5.4vw, 80px) !important;
	line-height: 1.02 !important;
	letter-spacing: .01em !important;
	text-wrap: balance;
}

.lfc-hero__lead {
	margin: 28px 0 0 !important;
	max-width: 560px;
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.65;
	color: rgba(255, 255, 255, .88);
	text-wrap: pretty;
}

.lfc-hero__actions {
	margin-top: 40px !important;
	gap: 14px;
}

.lfc-b2b {
	margin-top: 48px !important;
	display: inline-flex !important;
	width: fit-content;
	max-width: 640px;
	gap: 14px !important;
	align-items: center;
	padding: 14px 20px 14px 14px;
	border-radius: 14px;
	background: rgba(20, 20, 19, .72);
	border: 1px solid rgba(255, 255, 255, .14);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.lfc-b2b p {
	margin: 0;
}

.lfc-b2b__tag {
	flex: none;
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: 11px;
	line-height: 1;
	letter-spacing: .14em;
	background: var(--lfc-red);
	color: #fff;
	padding: 8px 10px;
	border-radius: 8px;
}

.lfc-b2b__text {
	font-size: 14px;
	line-height: 1.5;
	font-weight: 400;
	color: #fff;
}

/* ==========================================================================
   Numeri
   ========================================================================== */

.lfc-stats {
	gap: clamp(28px, 3vw, 40px) 0 !important;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
}

.lfc-stat {
	padding: 0 clamp(14px, 2.2vw, 32px);
	border-left: 1px solid rgba(255, 255, 255, .28);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lfc-stat > * {
	margin: 0 !important;
}

.lfc-stat__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lfc-stat__text p {
	margin: 0;
}

.lfc-stat__pre {
	font-family: var(--lfc-heading);
	font-weight: 600;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.lfc-stat__big {
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: clamp(40px, 4.6vw, 64px);
	line-height: 1;
	letter-spacing: -.01em;
}

.lfc-stat__label {
	font-size: 14px;
	line-height: 1.45;
	font-weight: 400;
}

/* ==========================================================================
   Chi siamo
   ========================================================================== */

.lfc-media {
	position: relative;
}

.lfc-media__img {
	margin: 0;
	border-radius: 20px;
	overflow: hidden;
	background: var(--lfc-light);
	box-shadow: 0 30px 60px -30px rgba(20, 20, 19, .35);
}

.lfc-media__img img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.lfc-media__badge {
	position: absolute;
	left: clamp(16px, 2vw, 28px);
	bottom: clamp(16px, 2vw, 28px);
	margin: 0 !important;
	gap: 16px !important;
	align-items: center;
	background: var(--lfc-black);
	color: #fff;
	border-radius: 14px;
	padding: 18px 22px;
}

.lfc-media__badge p {
	margin: 0;
}

.lfc-media__badge-num {
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: 34px;
	line-height: 1;
}

.lfc-media__badge-text {
	font-size: 13px;
	line-height: 1.4;
	max-width: 120px;
}

.lfc-tags {
	margin-top: 40px !important;
	padding-top: 28px;
	border-top: 1px solid var(--lfc-line);
	gap: 12px 32px !important;
}

.lfc-tags p {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--lfc-black);
}

.lfc-tags p::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lfc-red);
}

/* ==========================================================================
   Visione
   ========================================================================== */

.wp-block-cover.lfc-vision {
	min-height: 0;
	padding: var(--wp--preset--spacing--section) var(--wp--preset--spacing--gutter) !important;
	color: #fff;
}

.lfc-vision .lfc-split {
	row-gap: 24px;
}

.lfc-pillars {
	margin-top: clamp(48px, 5vw, 72px) !important;
	gap: 20px !important;
}

.lfc-pillar {
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-height: 280px;
	padding: clamp(28px, 3vw, 40px);
	background: rgba(33, 37, 41, .72);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 18px;
	transition: transform .3s, border-color .3s, box-shadow .3s;
}

.lfc-pillar:hover {
	transform: translateY(-6px);
	border-color: var(--lfc-red);
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
}

.lfc-pillar > * {
	margin: 0 !important;
}

.lfc-pillar__top {
	align-items: flex-start !important;
}

.lfc-pillar h3 {
	margin-top: auto !important;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: .04em;
}

.lfc-pillar > p {
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .75);
}

.lfc-num {
	margin: 0;
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .4);
}

/* ==========================================================================
   Prodotti
   ========================================================================== */

.lfc-section-head {
	gap: 32px !important;
}

.lfc-section-head__text {
	flex: 1 1 480px;
	max-width: 720px;
}

.lfc-intro {
	font-size: clamp(16px, 1.3vw, 18px) !important;
	line-height: 1.65 !important;
}

/* Filtri */
.lfc-filter {
	gap: 8px !important;
}

.lfc-chip .wp-block-button__link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #fff;
	color: var(--lfc-black);
	border: 1px solid var(--lfc-line);
	font-size: 12px;
	letter-spacing: .1em;
	transition: all .2s;
}

.lfc-chip .wp-block-button__link:hover {
	transform: none;
	background: #fff;
	color: var(--lfc-black);
	border-color: var(--lfc-red);
}

.lfc-chip.is-active .wp-block-button__link,
.lfc-chip.is-active .wp-block-button__link:hover {
	background: var(--lfc-black);
	color: #fff;
	border-color: var(--lfc-black);
}

.lfc-chip__count {
	font-weight: 600;
	font-size: 11px;
	opacity: .7;
}

/* Griglia */
.lfc-products {
	margin-top: clamp(36px, 4vw, 56px) !important;
}

.lfc-products .wp-block-post-template.lfc-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 1.6vw, 24px);
}

@media (max-width: 1023px) {
	.lfc-products .wp-block-post-template.lfc-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.lfc-products .wp-block-post-template.lfc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.lfc-grid > li {
	display: flex;
}

.lfc-grid > li.is-hidden {
	display: none;
}

/* Card prodotto */
.lfc-card {
	width: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--lfc-line);
	border-radius: 16px;
	overflow: hidden;
	transition: transform .3s, box-shadow .3s, border-color .3s;
}

.lfc-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 44px -24px rgba(20, 20, 19, .35);
	border-color: #C9C9C9;
}

.lfc-card > * {
	margin: 0 !important;
}

.lfc-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	margin: 8px !important;
	border-radius: 12px;
	overflow: hidden;
	background: var(--lfc-light);
}

.lfc-card__img {
	margin: 0;
	width: 100%;
	height: 100%;
}

.lfc-card__img a {
	display: block;
	height: 100%;
}

.lfc-card__img img {
	width: 100%;
	height: 100% !important;
	object-fit: contain !important;
	mix-blend-mode: multiply;
	padding: clamp(8px, 1.4vw, 20px);
	box-sizing: border-box;
}

.lfc-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	margin: 0 !important;
	padding: 6px 9px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--lfc-line);
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 10px !important;
	line-height: 1.2;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--lfc-black);
}

.lfc-card__badge a {
	color: inherit;
}

.lfc-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 20px);
}

.lfc-card__body > * {
	margin: 0 !important;
}

.lfc-card__code {
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: clamp(17px, 1.9vw, 26px);
	line-height: 1.1;
	letter-spacing: .01em;
	color: var(--lfc-black);
	word-break: break-word;
}

.lfc-card__name {
	font-family: var(--lfc-body) !important;
	font-weight: 300 !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--lfc-muted) !important;
}

.wp-block-read-more.lfc-card__link {
	width: 100%;
	margin-top: auto !important;
	padding-top: 14px;
	min-height: 44px;
	border-top: 1px solid var(--lfc-line);
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--lfc-black);
	transition: color .2s;
}

.wp-block-read-more.lfc-card__link::before,
.wp-block-read-more.lfc-card__link::after {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("assets/icons/pdf.svg") center / contain no-repeat;
	mask: url("assets/icons/pdf.svg") center / contain no-repeat;
}

.wp-block-read-more.lfc-card__link::after {
	margin-left: auto;
	-webkit-mask-image: url("assets/icons/arrow.svg");
	mask-image: url("assets/icons/arrow.svg");
}

.wp-block-read-more.lfc-card__link:hover {
	color: var(--lfc-red);
}

/* Banner scuro (catalogo / scheda prodotto) */
.lfc-banner {
	margin-top: clamp(32px, 4vw, 56px) !important;
	gap: 24px !important;
	padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.4vw, 48px);
	border-radius: 20px;
	background: var(--lfc-black);
	color: #fff;
}

.lfc-banner__text {
	gap: 20px !important;
}

.lfc-banner__text p {
	margin: 0;
}

.lfc-banner__title {
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: clamp(18px, 1.7vw, 24px);
	line-height: 1.2;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.lfc-banner__sub {
	margin-top: 4px !important;
	font-size: 14px;
	color: rgba(255, 255, 255, .75);
}

/* ==========================================================================
   Rivenditori
   ========================================================================== */

.lfc-dealers .wp-block-buttons {
	margin-top: 36px !important;
}

.lfc-benefits {
	gap: 1px !important;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 20px;
	overflow: hidden;
}

.lfc-benefit {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(28px, 3vw, 40px);
	background: var(--lfc-graphite);
	transition: background-color .3s;
}

.lfc-benefit:hover {
	background: var(--lfc-black);
}

.lfc-benefit > * {
	margin: 0 !important;
}

.lfc-benefit__top {
	align-items: center;
}

.lfc-num-outline {
	margin: 0;
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: 36px;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .35);
}

.lfc-benefit h3 {
	font-size: 17px;
	line-height: 1.3;
	letter-spacing: .04em;
}

.lfc-benefit h3::before {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	margin: 12px 0 16px;
	background: var(--lfc-red);
}

.lfc-benefit > p {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .75);
}

/* ==========================================================================
   Contatti
   ========================================================================== */

.lfc-contacts > .alignwide {
	max-width: 1200px;
}

.lfc-contact {
	padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 72px);
	border-radius: clamp(24px, 3vw, 40px);
	background: var(--lfc-red);
	color: #fff;
}

.lfc-contact .lfc-split {
	gap: clamp(40px, 5vw, 72px);
}

.lfc-contact .lfc-eyebrow__num,
.lfc-contact .lfc-eyebrow__label {
	color: #fff;
}

.lfc-contact .lfc-eyebrow__num::after {
	background: #fff;
}

.lfc-contact__title {
	font-size: clamp(40px, 4.3vw, 64px) !important;
	line-height: 1 !important;
}

.lfc-contact__intro {
	margin-top: 24px !important;
	max-width: 420px;
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.6;
	font-weight: 400;
}

.lfc-contact__list {
	margin-top: 40px !important;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lfc-contact__list > * {
	margin: 0 !important;
}

.lfc-contact__item {
	gap: 16px !important;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .22);
	transition: padding .2s;
}

.lfc-contact__item:hover {
	padding-left: 6px;
}

.lfc-contact__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lfc-contact__text p {
	margin: 0;
}

.lfc-contact__label {
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 10px;
	line-height: 1.4;
	letter-spacing: .18em;
	text-transform: uppercase;
	opacity: .85;
}

.lfc-contact__value {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
}

.lfc-contact a,
.lfc-contact a:hover {
	color: #fff;
}

/* Modulo */
.lfc-form-card {
	padding: clamp(24px, 3.4vw, 44px);
	border-radius: 20px;
	background: #fff;
	color: var(--lfc-graphite);
	box-shadow: 0 40px 80px -30px rgba(20, 20, 19, .45);
}

.lfc-form-card a {
	color: var(--lfc-black) !important;
	text-decoration: underline;
}

.lfc-form .wpcf7-form,
.lfc-form-card .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.lfc-form-card .wpcf7-form > p,
.lfc-form-card .lfc-field,
.lfc-form-card .lfc-field p {
	margin: 0;
}

.lfc-form-card label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--lfc-black);
}

.lfc-form-card .wpcf7-form-control-wrap {
	display: block;
}

.lfc-form-card input[type="text"],
.lfc-form-card input[type="email"],
.lfc-form-card input[type="tel"],
.lfc-form-card textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 50px;
	padding: 14px 16px;
	border: 1.5px solid var(--lfc-line);
	border-radius: 12px;
	background: #fff;
	font-family: var(--lfc-body);
	font-size: 15px;
	font-weight: 300;
	letter-spacing: 0;
	text-transform: none;
	color: var(--lfc-black);
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}

.lfc-form-card textarea {
	min-height: 120px;
	resize: vertical;
}

.lfc-form-card input:hover,
.lfc-form-card textarea:hover {
	border-color: var(--lfc-muted);
}

.lfc-form-card input:focus,
.lfc-form-card textarea:focus {
	border-color: var(--lfc-black);
	box-shadow: 0 0 0 4px rgba(191, 1, 2, .16);
}

.lfc-form-card .wpcf7-not-valid {
	border-color: var(--lfc-red) !important;
}

.lfc-form-card .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-family: var(--lfc-body);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--lfc-red);
}

.lfc-form-card .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.lfc-form-card .wpcf7-acceptance label {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	font-family: var(--lfc-body);
	font-weight: 300;
	font-size: 13px;
	line-height: 1.55;
	letter-spacing: 0;
	text-transform: none;
	color: var(--lfc-muted);
}

.lfc-form-card .wpcf7-acceptance input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--lfc-red);
	cursor: pointer;
}

.lfc-form-card .wpcf7-submit {
	width: 100%;
	min-height: 56px;
	margin-top: 6px;
	padding: 18px 28px;
	border: 0;
	border-radius: 12px;
	background: var(--lfc-red);
	color: #fff;
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .16em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}

.lfc-form-card .wpcf7-submit:hover {
	background: var(--lfc-red-dark);
	transform: translateY(-1px);
}

.lfc-form-card .wpcf7-submit:focus-visible {
	outline: 3px solid var(--lfc-black);
	outline-offset: 3px;
}

.lfc-form-card .wpcf7-spinner {
	display: block;
	margin: 8px auto 0;
}

.lfc-form-card .wpcf7-spinner:not(.is-active, [style*="visible"]) {
	display: none;
}

.lfc-form-note {
	font-family: var(--lfc-body) !important;
	font-size: 12px !important;
	color: var(--lfc-muted);
	margin: 0 !important;
}

.lfc-form-card .wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.5;
}

.lfc-form-card .wpcf7 form.sent .wpcf7-response-output {
	border-color: #1f8a4c;
	background: #effaf3;
	color: #155c33;
}

/* Mappa */
.lfc-map {
	position: relative;
	margin-top: clamp(16px, 2vw, 24px) !important;
	height: clamp(300px, 30vw, 420px);
	border-radius: clamp(20px, 2.4vw, 32px);
	overflow: hidden;
	background: var(--lfc-line);
	border: 1px solid var(--lfc-line);
}

.lfc-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(1.08) brightness(1.02);
}

.lfc-map__card {
	position: absolute;
	left: clamp(12px, 2vw, 28px);
	right: clamp(12px, 2vw, 28px);
	bottom: clamp(12px, 2vw, 28px);
	max-width: 380px;
	margin: 0 !important;
	gap: 16px !important;
	align-items: center;
	padding: 20px 22px;
	border-radius: 16px;
	background: var(--lfc-black);
	color: #fff;
	box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
}

.lfc-map__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lfc-map__text p {
	margin: 0;
}

.lfc-map__name {
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.lfc-map__addr {
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .82);
}

.lfc-map__link {
	margin-top: 4px !important;
}

.lfc-map__link a {
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--lfc-red);
	text-underline-offset: 4px;
}

.lfc-map__link a:hover {
	color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.lfc-footer__top {
	gap: 40px !important;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.lfc-footer__brand {
	gap: 18px !important;
	max-width: 340px;
}

.lfc-footer__brand p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .72);
}

.lfc-footer-nav .wp-block-navigation__container {
	gap: 14px 32px;
}

.lfc-footer-nav .wp-block-navigation-item__content {
	padding: 6px 0;
	border-bottom: 1px solid transparent;
}

.lfc-footer-nav .wp-block-navigation-item__content:hover {
	border-bottom-color: var(--lfc-red);
}

.lfc-footer__bottom {
	margin-top: 0 !important;
	padding-top: 28px;
	gap: 16px 32px !important;
	font-size: 12px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .66);
}

.lfc-footer__bottom p {
	margin: 0;
	font-size: 12px;
}

.lfc-footer__legal {
	gap: 4px !important;
}

.lfc-footer__links {
	gap: 8px 24px !important;
	align-items: flex-start;
}

.lfc-footer__links a {
	color: rgba(255, 255, 255, .85);
}

.lfc-footer__links a:hover {
	color: #fff;
}

/* ==========================================================================
   Scheda prodotto
   ========================================================================== */

.lfc-product__hero .alignwide > * {
	margin: 0;
}

.lfc-back {
	margin-bottom: 28px !important;
}

.lfc-back a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .75) !important;
	transition: color .2s, gap .2s;
}

.lfc-back a::before {
	content: "";
	width: 18px;
	height: 18px;
	background-color: var(--lfc-red);
	-webkit-mask: url("assets/icons/arrow-left.svg") center / contain no-repeat;
	mask: url("assets/icons/arrow-left.svg") center / contain no-repeat;
}

.lfc-back a:hover {
	color: #fff !important;
	gap: 14px;
}

.lfc-product__cat {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px !important;
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 12px !important;
	letter-spacing: .24em;
	text-transform: uppercase;
}

.lfc-product__cat::before {
	content: "";
	width: 40px;
	height: 2px;
	background: var(--lfc-red);
}

.lfc-product__code {
	font-family: var(--lfc-heading);
	font-weight: 800;
	font-size: clamp(44px, 6.4vw, 96px);
	line-height: 1;
	letter-spacing: -.01em;
	word-break: break-word;
}

.lfc-product__name {
	margin-top: 14px !important;
	font-size: clamp(18px, 2vw, 26px) !important;
	line-height: 1.25 !important;
	letter-spacing: .04em !important;
	font-weight: 700 !important;
	color: rgba(255, 255, 255, .86) !important;
}

.lfc-product__lead {
	margin-top: 16px !important;
	max-width: 640px;
	color: rgba(255, 255, 255, .8);
}

.lfc-product__lead p {
	margin: 0;
}

.wp-block-columns.lfc-scheda {
	gap: clamp(32px, 5vw, 80px);
	margin: 0;
}

.lfc-scheda__desc {
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.75;
	font-weight: 400;
	color: var(--lfc-black);
	text-wrap: pretty;
}

.lfc-scheda__desc:first-child,
.lfc-scheda .wp-block-column > p:first-child {
	margin-top: 0;
}

.lfc-scheda__title,
.lfc-scheda h3 {
	margin-top: 40px !important;
	margin-bottom: 16px !important;
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 13px !important;
	letter-spacing: .2em !important;
	color: var(--lfc-black);
}

.lfc-scheda__title::before,
.lfc-scheda h3::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--lfc-red);
}

/* Tabella misure, peso e codice */
.wp-block-table.lfc-specs,
.lfc-scheda .wp-block-table {
	margin: 0;
	border: 1px solid var(--lfc-line);
	border-radius: 14px;
	overflow: hidden;
}

.lfc-scheda .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.lfc-scheda .wp-block-table thead {
	border: 0;
}

.lfc-scheda .wp-block-table th {
	padding: 14px 16px;
	border: 0;
	background: var(--lfc-black);
	color: #fff;
	text-align: left;
	font-family: var(--lfc-heading);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.lfc-scheda .wp-block-table td {
	padding: 14px 16px;
	border: 0;
	border-top: 1px solid var(--lfc-line);
	color: var(--lfc-graphite);
	font-weight: 400;
}

.lfc-scheda .wp-block-table tbody tr:first-child td {
	border-top: 0;
}

.lfc-scheda .wp-block-table tbody tr:nth-child(even) td {
	background: #FAFAFA;
}

.lfc-scheda .wp-block-table td:first-child {
	font-family: var(--lfc-heading);
	font-weight: 800;
	color: var(--lfc-black);
	white-space: nowrap;
}

.lfc-scheda .wp-block-table figcaption {
	margin: 0;
	padding: 12px 16px;
	border-top: 1px solid var(--lfc-line);
	font-size: 13px;
	text-align: left;
	color: var(--lfc-muted);
}

/* Galleria: prima foto grande, le altre in miniatura */
.wp-block-gallery.lfc-gallery.has-nested-images {
	gap: 12px;
	margin: 0;
}

.wp-block-gallery.lfc-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: calc(25% - 9px);
	flex-grow: 0;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	background: var(--lfc-light);
}

.wp-block-gallery.lfc-gallery.has-nested-images figure.wp-block-image:first-child:not(#individual-image) {
	width: 100%;
	border-radius: 18px;
}

.wp-block-gallery.lfc-gallery.has-nested-images figure.wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	mix-blend-mode: multiply;
	padding: 8px;
	box-sizing: border-box;
}

.wp-block-gallery.lfc-gallery.has-nested-images figure.wp-block-image:first-child img {
	padding: clamp(16px, 3vw, 40px);
}

/* Le miniature riempiono il riquadro (foto ambientate e dettagli) */
.wp-block-gallery.lfc-gallery.has-nested-images figure.wp-block-image:not(:first-child) img {
	object-fit: cover !important;
	padding: 0;
	mix-blend-mode: normal;
}

/* Pagina con una sola immagine invece della galleria */
.lfc-scheda .wp-block-image:not(.lfc-gallery *) {
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	background: var(--lfc-light);
}

.lfc-scheda .wp-block-image:not(.lfc-gallery *) img {
	mix-blend-mode: multiply;
}

/* ==========================================================================
   Pagine generiche
   ========================================================================== */

.lfc-page__title {
	font-size: var(--wp--preset--font-size--xx-large);
	margin-bottom: 40px !important;
}

/* ==========================================================================
   Animazioni in entrata (attivate da assets/js/site.js)
   ========================================================================== */

.lfc-reveal.lfc-pre {
	opacity: 0;
	transform: translateY(28px);
}

.lfc-reveal.lfc-in {
	transition: opacity .8s var(--lfc-ease), transform .8s var(--lfc-ease);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.lfc-reveal.lfc-pre {
		opacity: 1;
		transform: none;
	}

	.lfc-hero::after {
		animation: none;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 781px) {
	.lfc-media__img img {
		aspect-ratio: 4 / 4.4;
	}

	.lfc-banner .wp-block-buttons,
	.lfc-banner .wp-block-button,
	.lfc-banner .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}

	.wp-block-gallery.lfc-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		width: calc(33.333% - 8px);
	}

	.wp-block-gallery.lfc-gallery.has-nested-images figure.wp-block-image:first-child:not(#individual-image) {
		width: 100%;
	}
}

@media (max-width: 639px) {
	.wp-block-read-more.lfc-card__link {
		font-size: 10px;
		letter-spacing: .1em;
		white-space: nowrap;
	}

	.wp-block-read-more.lfc-card__link::before {
		display: none;
	}

	.lfc-card__badge {
		top: 8px;
		left: 8px;
		font-size: 9px !important;
		letter-spacing: .08em;
		white-space: nowrap;
	}
}

@media (max-width: 599px) {
	.lfc-hero__actions .wp-block-button {
		width: 100%;
	}

	.lfc-hero__actions .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}

	.lfc-b2b {
		align-items: flex-start;
	}

	.lfc-stat {
		padding-left: 14px;
	}
}
