/*
 * TAF Machinery – Pagine interne (restyling 2026)
 * Stile derivato dal Figma "TAF Restyling 2026" (Homepage 1:12): Manrope,
 * titoli 42px #1e1e1e, arancio #e65100, sfondo chiaro #f7f6f5, raggi 20px.
 * Ambito: .taf-page-head (breadcrumbs + H1) e sezioni Avia .taf-page-sec.
 */

.taf-page-head,
.taf-page-sec {
	--taf-page-dark: #1e1e1e;
	--taf-page-text: #000000;
	--taf-page-muted: #5f6b72;
	--taf-page-accent: #e65100;
	--taf-page-accent-hover: #c24400;
	--taf-page-soft: #f7f6f5;
	--taf-page-gutter: clamp(20px, 6.25vw, 120px);
	--taf-page-max: 1432px;
	--taf-page-title: 42px;
	font-family: 'manrope', 'Manrope', sans-serif;
}

/* ===================================================================
 * Intestazione: breadcrumbs + titolo pagina (nessun banner)
 * ================================================================= */
.taf-page-head {
	background: #ffffff;
}

.taf-page-head__inner {
	width: 100%;
	max-width: calc(var(--taf-page-max) + 2 * var(--taf-page-gutter));
	margin: 0 auto;
	padding: 40px var(--taf-page-gutter) 0;
	box-sizing: border-box;
}

.taf-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 28px;
	color: var(--taf-page-text);
}

#top .taf-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0 !important;
}

#top .taf-breadcrumbs__item + .taf-breadcrumbs__item::before {
	content: '/';
	margin: 0 10px;
	color: var(--taf-page-text);
}

#top .taf-breadcrumbs__item a {
	color: var(--taf-page-text);
	text-decoration: none;
}

#top .taf-breadcrumbs__item a:hover,
#top .taf-breadcrumbs__item a:focus-visible {
	color: var(--taf-page-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

#top .taf-breadcrumbs__item a:focus-visible {
	outline: 2px solid var(--taf-page-accent);
	outline-offset: 2px;
}

#top .taf-breadcrumbs__item [aria-current='page'] {
	color: var(--taf-page-text);
	font-weight: 700;
}

#top .taf-page-head__title {
	margin: 12px 0 0;
	padding: 0;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: var(--taf-page-title) !important;
	font-weight: 700 !important;
	line-height: 1.36 !important;
	letter-spacing: 0;
	text-transform: none;
	color: var(--taf-page-dark) !important;
}

/* ===================================================================
 * Banner (solo pagine con immagine in evidenza): 1920x664 come da Figma,
 * titolo H1 Manrope Bold 64px bianco allineato al contenuto
 * ================================================================= */
.taf-page-banner {
	--taf-page-gutter: clamp(20px, 6.25vw, 120px);
	--taf-page-max: 1432px;
	position: relative;
	display: flex;
	align-items: flex-end;
	height: clamp(240px, 34.6vw, 664px);
	overflow: hidden;
	background: #8a8a8a;
}

#top .taf-page-banner__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 50%;
	border-radius: 0;
}

/* Velatura nera 30% per la leggibilità del titolo (come l'hero della Home) */
.taf-page-banner::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.3);
	pointer-events: none;
}

.taf-page-banner__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: calc(var(--taf-page-max) + 2 * var(--taf-page-gutter));
	margin: 0 auto;
	padding: 0 var(--taf-page-gutter) clamp(28px, 11vw, 213px);
	box-sizing: border-box;
}

#top .taf-page-banner__title {
	margin: 0;
	padding: 0;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: 64px !important;
	font-weight: 700 !important;
	line-height: 1.36 !important;
	letter-spacing: 0;
	text-transform: none;
	color: #ffffff !important;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* Breadcrumbs sotto il banner: 38px dal banner (Figma) */
.taf-page-head--banner .taf-page-head__inner {
	padding-top: 38px;
}

/* ===================================================================
 * Sezioni Avia delle pagine interne
 * ================================================================= */
#top .taf-page-sec {
	color: var(--taf-page-text);
	border: 0;
}

