body, html{
  background: rgb(241 238 238);;
  font-family: "Manrope", sans-serif;
  line-height: 1; 
  font-size: 16px; 
  box-sizing: border-box;
  padding: 0;margin: 0;
  scroll-behavior: smooth;
}

.pacifico{
  font-family: "Pacifico", cursive;
}
  
h1,h2,h3,h4,h5,h6, p, ol, ul{
  margin: 0 0 1rem 0;
  padding: 0;
}
  
.bold {
  font-weight: bold;
}
    
ol,ul{
  padding-left: 20px;
  line-height: 1.5;
}
    
h1{font-size: 4rem;} 
h2{font-size: 3rem;} 
h3{font-size: 2rem;} 
h4{font-size: 1rem;} 
h5{font-size: 0.8rem;} 
h6{font-size: 0.6rem;}
a{text-decoration:none; font: inherit;cursor: pointer;}
  
/* ! Colore principale: #e17400 */
/* ! Selection/Scrollbar */
::selection {
  background: rgba(213, 159, 33, 0.77); /* Codice colore per il giallo oro */
  color: rgb(255, 255, 255); /* Colore del testo quando selezionato */
}
  
/* Per WebKit (Chrome, Safari) */
::-webkit-scrollbar {
  width: 8px; /* Larghezza della barra verticale */
  height: 8px; /* Altezza della barra orizzontale */
}
  
/* Per WebKit - thumb (parte mobile della barra) */
::-webkit-scrollbar-thumb {
  background: #888888; /* Colore del thumb */
}
  
/* Per WebKit - thumb:hover (thumb al passaggio del mouse) */
::-webkit-scrollbar-thumb:hover {
  background: #555; /* Colore del thumb al passaggio del mouse */
}
  
/* Per WebKit - track (traccia della scrollbar) */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* Colore del background della traccia */
}
  
