/*Version 1.0 - 13/06/2023*/
/* https://www.toptal.com/developers/cssminifier */
/* webfont */
/* https://gwfh.mranftl.com/fonts */
/* filter compute: https://codepen.io/sosuke/pen/Pjoqqp */

/*GOOGLE TEST MOBILE*/
/*412 x 823*/ 

/*GOOGLE TEST DESKTOP*/
/*800 x 600*/


.pt-sans-regular {
  font-family: "PT Sans", serif;
  font-weight: 400;
  font-style: normal;
}

.pt-sans-bold {
  font-family: "PT Sans", serif;
  font-weight: 700;
  font-style: normal;
}

.pt-sans-regular-italic {
  font-family: "PT Sans", serif;
  font-weight: 400;
  font-style: italic;
}

.pt-sans-bold-italic {
  font-family: "PT Sans", serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}


/* <weight>: Use a value from 200 to 1000
// <uniquifier>: Use a unique and descriptive class name */

.nunito-sans {
	font-family: "Nunito Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
	font-variation-settings:
	"wdth" 100,
	"YTLC" 500;
}

/* <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name */

.raleway {
	font-family: "Raleway", sans-serif;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
}




/*GENERICI*/
.nomobile {
	display: none !important;
}
.onlylargedesktop, .onlybigdesktop {
	display: none !important;
}
.nascosto, .nascostotest {
	display: none !important;
}
.intl-tel-input {
	width: 100% !important;
}
#phone, #phoneb {
	padding-left: 4.5em !important;
}
.iti-arrow {
	display: none;
}


.alluppercase {
	text-transform: uppercase;
}
a:link, a:visited {
	color: rgb(212, 121, 38);
	text-decoration: none;
}
a:hover {
	color: #1f1d42;
}

.btn, .btn-default {
	background-color: rgba(131,187,86,1);
	color: rgba(255,255,255,1) !important;
	margin: 1em auto;
	padding: 1em;
	word-wrap: break-word;
	text-transform: uppercase;
	font-weight: 400;
	line-height: 1.5em;
	border: none;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	display: inline-block;
	border-radius: 0.25em;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:hover {
	background-color: rgb(212, 121, 38);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%; /* Mantieni la compatibilità con layout basati su 100% */
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "Nunito Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
	font-variation-settings: "wdth" 100, "YTLC" 500;
	color: rgba(102, 102, 102, 1);
    background-color: rgba(241,241,241,1);
    line-height: 1.5em;
    height: auto; /* Permetti al body di espandersi oltre il viewport */
    min-height: 100%; /* Mantieni un'altezza minima */
}

h1 {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-style: normal;
}

/*SUPERHEADER*/	
.superheader {
	background-color: #1f1d42;
	color: rgb(212, 121, 38);
	font-weight: 700;
	display: block;
	width: 100%;
	text-align: center;
	padding: 1em 0;
	font-size: 1.2em;
	display: none;
}
.superheader span {
	color: #ffffff;
}
.innersuperheader {
	width: 80%;
	max-width: 1024px;
	max-width: 1200px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.innersuperheader p {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.innersuperheader .icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	border: 0.1em solid;
	border-color: rgb(212, 121, 38);
	border-radius: 50%;
	text-decoration: none;
}

.innersuperheader .icon-button img {
	height: 1em;
	width: 1em;
	filter: invert(53%) sepia(23%) saturate(1343%) hue-rotate(347deg) brightness(95%) contrast(101%);
}

.innersuperheader .left {
	text-align: left;
}

.innersuperheader .right {
	text-align: right;
}
.superheader a:link, .superheader a:visited {
	color: rgb(212, 121, 38);
	text-decoration: none;
}
.superheader a:hover {
	color: #ffffff;
}

.icon-button:hover {
	border-color: #ffffff;
}
.icon-button:hover img {
	filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(108deg) brightness(105%) contrast(112%);
}

.bgtransparent {
	background: transparent !important;
}

/*HEADER*/	
header {
	width: 100%;
	background-color: #ffffff;
	position: fixed;
	top: 0;
	z-index: 1000;
}
header.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* opzionale */
}
header a:link, header a:visited {
	color: #1f1d42;
	text-transform: uppercase;
	text-decoration: none;
}
header a:hover {
	color: rgb(212, 121, 38);
}



header .innerheader {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1em;
	position: relative;
	height: 5em;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* aggiunta dell'ombra */
}

.innerheader .logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0.5em;
	height: 4em;
    width: auto;
}

.logowhite {
	height: 5.5em;
    width: auto;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(205deg) brightness(106%) contrast(105%);
}
.logowhite:hover {
	filter: invert(84%) sepia(0%) saturate(0%) hue-rotate(101deg) brightness(96%) contrast(96%);
}

