/* === BASE === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Sen", sans-serif;
  background: #f8f9fa;
  color: #546D78;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  text-align: justify;
}

a {
  text-decoration: none!important;
}

.normlink {
  color: unset!important;
}

.normlink:hover {
  color: #009DDA!important;
}

img {
  max-width: 100%;
}

.tear {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 25px;
}

.tear::marker {
  color: #009DDA !important;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .tear {
    padding-top: 25px;
    padding-bottom: 0px;
  }
}

.force100img {
  max-width:100%!important;
}

/* === BUBBLE HEADER PVRA<sup>&reg;</sup> === */
.am-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    position: relative;
    margin: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99999;
}

.am-header-bubble {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 3.5rem 1.5rem 0.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  background: url(/assets/img/home/header.jpg);
  background-color: white;
  background-position-y: 0px;
  background-size: 50%;
  background-repeat: repeat-x;
}
@media screen and (max-width: 600px) {
  .am-header-bubble {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 3.5rem 1.5rem 0.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    background: url(/assets/img/home/header.jpg);
    background-color: white;
    background-position-y: 0px;
    background-size: 150%;
    background-repeat: repeat-x;
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem 0.5rem 1.5rem;
  width: 100%;
  background: url(/assets/img/home/footer.jpg);
  background-color: #101010;
  background-position-y: 0px;
  background-size: 50%;
  background-repeat: repeat-x;
  color: white;
}

@media screen and (max-width: 600px) {
  .site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem 0.5rem 1.5rem;
    width: 100%;
    background: url(/assets/img/home/footer.jpg);
    background-color: #101010;
    background-position-y: 0px;
    background-size: 150%;
    background-repeat: repeat-x;
    color: white;
  }
}

.am-logo img {
  height: 100px;
}

@media screen and (max-width:767px) {
  .am-logo img {
    height: 68px !important;
  }
  img.animated {
    width: 200px;
  }
}

.blutext {
  color: #009DDA !important;
}

.am-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center; /* importante per centrare orizzontalmente */
  padding: 0;
}

.am-hamburger .bar {
  display: block;
  width: 100%; /* tutta la larghezza del bottone */
  height: 3px;
  background: #009DDA;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: 27%; 
}

.am-hamburger.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(0, 8px);
}

.am-hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.am-hamburger.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(0, -8px);
}


.am-mobile-nav {
  background: white;
  border-radius: 12px;
  margin-top: 1rem;
  padding: 1rem 2rem;
  width: 100%;
  max-width: 680px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: none;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.am-mobile-nav.open {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.am-mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.grid-item > p, footer > p, .centered {
  text-align: center;
}

.am-mobile-nav li {
  margin: 1.5rem 0;
  text-align: left;
}

.am-mobile-nav a {
  color: #546D78;
  font-size: 1.1rem;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: 5px;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  text-transform: uppercase;
}

.am-mobile-nav a:hover{
  color: #009DDA;
  
}

@media screen and (max-width:507px) {
  .hero {
    padding: 5rem 2rem !important;
  }
}

@media screen and (max-width:1200px) {
  section > div, section > h2, section > p, section > table {
    margin-left: 5vw !important;
    margin-right: 5vw !important;
  }
  
  section > table {
    max-width:90vw;
  }
}

/* === MEDIA QUERY PER MOBILE === */
@media (max-width: 700px) {
  .am-header-bubble {
    padding: 2rem 1rem;
  }

  .am-logo img {
    height: 32px;
    max-width: 110px;
  }

  .lang-toggle {
    font-size: 0.85rem;
  }

  .am-hamburger {
    font-size: 1.5rem;
  }

  .lang-menu a {
    font-size: 0.9rem;
  }
}

/* === HERO === */
.hero {
  padding: 10rem 2rem;
  text-align: center;
  background: transparent;
  color: white;
  margin-top: 0 !important;
  border: none !important;
}

.hero > h1 {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: 5px;
  font-size: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
}

.hero > h1, .hero > h3 {
  text-shadow: -1px 1px 8px #07798b;
}

/* === CTA === */
.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-top: 15px;
  background-color: #efefef;
  color: #546D78;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta:hover {
  background-color: #e3e3e3;
  transform: scale(1.05);
}

img.capimg {
    margin: 15px 20px;
    width: 50px;
}


.tellink {
  width:fit-content;
}

/* Features Grid */
.features-grid {
  margin-bottom: 4rem;
}

.features-grid h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: 5px;
  font-size: 2rem;
  color: #546D78;
  margin-bottom: 2rem;
  border-bottom: 3px solid #009DDA;
  padding-bottom: 0.5rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
}