/* ! Colors */
.tw{color: #ffffff;} 
.tg{color: gray;}
.tgs{color: #121212;}
.tlg{color: rgb(197, 197, 197);}
.tb{color: #000;} 
.tr{color: red;} 
.to{color: rgb(247, 108, 16);}
.ty{color: rgb(255, 187, 0);}
.tlb{color: #2c78d4;}
.tgr{color: #15be18;}
  
.fw100{font-weight: 100;}
.fw200{font-weight: 200;}
.fw300{font-weight: 300;}
.fw400{font-weight: 400;}
.fw500{font-weight: 500;}
.fw600{font-weight: 600;}
.fw700{font-weight: 700;}
.fw800{font-weight: 800;}
.fw900{font-weight: 900;}

/* ! CallToAction */
.cta{
    border-radius: 30px;
    font-weight: 300;
    padding: 10px 20px;
    background-color: var(--giallo);
    color:#ffffff;
    cursor: pointer;
    border: 1px solid  var(--giallo);
    user-select: none;
}
  
.cta:hover{
  background-color: rgb(196, 146, 28);
}
/* ! cta2 */
.cta2{
    margin-left: 10px;
    border-radius: 30px;
    font-weight: 300;
    padding: 10px 20px;
    color: var(--giallo);
    cursor: pointer;
    border: 1px solid var(--giallo);
    user-select: none;
}
  
.cta2:hover{
    color: #fff;
    background-color: var(--giallo);
}

:root {
  --menu-bg: #404042;
  --menu-color: #ffffff;

  --fw100: 100;
  --fw100: 200;
  --fw300: 300;
  --fw400: 400;
  --fw500: 500;
  --fw600: 600;
  --fw700: 700;
  --fw800: 800;
  --fw900: 900;

  /* CSS HEX */
  --logo:#404042;
  --grigio: #4b4237ff; 
  --giallo: #d5a021ff;
  --alaba: #ede7d9ff;
  --grigio: #a49694ff;
  --grigios: #404042ff;
  --avorio: #f6f1e9;
}

.header {
  user-select: none;
  background-color: rgba(64, 64, 66, 0.946);
  backdrop-filter: blur(7px);-webkit-backdrop-filter: blur(7px);
  position: fixed;
  top: 0;
  left: 0;
  height: 70px;
  z-index: 100;
  right: 0;
  padding: 0 25px;
  transition: background-color 0.5s ease;
}
.header:hover{background-color:#404042ff;}

.header__content {
  max-width: 1900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.header__logo,
.header__quick {
  display: flex;
  align-items: center;
  height: 70px;
}

.header__logo {
  justify-content: right;
  width: 25%;
}
.header__logo-text{display: none;}

.header__quick {
  justify-content: flex-end;
  width: 25%;
}

.header__logo img {
  height: 65px;
  filter: grayscale(20%) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: filter 0.4s ease;
  margin-right: 10px;
}

.header__logo img:hover {
  filter: grayscale(0%);
  cursor: pointer;
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50%;
  padding-left: 20px;
  list-style: none;
  margin: 0;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

.header__menu li {
  position: relative;
  display: inline-block;
}

.header__menu li a {
  white-space: nowrap;
  opacity: 0.8;
  display: block;
  padding: 0px;
  color: var(--alaba);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

/* HAMBURGER - solo mobile */
.icon-hamburger {
  display: none;
}

@media (max-width: 770px) { 
  .header {
    padding: 0px 10px;
    height: 70px;
  }

  .header__logo,
  .header__quick {
    height: 30px;
    width: fit-content;
  }

  .header__logo{
    height: 100%;
    width: 80%;
    color: white;
    font-weight: 700;
    font-size: 20px;
    display: flex;align-items: center;justify-content: left;
  }
  .header__logo img{height: 60px;}
  .header__logo a{color: #fff;display: flex;align-items: center;justify-content: center;}

  .header__logo-text{
    display: block;
  }

  .header__quick {
    width: 50%;
    justify-content: flex-end;
  }

  .icon-hamburger {
    display: block;
    height: 50px;
    width: 40px;
    margin-left: 20px;
    padding-top: 5px;
    cursor: pointer;
  }

  .icon-hamburger span {
    height: 2px;
    width: 30px;
    background: var(--menu-color);
    display: block;
    margin-top: 11px;
    transition: all 0.2s cubic-bezier(.215, .61, .355, 1);
  }

  .menu-open .icon-hamburger span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
  }

  .menu-open .icon-hamburger span:nth-child(2) {
    transform: rotate(-45deg) translateY(-9px);
  }

  .header__menu {
    position: absolute;
    top: 69px;
    left: 0;
    width: 100%;
    background: var(--menu-bg);
    flex-direction: column;
    height: 0;
    overflow: hidden;
    padding: 0;
  }

  .menu-open .header__menu {
    height: 100vh;
    opacity: 1;
    padding: 3%;
    border-radius: 0px 0px 10px 10px;
  }

  .header__menu li {
    width: 100%;
    border-bottom: 1px solid #5b5b5b;
    display: flex;
    justify-content: flex-start;
    padding: 10px;
  }

  .a_header {
    font-weight: 800;
    color: #ffffff;
    font-size: 22px;
  }
}

@media (min-width: 768px) {
  .header__menu li {
    width: fit-content;
    padding: 0px;
    margin-right: 40px;
    position: relative;
    display: inline-block;
    align-items: center;
  }
  
  .header__menu a::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px; /* Spessore della linea */
    background-color: #e4e3e3c5;
    opacity: 0; /* Opacità iniziale bassa */
    transition: opacity 0.3s ease ; /* Transizione dell'opacità con cubic-bezier */
    border-radius: 10px;
  }
  
  .header__menu a:hover::after {
    width: 100%; /* Lunghezza massima della linea */
    opacity: 1; /* Opacità completa alla fine */
  }
  
}

/* ! Intro */
.intro{
  height: 540px;width: 100%;
  padding: 0;
  margin: 0;
}

.intro-content{
  width: 100%;height: 100%;
  display: flex;flex-direction: column;align-items: center;
  padding: 140px 0px 50px 0px;
}
.intro-content h1{
  color: var(--grigios);
  text-align: center;
  margin-bottom: 25px;
}

.AS-title{
  color: var(--grigios);
  font-weight: var(--fw700);
  margin-bottom: 5px;
  font-size: 34px;
}
.AS-description{
  font-size: 24px;
  font-weight: var(--fw600);
  max-width: 950px;
  color: var(--grigio);
  text-align: center;
  margin-bottom: 30px;
}

/* ! fade-section visible */
.fade-section{
  height: fit-content;width: 100%;
  left: 0;padding: 10px 0px 10px 0px;
}
.fade-section h2{
  color: var(--grigios);
}

/* ! Cards disinfestazione */
.cards-container{
  padding: 0;margin: 0;
  width: 100%;height: 500px;
  left: 0;
  display: flex;flex-direction: row;flex-wrap: wrap;justify-content: center;align-items: center;gap: 30px;
}

.card{
  background: linear-gradient(#ffffff00, var(--grigios),  var(--grigios));
  width: 450px;
  height: 470px;
  border-radius: 45px;
  display: flex;flex-direction: column;align-items: center;
}
.card img{
  user-select: none;
  height: 300px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 45px 45px 0px 0px;
}
.card-title{
  font-size: 30px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--avorio);
}
.card p{
  font-size: 20px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 90%;
  text-align: center;
  margin: 5px auto;
}

/* ! video disinfestazione */
#sezione-disinfestazione h2{
  text-align: center;
}

.disinfestazione-video{
  width: 100%;height: 500px;
  left: 0;top:0;
  gap: 20px;
  display: flex;flex-direction: row;flex-wrap: wrap;align-items: center;justify-content: center;
}
.disinfestazione-video p{
  max-width: 350px;
  line-height: 30px;
  font-size: 24px;
  font-weight: var(--fw600);
  text-align: center;
  color: var(--grigios);
}
.disinfestazione-video .video-container{
  width: 700px;height: 410px;
  border-radius: 45px 45px 0px 0px;
  display: flex;flex-direction: column;align-items: center; gap: 5px;
  color: var(--grigios);font-weight: var(--fw500);
}
.disinfestazione-video .video-container video{
  object-fit: cover;
  height: 400px;width: 100%;
  border-radius: 45px;
}

/* ! sezione-PD */
.sezione-PD{
  width: 100%;height: 600px;
  display: flex;align-items: center;flex-direction: column;
  padding: 0px;
  margin: 30px 0px 50px 0px;
}
.sezione-PD h2{
  color: var(--grigios);
  margin: 15px 0px 0px 0px;
}

.cardPD-container{
  padding: 20px;
  width: 100%;height: fit-content;
  display: flex;align-items: center;justify-content: center;gap: 20px;flex-direction: row;
}

.cardPD{
  background: linear-gradient(#ffffff00, var(--grigios),  var(--grigios));
  width: 680px;
  height: 470px;
  border-radius: 45px;
  display: flex;flex-direction: column;align-items: center;
}
.cardPD img{
  user-select: none;
  height: 300px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 45px 45px 0px 0px;
}
.cardPD-title{
  text-align: center;
  font-size: 25px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--avorio);
}
.cardPD p{
  font-size: 20px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 90%;
  text-align: center;
  margin: 7px auto 15px auto;
  line-height: 20px;
}

.cardPD2{
  background: linear-gradient(#ffffff00, #61c283, #61c283);
  width: 400px;
  height: 470px;
  border-radius: 45px;
  display: flex;flex-direction: column;align-items: center;
}
.cardPD2-title{
  text-align: center;
  font-size: 25px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--alaba);
}
.cardPD2 p{
  font-size: 18px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 95%;
  text-align: center;
  margin: 7px auto 15px auto;
  line-height: 20px;
}
.cardPD2 img{
  user-select: none;
  height: 300px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 45px 45px 0px 0px;
}

/* ! Bottoni a comparsa */
.bottone-comparsa {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 6px 10px 10px;
  font-size: 20px;
  color: #ffffff;
  background: rgba(67, 67, 67, 0.609);
  border-radius: 25px;
  border: 1px solid rgba(255 255 255 / 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s ease;
  z-index: 100;
  width: fit-content;
}

.bottone-comparsa--visibile {
  opacity: 1;
  visibility: visible;
}

/* Cerchio blur attorno al + */
.cerchio-piu {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--giallo);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

/* SVG "+" dentro il cerchio */
.cerchio-piu .piu svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  user-select: none;
  transition: transform 0.3s ease;
}

/* ! Animazione schede */
.sfondo-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  z-index: 101;
}

.sfondo-blur.active {
  opacity: 1;
  visibility: visible;
}

/* ! Scheda Disinfestazione e Derattizzazione */
.schedaD {
  display: none;
  position: fixed;
  bottom: -110%;
  left: 12.5%;
  width: 75%;
  height: 95%;
  background:  rgba(255, 255, 255, 0.958);
  z-index: 110;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 45px;

  opacity: 0;
  transition:
    bottom 0.5s ease,
    opacity 0.6s ease;
}
.schedaD.active {
  display: block;
  bottom: 2.5%;
  opacity: 1;
}
.schedaD::-webkit-scrollbar {
  display: none;
}

.schedaD-content {
  width: 100%;height: fit-content;border-radius: 45px;
  padding: 0px;
  min-height: 100%;
}

/* ! SEZIONE 1 */
.img_intro_schedaD-container{
  height: 600px;width: 100%;border-radius: 45px 45px 0px 0px;
  display: flex;align-items: center;justify-content: center;
  position: relative;
}
.img_intro_schedaD-container img{
  width: 100%;height: 100%;
  object-fit: cover;
  user-select: none;
}
.overlay_img-intro_schedaPD{
  position: absolute;width: 100%;height: 600px;background-color: #00000081;border-radius: 44.99px 45px 0px 0px;
  z-index: 1;
}
.img_intro_schedaD-container h3{
  position: absolute;margin-top: 100px;
  font-size: 3rem;color: var(--avorio);
  z-index: 2;
}

/* ! SEZIONE2 */
.schedaD-intro{
  margin-top: 50px;
  display: flex;flex-direction: row;justify-content: space-around;align-items: center;
  width: 100%;height: 500px;
  position: relative;
}
.schedaD-intro img{
  position: absolute;z-index: 1;
  height: 100%;width: 100%; object-fit: cover;
  user-select: none;
}
.text-schedaD-intro{
  display: flex;flex-direction: column;align-items: center;
  width: 100%;position: absolute;z-index: 3;
}
.schedaD-content h4{
  text-align: center;font-size: 35px;margin-bottom: 10px;
  color: var(--avorio);
}
.schedaD-intro-description{
  max-width: 58%;min-width: 400px; line-height: 25px; font-weight: var(--fw500);font-size: 20px;
  text-align: center;margin: 10px auto;color: var(--alaba);
} 
.overlay-schedaD-intro{
  position: absolute;width: 100%;height: 100%;background-color: #000000b6;
  z-index: 2;
}

/* ! SEZIONE 3 */
.insectList{
  margin: 40px 0px 0px 0px;
  padding: 15px 0px 15px 0px;
  width: 100%;height: 340px;
  background-color: var(--avorio);
}
.insectList h3{
  font-size: 2.6rem;
  text-align: center;
  margin: 20px 0px 0px 0px;
}
.insectList p{
  text-align: center;color: var(--grigio);
  margin: 5px 0px 40px 0px;
}

/* ! slider */
.slider{
  margin-left: 2.5%;
  width: 95%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(
      to right,
      transparent,
      #000 10% 90%,
      transparent
  );
}
.slider .list{
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}
.slider .list .item{
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) - 20s)!important;
}
.slider .list .item img{
  user-select: none;
  width: 100%;
  border-radius: 25px;
}
@keyframes autoRun{
  from{
      left: 100%;
  }to{
      left: calc(var(--width) * -1);
  }
}
.slider[reverse="true"] .item{
  animation: reversePlay 10s linear infinite;
}
@keyframes reversePlay{
  from{
      left: calc(var(--width) * -1);
  }to{
      left: 100%;
  }
}

/* ! SchedaPD */
.schedaPD {
  display: none;
  position: fixed;
  bottom: -110%;
  left: 12.5%;
  width: 75%;
  height: 95%;
  background:  rgba(249, 249, 249, 0.958);
  z-index: 110;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 45px;
  opacity: 0;
  transition:
    bottom 0.5s ease,
    opacity 0.6s ease;
}

.schedaPD.active {
  display: block;
  bottom: 2.5%;
  opacity: 1;
}

.schedaPD::-webkit-scrollbar {
  display: none;
}

.schedaPD-content {
  width: 100%;height: fit-content;border-radius: 45px;
  padding: 0px;
  min-height: 100%;
}

/* ! SEZIONE 1 */
.img_intro_schedaPD-container{
  height: 600px;width: 100%;border-radius: 45px 45px 0px 0px;
  display: flex;align-items: center;justify-content: center;
  position: relative;
}
.img_intro_schedaPD-container img{
  width: 100%;height: 100%;
  object-fit: cover;
  user-select: none;
}
.img_intro_schedaPD-container h3{
  text-align: center;
  position: absolute;margin-top: 100px;
  font-size: 3rem;color: var(--avorio);
  z-index: 2;
}

/* ! SEZIONE2 */
.puliziaP{
  padding-top: 100px;
  height: fit-content;width: 100%;
}
.puliziaP-content{
  height: 100%;width: 100%;
  padding: 60px 40px;
}
.puliziaP h3{
  width: fit-content;text-align: center;
  font-size: 2.6rem;margin: 0 auto;margin-bottom: 70px;
  color: var(--grigios);
}
.puliziaP p{
  line-height: 28px;
  width: 75%;font-size: 20px;text-align: center;
  color: var(--grigis);font-weight: var(--fw500);
}
.videoNDtext-puliziaP{
  padding: 0;text-align: left;
  width: 100%;height: fit-content;
  display: flex;flex-direction: column;align-items: center;
}

.video-container-puliziaP{
  height: 100%;width: 75%;margin-bottom: 50px;
  display: flex;flex-direction: column;
  color: var(--grigios);font-weight: var(--fw500);text-align: center;
}
.videoNDtext-puliziaP video{
  border-radius: 30px;margin-bottom: 5px;
  width: 100%;height: 100%;
  object-fit: cover; 
}

/* ! Sezione 3 */
.rotazioneSacchi-section{
  position: relative;
  width: 100%;height: 550px;
  margin-top: 60px;
  background-color: #000;
  display: flex;justify-content: center;align-items: center;flex-direction: column;
}
.rotazioneSacchi-section h3{
  font-size: 26px;
  text-align: center;position: relative;z-index: 2;
  color: var(--avorio);
}
.rotazioneSacchi-section p{
  line-height: 27px;font-size: 20px;text-align: center;
  text-align: center;max-width: 85%;color: var(--avorio);
  position: relative;z-index: 2;
}
.rotazioneSacchi-section img{
  user-select: none;
  opacity: 0.3;
  height: 100%;width: 100%;
  object-fit: cover;
  position: absolute;z-index: 1;
}

/* ! Bottone chiusura */
.close-btn {
  position: fixed;
  bottom: 40px;
  left: 50%;transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background-color: rgba(184, 184, 184, 0.98); /* semi-trasparente */
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, backdrop-filter 0.3s ease;
  padding: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 111;
}
.close-btn:hover {
  background-color: rgba(169, 169, 169, 0.98);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.close-btn svg {
  pointer-events: none;
}


/* ! contatti-ref */
.contatti-ref{
  padding: 20px;
  height: fit-content;width: 100%;left: 0;margin-bottom: 50px;
  display: flex;flex-direction: column;align-items: center;
}

.card-contact{
  background: linear-gradient(#ffffff00, var(--grigios),  var(--grigios));
  width: 100%;
  max-width: 1100px;
  height: 480px;
  border-radius: 45px;
  display: flex;flex-direction: column;align-items: center;
}
.card-contact img{
  user-select: none;
  height: 300px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 45px 45px 0px 0px;
}
.card-contact-title{
  font-size: 30px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--avorio);
}
.card-contact p{
  font-size: 20px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 90%;
  text-align: center;
  margin: 5px auto;
  margin-bottom: 10px;
}

@media (max-width: 1100px) {
/* ! Intro */
.intro{
  height: 450px;width: 100%;
  padding: 0;
  margin: 0;
}

.intro-content{
  width: 100%;height: 100%;
  display: flex;flex-direction: column;align-items: center;
  padding: 140px 0px 50px 0px;
}
.intro-content h1{
  color: var(--grigios);
  text-align: center;
  margin-bottom: 25px;
  font-size: 2.8rem;
}

.AS-title{
  color: var(--grigios);
  font-weight: var(--fw700);
  margin-bottom: 5px;
  font-size: 1.5rem;
}
.AS-description{
  font-size: 18px;
  font-weight: var(--fw600);
  max-width: 70%;
  color: var(--grigio);
  text-align: center;
  margin-bottom: 30px;
  line-height: 25px;
}

/* ! fade-section visible */
.fade-section{
  height: fit-content;width: 100%;
  left: 0;padding: 10px 0px 10px 0px;
}
.fade-section h2{
  color: var(--grigios);
  font-size: 2.5rem;
}

/* ! Cards disinfestazione */
.cards-container{
  padding: 0;margin: 0;
  width: 100%;height: 500px;
  left: 0;
  display: flex;flex-direction: row;flex-wrap: wrap;justify-content: center;align-items: center;gap: 30px;
}

.card{
  background: linear-gradient(#ffffff00, var(--grigios),  var(--grigios));
  width: 340px;
  height: 460px;
  border-radius: 30px;
  display: flex;flex-direction: column;align-items: center;
}
.card img{
  user-select: none;
  height: 300px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 30px 30px 0px 0px;
}
.card-title{
  font-size: 24px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--avorio);
}
.card p{
  font-size: 18px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 80%;
  text-align: center;
  margin: 5px auto;
}

/* ! video disinfestazione */
#sezione-disinfestazione h2{
  text-align: center;
}

.disinfestazione-video{
  width: 100%;height: fit-content;
  left: 0;top:0;
  gap: 20px;
  display: flex;flex-direction: column-reverse; align-items: center;justify-content: center;flex-wrap: nowrap;
}
.disinfestazione-video p{
  max-width: 80%;
  line-height: 25px;
  font-size: 18px;
  font-weight: var(--fw600);
  text-align: center;
  color: var(--grigio);
}
.disinfestazione-video .video-container{
  width: 700px;height: 410px;
  border-radius: 30px 30px 0px 0px;
  display: flex;flex-direction: column;align-items: center; gap: 5px;
  color: var(--grigios);font-weight: var(--fw500);
}
.disinfestazione-video .video-container video{
  object-fit: cover;
  height: 400px;width: 100%;
  border-radius: 30px;
}

/* ! sezione-PD */
.sezione-PD{
  width: 100%;height: 600px;
  display: flex;align-items: center;flex-direction: column;
  padding: 0px;
  margin: 30px 0px 50px 0px;
}
.sezione-PD h2{
  color: var(--grigios);
  margin: 15px 0px 0px 0px;
  font-size: 2.5rem;
}

.cardPD-container{
  padding-top: 20px;
  width: 100%;height: fit-content;
  display: flex;align-items: center;justify-content: center;gap: 20px;flex-direction: row;
}

.cardPD{
  background: linear-gradient(#ffffff00, var(--grigios),  var(--grigios));
  width: 500px;
  height: 500px;
  border-radius: 30px;
  display: flex;flex-direction: column;align-items: center;
}
.cardPD img{
  user-select: none;
  height: 340px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 30px 30px 0px 0px;
}
.cardPD-title{
  max-width: 90%;
  text-align: center;
  font-size: 24px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--avorio);
}
.cardPD p{
  font-size: 18px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 90%;
  text-align: center;
  margin: 15px auto 15px auto;
  line-height: 20px;
}

.cardPD2{
  background: linear-gradient(#ffffff00, #61c283, #61c283);
  width: 300px;
  height: 500px;
  border-radius: 30px;
  display: flex;flex-direction: column;align-items: center;
}
.cardPD2-title{
  text-align: center;
  font-size: 23px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--alaba);
}
.cardPD2 p{
  font-size: 18px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 95%;
  text-align: center;
  margin: 7px auto 15px auto;
  line-height: 20px;
}
.cardPD2 img{
  user-select: none;
  height: 340px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 30px 30px 0px 0px;
}

/* ! Bottoni a comparsa */
.bottone-comparsa {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 6px 10px 10px;
  font-size: 20px;
  color: #ffffff;
  background: rgba(67, 67, 67, 0.609);
  border-radius: 25px;
  border: 1px solid rgba(255 255 255 / 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s ease;
  z-index: 100;
  width: fit-content;
}

.bottone-comparsa--visibile {
  opacity: 1;
  visibility: visible;
}

/* Cerchio blur attorno al + */
.cerchio-piu {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--giallo);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

/* SVG "+" dentro il cerchio */
.cerchio-piu .piu svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  user-select: none;
  transition: transform 0.3s ease;
}

/* ! Animazione schede */
.sfondo-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  z-index: 101;
}

.sfondo-blur.active {
  opacity: 1;
  visibility: visible;
}

/* ! Scheda Disinfestazione e Derattizzazione */
.schedaD {
  display: none;
  position: fixed;
  bottom: -110%;
  left: 2.5%;
  width: 95%;
  height: 95%;
  background:  rgba(255, 255, 255, 0.958);
  z-index: 110;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 30px;

  opacity: 0;
  transition:
    bottom 0.5s ease,
    opacity 0.6s ease;
}
.schedaD.active {
  display: block;
  bottom: 2.5%;
  opacity: 1;
}
.schedaD::-webkit-scrollbar {
  display: none;
}

.schedaD-content {
  width: 100%;height: fit-content;border-radius: 30px;
  padding: 0px;
  min-height: 100%;
}

/* ! SEZIONE 1 */
.img_intro_schedaD-container{
  height: 600px;width: 100%;border-radius: 30px 30px 0px 0px;
  display: flex;align-items: center;justify-content: center;
  position: relative;
}
.img_intro_schedaD-container img{
  width: 100%;height: 100%;
  object-fit: cover;
  user-select: none;
}
.overlay_img-intro_schedaPD{
  position: absolute;width: 100%;height: 600px;background-color: #00000081;border-radius: 0px;
  z-index: 1;
}
.img_intro_schedaD-container h3{
  position: absolute;margin-top: 100px;
  font-size: 3rem;color: var(--avorio);
  z-index: 2;
}

/* ! SEZIONE2 */
.schedaP-intro{
  margin-top: 50px;
  display: flex;flex-direction: row;justify-content: space-around;align-items: center;
  width: 100%;height: 500px;
  position: relative;
}
.schedaP-intro img{
  position: absolute;z-index: 1;
  height: 100%;width: 100%; object-fit: cover;
  user-select: none;
}
.text-schedaD-intro{
  display: flex;flex-direction: column;align-items: center;
  width: 100%;position: absolute;z-index: 3;
}
.schedaD-content h4{
  text-align: center;font-size: 35px;margin-bottom: 10px;
  color: var(--avorio);
}
.schedaD-intro-description{
  max-width: 58%;min-width: 400px; line-height: 25px; font-weight: var(--fw500);font-size: 20px;
  text-align: center;margin: 10px auto;color: var(--alaba);
} 
.overlay-schedaD-intro{
  position: absolute;width: 100%;height: 100%;background-color: #000000b6;
  z-index: 2;
}

/* ! SEZIONE 3 */
.insectList{
  margin: 40px 0px 0px 0px;
  padding: 15px 0px 15px 0px;
  width: 100%;height: 340px;
  background-color: var(--avorio);
}
.insectList h3{
  font-size: 2.6rem;
  text-align: center;
  margin: 20px 0px 0px 0px;
}
.insectList p{
  text-align: center;color: var(--grigio);
  margin: 5px 0px 40px 0px;
}

/* ! slider */
.slider{
  margin-left: 2.5%;
  width: 95%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(
      to right,
      transparent,
      #000 10% 90%,
      transparent
  );
}
.slider .list{
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}
.slider .list .item{
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) - 20s)!important;
}
.slider .list .item img{
  user-select: none;
  width: 100%;
  border-radius: 25px;
}
@keyframes autoRun{
  from{
      left: 100%;
  }to{
      left: calc(var(--width) * -1);
  }
}
.slider[reverse="true"] .item{
  animation: reversePlay 10s linear infinite;
}
@keyframes reversePlay{
  from{
      left: calc(var(--width) * -1);
  }to{
      left: 100%;
  }
}

/* ! SchedaPD */
.schedaPD {
  display: none;
  position: fixed;
  bottom: -110%;
  left: 2.5%;
  width: 95%;
  height: 95%;
  background:  rgba(249, 249, 249, 0.958);
  z-index: 110;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 30px;
  opacity: 0;
  transition:
    bottom 0.5s ease,
    opacity 0.6s ease;
}

.schedaPD.active {
  display: block;
  bottom: 2.5%;
  opacity: 1;
}

.schedaPD::-webkit-scrollbar {
  display: none;
}

.schedaPD-content {
  width: 100%;height: fit-content;border-radius: 45px;
  padding: 0px;
  min-height: 100%;
}

/* ! SEZIONE 1 */
.img_intro_schedaPD-container{
  height: 600px;width: 100%;border-radius: 45px 45px 0px 0px;
  display: flex;align-items: center;justify-content: center;
  position: relative;
}
.img_intro_schedaPD-container img{
  width: 100%;height: 100%;
  object-fit: cover;
  user-select: none;
}
.img_intro_schedaPD-container h3{
  text-align: center;
  position: absolute;margin-top: 100px;
  font-size: 3rem;color: var(--avorio);
  z-index: 2;
}

/* ! SEZIONE2 */
.puliziaP{
  padding-top: 100px;
  height: fit-content;width: 100%;
}
.puliziaP-content{
  height: 100%;width: 100%;
  padding: 40px 20px;
}
.puliziaP h3{
  width: fit-content;text-align: center;
  font-size: 2.5rem;margin: 0 auto;margin-bottom: 34px;
  color: var(--grigios);
}
.puliziaP p{
  line-height: 25px;
  width: 83%;font-size: 18px;text-align: center;
  color: var(--grigis);font-weight: var(--fw500);
}
.videoNDtext-puliziaP{
  padding: 0;text-align: left;
  width: 100%;height: fit-content;
  display: flex;flex-direction: column;align-items: center;
}

.video-container-puliziaP{
  height: 100%;width: 83%;margin-bottom: 50px;
  display: flex;flex-direction: column;
  color: var(--grigios);font-weight: var(--fw500);text-align: center;
}
.videoNDtext-puliziaP video{
  border-radius: 30px;margin-bottom: 5px;
  width: 100%;height: 100%;
  object-fit: cover; 
}

/* ! Sezione 3 */
.rotazioneSacchi-section{
  position: relative;
  width: 100%;height: 550px;
  margin-top: 60px;
  background-color: #000;
  display: flex;justify-content: center;align-items: center;flex-direction: column;
}
.rotazioneSacchi-section h3{
  font-size: 26px;
  text-align: center;position: relative;z-index: 2;
  color: var(--avorio);
}
.rotazioneSacchi-section p{
  line-height: 25px;font-size: 18px;text-align: center;
  text-align: center;max-width: 88%;color: var(--avorio);
  position: relative;z-index: 2;
}
.rotazioneSacchi-section img{
  user-select: none;
  opacity: 0.3;
  height: 100%;width: 100%;
  object-fit: cover;
  position: absolute;z-index: 1;
}

/* ! Bottone chiusura */
.close-btn {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background-color: rgba(184, 184, 184, 0.98); /* semi-trasparente */
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, backdrop-filter 0.3s ease;
  padding: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 111;
}

.close-btn:hover {
  background-color: rgba(169, 169, 169, 0.98);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.close-btn svg {
  pointer-events: none;
}


/* ! contatti-ref */
.contatti-ref{padding: 0;
  height: fit-content;width: 100%;left: 0;margin-bottom: 50px;
  display: flex;flex-direction: column;align-items: center;
}

.card-contact{
  background: linear-gradient(#ffffff00, var(--grigios),  var(--grigios));
  width: 95vw;max-width: 820px;
  height: fit-content;
  border-radius: 30px;
  display: flex;flex-direction: column;align-items: center;
}
.card-contact img{
  user-select: none;
  height: 300px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 30px 30px 0px 0px;
}
.card-contact-title{
  font-size: 24px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--avorio);
}
.card-contact p{
  font-size: 18px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 90%;
  text-align: center;
  margin: 5px auto;
  margin-bottom: 10px;
}
.card-contact a{
  margin-bottom: 20px;
}
}

@media (max-width: 768px) {
/* ! Intro */
.intro{
  height: fit-content;width: 100%;
  padding: 0;
  margin: 0;
}

.intro-content{
  width: 100%;height: 100%;
  display: flex;flex-direction: column;align-items: center;
  padding: 140px 0px 50px 0px;
}
.intro-content h1{
  color: var(--grigios);
  text-align: center;
  margin-bottom: 25px;
  font-size: 2.8rem;
}

.AS-title{
  color: var(--grigios);
  font-weight: var(--fw700);
  margin-bottom: 5px;
  font-size: 1.5rem;
}
.AS-description{
  font-size: 18px;
  font-weight: var(--fw600);
  max-width: 90%;
  color: var(--grigio);
  text-align: center;
  margin-bottom: 30px;
  line-height: 25px;
}

/* ! fade-section visible */
.fade-section{
  height: fit-content;width: 100%;
  left: 0;padding: 10px 0px 10px 0px;
}
.fade-section h2{
  color: var(--grigios);
  font-size: 2.5rem;padding-bottom: 30px;
}

/* ! Cards disinfestazione */
.cards-container{
  padding: 0;margin: 0;
  width: 100%;height: fit-content;
  left: 0;
  display: flex;flex-direction: row;flex-wrap: wrap;justify-content: center;align-items: center;gap: 30px;
}

.card{
  background: linear-gradient(#ffffff00, var(--grigios),  var(--grigios));
  width: 90%;
  height: 460px;
  border-radius: 30px;
  display: flex;flex-direction: column;align-items: center;
}
.card img{
  user-select: none;
  height: 300px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 30px 30px 0px 0px;
}
.card-title{
  font-size: 24px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--avorio);
}
.card p{
  font-size: 18px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 80%;
  text-align: center;
  margin: 5px auto;
}

/* ! video disinfestazione */
#sezione-disinfestazione h2{
  text-align: center;
}

.disinfestazione-video{margin-top: 25px;
  width: 100%;height: fit-content;
  left: 0;top:0;
  gap: 20px;
  display: flex;flex-direction: column-reverse; align-items: center;justify-content: center;flex-wrap: nowrap;
}
.disinfestazione-video p{
  max-width: 90%;
  line-height: 25px;
  font-size: 18px;
  font-weight: var(--fw600);
  text-align: center;
  color: var(--grigio);
}
.disinfestazione-video .video-container{
  width: 90%;height: 410px;
  border-radius: 30px 30px 0px 0px;
  display: flex;flex-direction: column;align-items: center; gap: 5px;
  color: var(--grigios);font-weight: var(--fw500);
}
.disinfestazione-video .video-container video{
  object-fit: cover;
  height: 400px;width: 100%;
  border-radius: 30px;
}

/* ! sezione-PD */
.sezione-PD{
  width: 100%;height: fit-content;
  display: flex;align-items: center;flex-direction: column;
  padding: 0px;
  margin: 30px 0px 30px 0px;
}
.sezione-PD h2{
  text-align: center;
  color: var(--grigios);
  margin: 15px 0px 0px 0px;
  font-size: 2.5rem;
}

.cardPD-container{margin-bottom: 0;
  padding-top: 20px;padding-left: 0;padding-right: 0;
  width: 100%;height: fit-content;
  display: flex;align-items: center;justify-content: center;flex-direction: column; gap: 20px;
}

.cardPD{
  background: linear-gradient(#ffffff00, var(--grigios),  var(--grigios));
  width: 90%;
  height: fit-content;
  border-radius: 30px;
  display: flex;flex-direction: column;align-items: center;
}
.cardPD img{
  user-select: none;
  height: 240px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 30px 30px 0px 0px;
}
.cardPD-title{
  max-width: 98%;
  text-align: center;
  font-size: 21px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--avorio);
}
.cardPD p{
  font-size: 15px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 90%;
  text-align: center;
  margin: 10px auto 15px auto;
  line-height: 20px;
}

.cardPD2{
  background: linear-gradient(#ffffff00, #61c283, #61c283);
  width: 90%;
  height: fit-content;
  border-radius: 30px;
  display: flex;flex-direction: column;align-items: center;
}
.cardPD2-title{
  text-align: center;
  font-size: 21px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--alaba);
}
.cardPD2 p{
  font-size: 15px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 90%;
  text-align: center;
  margin: 5px auto 25px auto;
  line-height: 20px;
}
.cardPD2 img{
  user-select: none;
  height: 240px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 30px 30px 0px 0px;
}

/* ! Bottoni a comparsa */
.bottone-comparsa {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 6px 14px 10px;
  font-size: 15px;font-weight: 500;
  color: #ffffff;
  background: rgba(67, 67, 67, 0.802);
  border-radius: 30px;
  border: 1px solid rgba(255 255 255 / 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;align-items: center;justify-content: center;
  gap: 0px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s ease;
  z-index: 100;
  width: fit-content;
  white-space: nowrap;
}

.bottone-comparsa--visibile {
  opacity: 1;
  visibility: visible;
}

/* Cerchio blur attorno al + */
.cerchio-piu {
  margin-left: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--giallo);font-weight: var(--fw800);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

/* SVG "+" dentro il cerchio */
.cerchio-piu .piu svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  user-select: none;
  transition: transform 0.3s ease;
}

/* ! Animazione schede */
.sfondo-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  z-index: 101;
}

.sfondo-blur.active {
  opacity: 1;
  visibility: visible;
}

/* ! Scheda Disinfestazione e Derattizzazione */
.schedaD {
  display: none;
  position: fixed;
  bottom: -110%;
  left: 2.5%;
  width: 95%;
  height: 95%;
  background:  rgba(255, 255, 255, 0.958);
  z-index: 110;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 30px;

  opacity: 0;
  transition:
    bottom 0.5s ease,
    opacity 0.6s ease;
}
.schedaD.active {
  display: block;
  bottom: 2.5%;
  opacity: 1;
}
.schedaD::-webkit-scrollbar {
  display: none;
}

.schedaD-content {
  width: 100%;height: fit-content;border-radius: 30px;
  padding: 0px;
  min-height: 100%;
}

/* ! SEZIONE 1 */
.img_intro_schedaD-container{
  height: 600px;width: 100%;border-radius: 30px 30px 0px 0px;
  display: flex;align-items: center;justify-content: center;
  position: relative;
}
.img_intro_schedaD-container img{
  width: 100%;height: 100%;
  object-fit: cover;
  user-select: none;
}
.overlay_img-intro_schedaPD{
  position: absolute;width: 100%;height: 600px;background-color: #00000081;border-radius: 0px;
  z-index: 1;
}
.img_intro_schedaD-container h3{
  position: absolute;margin-top: 100px;
  font-size: 2.35rem;color: var(--avorio);
  z-index: 2;text-align: center;
}

/* ! SEZIONE2 */
.schedaP-intro{
  margin-top: 50px;
  display: flex;flex-direction: row;justify-content: space-around;align-items: center;
  width: 100%;height: 500px;
  position: relative;
}
.schedaP-intro img{
  position: absolute;z-index: 1;
  height: 100%;width: 100%; object-fit: cover;
  user-select: none;
}
.text-schedaD-intro{
  display: flex;flex-direction: column;align-items: center;
  width: 100%;position: absolute;z-index: 3;
}
.schedaD-content h4{
  text-align: center;font-size: 28px;margin-bottom: 10px;
  color: var(--avorio);
}
.schedaD-intro-description{
  max-width: 90%;min-width: 0px; line-height: 25px; font-weight: var(--fw500);font-size: 18px;
  text-align: center;margin: 10px auto;color: var(--alaba);
} 
.overlay-schedaD-intro{
  position: absolute;width: 100%;height: 100%;background-color: #000000b6;
  z-index: 2;
}

/* ! SEZIONE 3 */
.insectList{
  margin: 0px;
  padding: 15px 0px 15px 0px;
  width: 100%;height: 440px;
  background-color: var(--avorio);
}
.insectList h3{
  font-size: 2.6rem;
  text-align: center;
  margin: 20px 0px 0px 0px;
}
.insectList p{
  text-align: center;color: var(--grigio);
  margin: 5px 0px 40px 0px;
}

/* ! slider */
.slider{
  margin-left: 2.5%;
  width: 95%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(
      to right,
      transparent,
      #000 10% 90%,
      transparent
  );
}
.slider .list{
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}
.slider .list .item{
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) - 20s)!important;
}
.slider .list .item img{
  user-select: none;
  width: 100%;
  border-radius: 25px;
}
@keyframes autoRun{
  from{
      left: 100%;
  }to{
      left: calc(var(--width) * -1);
  }
}
.slider[reverse="true"] .item{
  animation: reversePlay 10s linear infinite;
}
@keyframes reversePlay{
  from{
      left: calc(var(--width) * -1);
  }to{
      left: 100%;
  }
}