.responsive #top #wrap_all .taf-page-sec .container {
	width: 100%;
	max-width: calc(var(--taf-page-max) + 2 * var(--taf-page-gutter));
	padding: 0 var(--taf-page-gutter);
	box-sizing: border-box;
}

#top .taf-page-sec .container .content,
#top .taf-page-sec .container .template-page {
	padding-top: 0;
	padding-bottom: 0;
	border: 0;
}

#top .taf-page-sec .entry-content-wrapper > :last-child {
	margin-bottom: 0;
}

/* Testo solo per lettori di schermo */
#top .taf-page-sec .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Titoli di sezione H2 (prevalgono sul custom.css del tema padre: 16px !important) */
#top .taf-page-title,
#top .taf-page-title.av-special-heading.av-special-heading-h2 {
	margin: 0 !important;
	padding: 0 !important;
}

#top .taf-page-title .av-special-heading-tag,
#top .taf-page-title.av-special-heading.av-special-heading-h2 h2 {
	margin: 0;
	padding: 0 !important;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: 36px !important;
	font-weight: 700 !important;
	line-height: 1.36;
	text-transform: none;
	color: var(--taf-page-dark) !important;
}

/*
 * Bordo del titolo Enfold usato come spazio bianco tra il titolo e il blocco
 * successivo (regola di layout: mai elementi attaccati al titolo).
 * Lo spazio si regola per sezione con --taf-page-title-gap.
 * Nota: i margin-bottom sul titolo non funzionano (il reset "margin: 0 !important"
 * sopra ha specificità maggiore), per questo lo spazio sta tutto qui.
 */
#top .taf-page-title .special-heading-border {
	display: block;
	width: 100%;
	height: var(--taf-page-title-gap, 40px);
	margin: 0;
	border: 0;
	background: none;
}

#top .taf-page-title .special-heading-inner-border {
	display: block;
	height: 0;
	border: 0 !important;
	opacity: 0;
}

/* Pulsante primario arancio con freccia (come "Richiedi un preventivo") */
#top .taf-btn-row {
	margin: 32px 0 0;
}

#top .taf-btn-row .avia-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 60px;
	margin: 0 12px 12px 0 !important;
	padding: 10px 30px;
	border: 0;
	border-radius: 20px;
	background-color: var(--taf-page-accent);
	color: #ffffff;
	text-decoration: none;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: 18.67px;
	font-weight: 700;
	line-height: 28px;
	text-transform: none;
	opacity: 1;
	transition: background-color 0.2s ease;
}

#top .taf-btn-row .avia-button::after {
	content: '';
	flex: 0 0 auto;
	width: 27px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='15' viewBox='0 0 27 15'%3E%3Cpath d='M0 7.5h25M19 1.5l6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='15' viewBox='0 0 27 15'%3E%3Cpath d='M0 7.5h25M19 1.5l6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform 0.2s ease;
}

#top .taf-btn-row .avia-button:hover,
#top .taf-btn-row .avia-button:focus-visible {
	background-color: var(--taf-page-accent-hover);
	color: #ffffff;
}

#top .taf-btn-row .avia-button:hover::after {
	transform: translateX(3px);
}

#top .taf-btn-row .avia-button:focus-visible {
	outline: 2px solid var(--taf-page-dark);
	outline-offset: 3px;
}

#top .taf-btn-row .avia-button .avia_iconbox_title {
	color: inherit;
}

/* ===================================================================
 * Dove siamo: foto sede + recapiti, mappa
 * ================================================================= */
#top .taf-location {
	padding: 48px 0 120px;
}

#top .taf-location .entry-content-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px 85px;
	align-items: center;
}

#top .taf-location .entry-content-wrapper::before,
#top .taf-location .entry-content-wrapper::after {
	display: none;
}

#top .taf-location .flex_column {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	min-height: 0;
}

#top .taf-location__media .avia-image-container,
#top .taf-location__media .avia-image-container-inner,
#top .taf-location__media .avia-image-overlay-wrap {
	display: block;
	width: 100%;
	margin: 0;
}

#top .taf-location__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 20px;
}