.innerheader .menubtn {
	margin-left: 0;
}

.innerheader .callus {
	margin-right: 0;
}
.callus img {
	height: 2em;
	width: auto;
	filter: invert(53%) sepia(23%) saturate(1343%) hue-rotate(347deg) brightness(95%) contrast(101%);
}
.menubtn img {
	height: 2em;
	width: auto;
	filter: invert(53%) sepia(23%) saturate(1343%) hue-rotate(347deg) brightness(95%) contrast(101%);
}
.closemenu {
	display: none;
}
.mainnav {
	display: none;
	position: absolute;
	top: 5em;
	background-color: rgb(212, 121, 38);
	list-style: none;
	margin: 0;
	padding: 3em 0 1em 0;
	width: 100%;
	left: 0;
	border-bottom: 3em solid #ffffff;
}
.mainnav a:link, .mainnav a:visited {
	color: #fff;
	display: block;
	padding: 0.2em 1em;
	text-align: center;
}
.mainnav a.selected:link, .mainnav a.selected:visited {
		color: #e0e0e0;
	}
/*PREFOOTER*/
.prefooter {
	background-color: rgb(212, 121, 38);
	
	color: rgb(33, 33, 33);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.prefootertext {
	position: relative;
	z-index: 1;
	background-color: rgba(212, 121, 38, 0.9);
	width: 100%;
	padding: 2em;
}
.prefooter h4 {
	text-transform: uppercase;
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 1.2em;
	letter-spacing: 0.2em;
	margin-bottom: 0.8em;
}
.prefooter h5 {
	font-size: 2.5em;
	margin-bottom: 0.8em;
	line-height: 1.2em;
}
.prefooter p {
	color: #ffffff;
	font-size: 1.2em;
}
.prefooter .btn {
	border: 0.1em solid #1f1d42;
	background-color: #1f1d42;
	color: #fff;
	font-weight: 700;
}
.prefooter .btn:hover {
	
	border: 0.1em solid #000;
	background-color: rgb(212, 121, 38);
	color: #000;
	
}
.prefooter .bg-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}


/*FOOTER*/	
footer {
	color: #ffffff;
	background-color: #1f1d42;
	text-align: center;
	padding: 1em;
}
footer a:link, footer a:visited {
	color: #ffffff;
	text-decoration: none;
}
footer div {
	margin-bottom: 1em;
}

footer h4 {
	position: relative;
	display: inline-block; /* necessario per calcolare bene la larghezza */
	text-transform: uppercase;
	font-size: 1.5em;
	margin-bottom: 0.5em;
}

footer h4::after {
	content: "";
	display: block;
	width: 40%; /* 1/3 della larghezza del contenitore <h4> */
	height: 0.2em;
	background-color: rgb(212, 121, 38); /* il tuo arancione */
	margin-top: 0.3em;
}
footer .box-inline ul {
	display: flex;
	flex-direction: column; /* MOBILE: elementi uno sotto l'altro */
	align-items: center;
	gap: 0.5em;
	padding: 1em 0;
	margin: 0;
	list-style: none;
}

footer .box-inline li {
	display: flex;
	align-items: center;
	height: 56px;
}

/*immagine sfondo pagina*/
.mainimage {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	z-index: -1;
	margin: 0;
	padding: 0;
}

.mainimage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none; /* per evitare che copra link e clic */
}
/*MAIN*/
main {
	margin-top: 5em;
}
h1 {
	font-size: 3.5em;
    margin-bottom: 0.3em;
    line-height: 1.2em;
    color: #1f1d42;
}
h1::before {
    content: "";
    display: block;
    width: 40%;
    height: 0.2em;
    background-color: rgb(212, 121, 38);
    margin-top: 0.3em;
}
h2 {
	font-size: 2.5em;
    margin-bottom: 0.3em;
    line-height: 1.2em;
    color: rgb(212, 121, 38);
}
h3 {
	font-size: 2.5em;
    margin-bottom: 0.3em;
    line-height: 1.2em;
    color: #1f1d42;
}
h3 span {
	display: block;
	width: 100%;
	color: rgb(212, 121, 38);
	text-transform: uppercase;
	font-size: 0.4em;
    line-height: 0.5em;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 1em;
}

.row h3:not(.nounderline) {
	position: relative;
	padding-bottom: 0.5em;
}

.row h3:not(.nounderline)::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50%;
	height: 0.05em;
	background-color: #ccc;
}

.row h3:not(.nounderline)::before {
	content: "";
	position: absolute;
	left: 10%;
	bottom: 0;
	transform: translateY(50%);
	width: 0.3em;
	height: 0.3em;
	background-color: rgb(212, 121, 38);
	border-radius: 50%;
	z-index: 1;
}