/* ! SchedaPD */
.schedaPD {
  display: none;
  position: fixed;
  bottom: -110%;
  left: 2.5%;
  width: 95%;
  height: 95%;
  background:  rgba(249, 249, 249, 0.958);
  z-index: 110;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 30px;
  opacity: 0;
  transition:
    bottom 0.5s ease,
    opacity 0.6s ease;
}

.schedaPD.active {
  display: block;
  bottom: 2.5%;
  opacity: 1;
}

.schedaPD::-webkit-scrollbar {
  display: none;
}

.schedaPD-content {
  width: 100%;height: fit-content;border-radius: 45px;
  padding: 0px;
  min-height: 100%;
}

/* ! SEZIONE 1 */
.img_intro_schedaPD-container{
  height: 600px;width: 100%;border-radius: 45px 45px 0px 0px;
  display: flex;align-items: center;justify-content: center;
  position: relative;
}
.img_intro_schedaPD-container img{
  width: 100%;height: 100%;
  object-fit: cover;
  user-select: none;
}
.img_intro_schedaPD-container h3{
  text-align: center;
  position: absolute;margin-top: 100px;
  font-size: 2.4rem;color: var(--avorio);
  z-index: 2;
}

/* ! SEZIONE2 */
.puliziaP{
  padding-top: 100px;
  height: fit-content;width: 100%;
}
.puliziaP-content{
  height: 100%;width: 100%;
  padding: 40px 5px 40px 5px;
}
.puliziaP h3{
  width: fit-content;text-align: center;
  font-size: 2rem;margin: 0 auto;margin-bottom: 34px;
  color: var(--grigios);
}
.puliziaP p{
  line-height: 25px;
  width: 95%;font-size: 18px;text-align: center;
  color: var(--grigis);font-weight: var(--fw500);
}
.videoNDtext-puliziaP{
  padding: 0;text-align: left;
  width: 100%;height: fit-content;
  display: flex;flex-direction: column;align-items: center;
}

