.smooth-scroll {
  height: 100%;
  display: flex;
  padding-top: 10vh;
}

.main-horizontal-1 {
  height: 100%;
  display: flex;
}

.sec-horizontal-1 {
  height: 100%;
  display: flex;
}

.general-section {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section-1 {
  padding: 2vw;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-1 p {
  width: 30vw;
}

.section-2 img {
  height: 100%;
  padding: 2vw;
}

.section-3 {
  padding: 2vw;
}

.section-3 img {
  height: 100%;
}

.section-5 {
  padding: 2vw;
}

.section-4 {
  padding: 2vw;
  justify-content: flex-start;
  align-items: flex-start;
}

.section-5-wrap {
  display: flex;
  height: 50%;
}

.section-5 img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.half-padding-bottom {
  padding-bottom: 1vw;
}

.half-padding-top {
  padding-top: 1vw;
}

.section-6 {
  padding: 2vw;
  height: 100%;
}

.section-6 img {
  height: 100%;
}

.section-7 {
  padding: 2vw;
  height: 100%;
  align-items: flex-end;
  justify-content: flex-end;
}

.section-7 h2 {
  text-align: end;
}

.arrow {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.line-horizontal {
  width: 100px;
  height: 1px;
  background: #0d0d0d;
}

.line-up {
  width: 1px;
  height: 50px;
  background: #0d0d0d;
  transform: rotate(-45deg);
  transform-origin: bottom;
}

.line-down {
  width: 1px;
  height: 50px;
  background: #0d0d0d;
  transform: rotate(45deg);
  transform-origin: top;
}

@media screen and (max-width: 992px) {
  .row {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .row a {
    width: 50%;
  }

  .smooth-scroll-1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: visible;
    height: auto;
  }

  .smooth-scroll-2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: visible;
    height: auto;
  }

  .smooth-scroll-3 {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: visible;
    height: auto;
  }

  .smooth-scroll-4 {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: visible;
    height: auto;
  }

  .smooth-scroll-5 {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: visible;
    height: auto;
  }

  .smooth-scroll-6 {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: visible;
    height: auto;
  }

  .main-horizontal-1 {
    width: 100%;
    flex-direction: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .main-horizontal-2 {
    width: 100%;
    flex-direction: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .sec-horizontal-1 {
    width: 100%;
    flex-direction: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .sec-horizontal-2 {
    width: 100%;
    flex-direction: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .sec-horizontal-3 {
    width: 100%;
    flex-direction: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .sec-horizontal-4 {
    width: 100%;
    flex-direction: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .sec-horizontal-5 {
    width: 100%;
    flex-direction: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .sec-horizontal-6 {
    width: 100%;
    flex-direction: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .general-section {
    align-items: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

  .section-1 {
    width: 100%;
    padding-top: 5vw;
    padding-bottom: 5vw;
  }

  .section-1 p {
    width: 100%;
  }

  .section-2 {
    width: 100% !important;
  }

  .section-2 img {
    width: 100%;
    height: auto;
    padding: 0;
  }

  .section-3 {
    width: 100%;
    padding: 0;
    padding-top: 5vw;
  }

  .section-3 img {
    width: 100%;
    height: auto;
  }

  .section-4 {
    width: 100%;
    height: 10vh;
    justify-content: center;
  }

  .section-5 {
    width: 100% !important;
    flex-direction: row;
  }

  .section-5-wrap {
    height: 100%;
  }

  .section-5 img {
    width: 100%;
    height: auto;
  }

  .half-padding-top {
    padding-top: 0;
    padding-left: 1vh;
  }

  .half-padding-bottom {
    padding-bottom: 0;
    padding-right: 1vh;
  }

  .section-6 {
    width: 100% !important;
  }

  .section-6 img {
    width: 100%;
    height: auto;
  }

  .section-7 {
    width: 100%;
    height: 25vh;
  }

  .section-7 a {
    width: 100%;
  }
}

/*UPDATE 2025*/
html,
body {
  height: 100%;
  overflow: hidden; /* niente scrollbar verticali */
  overscroll-behavior: none; /* niente bounce su iOS/Chrome */
}

.smooth-scroll {
  height: 100vh;
  touch-action: pan-x; /* consentire solo gesti orizzontali */
  -webkit-overflow-scrolling: auto; /* evita inerzia nativa */
}

/* se componi sezioni orizzontali */
.smooth-scroll[data-scroll-container] {
  display: flex;
  flex-wrap: nowrap;
}
[data-scroll-section] {
  flex: 0 0 100vw; /* ogni sezione larga una viewport */
}

/* su mobile, se torni a verticale */
@media (max-width: 767px) {
  html,
  body {
    overflow: auto; /* riabilita scroll quando vertical */
  }
  .smooth-scroll {
    touch-action: auto;
  }
}
