@media screen and (max-width: 700px) {

    html,
    body {
        margin: 0;
        padding: 0;
        position: relative;
        overflow-x: hidden;
    }

    nav {
        display: flex;
        position: sticky;
        top: 0;
        width: 100%;
        padding: 1rem 0rem;
        justify-content: center;
        align-items: center;
    }

    nav .wrapper {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin-left: 1rem;
        margin-right: 1rem;
        gap: 0;
    }

    nav button {
        display: flex;
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
        padding: 0.625rem 0.3125rem;
        justify-content: center;
        align-items: center;
        gap: 0.625rem;
        border-radius: 0.4375rem;
        background: #0075FA;
    }


    section.heading .wrapper h1 {
      text-align: center;
      padding-top: 3rem;
      color: #FFF;
      font-size: 1.6875rem;
    }

    section.heading .wrapper p {
      text-align: center;
    }

    .con-scritta {
      display: none;
    }

    .senza-scritta {
        display: block;
    }

    .heading {
        padding: 1rem;
    }


    nav button span {
        display: none;
    }

    .copy-wrapper {
        position: absolute;
    }



    .copy-wrapper .wrapper p {
        text-wrap: wrap;
    }

    .cards-container .copy-wrapper p {
        font-size: 1rem;
        text-wrap: wrap;
        line-height: 1.6rem;
    }
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Applica l'animazione quando compare */
.cards-container.animate {
  animation: fadeSlideUp 0.4s ease-out;
}

    .copy-wrapper .wrapper-bottom p {
        font-size: 0.875rem; 
    }

    .copy-wrapper .wrapper-descrizione-freccia .details p {
        font-size: 0.775rem !important; 
    }

    section.heading .wrapper p {
      color: #FFF;
        font-family: "Plus Jakarta Sans";
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.8rem;
        /* 171.429% */
        letter-spacing: 0.02625rem;
        align-self: stretch;
    }

.card.focused {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  z-index: 10;
}


    section.heading .wrapper {
        display: flex;
        max-width: 63.75rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.625rem;
        align-self: stretch;
        width: 100%;
        padding-top: 8.5rem;
    }



.cards-container#special-events {
    display: none;
padding-top: 0rem !important;
}

  .video-wrapper {
    position: relative;
    width: 100%;
    height: 80vh; /* Imposta l'altezza desiderata */
    overflow: visible;
  }

  .video-heading {
    display: block !important;
    position: absolute;
    object-fit: cover;
    z-index: -1;
    width: 100%;
    height: 100%;
  }

.wrapper-filter {
  display: flex;
  width: fit-content;
  justify-content: center;
  align-items: center;
  gap: 0rem;
  background: #ebebeb;
  border-radius: 0.6875rem;
  padding: 0rem;
  white-space: nowrap;
}

/* Transizione fluida */
.wrapper-filter .wrapper-1,
.wrapper-filter .wrapper-2 {
  transition: none !important;
  width: fit-content;
  white-space: nowrap;
}


/* Stato NON ATTIVO: rimuove bordo e ombra */
.wrapper-filter .wrapper-1:not(.active),
.wrapper-filter .wrapper-2:not(.active) {
  border: 1px solid transparent;
  box-shadow: none;
  white-space: nowrap;
}

/* Stato ATTIVO */
.wrapper-filter .active {
  background: white !important;
  white-space: nowrap;
  border: 1px solid rgba(183, 200, 219, 0.60) !important;
  box-shadow: 0px 0.882px 13.52px 1.207px rgba(0, 0, 0, 0.07) !important;
}

/* Testo attivo */
.wrapper-filter .active p {
  color: #0075FA !important;
  white-space: nowrap;
}

/* Testo inattivo */
.wrapper-filter .wrapper-1:not(.active) p,
.wrapper-filter .wrapper-2:not(.active) p {
  color: #878995;
  white-space: nowrap;
}

/* Struttura e stile base (senza colore attivo) */
.wrapper-filter .wrapper-1 {
  display: flex;
  width: fit-content;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #ebebeb;
  border-radius: 0.625rem;
  white-space: nowrap;
}