#top .taf-location__details {
	margin: 0;
	font-size: 18px;
	line-height: 28px;
	color: var(--taf-page-text);
}

#top .taf-location__details p {
	margin: 0;
}

#top .taf-location__details p:empty {
	display: none;
}

#top .taf-location__name {
	margin: 0 0 20px;
	padding: 0;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.36;
	text-transform: none;
	color: var(--taf-page-dark) !important;
}

#top .taf-contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

#top .taf-contact-list__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	border-top: 1px solid #e1e1e1;
}

#top .taf-contact-list__item:last-child {
	border-bottom: 1px solid #e1e1e1 !important;
}

#top .taf-contact-list__item i {
	flex: 0 0 24px;
	width: 24px;
	padding: 0;
	margin-top: 5px;
	font-size: 18px;
	text-align: center;
	color: var(--taf-page-accent);
}

#top .taf-contact-list__item .fa-whatsapp {
	font-size: 22px;
	margin-top: 3px;
	color: #25d366;
}

#top .taf-contact-list__item a {
	color: var(--taf-page-dark);
	font-weight: 700;
	text-decoration: none;
}

#top .taf-contact-list__item a:hover,
#top .taf-contact-list__item a:focus-visible {
	color: var(--taf-page-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

#top .taf-location .avia_codeblock_section {
	grid-column: 1 / -1;
	margin: 24px 0 0;
}

#top .taf-location__map {
	margin: 0;
}

#top .taf-location__map iframe {
	display: block;
	width: 100%;
	height: 480px;
	border: 0;
	border-radius: 20px;
	background: var(--taf-page-soft);
}

/* ===================================================================
 * Chi siamo (Figma 23:27): intro, loghi, perché sceglierci, contatti
 * diretti dei soci, come possiamo aiutarti, recensioni
 * ================================================================= */
#top .taf-page-title--center,
#top .taf-page-title--center .av-special-heading-tag {
	width: 100%;
	text-align: center !important;
}

/* Griglie: le colonne Avia diventano celle CSS grid */
#top .taf-why .entry-content-wrapper,
#top .taf-team .entry-content-wrapper,
#top .taf-help .entry-content-wrapper {
	display: grid;
	justify-content: center;
}

#top .taf-why .entry-content-wrapper::before,
#top .taf-why .entry-content-wrapper::after,
#top .taf-team .entry-content-wrapper::before,
#top .taf-team .entry-content-wrapper::after,
#top .taf-help .entry-content-wrapper::before,
#top .taf-help .entry-content-wrapper::after {
	display: none;
}

#top .taf-why .flex_column,
#top .taf-team .flex_column,
#top .taf-help .flex_column {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	min-height: 0;
}

#top .taf-why .taf-page-title,
#top .taf-help .taf-page-title {
	grid-column: 1 / -1;
}

/* Accenti arancio nel testo */
#top .taf-accent {
	color: var(--taf-page-accent);
}

#top .taf-accent-link {
	color: var(--taf-page-accent);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#top .taf-accent-link:hover,
#top .taf-accent-link:focus-visible {
	color: var(--taf-page-accent-hover);
}

/* 1. Intro centrata (82px fino al titolo "Si affidano a noi", Figma) */
#top .taf-about-intro {
	padding: 40px 0 82px;
}

#top .taf-about-intro ~ .taf-about-clients {
	padding-top: 0;
}

#top .taf-about-intro__text {
	max-width: 874px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 28px;
	text-align: center;
	color: var(--taf-page-text);
}

#top .taf-about-intro__text p {
	margin: 0 0 12px;
}

#top .taf-about-intro__text p:last-child {
	margin-bottom: 0;
}

#top .taf-about-intro__text p:empty {
	display: none;
}

#top .taf-about-intro__title {
	max-width: 817px;
	margin: 0 auto 28px;
	padding: 0;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: var(--taf-page-title) !important;
	font-weight: 700 !important;
	line-height: 1.36 !important;
	text-transform: none;
	color: var(--taf-page-dark) !important;
}

/* 2. Loghi "Si affidano a noi" (stile Home) */
#top .taf-about-clients {
	padding-bottom: 94px;
}

