/* DEBUG */
/* *{
  outline: 1px solid red;
}*/

/* VARIABILI CSS */
:root {
  --font-color: #495860; /* testo principale */
  --color-1: #2636ac; /* titoli e bg blocchi (es:foot) */
  --color-2: #00ccc6; /* elementi di supporto (es: icone, buttons) */
  --color-3: #a3b6d3; /* pochi elementi (titoli light, icone disabled) */
  --color-4: #fff; /* per elementi con sfondo scuro (titoli slider o voci navbar) */
  --bg-color-1: #fff; /* colore principale di sfondo (bg principale pagine)*/
  --bg-color-2: #dffdfc; /* colore secondario di sfondo (tabelle, card e box della pagina) */
  --bg-color-3: #2636ac; /* colore sfondo altri elementi (tabelle on hover e card on hover) */
  --error-bg-color: #ff7f7f; /* Colore sfondo per errori */
  --success-bg-color: #75ea75;/* Colore sfondo per ok */
  --bg-color-backdrop: rgba(0, 0, 0, 0.8); /* Sfondo semi trasparente per modal */
  --btn-bg-color-hover: rgb(0,204,198); /* Sfondo button con mouse hover */
  --btn-glow-hover: 0px 0px 15px rgba(0, 204, 198, .75); /* Effetto glow button con mouse hover */ 
  --gradient-primary: linear-gradient(45deg, #2636AC 0%, #00CCC6 100%);
  --shadow-box: 0px 2px 10px 0px rgba(0,0,0,0.2); /* ombra generica per i box come cards, tables... */
  --shadow-box-hover: 0px 7px 10px 0px rgba(0,0,0,0.4); /* ombra generica al hover o focus per i box come cards, tables... */
  --border-box-width: 1px; /* spessore bordo generico per linee separazione tables, list group nelle cards... */
  --border-radius: 10px; /* angoli arrotondati generico, es: angoli cards e buttons */
  --max-width: 1600px; 
}


/* STILI BASE */
html,body{
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.5em;
  color: var(--font-color);
  padding: 0;
  margin: 0;
  background-color: #f1f5fe;
  /*  overflow-x: hidden;
  overflow-y: auto; */ /* Causano la doppia scrollbare un sacco di casini con lo scroll */
}
html {
  height: 100vh;
  height: -webkit-fill-available; /* mobile viewport bug fix (forse risolve su iOS ma non su Android) */
}
body{
  min-height: 100vh;
  min-height: -webkit-fill-available; /* mobile viewport bug fix (forse risolve su iOS ma non su Android) */
  background-size: 100% 200%;
  background-attachment: fixed;
  background-position: 0px 0px,0px 0px,0px 0px,0px 0px,0px 0px,0px 0px,0px 0px;
  background-image: radial-gradient(18% 28% at 18% 71%, #FFFFFF59 6%, #073AFF00 100%),radial-gradient(70% 53% at 36% 76%, #F1F5FEFF 0%, #073AFF00 100%),radial-gradient(18% 28% at 35% 87%, #FFFFFFFF 7%, #073AFF00 100%),radial-gradient(35% 56% at 91% 74%, #f1f5fe 9%, #073AFF00 100%),linear-gradient(90deg, #F1F5FEFF 0%, #D1ECF3FF 100%);
}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: var(--color-1);
  line-height: 1.5em;
}
.text-secondary{
  color: var(--color-2) !important;
}
.light{
  /* Classe aggiuntiva per titoli light */
  font-weight: normal;
  color: var(--color-3);
}
a{
  color: var(--color-2);
  text-decoration: none;
}
a:hover, a:focus{
  color: var(--color-2);
  text-decoration: underline;
}
::selection{
  color: var(--color-4);
  background: var(--color-2);
  text-shadow: none;
}
::-moz-selection{
  color: var(--color-4);
  background: var(--color-2);
  text-shadow: none;
}
table td, table th{
  vertical-align: middle;
}


/* ANIMAZIONI */
/* rubberBand from Animate.css */
@keyframes rubberBand { 
  from {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    transform: scale3d(1.05, 0.95, 1);
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}
/* bounceIn from Animate.css */
@keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}


/* STILI GENERICI */
main section, main aside{
  min-height: 100vh;
  padding: 5rem 0;
}

.max-width{
  max-width: var(--max-width);
}

/* Stile generici > titolo con gradient */
.title__gradient {
  display: inline-block;
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
} 

/* Stili generici > Icon */
.icon {
  display: block;
  width: 75px;
  margin: 0 auto 0 auto;
}

/* Stili generici > Titoli */
.sez_title{
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--color-2);
  display: flex;
  justify-content: center;
  margin-bottom: -10px;
}
.sez_subtitle{
  font-size: 2.25rem;
  line-height: 1.25em;
  margin-bottom: 4rem;
}
.sez_subtitle + p{
  margin-top: -3rem;
  margin-bottom: 4rem;
}
.sez_subtitle + div{
  margin-top: -1rem;
}