/*immagini affiancate*/

.rowlarge {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: rgba(241, 241, 241, 1);
}
.row {
	background: rgba(241, 241, 241, 1);
}
.rowwhite {
	background: rgba(255, 255, 255, 1);
}

.rowinner {
	width: 100%;
	max-width: 1024px;
	max-width: 1200px;
	margin: auto;
	display: flex;
	flex-direction: column;
}
.rowspacer {
	min-height: 25em;
	background: transparent;
}
.rowmodulo {
	background-color: rgba(212, 121, 38, 0.8);
	color: #fff;
		text-align: center;
		    padding: 1em;
}

.rowthree {
	display: flex;
	flex-direction: column;
	gap: 2em;
	padding: 2em 1em;
}
.row p {
	font-size: 1.2em;
	line-height: 1.5em;
}
.box-three {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1em;
	box-sizing: border-box;
	background-color: #fff;
	border-radius: 0.5em;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.box-three a.immagine {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3; /* forza proporzione */
	overflow: hidden;
	border-radius: 0.5em;
}

.box-three a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.4s ease;
}

.box-three a:hover img {
	transform: scale(1.08);
}

.box-three h3 {
	display: block;
	width: 100%;
	color: rgb(212, 121, 38);
	text-transform: uppercase;
	font-size: 1.2em;
    line-height: 1.2em;
    font-weight: 900;
    letter-spacing: 0.2em;
	margin-top: 1em;
}

.box-three p {
	margin-bottom: 1em;
	color: #666;
	font-size: 1.3em;
	line-height: 1.2em;
}

.box {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.image-box {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	order: -1;
}
.image-box img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	pointer-events: none;
}

.text-box {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	text-align: left;
	padding: 1em;
	order: 0;


}

.text-box ul {
	list-style-position: outside;
	margin-left: 1.2em;   /* sposta tutta la lista a destra */
	padding-left: 0;
}

.text-box li {
	margin-bottom: 0.5em;
}

.box-tags {
	list-style: none;
	padding: 0;
	margin: 2em 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 1.5em;
	width: calc(100% - 2em);
}

.box-tags li {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1em;
	border-radius: 0.5em;
	box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.05);
	background-color: #ffffff;
	transition: transform 0.3s ease;
}

.box-tags li:hover {
	transform: translateY(-4px);
}

.box-tags img {
	width: 3em;
	height: auto;
	margin-bottom: 0.8em;
	filter: invert(53%) sepia(23%) saturate(1343%) hue-rotate(347deg) brightness(95%) contrast(101%);
}