/* 3. Perché scegliere Taf Machinery? */
#top .taf-why {
	padding: 77px 0 80px;
}

#top .taf-why .entry-content-wrapper {
	grid-template-columns: repeat(4, minmax(0, 368px));
	gap: 0 20px;
}

#top .taf-why {
	--taf-page-title-gap: 88px;
}

#top .taf-why__card {
	height: 100%;
	border-radius: 5px;
	background: #ffffff !important;
}

#top .taf-why__card-text {
	height: 100%;
	margin: 0;
	padding: 48px 23px 40px;
	box-sizing: border-box;
	font-size: 18px;
	line-height: 28px;
	text-align: center;
	color: var(--taf-page-text);
}

#top .taf-why__card-text p {
	margin: 0;
}

#top .taf-why__card-text p:empty {
	display: none;
}

#top .taf-why__card-title {
	margin: 0 auto 24px;
	padding: 0;
	max-width: 301px;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: 21px !important;
	font-weight: 700 !important;
	line-height: 1.36 !important;
	text-transform: none;
	color: var(--taf-page-dark) !important;
}

/*
 * 4a. Contattaci direttamente – titolo + testo (sezione taf-team-head con una
 * colonna 3/5 centrata, separata dalla griglia dei soci)
 */
#top .taf-team-head {
	--taf-page-title-gap: 24px;
	padding: 43px 0 39px;
}

#top .taf-team-head .flex_column.taf-team-head__col {
	float: none;
	width: 100%;
	max-width: 874px;
	margin: 0 auto;
	padding: 0;
	min-height: 0;
}

#top .taf-team-head .taf-team__intro {
	margin: 0;
	font-size: 18px;
	line-height: 28px;
	text-align: center;
	color: var(--taf-page-text);
}

#top .taf-team-head .taf-team__intro p {
	margin: 0;
}

#top .taf-team-head .taf-team__intro p:empty {
	display: none;
}

/* 4b. Griglia dei soci (elemento Enfold "Membro del team") */
#top .taf-team {
	padding: 0 0 40px;
}

#top .taf-team .entry-content-wrapper {
	grid-template-columns: repeat(3, minmax(0, 329px));
	gap: 0 27px;
}

/* Nome e telefono allineati a sinistra sotto la foto (Figma) */
#top .taf-team .avia-team-member {
	margin: 0;
	padding: 0;
	text-align: left;
}

#top .taf-team .team-img-container {
	width: 100%;
	max-width: none;
	margin: 0 0 20px;
	border-radius: 20px;
	overflow: hidden;
	background: var(--taf-page-soft);
}

#top .taf-team .team-img-container img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 329 / 275;
	object-fit: cover;
	border-radius: 0;
}

#top .taf-team .team-member-name {
	margin: 0 0 4px;
	padding: 0 !important;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: 21px !important;
	font-weight: 700 !important;
	line-height: 1.36;
	text-transform: none;
	color: var(--taf-page-dark) !important;
}

#top .taf-team .team-member-description {
	padding: 0 !important;
	font-size: 21px;
	line-height: 1.36;
	color: var(--taf-page-text);
}

#top .taf-team .team-member-description p {
	margin: 0;
}

#top .taf-team .team-member-description a {
	color: var(--taf-page-text);
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#top .taf-team .team-member-description a:hover,
#top .taf-team .team-member-description a:focus-visible {
	color: var(--taf-page-accent);
}

/* 5. Come possiamo aiutarti? */
#top .taf-help {
	padding: 64px 0 64px;
}

#top .taf-help .entry-content-wrapper {
	grid-template-columns: repeat(2, minmax(0, 453px));
	gap: 0 37px;
}

#top .taf-help {
	--taf-page-title-gap: 45px;
}

/* "Dicono di noi" dopo "Come possiamo aiutarti?": 100px tra le card e il titolo (Figma) */
#top .taf-help ~ .taf-home-reviews {
	padding-top: 36px;
}

#top .taf-help__img,
#top .taf-help__img .avia-image-container-inner,
#top .taf-help__img .avia-image-overlay-wrap {
	display: block;
	width: 100%;
	margin: 0;
}