/* Stili generici > Buttons */
.btn{
  font-size: 1.05rem;
  line-height: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  -webkit-border-radius: var(--border-radius);
  -moz-border-radius: var(--border-radius);
  border-radius: var(--border-radius);
  transition: all .25s ease-in-out;
  /*min-width: 150px;*/
  padding: .75rem 1rem;
  /*margin: 0.5rem 1rem;*/
  border: 0;
}
.btn > span{
  display: inline-block;
}
.btn:hover, .btn:focus{
  text-decoration: none;
}
/* Btn primario  */
.btn-primary{
  color: var(--color-4);
  background: var(--color-2);
  background: var(--gradient-primary);
  border-bottom: 3px solid rgba(0,0,0,.5);
}
.btn-primary:hover, 
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active, 
.btn-primary:not(:disabled):not(.disabled):active, 
.show>.btn-primary.dropdown-toggle{
  color: var(--color-4);
  background: var(--btn-bg-color-hover);
  background: var(--gradient-primary);
  -webkit-box-shadow: var(--btn-glow-hover);
  -moz-box-shadow: var(--btn-glow-hover);
  box-shadow: var(--btn-glow-hover);
}
.btn-primary.disabled, .btn-primary:disabled {
  opacity: 0.5;
  color: var(--color-4);
  background-color: var(--color-2);
}
.btn-primary .icon{
  fill: var(--color-4);
}
/* Btn grande */
.btn.btn-lg{
  font-size: 1.5rem;
  line-height: 1.5em;
  padding: 0.75rem 1.5rem;
}