.grid-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.08);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgb(3 61 97 / 0.3);
}

.grid-item.big {
  grid-column: span 2;
}

.grid-item img {
  width: 100%;
  max-width: 80px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.grid-item h3 {
  font-family: "Sen", sans-serif;
  font-weight: 700;
  color: #009DDA;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.grid-item p {
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
}

/* Applicazioni */
.applications {
  margin-bottom: 4rem;
  padding: 0 0;
}

.applications h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: 5px;
  font-size: 2rem;
  color: #546D78;
  margin-bottom: 1rem;
  border-bottom: 3px solid #009DDA;
  padding-bottom: 0.3rem;
}

.applications p {
  white-space: pre-wrap;
  font-size: 1rem;
  color: #333;
  margin: 0 auto;
  line-height: 1.5;
}

/* Tabella tecnica */
.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.tech-table td {
  border: 2px solid #ffffff!important;
  padding: 8px 10px;
}


td:nth-child(odd), th:nth-child(odd) {
  background-color: #e6f2fa;
}

td:nth-child(even), th:nth-child(even) {
  background-color: #eeeeee;
  text-align: right;
}

tr:nth-child(odd) {
  filter: brightness(95%);
}

.tech-notes {
  font-size: 12px;
  margin-top: 8px;
}

.technical-data h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: 5px;
  font-size: 2rem;
  color: #546D78;
  margin-bottom: 1rem;
  border-bottom: 3px solid #009DDA;
  padding-bottom: 0.3rem;
  margin-left: auto;
  margin-right: auto;
}


/* Sezione supporto */
.support {
  text-align: center;
  margin-bottom: 6rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.support h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: 5px;
  font-size: 2rem;
  color: #546D78;
  margin-bottom: 1rem;
  border-bottom: 3px solid #009DDA;
  padding-bottom: 0.3rem;
}

.support p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.5;
}


/* === ANIMAZIONI === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.fade-in.delay-1 { animation-delay: 0.3s; }
.fade-in.delay-2 { animation-delay: 0.6s; }
.fade-in.delay-3 { animation-delay: 0.9s; }
.fade-in.delay-4 { animation-delay: 1.2s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === FOOTER === */


.am-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-selector {
  position: relative;
}

.lang-toggle {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #546D78;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.lang-toggle:hover {
  background: #f0f0f0;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0.5rem 0;
  min-width: 80px;
  z-index: 100;
}

.lang-menu li {
  text-align: center;
}

.lang-menu a {
  display: block;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  color: #546D78;
  transition: background 0.2s ease;
}

.lang-menu a:hover {
  background: #f4f4f4;
}

/* Attivo toggle JS */
.lang-selector.open .lang-menu {
  display: block;
}

/* === LANG SELECTOR ANIMATO === */
.lang-selector {
  position: relative;
}

.lang-toggle {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #546D78;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
}

.lang-toggle::after {
  content: "▾";
  transition: transform 0.3s ease;
}

.lang-selector.open .lang-toggle::after {
  transform: rotate(180deg);
}

.lang-toggle:hover {
  background: #f0f0f0;
}