.video-container-puliziaP{
  height: 100%;width: 98%;margin-bottom: 30px;
  display: flex;flex-direction: column;
  color: var(--grigios);font-weight: var(--fw500);text-align: center;
}
.videoNDtext-puliziaP video{
  border-radius: 30px;margin-bottom: 5px;
  width: 100%;height: 100%;
  object-fit: cover; 
}

/* ! Sezione 3 */
.rotazioneSacchi-section{
  position: relative;
  width: 100%;height: 550px;
  margin-top: 60px;
  background-color: #000;
  display: flex;justify-content: center;align-items: center;flex-direction: column;
}
.rotazioneSacchi-section h3{
  font-size: 26px;
  text-align: center;position: relative;z-index: 2;
  color: var(--avorio);
}
.rotazioneSacchi-section p{
  line-height: 25px;font-size: 18px;text-align: center;
  text-align: center;max-width: 88%;color: var(--avorio);
  position: relative;z-index: 2;
}
.rotazioneSacchi-section img{
  user-select: none;
  opacity: 0.3;
  height: 100%;width: 100%;
  object-fit: cover;
  position: absolute;z-index: 1;
}

/* ! Bottone chiusura */
.close-btn {
  position: fixed;
  bottom: 40px;
  left: 48%;
  width: 52px;
  height: 52px;
  background-color: rgba(184, 184, 184, 0.98); /* semi-trasparente */
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, backdrop-filter 0.3s ease;
  padding: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 111;
}