/* Stili generici > Cards */
.card{
  border: none;
  -webkit-box-shadow: var(--shadow-box);
  -moz-box-shadow: var(--shadow-box);
  -o-box-shadow: var(--shadow-box);
  box-shadow: var(--shadow-box);
}
.card-img-gradient{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  opacity: 0;
  transition: all .5s cubic-bezier(0.7, 0, 0.3, 1);
  background: rgb(249,244,240);
  background: -moz-linear-gradient(180deg, rgba(249,244,240,0.4) 20%, rgba(249,244,240,1) 100%);
  background: -webkit-linear-gradient(180deg, rgba(249,244,240,0.4) 20%, rgba(249,244,240,1) 100%);
  background: linear-gradient(180deg, rgba(249,244,240,0.4) 20%, rgba(249,244,240,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f9f4f0",endColorstr="#f9f4f0",GradientType=1);    
}
.card-img-gradient::before{
  content: '+';
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  color: var(--color-2);
  font-size: 5rem;
}
.card-title a{
  color: var(--color-1);
}
.card-title a:focus,
.card-title a:hover{
  color: var(--color-1);
  text-decoration: none;
}
.card.card-hover .card-body{
  transition: all .5s cubic-bezier(0.7,0,0.3,1);
}
/* Cards hover */
.card.card-hover{
  transition: all .25s cubic-bezier(0.7,0,0.3,1);
  overflow: hidden;
  outline: 2px solid transparent;
}
.card.card-hover:focus,
.card.card-hover:hover{
  transform: scale(1.05);
  -webkit-box-shadow: var(--shadow-box-hover);
  -moz-box-shadow: var(--shadow-box-hover);
  -o-box-shadow: var(--shadow-box-hover);
  box-shadow: var(--shadow-box-hover);
  outline: 2px solid var(--color-2);
}
.card.card-hover .card-img-top{  
  transition: all .5s cubic-bezier(0.7,0,0.3,1);
}
.card.card-hover:hover .card-img-top,
.card.card-hover:focus .card-img-top{
  transform: scale(1.5) rotate(2deg);
}
.card.card-hover:hover .card-img-gradient, 
.card.card-hover:focus .card-img-gradient{
  opacity: 1;
}
.card.card-hover:hover .card-body,
.card.card-hover:focus .card-body{
  margin-top: -2rem;
}

/* Stili generici > Modal */
.modal-backdrop{
  background-color: var(--bg-color-backdrop);
}
.modal .btn-close{
  width: 1.6em;
  height: 1.6em;
  /*padding: 1em 1em;*/
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1.6em auto no-repeat;
  opacity: 1;
  transition: all 0.3s;
}
.modal .btn-close:hover,
.modal .btn-close:focus{
  transform: rotate(90deg);
}

/* Stili generici > Swiper */
/* Swiper Next, Prev */
.swiper-button-prev,
.swiper-button-next{
  color: var(--color-1);
}
.swiper-button-prev:hover,
.swiper-button-next:hover{
  animation: rubberBand; /* animatiom in Animate.css */
  animation-duration: 1s; 
}
/* Swiper Next, Prev > Dark */
.swiper-button-prev--dark,
.swiper-button-next--dark{
  color: var(--font-color);
}
/* Swiper Pagination */
.swiper-pagination{
  padding: 1rem;
}
.swiper-pagination-bullet{
  background: transparent;
  border: 3px solid var(--color-1);
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
  opacity: 1;
}
.swiper-pagination-bullet-active{
  background: var(--color-2);
  border: 3px solid var(--color-2);
  animation: bounceIn; 
  animation-duration: 0.5s; 
}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, 
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
  margin: 0;
}
/* Swiper Pagination > Dark*/
.swiper-pagination--dark .swiper-pagination-bullet{  
  border: 3px solid var(--font-color);
  box-shadow: none;
}
.swiper-pagination--dark .swiper-pagination-bullet-active{
  background: var(--color-2);
  border: 3px solid var(--color-2);
}


/* NAVBAR */
.navbar{
  height: 70px;
  background: transparent;
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
}
.navbar.scrolled{
  height: 70px;
  background: rgba(255, 255, 255, 0.85); /* Sfondo bianco semi-trasparente */
  backdrop-filter: blur(5px); /* Effetto blur */
  -webkit-backdrop-filter: blur(5px); /* Blur per Safari */
  -webkit-box-shadow: var(--shadow-box);
  -moz-box-shadow: var(--shadow-box);
  -o-box-shadow: var(--shadow-box);
  box-shadow: var(--shadow-box);
}
.navbar-brand, .navbar-brand:hover, .navbar-brand:focus, .navbar-brand:active{
  text-decoration: none;
  margin: 0;
}
.navbar-brand .summergest__simbolo,
.navbar.scrolled .navbar-brand .summergest__simbolo{
  width: 41px;
  height: 40px; 
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}
.navbar-brand .summergest__testo,
.navbar.scrolled .navbar-brand .summergest__testo{
  width: 156px;
  height: 40px; 
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}
.nav-link{
  color: var(--color-1);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.03em;
  border-color: var(--color-2);
}
.nav-link:focus, .nav-link:hover {
  color: var(--color-2);
  text-decoration: none;
}
.navbar .nav-link.active{
  color: var(--color-1);
  border-bottom: 6px solid var(--color-2);
}
.navbar-toggler {
  border: none;
  background: none;
  padding: 0;
  outline: none;
  cursor: pointer;
  height: 32px;
  width: 32px;
  /* */  
  z-index: 99;
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  /* */  
}
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus{
  outline: none;
  box-shadow: none;
}
.navbar-toggler span {
  display: block;
  opacity: 1;
  height: 4px;
  width: 100%;
  margin-bottom: 4px;
  position: relative;
  background: var(--color-1);
  border-radius: 2px;
  transition: all 0.3s ease-out;
}
.navbar-toggler span:nth-child(2) {
  opacity: 1;
}
.navbar-toggler span:nth-child(3) {
  margin-bottom: 0;
}
.navbar-toggler.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar-toggler.open span:nth-child(2) {
  opacity: 0;
  transform: rotate(45deg);
}
.navbar-toggler.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 767.99px) { /* Solo per menù offcanvas */
  .offcanvas-collapse {
    position: fixed;
    top: 0; /*70px;*/ /* Height of navbar */
    bottom: 0;
    left: -175px;
    width: 175px;
    height: 100svh;
    overflow-y: auto;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.85); /* Sfondo bianco semi-trasparente */
    /*backdrop-filter: blur(5px);*/ /* Effetto blur */
    /*-webkit-backdrop-filter: blur(5px);*/ /* Blur per Safari */
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    display: flex; 
    justify-content: space-evenly;
    flex-direction: column;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(175px);
  }  
  .nav-link{
      /*color: var(--color-4);*/
      padding: 1rem;
  }
  .navbar .nav-link.active{
    /*color: var(--color-4);*/
    border-bottom: 0;
    border-right: 6px solid var(--color-2);
  }
}
@media (min-width: 768px) { 
  .navbar{
    height: 110px;
  }
  .nav-link{
    padding: 0.5rem 0 0.15rem 0 !important;
    margin: 0 0.5rem !important;
  }
}
@media (min-width: 992px) {
  .nav-link{
    font-size: 1.05em;
    letter-spacing: 0.03em;
    margin: 0 1rem !important;
  }
  /*.navbar-brand img{
    width: 285px;
    height: 83px; 
  }*/
}
@media (min-width: 1200px) {
  .nav-link{
    margin: 0 1.5rem !important;
  }
}