.wrapper-filter .wrapper-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #ebebeb;
  border-radius: 0.625rem;
  white-space: nowrap;
}

/* Colori testo */
.wrapper-filter .wrapper-1 p {
  color: #0075FA;
  font-family: "Plus Jakarta Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.wrapper-filter .wrapper-2 p {
  color: #0075FA;
  font-family: "Plus Jakarta Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}



    
    .cards-container .card {
        width: 20.4298rem;
        height: 30.6639rem;
        flex-shrink: 0;
    }

    .cards-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        justify-content: flex-start;
        overflow-y: hidden;
        width: 100%;
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        /* opzionale: spazio tra le card */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* spazio sopra e sotto */
    }

    .cards-container-container {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .cards-container>div {
        flex: 0 0 auto;
        scroll-snap-align: center; 
    }

.cards-container .card:hover,
.cards-container .card.hovered {
  transform: none !important;
  box-shadow: none !important;
  z-index: auto !important;
}

.cards-container .card:hover .freccia {
  animation: none !important;
  opacity: 1 !important;
}


.sottotitolo {
    max-width: 21.875rem;
    text-align: center;
    line-height: 1.8rem;
    font-size: 1rem;
}
.wrapper-experiences img {
    width: 1.7rem;
    height: 1.7rem;
    margin-right: 0rem;
}

.wrapper-experiences {
    padding-top: 10rem;
    align-items: center;
    justify-content: center;
}

    .wrapper-descrizione-freccia {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .titolo-wrapper {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0.625rem;
        padding-left: 0rem;
        padding-top: 0rem;
    }

    .titolo-cards {
        color: #04081B;
        font-family: "Plus Jakarta Sans";
        font-size: 1.5rem;
        font-size: 1.6875rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin: 0;
        align-items: center;
        justify-content: center;
        text-align: center;
    }



    .card .details {
        width: 100%;
    }


    footer {
        background: #0075FA;
        padding: 1.875rem 0.9375rem;
        align-items: center;
        justify-content: center;
        display: flex;
        width: 100vw;
        overflow: visible;

    }

    footer .wrapper {
      overflow: visible;
    }






    .features-block {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.875rem;
        max-width: 63.5rem;
        padding: 5rem 1.5rem;
        margin: 0 auto;
    }

    .features-block .item {
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .features-block .text p:first-of-type {
        color: #04081B;
        font-family: "Plus Jakarta Sans";
        font-size: 1.125rem;
        font-weight: 700;
        margin: 0;
        padding: 0; 
    }

    .features-block .text p:last-of-type {
        color: rgba(95, 96, 99, 0.99);
        font-family: "Plus Jakarta Sans";
        font-size: 0.82588rem;
        font-weight: 400;
        line-height: 1.44531rem;
        margin: 0;
        padding: 0;
    }
.card.hovered .freccia {
  animation: slideRightLoop 1s ease-in-out infinite;
  opacity: 1;
}



    .perks {
        display: none;
    }

    .features-block img {
        transform: scale(.9);
        transform-origin: left center;
        /* o 'center center' */
    }


.decoration-mask {
  display: block !important;
  position: absolute !important;
  bottom: -1rem !important;
  z-index: 10 !important;
  fill: #FFF;
stroke-width: 10px !important;
stroke: rgba(255, 255, 255, 0.50) !important;
}

.decoration-mask-footer {
  display: block !important;
  position: absolute !important;
  top: -14.5rem !important;
  z-index: 11 !important;
}

.decoration-mask-footer-big {
  display: none !important;;
}

.decoration-mask-big {
  display: none !important;
}

.combo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  border-radius: 0.4375rem;
  background: rgba(255, 172, 94, 0.30);
  padding: 0.1875rem 0.3125rem;
  color: #FFAC5E!important;
  font-family: "Plus Jakarta Sans";
  font-size: 0.72588rem;
  font-weight: 700!important;
  margin-bottom: .5rem;
}



}