#top .taf-help__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 453 / 275;
	object-fit: cover;
	border-radius: 20px;
	background: var(--taf-page-soft);
}

#top .taf-help__img a:focus-visible {
	outline: 2px solid var(--taf-page-accent);
	outline-offset: 3px;
	border-radius: 20px;
}

/* Titoli card allineati a sinistra sotto l'immagine (Figma) */
#top .taf-help__title,
#top .taf-help__title.av-special-heading.av-special-heading-h3 {
	margin: 15px 0 0 !important;
	padding: 0 !important;
	text-align: left;
}

#top .taf-help__title .av-special-heading-tag {
	margin: 0;
	padding: 0;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: 28px !important;
	font-weight: 700 !important;
	line-height: 1.36;
	text-align: left !important;
	text-transform: none;
	color: var(--taf-page-dark) !important;
}

#top .taf-help__title .av-special-heading-tag a {
	color: inherit;
	text-decoration: none;
}

#top .taf-help__title .av-special-heading-tag a:hover,
#top .taf-help__title .av-special-heading-tag a:focus-visible {
	color: var(--taf-page-accent);
}

#top .taf-help__title .special-heading-border {
	display: none;
}

/* Pulsanti successivi al primo: stile secondario (bordo scuro) */
#top .taf-btn-row .avia-button ~ .avia-button {
	background-color: transparent;
	color: var(--taf-page-dark);
	box-shadow: inset 0 0 0 2px var(--taf-page-dark);
}

#top .taf-btn-row .avia-button ~ .avia-button:hover,
#top .taf-btn-row .avia-button ~ .avia-button:focus-visible {
	background-color: var(--taf-page-dark);
	color: #ffffff;
}

/* ===================================================================
 * Layout a due colonne (testo + modulo) – es. Trasporto
 * ================================================================= */
#top .taf-split {
	padding: 48px 0 96px;
}

#top .taf-split .entry-content-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px 85px;
	align-items: start;
}

#top .taf-split .entry-content-wrapper::before,
#top .taf-split .entry-content-wrapper::after {
	display: none;
}

#top .taf-split .flex_column {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	min-height: 0;
}

#top .taf-split__body,
#top .taf-contact-intro__text {
	margin: 0;
	font-size: 18px;
	line-height: 28px;
	color: var(--taf-page-text);
}

#top .taf-split__body p,
#top .taf-contact-intro__text p {
	margin: 0 0 16px;
}

#top .taf-split__body p:last-child,
#top .taf-contact-intro__text p:last-child {
	margin-bottom: 0;
}

#top .taf-split__body p:empty,
#top .taf-contact-intro__text p:empty {
	display: none;
}

#top .taf-split__title {
	margin: 0 0 24px;
	padding: 0;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: 28px !important;
	font-weight: 700 !important;
	line-height: 1.36 !important;
	text-transform: none;
	color: var(--taf-page-dark) !important;
}

#top .taf-split__body a,
#top .taf-contact-intro__text p a {
	color: var(--taf-page-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

#top .taf-split__body a:hover,
#top .taf-contact-intro__text p a:hover {
	color: var(--taf-page-accent);
}

/* ===================================================================
 * Modulo di contatto (Contact Form 7) in un riquadro chiaro
 * ================================================================= */
#top .taf-form-box {
	margin: 0;
	padding: 40px;
	border-radius: 20px;
	background: var(--taf-page-soft);
	font-size: 16px;
	line-height: 24px;
	color: var(--taf-page-text);
}

#top .taf-form-box .wpcf7-form p {
	margin: 0 0 20px;
}

#top .taf-form-box .wpcf7-form p:last-of-type {
	margin-bottom: 0;
}

#top .taf-form-box .wpcf7-form label {
	display: block;
	font-weight: 700;
	color: var(--taf-page-dark);
}

#top .taf-form-box .wpcf7-form-control-wrap {
	display: block;
	margin-top: 6px;
}