.lang-menu {
  display: block;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  top: 120%;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0.5rem 0;
  min-width: 80px;
  z-index: 100;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lang-selector.open .lang-menu {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.lang-menu li {
  text-align: center;
}

.lang-menu a {
  display: block;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  color: #546D78;
  transition: background 0.2s ease;
}

.lang-menu a:hover {
  background: #f4f4f4;
}

/* === MOBILE NAV ANIMATO === */
.am-mobile-nav {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  background: white;
  border-radius: 0px 0px 0px 12px;  
  margin-top: 1rem;
  padding: 1rem 2rem;
  width: fit-content;
  max-width: 100vw;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.am-mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: absolute;
  top: 148px;
  right: 0;
}


.full-landing-image{
  width: 100%;
  height: 500px;
  background: url('/assets/img/home/hero-background.jpg') no-repeat center;
  background-size: cover;
}

img.socialico {
  width: 30px;
  position: relative;
}

.mcontainer {
  max-width: 1400px;
  margin: auto;
}

section {
    padding: 3rem 0rem;
}

section h2 {
  text-align: center;
  text-transform: uppercase;
}

section.support.fade-in.delay-3.mcontainer {
    padding-bottom: 80px;
}

/*transaction wadaaaah*/
#scroll-container {
  height: 300vh;
}

.layer {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3em;
  color: white;
  z-index: 1;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
  transition: opacity 1.2s ease-in-out;
}

.dirty-water {
  background-image: url('/assets/img/home/filtraggio/1_acqua_sporca.jpg');
  /*background: linear-gradient(to bottom, #4b4b4b, #2a2a2a);*/
  z-index: 1;
}

.filter-layer {
  background-image: url('/assets/img/home/filtraggio/2_sabbia.jpg');
  background-size: cover;
  opacity: 1;
  z-index: 2;
  transition: opacity 1.2s ease-out;
  mix-blend-mode: overlay;
  backdrop-filter: blur(2px);
  -webkit-box-shadow: inset 0 75px 60px -20px rgba(144, 144, 144, 0.9);
  -moz-box-shadow: inset 0 75px 60px -20px rgba(144, 144, 144, 0.9);
  box-shadow: inset 0 75px 60px -20px rgba(144, 144, 144, 0.9);
}

.clean-water {
  background-image: url('/assets/img/home/filtraggio/3_acqua_potabile.jpg');
  z-index: 1;
}

/**/

.cliphide {
  visibility: hidden!important;
  height: 0!important;
  padding: 0!important;
  margin: 0!important;
  border: 0!important;
}

/**/

.pvragreenbg, .pvragreenbg::before, .pvragreenbg::after {
  background-color:#a7d88d;
}


/*paddingsSs*/


.tpad0 {
  padding-top: 0px;
}
.rpad0 {
  padding-right: 0px;
}
.bpad0 {
  padding-bottom: 0px;
}
.lpad0 {
  padding-left: 0px;
}
.tpad15 {
  padding-top: 15px;
}
.rpad15 {
  padding-right: 15px;
}
.bpad15 {
  padding-bottom: 15px;
}
.lpad15 {
  padding-left: 15px;
}
.tpad20 {
  padding-top: 20px;
}
.rpad20 {
  padding-right: 20px;
}
.bpad20 {
  padding-bottom: 20px;
}
.lpad20 {
  padding-left: 20px;
}
.tpad30 {
  padding-top: 30px;
}
.rpad30 {
  padding-right: 30px;
}
.bpad30 {
  padding-bottom: 30px;
}
.lpad30 {
  padding-left: 30px;
}
.tpad45 {
  padding-top: 45px;
}
.rpad45 {
  padding-right: 45px;
}
.bpad45 {
  padding-bottom: 45px;
}
.lpad45 {
  padding-left: 45px;
}


/* === IFRAME VIDEO === */



.section.videoframe {
    position: fixed;
    display: block;
    z-index: 777;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    height:100vh;
    width:100vw;
    background-color: rgba(0,0,0,0.6);
}

.section.bannerframe {
    position: fixed;
    display: block;
    z-index: 9999;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background-color: rgba(0,0,0,0.6);
}

.section.videoframe2 {
    position: fixed;
    display: block;
    z-index: 2;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background-color: rgba(0,0,0,0.6);
}

.exit {
  position: fixed;
  display: block;
  z-index: 9999;
  top: 15px;
  right: 15px;
  color: white;
  width: 45px;
  height: 45px;
  background-color: transparent;
  text-align: center;
  border: 3px solid white;
  border-radius: 5em;
  cursor: pointer;
}

.new-frame-container {

}
.new-frame-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 78vw;
    height: 44vw;
    margin: auto;
    right: 0;
    bottom: 0;
}

