/* ==========================================================================
   FB Vision – foglio di stile principale
   Bootstrap 5 per griglia/utility, qui solo gli stili del design.
   Breakpoint del design originale: 1500 / 1300 / 1060 / 993 (header) / 991 / 959 / 767 / 575
   ========================================================================== */

/* ---------- Font ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/Inter-LightBETA.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-LightItalicBETA.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- Token ---------- */
:root {
	--fbv-blue: #234e9b;
	--fbv-blue-light: rgba(35, 78, 155, .17);
	--fbv-cyan: #1fb4fc;
	--fbv-cyan-dark: #17a8e3;
	--fbv-green: #72b636;
	--fbv-orange: #f18142;
	--fbv-pink: #da5f9e;
	--fbv-text: #302f2f;
	--fbv-heading: #252525;
	--fbv-grey: #555;
	--fbv-bg-grey: #f8f7f8;
	--fbv-border: #e2e2e2;
	--fbv-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--fbv-gutter-l: 32px;      /* padding sinistro del contenitore originale */
	--fbv-gutter-r: 39.2px;    /* padding destro del contenitore originale */

	--bs-body-font-family: var(--fbv-font);
	--bs-body-font-size: 16px;
	--bs-body-line-height: 1.6;
	--bs-body-color: var(--fbv-text);
	--bs-link-color: var(--fbv-blue);
	--bs-link-color-rgb: 35, 78, 155;
	--bs-link-hover-color: var(--fbv-blue);
}

/* ---------- Base ---------- */
html { line-height: normal; }
body {
	margin: 0;
	font-family: var(--fbv-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--fbv-text);
	background: #fff;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 1rem;
	font-family: var(--fbv-font);
	font-weight: 500;
	line-height: 1.2;
	color: var(--fbv-heading);
}
h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4, h5, h6 { font-size: 20px; }
p, figure { margin: 0; padding: 0; }
b, strong { font-weight: 500; }
ul, ol { margin: 0; padding-left: 1rem; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--fbv-blue); text-decoration: none; transition: color .2s; outline: none; }
a:hover, a:focus { color: var(--fbv-blue); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--fbv-cyan); outline-offset: 2px; }
label { display: inline-block; margin-bottom: 5px; }
small { font-size: 80%; }

.row { --bs-gutter-x: 30px; }

.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-content { flex-grow: 9; }

.skip-link {
	position: absolute; top: -40px; left: 0; z-index: 9999;
	padding: 8px 16px; background: #0066cc; color: #fff; font-weight: 700;
	border-radius: 0 0 4px 0; transition: top .3s;
}
.skip-link:focus { top: 0; color: #fff; }

/* visibilità responsive come l'originale (onlymobile / onlydesktop) */
@media (min-width: 768px) { .only-mobile, .onlymobile { display: none !important; } }
@media (max-width: 768px) { .only-desktop, .onlydesktop { display: none !important; } }

/* Contenitore "boxed" con i padding asimmetrici del tema originale */
.boxed { padding-left: var(--fbv-gutter-l); padding-right: var(--fbv-gutter-r); }

/* ---------- Campi modulo (base) ---------- */
textarea, select,
input[type="text"], input[type="password"], input[type="email"], input[type="url"],
input[type="search"], input[type="tel"], input[type="number"], input[type="date"] {
	width: 100%;
	padding: .5rem .75rem;
	border: 1px solid #e1e1e1;
	border-radius: 0;
	background: #fff;
	color: var(--fbv-grey);
	font-family: var(--fbv-font);
	font-size: 16px;
	line-height: 1.6;
	outline: none;
	appearance: none;
	transition: .2s;
}
textarea { vertical-align: top; resize: vertical; overflow: auto; }
select {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='36' height='36' viewBox='0 0 36 36' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='scale(0.75)'%3E%3Cpath fill='%23555555' d='M8,18.41l1.41,-1.41l14.59,13.17l14.59,-13.17l1.41,1.41l-16,14.59l-16,-14.59Z'/%3E%3C/g%3E%3C/svg%3E");
	background-position: right 20px center;
	background-repeat: no-repeat;
	background-size: 20px auto;
}
textarea:focus, select:focus, input:focus { outline: none; }
/* Accessibilità: focus da tastiera visibile su tutti i campi (ricerca, login, password, caselle di consenso). */
textarea:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--fbv-cyan); outline-offset: 2px; }
/* nel modulo contatti i campi di testo mostrano già il focus con il bordo colorato */
.contact-form input:not([type="checkbox"]):not([type="radio"]):focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible { outline: none; }
form p { margin-top: 1rem; margin-bottom: 1rem; }