#top .taf-form-box input[type='text'],
#top .taf-form-box input[type='email'],
#top .taf-form-box input[type='tel'],
#top .taf-form-box textarea {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid #cfcfcf;
	border-radius: 10px;
	background: #ffffff;
	font-size: 16px;
	line-height: 24px;
	color: var(--taf-page-text);
	box-sizing: border-box;
}

#top .taf-form-box textarea {
	min-height: 160px;
	resize: vertical;
}

#top .taf-form-box input:focus-visible,
#top .taf-form-box textarea:focus-visible {
	outline: 2px solid var(--taf-page-accent);
	outline-offset: 1px;
	border-color: var(--taf-page-accent);
}

#top .taf-form-box .wpcf7-acceptance label {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
}

#top .taf-form-box .wpcf7-acceptance input[type='checkbox'] {
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--taf-page-accent);
}

#top .taf-form-box .wpcf7-submit {
	min-height: 56px;
	margin: 0;
	padding: 10px 40px;
	border: 0;
	border-radius: 20px;
	background-color: var(--taf-page-accent);
	color: #ffffff;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

#top .taf-form-box .wpcf7-submit:hover,
#top .taf-form-box .wpcf7-submit:focus-visible {
	background-color: var(--taf-page-accent-hover);
}

#top .taf-form-box .wpcf7-submit:focus-visible {
	outline: 2px solid var(--taf-page-dark);
	outline-offset: 3px;
}

#top .taf-form-box .wpcf7-response-output {
	margin: 20px 0 0;
	border-radius: 10px;
}

/* ===================================================================
 * Galleria (Trasporto)
 * ================================================================= */
#top .taf-gallery {
	padding: 0 0 120px;
}

#top .taf-gallery .avia-gallery {
	margin: 0;
	padding: 0;
}

#top .taf-gallery .avia-gallery-thumb a {
	border-radius: 12px;
	overflow: hidden;
}

#top .taf-gallery .avia-gallery-thumb a:focus-visible {
	outline: 2px solid var(--taf-page-accent);
	outline-offset: 2px;
}

/* ===================================================================
 * Contatti: testo + sede, soci, modulo
 * ================================================================= */
#top .taf-contact-intro {
	padding: 48px 0 64px;
}

#top .taf-contact-intro__text {
	max-width: 874px;
}

/* Testo iniziale affiancato al modulo, poi sede e soci */
#top .taf-split.taf-contact {
	padding-bottom: 64px;
}

#top .taf-contact ~ .taf-contact-intro {
	padding-top: 0;
}

/* Colonna sinistra: testo iniziale, poi sede (blocchi testo separati) */
#top .taf-split__text .av_textblock_section + .av_textblock_section {
	margin-top: 32px;
}

#top .taf-split__text .taf-contact-intro__text p:first-child {
	margin-bottom: 0;
}

#top .taf-contact-intro__text .taf-location__name {
	margin: 28px 0 12px;
}

#top .taf-contact-team {
	padding: 0 0 120px;
}

#top .taf-contact-form {
	padding: 0 0 120px;
}

#top .taf-contact-form .taf-form-box {
	max-width: 874px;
}

/* ===================================================================
 * Privacy policy (testo iubenda) e Ultimi arrivi (griglia prodotti Enfold)
 * ================================================================= */
#top .taf-policy {
	padding: 48px 0 120px;
}

#top .taf-policy .avia_textblock {
	max-width: 874px;
	font-size: 16px;
	line-height: 26px;
}

#top .taf-products {
	padding: 48px 0 120px;
}

@media (max-width: 1023px) {
	#top .taf-split .entry-content-wrapper {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

@media (max-width: 767px) {
	#top .taf-split {
		padding: 32px 0 56px;
	}

	#top .taf-split__body,
	#top .taf-contact-intro__text {
		font-size: 16px;
		line-height: 26px;
	}

	#top .taf-split__title {
		font-size: 22px !important;
	}

	#top .taf-form-box {
		padding: 24px 20px;
	}

	#top .taf-form-box .wpcf7-submit {
		width: 100%;
	}

	#top .taf-gallery,
	#top .taf-contact-form,
	#top .taf-policy,
	#top .taf-products {
		padding-bottom: 56px;
	}

	#top .taf-contact-intro,
	#top .taf-policy,
	#top .taf-products {
		padding-top: 32px;
	}

	#top .taf-contact-intro {
		padding-bottom: 40px;
	}

	#top .taf-contact-team {
		padding-bottom: 56px;
	}

	#top .taf-split.taf-contact {
		padding-bottom: 40px;
	}
}