.widecont {
  max-width: 100vw !important;
    width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    position: relative;
    left: 50%;
    right: 50%;
}

.new-frame-container iframe#videobanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 35.2vw;
    height: 44vw;
    margin: auto;
    right: 0;
    bottom: 0;
}


@media screen and (max-width:500px) {
  div.widecont > iframe {
    height:275px!important;
    padding-bottom:20px;
  }

  .drone-container {
    padding-top: 40px;
  }
}

.frame-container {
    position: relative;
    padding-bottom: 56.25% !important;
    padding-top: 25px;
    width: 300%;
    left: -100%;
}

.frame-container2 {
    position: relative;
    padding-bottom: 56.25% !important;
    padding-top: 25px;
    width: 300%;
    left: -100%;
}

.frame-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

span.closevid {
    font-family: Arial !important;
    font-weight: 500;
    font-stretch: extra-expanded;
    line-height: 2;
    font-size: 20px;
}

.bannervideocontainer {
  padding-top:30px;
}


@media screen and (max-width: 767px) {
    .new-frame-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 98vw;
        height: 55.5vw;
        margin: auto;
        right: 0;
        bottom: 0;
    }
}

h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 400!important;
  letter-spacing: 5px;
  font-size: 2rem;
  color: #546D78!important;
  margin-bottom: 1rem;
  border-bottom: 3px solid #009DDA;
  padding-bottom: 0.3rem;
  text-align: center;
}

.grid-item > p {
  margin: 0;
}

.specialgrid {
  pointer-events: none;
  box-shadow: unset;
}

.parabox{
  height: -webkit-fill-available;
}

.numeroverde, .tellink {
  width: 250px!important;
  right: 0;
  left: 0;
  margin: auto;
}

.boxassistenza {
  text-align: center;
}


p.pwrdby {
  font-family: "Roboto", sans-serif;
  font-weight: 400 !important;
  letter-spacing: 5px;
  font-size: 2rem;
  color: #546D78 !important;
  margin: 0;
  text-align: center;
}

.capdx > p, .capsx > p, .capdx > img, .capsx > img {
  margin-left: 3.5vw;
  margin-right: 3.5vw;
}

.capdx > p, .capsx > p {
  text-align: justify;
}

.capdx, .capsx {
  text-align: center;
}

.DM {
  text-decoration: none;
  color: unset;
}

.DM:hover {
  text-decoration: none;
  color: red;
  font-weight: 600;
}

.row.g-2.align-items-center.vcard{
  width: fit-content;
  position: relative;
  left: 0;
  right: 0;
  margin: auto;
  /*box-shadow: 5px 10px 20px #bbbbbb;*/
  /*border: 1px solid #eeeeee;*/
  padding: 20px;
  text-align: center;
  font-size: 28px;
}

section.lastone {
  text-align: center;
  padding-top: 10px;
}

img.animated {
  width: 350px;
}

footer > p {
  margin-bottom: 0;
  padding: 15px 0px;
}

#myBtn {
  display: none; 
  position: fixed; 
  bottom: 20px; 
  right: 30px; 
  z-index: 99; 
  border: none; 
  outline: none;
  background-color: transparent; 
  cursor: pointer; 
}

#myBtn:hover {
}

.gototop > img {
    width: 50px;
    opacity: 0.6;
}

.gototop > img:hover {
    opacity: 1;
}