.close-btn:hover {
  background-color: rgba(169, 169, 169, 0.98);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.close-btn svg {
  pointer-events: none;
}


/* ! contatti-ref */
.contatti-ref{padding: 0;
  height: fit-content;width: 100%;left: 0;margin-bottom: 50px;
  display: flex;flex-direction: column;align-items: center;
}

.card-contact{
  background: linear-gradient(#ffffff00, var(--grigios),  var(--grigios));
  width: 90%;max-width: 820px;
  height: fit-content;
  border-radius: 30px;
  display: flex;flex-direction: column;align-items: center;
}
.card-contact img{
  user-select: none;
  height: 300px;width: 100%;
  top: 0;left: 0;
  object-fit: cover;
  border-radius: 30px 30px 0px 0px;
}
.card-contact-title{
  font-size: 21px;
  margin: 25px 0px 5px 0px;
  font-weight: var(--fw700);
  color: var(--avorio);
}
.card-contact p{
  font-size: 16px;
  font-weight: var(--fw500);
  color: var(--alaba);
  max-width: 90%;
  text-align: center;
  margin: 5px auto;margin-bottom: 10px;
  line-height: 20px;
}
.card-contact a{
  margin-bottom: 20px;
}
}

/* ! Footer */
.site-footer {
  position: relative;z-index: 100;
  background-color: var(--grigios);
  color: var(--alaba);
  padding: 40px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  text-align: center;
  flex: 1 1 250px;
  display: flex;flex-direction: column;gap: 7px;
}

.footer-column h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  color: var(--avorio);
}

.footer-column p {
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-column a {
  color: var(--alaba);
    text-decoration: underline;
}

.footer-column a:hover {
  text-decoration: underline;
  color: var(--giallo);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  font-size: 0.85rem;
  color: var(--alaba);
}

.footer-column svg {
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.footer-column svg:hover {
  opacity: 1;
}

.developerMiniBanner{
  background-color: #0f0f0f;
  height: fit-content;width: 100%;
  padding: 10px;
  text-align: center;
  position: relative;z-index: 100;
}
.developerMiniBanner p{margin: 0;font-size: 16px;}

.developerMiniBanner{
  background-color: #0f0f0f;
  height: fit-content;width: 100%;
  padding: 10px;
  text-align: center;
}
.developerMiniBanner p{margin: 0;font-size: 16px;}


*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}