/* Navbar dropdown */
.navbar .dropdown-menu:before { /* crea triangolo il alto al dropdown per un effetto "fumetto" */
  bottom: 100%;
  right: 10%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #fff;
  border-width: 7px;
}


/* HEADER */

/* Vetrina */
/* Swiper Styles */
.vetrina__slider {
  width: 100%;
  max-width: var(--max-width);
  height: 100vh;
  height: 100svh; /* dvh o svh risolve il bug dei 100vh che sforano su android (https://www.youtube.com/watch?v=pOuE9sgK9jY) */
  overflow: hidden;
  margin: 0 auto;
}
.vetrina__slider .swiper-slide{
  width: 100%;
  height: 100vh;
  height: 100svh; /* dvh o svh risolve il bug dei 100vh che sforano su android (https://www.youtube.com/watch?v=pOuE9sgK9jY) */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
/* Swiper slide img */
.vetrina__slider .swiper-slide .img{
  /* Animation initial state img */
  opacity: 0;
  transform: translateY(20px);
  transition: 
    transform 3s ease-out,
    opacity 1s ease-out;
  /*height: 100%; */
  max-height: 60svh;
  max-width: 80svw;
}
.vetrina__slider .swiper-slide .img img {
  /*height: 100%;*/ /* L'immagine si adatta all'altezza del genitore */
  /*width: auto;*/ /* Mantiene le proporzioni dell'immagine */
  object-fit: contain;
  /*mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 1));*/
  /*-webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 1));*/ /* Per compatibilità con browser WebKit */
}
.swiper-slide.swiper-slide-active .img{
  /* Animation final state img */
  opacity: 1;
  transform: translateY(0px);
}
/* Swiper slide text */
.vetrina__slider .swiper-slide .text {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  text-align: left;
  padding: 1rem;
  margin: 0;
  /* Animation initial state text */
  opacity: 0;
  transform: translateY(-20px);
  transition: 
    transform 3s ease-out,
    opacity 1s ease-out;
}
.vetrina__slider .swiper-slide .text h2 {
  font-size: 4vh; 
  line-height: 1.3em;
  color: var(--color-1);
  margin: 0;
  padding: 0;
}
.vetrina__slider .swiper-slide .text p {
  display: none;
  font-size: 1.1rem;
  line-height: 1.3em;
  margin: 0;
  padding: 0;
}
.vetrina__slider .swiper-slide.swiper-slide-active .text{ 
  /* Animation final state text */
  opacity: 1;
  transform: translateY(0px);
}
.vetrina__slider .btns{ 
  display: none;
}
/* Swiper Prev, Next */ 
.vetrina__slider .swiper-button-prev,
.vetrina__slider .swiper-button-next{
  display: none;
}
.vetrina__slider .swiper-button-next:after{
  float: right;
}
/* Swiper pagination */
.vetrina__slider .swiper-pagination{
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 2rem;
  position: relative;
  height: 4rem;
  top: -4rem;
  text-align: left;
  max-width: var(--max-width);
}
@media (min-width: 576px) {
  .vetrina__slider .swiper-slide .text {
    /*width: 75%;*/
    /* Animation start state text */
    transform: translateY(-30px);
  }  
  .vetrina__slider .swiper-slide.swiper-slide-active .text { 
    /* Animation final state text */
    transform: translateY(0px);
  }
}
@media (min-width: 768px) {
  .vetrina__slider .swiper-slide{
    flex-direction: row;
    gap: 0;
  }
  .vetrina__slider .swiper-slide .img{
    max-height: 60%;
    max-width: 40%;
  }
  .vetrina__slider .swiper-slide .text {
    width: 40%;
  }
  .vetrina__slider .swiper-slide .text h2 {
    margin: 0 0 2rem 0;
  } 
  .vetrina__slider .swiper-slide .text p {
    display: block;
    /*font-size: 1.25rem;*/
    line-height: 1.5em;
    margin: 0;
    padding: 0;
  }
  .vetrina__slider .btns{ 
    display: block;
    margin-top: 0.5rem;
  }
  .vetrina__slider .btns .btn{
    min-width: 150px;
    padding: 1rem 2rem;
    margin: 0.5rem 0;
  }
  .vetrina__slider .btns .btn:first-child{
    margin-right: 1rem;
  }
  /* Swiper Prev, Next */ 
  .vetrina__slider .swiper-button-prev{
    display: block;
    left: 1rem;
  }
  .vetrina__slider .swiper-button-next{
    display: block;
    right: 1rem;
  }
}
@media (min-width: 992px) {
  .vetrina__slider .swiper-slide .img{
    max-height: 70%;
    max-width: 40%;
  }
  .vetrina__slider .swiper-slide .text {
    width: 50%;
    /* Animation start state text */
    transform: translateY(-40px);
  }
  .vetrina__slider .swiper-slide .text h2 {
    font-size: 3rem;
    margin: 0 0 2rem 0;
  } 
  .vetrina__slider .swiper-slide .text p {
    font-size: 1.25rem;
  }
  .vetrina__slider .swiper-slide.swiper-slide-active .text { 
    /* Animation final state text */
    transform: translateY(0px);
  }
  /* Swiper Prev, Next */ 
  /*.vetrina__slider .swiper-button-next{
    right: 6rem;
  }*/
}
@media (min-width: 1200px) {
  .vetrina__slider .swiper-slide{
    flex-direction: row;
    gap: 2rem;
  }
  .vetrina__slider .swiper-slide .text h2 {
    font-size: 3.35rem;
  }  
  .vetrina__slider .swiper-slide .img{
    max-height: 70%;
    max-width: 35%;
  }
  .vetrina__slider .swiper-slide .text {
    width: 52%;
    /* Animation start state text */
    transform: translateY(-50px);
  }
  .vetrina__slider .swiper-slide.swiper-slide-active .text { 
    /* Animation final state text */
    transform: translateY(0px);
  }  
  .vetrina__slider .btns .btn{
    min-width: 200px;
    padding: 1.5rem 3rem;
  }
  /* Swiper Prev, Next */ 
  /*.vetrina__slider .swiper-button-next{
    right: 7rem;
  }*/
}
@media (min-width: 1400px) {
  .vetrina__slider .swiper-slide .text h2 {
    font-size: 3.75rem;
  }
  .vetrina__slider .swiper-slide .text {
    width: 52%;
  }
  .vetrina__slider .swiper-slide .img{
    max-height: 70%;
    max-width: 30%;
  }
}
@media (min-width: 1600px) {
  .vetrina__slider .swiper-slide .text h2 {
    font-size: 4.25rem;
  }
  .vetrina__slider .swiper-slide .text {
    width: 55%;
  }
}
@media (min-width: 1800px) {
  .vetrina__slider .swiper-slide .text h2 {
    font-size: 5rem;
  }
  .vetrina__slider .swiper-slide .text p {
    font-size: 1.75rem;
  }
  .vetrina__slider .swiper-slide .img {
    max-height: 70%;
    max-width: 35%;
  }
}

/* MAIN */

/* Section Caratteristiche */
.caratteristica{
  margin-bottom: 3rem;
}
.caratteristica__title{
  text-align: center;
}
.caratteristica p{
  text-align: center;
}

/* Section contattaci */
.contattaci{
  text-align: center;
  width: 100%;
  min-height: 75vh;
  padding: 0;
  background: url('../img/mappa-piscina-estiva-bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 50% 50%;
  /* Maschera */
  mask-image: linear-gradient(to bottom, 
      transparent 0%, 
      black 20vh, 
      black calc(100% - 20vh), 
      transparent 100%
  );
  /* Sintassi per compatibilità (Chrome, Safari, Edge moderni) */
  -webkit-mask-image: linear-gradient(to bottom, 
      transparent 0%, 
      black 20vh, 
      black calc(100% - 20vh), 
      transparent 100%
  );
}
.contattaci__title{
  font-size: 2rem;
  line-height: 1.2em;
  width: 90%;
  margin: 0 auto;
}
.contattaci p{
  font-size: 1.25rem;
  line-height: 1.5em;
}
.contattaci__up{
  align-self: flex-start;
  width: 100%;
  height: 10vh;
}
.contattaci__down{
  align-self: flex-end;
  width: 100%;
  height: 10vh;
}
@media (min-width: 768px) { 
  .contattaci{
    min-height: 90vh;
  }
  .contattaci__title{
    font-size: 2.5rem;
  }
}
@media (min-width: 992px) {
  .contattaci{
    min-height: 65vh;
  }
  .contattaci__title{
    font-size: 2.75rem;
    width: 70%;
  }
}
@media (min-width: 1200px) {
  .contattaci__title{
    font-size: 3.5rem;
    width: 90%;
  }
}

/* Video */
.video{
  display: flex;
  width: 100%;
  max-width: 1280px;
  margin: 4rem auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 3px solid var(--color-2);
  border-radius: 50px;
}
@media (min-width: 768px) { 
  .video{
    aspect-ratio: 16 / 9;
  }
}

/* Section Impianti */
.impianto__title{
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  z-index: 1;
  width: auto;
  padding: 0 3rem;
  margin: 0rem;
  line-height: 1.15em;
  text-align: center;
}

/* Section Clienti */
.clienti{
  min-height: auto; /* levo l'altezza a 100vh delle altre sezioni */
}
.clienti__title{
  line-height: 1.25em;
  margin-bottom: .5em;
}
.clienti p{
  font-size: 1.25rem;
  line-height: 1.5em;
}

/* Section Gestori */
.gestori{
  min-height: auto; /* levo l'altezza a 100vh delle altre sezioni */
}
.gestori__title{
  line-height: 1.25em;
  margin-bottom: .5em;
}
.gestori p{
  font-size: 1.25rem;
  line-height: 1.5em;
}

/* Section Referenze */
.referenze{
  min-height: 60vh;
}
.referenze__slider{
  padding: 10px;
}
.referenze__slider .swiper-wrapper{
  padding: 0;
  margin: 0;
}
.referenze__slide{
  text-align: center;
}
.referenze__slide .card{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.referenze__slide .card-title{
  line-height: 1.25em;
  margin: 1.5rem 0 0 0;
}
.referenze__slide .card a:hover,
.referenze__slide .card a:focus{
  text-decoration: none;
}
.referenze__slide img{
  margin: 0 auto;
  max-width: 90px;
  -webkit-box-shadow: 0px 0px 0px 3px var(--color-2); 
  box-shadow: 0px 0px 0px 3px var(--color-2);
  border-radius: 50%;
}

/* Section Faq */
.faq__accordion.accordion {
  --bs-accordion-transition: none;
}
.faq__accordion .accordion-button{
  --bs-accordion-border-width: 0;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--color-1)
}
.faq__accordion .accordion-item {
  border-color: rgba(0,0,0,.1);
  border-width: 2px;
}
/* Colore Caret Normale (Chiuso) */
.faq__accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232636AC'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
/* Colore Caret Aperto (Attivo) */
.faq__accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
/* No bordo extra al focus */
.faq__accordion .accordion-button:focus {
  border: none;
  box-shadow: none;
}
.faq__accordion .accordion-button:not(.collapsed) {
  background-image: var(--gradient-primary);
  color: var(--color-4);
}
.faq__accordion .accordion-body {
  color: var(--font-color);
  padding: 1.5rem;
}
.faq__accordion .accordion-body p:last-child {
  margin-bottom: 0;
}


/* Footer */
.contatti{
  background: var(--bg-color-1);
  color: var(--color-4);
  background: var(--color-1);
  background: var(--gradient-primary);
  padding: 5rem 0;
  /*font-size: .9em;*/
}
/* Footer > Contatti */
.contatti__dati .col{
  margin-bottom: 2rem;
}
.contatti__title{
  color: var(--color-4);
  text-align: center;
}
.contatti__links{
  text-align: center;
}
.contatti__links li{
  margin-bottom: 1rem
}
.contatti__links li:last-child{
  margin-bottom: 0;
}
.contatti a{
  text-decoration: none;
  color: var(--color-4);
}
.contatti a span{
  text-decoration: underline;
}
.contatti a:focus,
.contatti a:hover{
  text-decoration: none;
}
.contatti a:focus span,
.contatti a:hover span{
  text-decoration: underline;
}
.contatti .icon{
  width: 24px;
  height: 24px;
  margin-bottom: 0;
  margin-right: 0.5rem;
  fill: var(--color-4);
  display: inline-block;
}
.contatti a:focus .icon,
.contatti a:hover .icon{
  fill: var(--color-4);  
}
.contatti__copyright{
  font-size: .95em;
  text-align: center;
}
.contatti__bysiteland{
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  margin-top: 1rem;
}
@media (min-width: 576px) {
  .contatti__copyright__dati{
    text-align: left;
  }
  .contatti__bysiteland{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
  }
}
@media (min-width: 768px) {
  .contatti__title {
    text-align: left;
  }
  .contatti__links{
    text-align: right;
  }
  .contatti__links__title{
    text-align: right;;
  }
  
}
@media (min-width: 992px) {
  .contatti__title{
    font-size: 1.75rem;
  }
  .contatti__dati{
    font-size: 1.05rem;
  }
  .contatti__copyright__dati div{
    display: inline-block;
    margin-right: 1rem;
  }
  .contatti__bysiteland{
    text-align: right;
    margin-top: 0;
  }
}
@media (min-width: 1200px) {
  .contatti{
    padding: 6rem 0;
  } 
  .contatti__copyright{
    margin-top: 3rem;
  }
  .contatti__copyright__dati div{
    margin-right: 2rem;
  }
}
@media (min-width: 1400px) {
  .contatti{
    padding: 8rem 0;
  }
}