/* ===================================================================
 * Dati societari (nessun frame Figma: stile delle pagine interne)
 * Ragione sociale + tabella etichetta/valore modificabile dal blocco testo
 * ================================================================= */
#top .taf-legal {
	padding: 48px 0 120px;
}

#top .taf-legal__box {
	max-width: 874px;
	margin: 0;
	font-size: 18px;
	line-height: 28px;
	color: var(--taf-page-text);
}

#top .taf-legal__box > p:empty,
#top .taf-legal__box br {
	display: none;
}

#top .taf-legal__name {
	margin: 0 0 24px;
	padding: 0;
	font-family: 'manrope', 'Manrope', sans-serif;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.36 !important;
	text-transform: none;
	color: var(--taf-page-dark) !important;
}

#top .taf-legal__table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: none;
	font-size: 18px;
	line-height: 28px;
}

#top .taf-legal__table tr {
	border-top: 1px solid #e1e1e1;
	background: none;
}

#top .taf-legal__table tr:last-child {
	border-bottom: 1px solid #e1e1e1;
}

#top .taf-legal__table th,
#top .taf-legal__table td {
	padding: 14px 0;
	border: 0;
	background: none;
	text-align: left;
	vertical-align: top;
	color: var(--taf-page-text);
	font-size: inherit;
	line-height: inherit;
	text-transform: none;
	letter-spacing: 0;
}

#top .taf-legal__table th {
	width: 45%;
	padding-right: 32px;
	font-weight: 700;
}

#top .taf-legal__table a {
	color: var(--taf-page-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

#top .taf-legal__table a:hover,
#top .taf-legal__table a:focus-visible {
	color: var(--taf-page-accent);
}

@media (max-width: 767px) {
	#top .taf-legal {
		padding: 32px 0 56px;
	}

	#top .taf-legal__box,
	#top .taf-legal__table {
		font-size: 16px;
		line-height: 26px;
	}

	#top .taf-legal__table th,
	#top .taf-legal__table td {
		display: block;
		width: 100%;
		padding: 0;
	}

	#top .taf-legal__table th {
		padding-top: 12px;
	}

	#top .taf-legal__table td {
		padding-bottom: 12px;
		overflow-wrap: anywhere;
	}
}

/* ===================================================================
 * Pagina 404
 * ================================================================= */
#top .taf-404 {
	padding: 64px 0 120px;
}

#top .taf-404__intro {
	max-width: 760px;
	margin: 0;
	font-size: 18px;
	line-height: 28px;
	color: var(--taf-page-text);
}

#top .taf-404__intro .taf-page-head__title {
	margin: 0 0 16px;
}

#top .taf-404__intro p {
	margin: 0;
}

#top .taf-404__intro p:empty {
	display: none;
}

#top .taf-404 .taf-btn-row {
	margin-bottom: 72px;
}

/* Titolo "Le nostre attrezzature": blocco a tutta larghezza, centrato, spazio sotto */
#top .taf-404 .taf-page-title.taf-404__title,
#top .taf-404 .taf-page-title.taf-404__title.av-special-heading.av-special-heading-h2 {
	display: block;
	float: none;
	clear: both;
	width: 100%;
	margin: 0 0 40px !important;
	text-align: center;
}

#top .taf-404 .taf-404__title .av-special-heading-tag {
	width: 100%;
	text-align: center !important;
}

#top .taf-404 .taf-404__title .special-heading-border {
	display: none;
}

#top .taf-404 .avia_codeblock_section {
	display: block;
	float: none;
	clear: both;
	width: 100%;
	margin: 0;
	padding-top: 40px;
}

#top .taf-404 .taf-cat-card__title {
	font-weight: 700 !important;
}