/* checkbox personalizzate (tutti i moduli tranne il login) */
.check { display: inline-block; margin: 0 0 5px; }
form:not(.login-form) input[type="checkbox"] {
	appearance: none;
	display: inline-block;
	width: 20px; height: 20px;
	margin: 0 15px 0 0; padding: 0;
	vertical-align: middle;
	border: 1px solid var(--fbv-cyan-dark);
	border-radius: 0;
	background: #fff no-repeat center / 15px auto;
	cursor: pointer;
}
form:not(.login-form) input[type="checkbox"]:checked {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317A8E3' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Componenti tipografici (classi del design originale)
   ========================================================================== */
.h-sect {
	width: 100%;
	margin-bottom: 10px;
	font-size: 65px;
	font-weight: 700;
	line-height: 1em;
	text-align: center;
	color: var(--fbv-text);
}
.t-sect {
	width: 100%;
	margin-top: 10px;
	margin-bottom: 25px;
	font-size: 22px;
	font-weight: 300;
	line-height: 1.2em;
	text-align: center;
	color: var(--fbv-text);
}
.h-box {
	width: 100%;
	font-size: 65px;
	font-weight: 700;
	line-height: 1em;
	text-align: left;
	color: #fff;
}
.t-box {
	width: 72%;
	margin-top: 10px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2em;
	text-align: left;
	color: #fff;
}
.t-box2 {
	width: 100%;
	margin-top: 10px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.1em;
	text-align: left;
	color: #fff;
}
@media (max-width: 1500px) {
	.h-sect { font-size: 36px; }
	.t-sect { font-size: 16px; margin-bottom: 0; }
	.h-box { font-size: 38px; line-height: 38px; }
	.t-box { width: 90%; margin-top: 15px; font-size: 15px; }
	.t-box2 { font-size: 18px; }
}
@media (max-width: 575px) {
	.h-sect { font-size: 30px; }
	.h-box { font-size: 22px; line-height: 1em; text-shadow: 1px 1px 2px rgba(0, 0, 0, .25); }
	.t-box { font-size: 12px; line-height: 1.2em; }
	.t-box2 { font-size: 15px; }
}

/* ---------- Pulsanti ---------- */
.btn-default,
.btn-blu,
.btn-white {
	display: inline-block;
	margin: 20px 0 15px;
	padding: 15px 30px;
	border: 1px solid var(--fbv-cyan);
	border-radius: 0;
	background-color: var(--fbv-cyan);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.1em;
	text-align: center;
	text-transform: uppercase;
	transition: background-color .2s, color .2s, border-color .2s;
}
/* Hover: sfondo bianco e testo nero ovunque (!important come l'originale: vince anche sulle regole di contesto, es. il form del footer). */
.btn-default:hover, .btn-default:focus,
.btn-default:hover *, .btn-default:focus * { background-color: #fff; color: #000 !important; }
.btn-default.inverso { background-color: #fff; border-color: #fff; color: var(--fbv-blue); }

.btn-blu { margin-bottom: 10px; border-color: #fff; background: #fff; color: var(--fbv-blue); }
.btn-blu:hover, .btn-blu:focus { background-color: transparent; border-color: #fff; color: #fff; }

.btn-white { margin-bottom: 10px; border-color: #fff; background: #fff; color: var(--fbv-green); }
.btn-white:hover, .btn-white:focus { background-color: transparent; color: #fff; }

@media (max-width: 991px) {
	.btn-default { padding: 8px 15px; font-size: 13px; }
}
@media (max-width: 575px) {
	.btn-default, .btn-white { margin-top: 0; }
	.btn-white { padding: 8px 15px; font-size: 13px; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: relative; z-index: 999; background: #fff; }

.site-header__desktop { display: none; }
.site-header__mobile { display: flex; }
@media (min-width: 993px) {
	.site-header__desktop { display: block; }
	.site-header__mobile, .mobile-menu { display: none !important; }
}

/* riga superiore */
.site-header__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 0 calc(var(--fbv-gutter-r) - 16px) 0 calc(var(--fbv-gutter-l) - 16px);
}
.site-header__logo { flex: 0 0 auto; padding: 10px 4px; }
.site-header__logo .site-logo__img { width: auto; height: 67px; }
.site-header__tools {
	display: flex;
	flex: 1 0 auto;
	justify-content: flex-end;
	align-items: center;
	margin: 6.4px 0;
	padding: 12px 16px;
	border-right: 1px solid var(--fbv-border);
}
/* il separatore serve solo prima di "Area Privata per medici" (solo in italiano) */
.site-header__tools:last-child { border-right: 0; }
.site-header__account { display: flex; flex: 0 0 auto; align-items: center; padding: 0 16px; }

.area-link { display: flex; align-items: center; color: #000; }
.area-link:hover, .area-link:focus { color: #000; }
.area-link:focus .area-link__text { text-decoration: underline; }
.area-link__icon { display: flex; }
.area-link__icon svg { width: 37px; height: 37px; border: 1px solid var(--fbv-blue); border-radius: 50%; fill: var(--fbv-blue); }
.area-link__text { margin-left: 5px; font-size: 14px; line-height: 1; color: var(--fbv-text); text-align: center; }

/* "Esci" per gli utenti collegati (dopo l'area privata su desktop, dopo il carrello su mobile) */
.logout-link { color: var(--fbv-text); font-size: 16px; font-weight: 700; line-height: 1.6; }
.logout-link:hover, .logout-link:focus { color: var(--fbv-text); }
.logout-link:focus { text-decoration: underline; }
.site-header__account .logout-link { padding-left: 15px; }

/* ricerca */
.site-search { position: relative; display: flex; }
.site-search__label {
	position: absolute; top: 0; left: 5px;
	margin: 0; padding: 4px;
	color: var(--fbv-text);
	line-height: 25.6px;
	pointer-events: none;
}
.site-search__label.is-hidden { display: none; }
.site-search .site-search__input {
	width: 209px;
	height: 35px;
	padding: 1px 2px 1px 7px;
	border: 1px solid #e0e0e0;
	background: transparent;
	color: #898989;
	font-weight: 300;
}
.site-search__btn {
	position: relative;
	height: 35px;
	padding: 7px 15px;
	border: 1px solid var(--fbv-cyan);
	background: var(--fbv-cyan);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: .2s;
}
.site-search__btn:hover, .site-search__btn:focus { background: #fff; color: #000; }

/* selettore lingua */
.lang-switch { position: relative; margin-right: 20px; font-size: 16px; line-height: 16px; }
.lang-switch__toggle {
	position: relative;
	display: flex; align-items: center;
	padding: 5px 32.4px 5px 10px;
	border: 1px solid #fff;
	background: #fff;
	color: #444;
	font: inherit;
	cursor: pointer;
}
.lang-switch__toggle::after {
	content: "";
	position: absolute; top: 50%; right: 10px;
	width: 10px; height: 10px;
	transform: translateY(-50%);
	background: url("../img/arrow.png") center / cover no-repeat;
}
.lang-switch__flag { width: 28px; height: 20px; margin-right: 10px; }
.lang-switch__flag + span { margin-left: .4em; } /* come WPML: .wpml-ls-flag + span */
.lang-switch__menu {
	position: absolute; top: 100%; left: 0; z-index: 101;
	width: 100%; margin: 0; padding: 0;
	list-style: none;
	visibility: hidden;
	background: #fff;
}
.lang-switch__menu li { border: 1px solid #fff; }
.lang-switch__menu li:hover, .lang-switch__menu li:focus-within { border-color: var(--fbv-blue); }
.lang-switch__menu a { display: flex; align-items: center; padding: 10px 15px; color: var(--fbv-blue); }
.lang-switch__menu a:hover, .lang-switch__menu a:focus { color: var(--fbv-cyan); }
/* Apertura: clic/tocco (is-open), passaggio del mouse solo dove esiste un mouse, focus da tastiera
   ("premi tab per navigare tra le altre lingue"). Hover e focus-within non devono bloccarlo aperto sui touch. */
@media (hover: hover) {
	.lang-switch:not(.lang-switch--mobile):hover .lang-switch__menu { visibility: visible; }
}
.lang-switch:not(.lang-switch--mobile):focus-within .lang-switch__menu, /* dopo un clic il pulsante rilascia il focus (main.js) */
.lang-switch.is-open .lang-switch__menu { visibility: visible; }

/* menu principale */
.main-nav { position: relative; }
.main-menu { display: flex; margin: 0; padding: 0; list-style: none; }
.main-menu > li { position: relative; flex: 9 1 0%; text-align: center; }
.main-menu > li > a {
	display: block;
	padding: 28px 15px;
	border-right: 1px solid #fff;
	background-color: var(--fbv-blue);
	color: #fff;
	font-weight: 400;
	letter-spacing: .5px;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}
.main-menu > li > a > span { position: relative; padding: 5px; }
.main-menu > li.current-menu-item > a,
.main-menu > li > a:hover,
.main-menu > li > a:focus { background-color: var(--fbv-blue-light); color: var(--fbv-blue); }
.main-menu > li:last-child > a { border-right: 0; }
.main-menu > .shoplink > a { background-color: var(--fbv-cyan); color: #fff; }
.main-menu > .shoplink:hover > a,
.main-menu > .shoplink > a:focus { border-right: 1px solid #fff; background-color: var(--fbv-blue-light); color: var(--fbv-blue); }
.main-menu > .shoplink > a > span { font-weight: 600; }
.fbv-shop-icon { height: 23px; width: 33px; margin: -10px 0 -5px; padding-right: 10px; fill: #fff; }
.main-menu > .shoplink:hover .fbv-shop-icon,
.main-menu > .shoplink > a:focus .fbv-shop-icon { fill: var(--fbv-blue); }

.main-menu .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 999;
	display: none;
	width: 15rem;
	margin: 0; padding: 10px 0;
	list-style: none;
	background: #fff;
	box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .15);
}
.main-menu > li:hover > .sub-menu,
.main-menu > li:focus-within > .sub-menu { display: block; animation: fbv-fade .25s ease; }
.main-menu .sub-menu a { display: flex; align-items: center; padding: 10px 24px; color: var(--fbv-grey); text-align: left; }
.main-menu .sub-menu a > span { position: relative; }
.main-menu .sub-menu a > span::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--fbv-blue);
	transform-origin: right center;
	transform: scaleX(0);
	transition: transform .8s cubic-bezier(.77, 0, .175, 1);
}
.main-menu .sub-menu a:hover, .main-menu .sub-menu a:focus { color: var(--fbv-blue); }
.main-menu .sub-menu a:hover > span::after { transform-origin: left center; transform: scaleX(1); transition-timing-function: cubic-bezier(.16, 1.08, .38, .98); }
@keyframes fbv-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1300px) {
	.main-menu > li > a > span { font-size: 71%; }
}
@media (max-width: 1200px) {
	.main-menu > li { flex-basis: auto; } /* come l'originale: sotto 1200px le voci si allargano in base al testo */
}
@media (max-width: 1060px) {
	.main-menu > li > a { font-size: 14px; }
	.area-link__icon { margin: 0 15px; }
}

/* header mobile */
.site-header__mobile {
	position: relative; z-index: 9;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	padding: 16px calc(var(--fbv-gutter-r) - 16px) 16px var(--fbv-gutter-l);
}
.menu-toggle {
	display: flex; flex-direction: column;
	flex: 0 0 auto;
	width: 55px;
	margin-left: -16px;
	padding: 0 0 0 16px;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.menu-toggle__bar { display: block; width: 44px; height: 3px; margin: 0 0 0 auto; background: var(--fbv-blue); transition: .4s; }
.menu-toggle__bar--top { margin: 6px 0 10px auto; }
.menu-toggle__bar--bottom { margin: 10px 0 6px auto; }
.menu-toggle.is-active .menu-toggle__bar--top { transform: translateY(13px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle__bar--middle { opacity: 0; }
.menu-toggle.is-active .menu-toggle__bar--bottom { transform: translateY(-13px) rotate(-45deg); }

.site-header__mobile-logo { flex: 9 0 auto; text-align: center; }
.site-header__mobile-logo .site-logo__img { width: auto; height: 40px; }
/* min-width: il logo resta nella stessa posizione anche dove il carrello non c'è (lingue senza shop) */
.site-header__mobile-shop { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; min-width: 88px; }
.site-header__mobile-shop .lang-switch { margin-right: 20px; }
.shop-icon {
	display: flex; align-items: center; justify-content: center;
	width: 46px; height: 48px;
	margin: 0 15px;
	border-radius: 50%;
	background: var(--fbv-cyan);
}
.shop-icon svg { width: 34px; height: 34px; fill: #fff; }
@media (max-width: 767px) {
	.site-header__mobile-shop .lang-switch { display: none; }
}

/* menu mobile */
/* pannello a tutta pagina sopra il contenuto (la barra con logo e chiusura resta sopra) */
.mobile-menu {
	display: none;
	position: absolute; top: 0; left: 0; z-index: 8;
	width: 100%;
	height: 100vh;
	background: #fff;
}
.mobile-menu.is-open { display: block; animation: fbv-fade .3s ease; }
.mobile-menu > nav { display: flex; flex-direction: column; justify-content: center; height: calc(100vh - 80px); overflow-y: auto; }
body.mm-active { overflow: hidden; } /* a menu aperto la pagina sotto non scorre */
.mobile-menu .lang-switch { margin: 0 0 15px; }
.mobile-menu .lang-switch__toggle { width: 100%; padding: 5px 0 5px 1rem; border: 0; color: var(--fbv-blue); font-size: 23px; line-height: 1; }
.mobile-menu .lang-switch__toggle::after { right: 33px; transition: transform .2s; } /* freccia allineata a quelle dei sottomenu */
.mobile-menu .lang-switch__toggle[aria-expanded="true"]::after { transform: translateY(-50%) rotate(180deg); }
.mobile-menu .lang-switch__flag { margin-right: 0; }
/* nel menu mobile la lingua è un sottomenu come le altre voci (si apre con la tendina, sposta le voci sotto) */
.mobile-menu .lang-switch__menu { position: static; display: none; visibility: visible; }
.mobile-menu .lang-switch.is-open .lang-switch__menu { display: block; }
.mobile-menu .lang-switch__menu li { border: 0; }
.mobile-menu .lang-switch__menu a { padding: 5px 1rem 5px 3rem; font-size: 23px; line-height: 1; }
.mobile-menu__list { margin: 0; padding: 0; list-style: none; }
.mobile-menu__list li { position: relative; }
.mobile-menu__list a {
	display: block;
	padding: 5px 1rem;
	color: var(--fbv-blue);
	font-size: 23px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
}
.mobile-menu__list .shoplink { display: none; }
.mobile-menu__list .sub-menu { display: none; margin: 0; padding: 0; list-style: none; }
.mobile-menu__list .sub-menu a { padding-left: 3rem; }
.mobile-menu__list li.is-open > .sub-menu { display: block; }
.fbv-submenu-toggle {
	position: absolute; top: 0; right: 0;
	padding: 4px 2rem;
	border: 0; background: transparent;
	cursor: pointer;
}
.fbv-submenu-toggle svg { fill: var(--fbv-blue); transition: transform .2s; }
.fbv-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ==========================================================================
   Banner di testata delle pagine
   ========================================================================== */
.page-hero { display: block; margin: 0; }
.page-hero img { display: block; width: 100%; height: auto; }
.page-hero__mobile { display: none !important; }
@media (max-width: 959px) {
	.page-hero__desktop { display: none !important; }
	.page-hero__mobile { display: block !important; }
}

/* ==========================================================================
   Video YouTube
   ========================================================================== */
.fbv-video { background: #000; overflow: hidden; }
.fbv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background-color: var(--fbv-blue); color: #fff; font-size: 16px; }

/* blocco "Richiedi informazioni" */
.footer-contact {
	padding: 40px var(--fbv-gutter-r) 40px 0;
	background: var(--fbv-bg-grey);
	color: var(--fbv-text);
}
.footer-contact__inner {
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 1500px;
	margin: 0 auto;
	padding: 40px 16px;
	background-clip: content-box;
	font-size: 19.2px;
	line-height: 1.6;
}
.footer-contact .contact-form { width: 60%; }

/* Il modulo è un form Contact Form 7: gli stili agiscono sul suo markup */
.contact-form { color: var(--fbv-text); font-size: 19.2px; line-height: 1.6; }
.contact-form .h-sect { margin-bottom: 20px; }
.contact-form .sotto { margin: 10px 0 70px; }
.contact-form label { color: var(--fbv-text); }
.wpcf7-form p:has(> .wpcf7-form-control-wrap > textarea) { text-align: right; }
.wpcf7-form p:has(> .wpcf7-form-control-wrap > textarea) > label { display: inline-block; width: 100%; text-align: left; }
.wpcf7-form p:has(.wpcf7-submit) { position: relative; text-align: center; }
.wpcf7-form .wpcf7-spinner { position: absolute; }
.wpcf7-form .wpcf7-list-item { display: inline-block; margin: 0; } /* lo spazio tra le righe è già nel margin della label */
.wpcf7-form .wpcf7-list-item-label::before,
.wpcf7-form .wpcf7-list-item-label::after { content: none; }
.wpcf7-form .wpcf7-response-output { font-size: 16px; }
.wpcf7-form .wpcf7-not-valid-tip { font-size: 14px; text-align: left; }
.contact-form .onlymobile .btn-default { margin: 10px 0 !important; }
.contact-form textarea,
.contact-form select,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
	display: inline-block;
	border-color: #898989;
	color: var(--fbv-text);
}
.contact-form textarea:focus,
.contact-form select:focus,
.contact-form input:focus { border-color: var(--fbv-cyan-dark); }
.contact-form .msg { height: 140px; }
.countchar, .countchar .wpcf7-character-count { font-size: 12px; font-weight: 400; color: var(--fbv-text); text-align: right; }
.obbligatorio { display: block; width: 100%; margin-top: -13px; font-size: 10px; text-align: left; }
.wpcf7-list-item-label, .check__label { font-size: 16px; font-weight: 400; color: #000; }
.wpcf7-list-item-label a, .check__label a { color: var(--fbv-cyan); }
.invio,
.wpcf7 .wpcf7-submit.invio {
	display: inline-block;
	position: relative;
	min-width: 100px;
	padding: 10px;
	border: 1px solid var(--fbv-cyan-dark);
	border-radius: 0;
	background-color: var(--fbv-cyan-dark);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45em;
	text-transform: uppercase;
	cursor: pointer;
	transition: .2s;
}
.invio:hover, .invio:focus,
.wpcf7 .wpcf7-submit.invio:hover, .wpcf7 .wpcf7-submit.invio:focus { background-color: #fff; color: #000; }
.fbv-form-response { margin: 2em .5em 1em; padding: .2em 1em; border: 2px solid #46b450; font-size: 16px; }
.fbv-form-response--ko { border-color: #dc3232; }
.was-validated :invalid { border-color: #dc3232 !important; }

@media (min-width: 783px) {
	.spaziatone3 { display: inline-block; width: 100%; margin-bottom: 36px; }
}
@media (min-width: 992px) {
	.contact-form form p:not(.sotto) { margin-bottom: 30px; }
}
@media (max-width: 991px) {
	.footer-contact { padding-right: 0; background: #fff; padding-bottom: 0; }
	/* riquadro grigio staccato 16px dai lati, con 40px di grigio sopra e sotto il form (come l'originale) */
	.footer-contact__inner { margin: 0 16px; padding: 40px 0; background-color: var(--fbv-bg-grey); background-clip: border-box; }
	.footer-contact .contact-form { width: 100%; padding: 0 15px; }
}
@media (max-width: 959px) {
	.check, .wpcf7-list-item > label { display: flex; }
	.check input, .wpcf7-list-item > label input { min-width: 20px; }
}
@media (max-width: 767px) {
	.footer-contact .contact-form { width: 90%; }
	.contact-form .onlymobile, .contact-form .onlymobile * { text-align: center; }
	.contact-form .onlymobile .btn-default { color: #fff !important; font-size: 24px; }
}
@media (max-width: 575px) {
	.footer-contact .contact-form { padding-left: 0; padding-right: 0; }
	.footer-contact .wpcf7-list-item-label { display: block; text-align: center; }
}

/* barra inferiore */
.footer-bottom { padding: 40px var(--fbv-gutter-r) 40px 0; font-size: 14px; line-height: 1.6; }
.footer-bottom__row { display: flex; max-width: 1500px; margin: 0 auto; padding: 0 16px; }
.footer-bottom__info { flex: 0 0 75%; max-width: 75%; padding-right: 16px; }
.footer-bottom__info p { display: flex; flex-wrap: wrap; justify-content: start; margin: 0; line-height: 1.7; }
.footer-bottom a { color: #fff; }
.copy { width: 100%; padding-right: 5px; font-size: 15px; font-weight: 300; line-height: 1.1; text-align: left; color: #fff; }
.footer-legal { column-gap: .3em; }
.footer-legal .legalLinksDiv a { font-size: 12px; text-transform: uppercase; }
.footer-bottom__logos {
	display: flex;
	flex: 0 0 25%;
	max-width: 25%;
	align-items: center;
	justify-content: end;
	padding-left: 16px;
}
.footer-bottom__logos a { display: block; margin-right: 30px; padding: 10px; background: #fff; }
.footer-bottom__logos a:last-child { margin-right: 0; }
.footer-bottom__logos img { width: auto; height: 25px; }

@media (max-width: 991px) {
	.footer-bottom { padding-right: 0; }
	.footer-bottom__row { flex-wrap: wrap; }
	.mob-reduced{
		font-size: 45px!important;
	}
	.reg-form__row{
		flex-direction: column;
	}
}
@media (max-width: 959px) {
	.footer-bottom { padding: 40px 0; }
	.footer-bottom__row { padding: 0 20px; }
	.footer-bottom__info, .footer-bottom__logos { flex: 0 0 100%; max-width: 100%; padding: 0; text-align: center; }
	.footer-bottom__info { margin-bottom: 5px; }
	.footer-bottom__info p { display: block; margin-bottom: 15px; line-height: 15px; }
	.footer-bottom__info .copy { text-align: center; }
	.footer-bottom__logos { justify-content: center; margin-top: 20px; }
}
@media (max-width: 767px) {
	.footer-bottom__info .copy { display: inline-block; margin-bottom: 23px; }
}

/*
 * Schermi molto larghi (oltre 2000px): header, banner principale e fasce del footer restano a piena pagina;
 * il contenuto della pagina si ferma a 2000px come nel sito originale e i testi del footer restano nei loro contenitori.
 */
@media (min-width: 2001px) {
	body { overflow-x: clip; } /* il banner a 100vw non deve creare scroll orizzontale sotto la barra di scorrimento */
	.site-content > main { width: 100%; max-width: 2000px; margin-right: auto; margin-left: auto; }
	.page-hero, .home-hero { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
}

/* 992–1199px: nel tema originale il blocco copyright occupa metà riga e le due colonne si affiancano a piena larghezza */
@media (min-width: 992px) and (max-width: 1199px) {
	.footer-bottom__row { width: 50%; margin: 0; }
	.footer-bottom__info, .footer-bottom__logos { flex: 0 0 100%; max-width: 100%; }
}


.grecaptcha-badge{display: none!important;}