/*MODULO CONTATTI*/
.centerbox {
	    width: calc(100% - 2em);
    margin: auto;
}
.contact-form {
  max-width: 900px;
  margin: auto;
  padding: 2em;
  color: white;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 1em;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full {
  flex: 1 1 100%;
}

input, textarea {
  border: 0.1em solid #fff;
  background: transparent;
  color: white;
  padding: 0.5em;
  font-size: 1em;
  font-family: "Nunito Sans", sans-serif;
}

input:focus, textarea:focus {
  outline: none;
  border-color: orange;
}

.form-check {
  margin: 1em 0;
  font-size: 0.9em;
}

.form-check input {
  margin-right: 0.5em;
}
.contact-form label {
	text-align: left;
}

.form-submit {
  text-align: center;
}

.form-submit button {
	border: 0.1em solid #1f1d42;
    background-color: #1f1d42;
    color: #fff;
    font-weight: 700;
}

.form-submit button:hover {
  background: #d47926;
  color: white;
}

.errore {
    border: 0.1em solid red;
    background-color: #ffe5e5;
    color: #000;
}
.form-check a:link, .form-check a:visited {
	color: #ffffff;
	font-weight: 700;
	text-decoration: underlinen;
}

.messaggio-esito {
  margin-top: 1em;
  padding: 1em;
  border-radius: 0.5em;
  font-weight: bold;
  text-align: center;
}

.messaggio-esito.successo {
  background-color: transparent;
	color: #ffffff;
	border: 0.1em solid #fff;
	font-size: 2.5em;
    line-height: 1.2em;
}

.messaggio-esito.errore {
  background-color: #f2dede;
  color: #a94442;
}

.faq-box {
  background: rgb(212, 121, 38);
  padding: 2em;
  color: white;
  border-radius: 10px;
  width: calc(100% - 4em);
  margin: auto;
   font-family: "Nunito Sans", sans-serif;
}

.faq-box h2,
.faq-box p {
  text-align: left;
}

.faq-item {
  margin: 1em 0;
}

.faq-question {
  width: 100%;
  background: white;
  color: #333;
  padding: 1em;
  border: none;
  text-align: left;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  border-radius: 0.2em;
  transition: background 0.3s;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.2em;
  line-height: 1.3em;
}

.faq-question::after {
  content: "⌄";
  position: absolute;
  right: 1rem;
  transition: transform 0.3s;
}

.faq-question.active::after {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  background: #fff;
  color: #333;
  padding: 1rem;
  margin-top: 0.5rem;
  border-radius: 4px;
}
.faq-answer {
  text-align: left;
  background-color: #e1e1e1;
}

.faq-answer p {
  margin-bottom: 1em;
}

.faq-answer ul {
  list-style-position: inside;       /* bullet allineato col testo */
  padding-left: 1em;                 /* margine per non toccare il bordo */
  text-indent: -1em;                 /* rientro negativo per portare il testo alla sinistra del bullet */
  font-size: 1.2em;
  line-height: 1.3em;
}

.faq-answer ul li {
  padding-left: 1em;                 /* spazio dopo il bullet */
  margin-bottom: 0.5em;              /* spaziatura tra gli elementi */
}

@media (min-width:768px) {
	
}


@media (min-width:1024px) { /* big landscape tablets, laptops, and desktops */ 
	.nomobile {
		display: inline !important;
	}

	.superheader {
		display: block;
	}
	header {
		position: relative;
	}
	.menubtn {
		display: none;
	}
	.innerheader .logo {
		position: static;
		height: 4.5em;
		width: auto;
		margin-left: 1em;
		transform: none;
	}
	.mainnav {
		display: flex;
		position: static;
		background-color: transparent;
		margin: 0;
		padding: 0;
		border-bottom: 0;
	}

	.mainnav li {
		display: inline-block;
	}
	.mainnav a:link, .mainnav a:visited {
		color: #1f1d42;
		transition: color 0.3s ease;
		font-weight: 600;
	}

	.mainnav a.selected:link, .mainnav a.selected:visited {
		color: rgb(212, 121, 38);
	}
	.mainnav a:hover {
		color: rgb(212, 121, 38);
	}
	.innerheader .callus {
		display: flex;
		align-items: center;
		gap: 0.5em;
		margin-right: 1em;
		background-color: rgb(212, 121, 38);
		padding: 0.5em 1em;
		border-radius: 0.5em;
		text-decoration: none;
		color: #ffffff;
		font-weight: 700;
	}
	.innerheader .callus:hover {
		background-color: rgb(201 103 13);
	}
	
	.innerheader .callus:link,
	.innerheader .callus:visited {
		color: #ffffff;
		font-weight: 700;
	}
	.callus img {
		height: 2em;
		width: auto;
		filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(108deg) brightness(105%) contrast(112%);
	}

	/*FOOTER*/
	footer .box-inline ul {
		flex-direction: row; /* DESKTOP: elementi in riga */
		justify-content: center;
		gap: 2em;
	}

	/*MAIN*/
	main {
		margin-top: 0;
	}
	
	/*immagini affiancate*/
	.rowlarge {
		flex-direction: row;
		align-items: stretch;
	}
	.rowinner {
		padding: 4em 0;
		flex-direction: row;
	}


	.box {
		width: 50%;
		padding: 2em;
	}

	.image-box {
		aspect-ratio: unset;
		min-height: calc((100vw / 2) * 9 / 16); /* forza minimo 16:9 sulla metà schermo */
		position: relative;
	}

	.image-box img {
		position: absolute;
	}

	.image-box,
	.text-box {
		order: 0;
	}

	.single-box .box {
		width: 100%;
	}

	.rowthree {
		flex-direction: row;
		justify-content: space-between;
		padding: 4em 0;
	}

	.box-three {
		width: calc(33.333% - 2em); /* tre colonne con spazio tra di loro */
	}

	.box-three h3 {
		min-height: 2.2em;
	}
	.box-tags {
		flex-direction: row;
		justify-content: space-between;
	}

	.box-tags li {
		width: 32%;
	}

	.rowmodulo {
		color: #fff;
		text-align: center;
	}
	.rowmodulo h3 span {
		color: #ffffff;
	}

	
}
@media (min-width:1348px) { /* menu INTERMEDIO */
	.onlybigdesktop {
		display: inline !important;
	}
	/*FOOTER*/
	.innerfooter {
		display: flex;
		justify-content: space-between;
		align-items: center;
		max-width: 1280px;
		margin: auto;
	}
}
@media (min-width:1280px) { /* hi-res laptops and desktops */ 
	
}
@media (min-width:1713px) { /* menu LARGO */
	.onlylargedesktop {
		display: inline !important;
	}
}
@media (min-width:1991px) { /* larger desktops */ 
	
}