/* ===================================================================
 * Responsive
 * ================================================================= */
@media (max-width: 1199px) {
	.taf-page-head,
	.taf-page-sec {
		--taf-page-title: 36px;
	}

	#top .taf-location .entry-content-wrapper {
		gap: 48px;
	}

	#top .taf-why .entry-content-wrapper {
		grid-template-columns: repeat(2, minmax(0, 368px));
		gap: 20px;
	}

	#top .taf-why {
		--taf-page-title-gap: 48px;
	}

	#top .taf-page-banner__title {
		font-size: 52px !important;
	}
}

@media (max-width: 1023px) {
	#top .taf-location .entry-content-wrapper {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	#top .taf-location {
		padding: 40px 0 80px;
	}

	#top .taf-about-intro {
		padding: 32px 0 64px;
	}

	#top .taf-why {
		padding: 64px 0;
	}

	#top .taf-team .entry-content-wrapper {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 20px;
	}

	#top .taf-team .team-member-name,
	#top .taf-team .team-member-description {
		font-size: 18px !important;
	}

	#top .taf-help .entry-content-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 24px;
	}

	#top .taf-help__title .av-special-heading-tag {
		font-size: 24px !important;
	}

	#top .taf-page-title .av-special-heading-tag,
	#top .taf-page-title.av-special-heading.av-special-heading-h2 h2 {
		font-size: 30px !important;
	}
}

@media (max-width: 767px) {
	.taf-page-head,
	.taf-page-sec {
		--taf-page-title: 30px;
	}

	.taf-page-head__inner {
		padding-top: 24px;
	}

	.taf-breadcrumbs__list {
		font-size: 14px;
		line-height: 22px;
	}

	#top .taf-page-title .av-special-heading-tag,
	#top .taf-page-title.av-special-heading.av-special-heading-h2 h2 {
		font-size: 26px !important;
	}

	#top .taf-location {
		padding: 32px 0 56px;
	}

	#top .taf-location__details,
	#top .taf-about-intro__text,
	#top .taf-why__card-text,
	#top .taf-team-head .taf-team__intro {
		font-size: 16px;
		line-height: 26px;
	}

	#top .taf-about-intro {
		padding: 24px 0 48px;
	}

	#top .taf-about-intro__title {
		margin-bottom: 20px;
	}

	#top .taf-about-clients {
		padding-bottom: 48px;
	}

	#top .taf-why {
		padding: 48px 0 56px;
	}

	#top .taf-why .entry-content-wrapper {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	#top .taf-why {
		--taf-page-title-gap: 16px;
	}

	#top .taf-why__card-text {
		padding: 32px 20px;
	}

	#top .taf-why__card-title {
		margin-bottom: 16px;
		font-size: 19px !important;
	}

	#top .taf-team-head {
		--taf-page-title-gap: 16px;
		padding: 48px 0 32px;
	}

	#top .taf-team {
		padding: 0 0 40px;
	}

	#top .taf-team .entry-content-wrapper {
		grid-template-columns: minmax(0, 329px);
		gap: 32px 0;
	}

	#top .taf-team .team-img-container {
		margin-bottom: 14px;
	}

	#top .taf-help {
		padding: 40px 0 48px;
	}

	#top .taf-help .entry-content-wrapper {
		grid-template-columns: minmax(0, 453px);
		gap: 32px 0;
	}

	/* Mobile: lo spazio sotto i titoli si somma al gap di riga della griglia (16-32px) */
	#top .taf-help {
		--taf-page-title-gap: 0px;
	}

	#top .taf-page-banner__title {
		font-size: 34px !important;
	}

	#top .taf-location__map iframe {
		height: 360px;
	}

	#top .taf-btn-row .avia-button {
		width: 100%;
		margin-right: 0 !important;
	}

	#top .taf-404 {
		padding: 32px 0 56px;
	}

	#top .taf-404 .taf-btn-row {
		margin-bottom: 48px;
	}

	#top .taf-404 .avia_codeblock_section {
		padding-top: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#top .taf-btn-row .avia-button,
	#top .taf-btn-row .avia-button::after {
		transition: none;
	}
}
