/* Base */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  background-color: white;
  color: black;
}

nav {
  box-sizing: border-box;
  width: 100%;
  left: 0;
  top: 0;
  padding: 1.2em 2.5em;
  position: fixed;
  z-index: 10;
  background-color: white;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1em;
  box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}
.nav-links a {
  text-decoration: none;      /* rimuove la sottolineatura */
  color: inherit;             /* eredita il colore dal genitore */
  display: block;             /* estende il link sull'intero <li> */
}
.nav-links a:hover {
  box-shadow: 0 3px 0 rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
}

nav ul li {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1em;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.4em;
}
.logo a{
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  gap: 0.6em;

}

.logo-img {
  height: 28px;
}
.logo-text {
  font-size: 0;
}

.logo-text span {
  font-size: 1.3rem; /* o la dimensione che vuoi */
}

/* Hamburger menu base */
#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 2em;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  min-height: 100vh;
  box-sizing: border-box;
}
.herov-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.herov {
    height: 100vh;  /* Hero section occupa tutta l'altezza dello schermo */
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Adatta il video all'intera area della sezione */
    z-index: -1; /* Manda il video sullo sfondo */
    opacity: 0.3; /* Riduce l'opacità del video */
}
.second-section {
  background-color: white;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.second2-section {
  background-color: gainsboro;
  color: black;
  height: 100vh; /* altezza intera finestra */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  box-sizing: border-box;
}

.second-content {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}

.second-content h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.second-content p {
  font-size: 1.2em;
}

.third-hero {
  justify-content: center;
  align-items: center;
  background-color: #0050FF;
  color: white;
  padding: 2em;
  text-align: center;
}

.hero-content-center {
  max-width: 800px;
}

.big-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 2em;
  line-height: 1.3;
}

.button-group {
  display: flex;
  gap: 1.5em;
  justify-content: center;
  z-index: 1;
  flex-wrap: wrap;
}

.hero-btn {
  font-size: 1.3em;
  background-color: #0050FF;
  color: white;
  padding: 1em 2em;
  border: none;
  border-radius: 0.5em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 1;
  text-transform: uppercase;
}

.hero-btn:hover {
  background-color: #0050af;
  z-index: 1;
  transform: scale(1.05);
}


.community {
  font-size: 1.3em;
  background-color: #0050FF;
  color: white;
  padding: 1em 2em;
  border: none;
  border-radius: 0.5em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 1;
  text-transform: uppercase;
}

.community:hover {
  background-color: #001f5c;
  z-index: 1;
  transform: scale(1.05);
}



.card-container3 {
    display: flex; /* Dispone le card in orizzontale */
    justify-content: space-between; /* Spaziatura uniforme tra le card */
    align-items: flex-start; /* Allinea le card in alto */
    gap: 60px; /* Distanza tra le card */
    padding: 60px; /* Spaziatura interna */
}
.card-label {
  position: absolute;
  top: -10px;
  left: 20px;
  background-color: #ff4757;
  color: white;
  font-size: 0.9em;
  font-weight: bold;
  padding: 0.3em 0.8em;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1;
}
.card-label2 {
  position: absolute;
  top: -10px;
  left: 20px;
  background-color: #ff4;
  color: black;
  font-size: 0.9em;
  font-weight: bold;
  padding: 0.3em 0.8em;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1;
}
.perche-noi {
    /*background: linear-gradient(to bottom, #0f40a2 35%, #0f40a2 35%);*/
  background-color: gainsboro;
  padding: 4em 2em;
  text-align: center;
  color: white;
}
.perche-titolo {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 2em;
  color: black;
}
.card3 {
  z-index: 9;
  background-color: white; /*rgba(0, 80, 255,0.8);*/
  border: 1px solid #ddd; /* Bordo leggero */
  border-radius: 8px; /* Angoli arrotondati */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombra */
  width: 70%; /* Ogni card occupa il 30% dello spazio */
  text-align: center;
  position: relative; /* Per posizionare il cerchio sopra */
  transition: 400ms;
  min-height: 250px; /* Altezza minima per uniformità */
  flex-direction: column; /* Contenuto disposto verticalmente */
  justify-content: center; /* Centra verticalmente il contenuto */
  padding-bottom: 1em;
  padding-right: 2em;
  padding-left: 2em;
  padding-top: 3em;;
}
.card3 h3 {
  margin-top: 0;
  font-size: 18px;
  color: #333;
}
.card3 h2{
  color: black;
}

.card3 p {
    font-size: 1.3em;
    /*color: #666;*/
  color: black;
}

.card3:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background-color: #ffffff;
}

.circle-icon {
  position: relative;
  width: 50px; /* o la dimensione che ti serve */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.circle-icon img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.circle-icon img.hover {
  opacity: 0;
  z-index: 2;
}

.circle-icon img.default {
  opacity: 1;
  z-index: 1;
}

.card3:hover .circle-icon img.default {
  opacity: 0;
}
.card3:hover .circle-icon img.hover {
  opacity: 1;
}

.card3:hover h2{
  color: #0050FF;
}

.card3:hover p {
  color: black;
}

.circle-icon {
    width: 180px;
    height: 180px;
    background-color: white; /* Colore di sfondo del cerchio */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -90px; /* Posiziona il cerchio sopra la card */
    left: 50%; /* Centra orizzontalmente */
    transform: translateX(-50%); /* Corregge l'allineamento centrale */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Aggiunge ombra al cerchio */
    overflow: hidden;
}
.circle-icon img {
    width: 60%;
    height: 60%;
}

/* Left side: text */
.hero-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 4em;
  z-index: 1;
  box-sizing: border-box;
}


.hero-brush {
  position: fixed;
  top: -25vh;
  left: -25vw;
  width: 150vw;
  height: 150vh;
  z-index: 1;
  pointer-events: none;
}

.hero-brush path {
  animation: brushWave 40s ease-in-out infinite;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 30;
  stroke-linecap: round;
}
.hero-brush path {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 30;
  stroke-linecap: round;
  animation-duration: 36s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Linea 1: animazione path e traslazione orizzontale */
.line1 path {
  z-index: 0;
  animation-name: brushWaveCross1, moveLeftToRight;
  animation-delay: 30s, 0s;
}

/* Linea 2: animazione path diversa e rotazione */
.line2 path {
  z-index: 0;
  animation-name: brushWaveCross2, rotateSlow;
  animation-delay: 30s, 0s;
}

/* Linea 3: animazione path diversa e traslazione verticale */
.line3 path {
  z-index: 0;
  animation-name: brushWaveCross3, moveUpDown;
  animation-delay: 53s, 0s;
}

/* Animazioni di shape path */
@keyframes brushWaveCross1 {
  0% {
    d: path("M50 150 Q180 -100 350 140 T600 150");
  }
  25% {
    d: path("M80 140 Q150 120 320 40 T570 140");
  }
  50% {
    d: path("M110 160 Q120 100 290 20 T540 160");
  }
  75% {
    d: path("M80 130 Q150 -90 320 140 T570 130");
  }
  100% {
    d: path("M50 150 Q180 -100 350 140 T600 150");
  }
}
@keyframes brushWaveCross2 {
  0% {
    d: path("M50 160 Q200 -80 360 130 T610 160");
  }
  25% {
    d: path("M70 150 Q170 110 340 60 T590 150");
  }
  50% {
    d: path("M100 170 Q140 90 310 30 T560 170");
  }
  75% {
    d: path("M70 140 Q160 -70 340 130 T590 140");
  }
  100% {
    d: path("M50 160 Q200 -80 360 130 T610 160");
  }
}
@keyframes brushWaveCross3 {
  0% {
    d: path("M60 140 Q170 -110 330 150 T580 140");
  }
  25% {
    d: path("M90 130 Q140 130 300 50 T550 130");
  }
  50% {
    d: path("M120 150 Q110 80 270 40 T520 150");
  }
  75% {
    d: path("M90 120 Q170 -80 300 150 T550 120");
  }
  100% {
    d: path("M60 140 Q170 -110 330 150 T580 140");
  }
}

/* Animazioni di movimento */
@keyframes moveLeftToRight {
  0% { transform: translateX(0); }
  50% { transform: translateX(100px); }
  100% { transform: translateX(0); }
}
@keyframes rotateSlow {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(0deg); }
}
@keyframes moveUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(50px); }
  100% { transform: translateY(0); }
}







.hero-text h1 {
  font-size: 4.5em;
  line-height: 1.2;
  margin: 0;
}

.hero-text p {
  font-size: 2em;
  font-weight: bold;
  margin: 1em 0;
}

.cta-button {
  font-size: 1.2em;
  background-color: #08377c;
  color: white;
  padding: 1em 2em;
  font-weight: bold;
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  text-transform: uppercase;
  z-index: 1;
}

/* Right side: image centered in its half */
.hero-image {
  color: black;
  width: 50%;
  padding: 0 2em;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}


.hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  z-index: 1;
}

.manda {
  font-size: 1.5em;
  color: #08377c;
  font-family: 'Montserrat', sans-serif;
}

.mo {
  font-size: 1.2em;
  color: #006bb6;
  font-family: 'Montserrat', sans-serif;
}

.restainncontatto{
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
  color: black;
}
.quote {
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
  color: black;
}

.quote p {
  margin: 0;
  padding: 0.5em 0;
}

.quote span {
  display: inline-block;
  margin: 0 0.15em;
  transition: color 0.1s ease, transform 0.1s ease;
  cursor: default;
}

.quote span:hover {
  color: #0057ff;
  transform: scale(1.1);
}

.quote-author {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 1.5em;
  text-align: right;
}

/* Stile per il link dentro quote-author */
.quote-author a {
  color: inherit;          /* eredita il colore del genitore */
  text-decoration: none;   /* togli sottolineatura */
  cursor: pointer;
}

.quote-author a:hover {
  text-decoration: underline;
  color: #0057ff;
  transform: scale(1.1);
}











.committente-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  background: linear-gradient(to bottom right, #0050FF, #c3cfe2,#c3cfe2, #c3cfe2);
}



.committente-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: #ffffff;
}

.container {
  width: 100%;
  max-width: 960px;
}

/* TITOLI */
.committente-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0050FF;
  margin-bottom: 0.5rem;
  text-align: center;
}

.committente-subtitle {
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* ACCORDION */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Ogni box */
.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 80, 255, 0.05);
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.accordion-item:hover {
  background-color: #f2f6ff;
  box-shadow: 0 6px 14px rgba(0, 80, 255, 0.08);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.accordion-header span {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: #0050FF;
  gap: 0.75rem;
}

.accordion-header img {
  width: 24px;
  height: 24px;
}

.arrow-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #0050FF;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.open .arrow-btn {
  transform: rotate(180deg);
}

/* Animazione contenuto */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  padding-left: 2.75rem;
  transition: max-height 0.5s ease, opacity 0.3s ease, transform 0.3s ease;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}




/**************************/

.container {
  display: flex;
  width: 100%;
  height: auto;
}

.text-area {
  width: 70%;
  padding-right: 20px;
}

.image-area {
  overflow: hidden;
  z-index: 1;
}

.image-area img {
  height: 100%;
  object-fit: cover;
}
.box {
  z-index: 10;
  padding-left: 3em;
  padding-right: 3em;
}

.tabl{
  padding: 3em;
}
.tabl li {
      list-style: none;
      padding-left: 0;
      margin-left: -1.5em;
    font-size: 1.5em;
}
.boxz span{
  font-weight: bold;
  font-size: 40px;
}
.tit{
  font-weight: bold;
  font-size: 40px;
}
.sotttit{
  font-size: 25px;
}
.title {
  font-size: 2em;
  margin-top:2em;
}
.box:hover div {
  color: #0050FF;
  font-weight: bold;
  z-index: 1;
  transition: all 0.4s ease; /* Aggiunge una transizione fluida */
}
.box li:hover::marker {
    color: #0050FF; /* Cambia il colore del punto al passaggio del mouse */
    transform: scale(2.5); /* Ingrandisce il punto leggermente */
    transition: all 0.2s ease; /* Aggiunge una transizione fluida */

}




/** Sezione "Come funziona" **/

.sezione-come-funziona {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #0070E0;
  color: white;
  padding: 4em;
  padding-top: 6em;
  text-align: left; /* Allinea testo a destra */
}
.sezione-come-funziona-autotrasportatori {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #4a88ff;
  color: white;
  padding: 4em;
  padding-top: 6em;
  text-align: left; /* Allinea testo a destra */
}
.sezione-come-funziona h1 {
  text-align: center;
  font-size: 4em;
}

.sezione-come-funziona h2 {
  font-size: 2em;
  text-align: start;
}
.sezione-come-funziona h3 {
  font-size: 1.5em;
  font-weight: unset;
  text-align: start;
}

.container-comefunziona {
  text-align: center;
  padding: 2em 0;
}

.titolo-comefunziona {
  margin: 0.5em 0 0.5em 0;
  text-align: left;
}

.contenuto-comefunziona {
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 1.5em;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
  padding: 1em;
  -webkit-overflow-scrolling: touch;
}

.immagine-comefunziona {
  flex: 0 0 auto;
  scroll-snap-align: center;
  z-index: 5;
  width: 60%;
  max-width: 70%;
  border-radius: 1em;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.immagine-comefunziona:hover {
  transform: scale(1.03);
}

.testo-comefunziona {
  padding: 2em;
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
}

.bottoni-row {
  display: flex;
  justify-content: center; /* o 'space-between' per distanziarli */
  gap: 50px; /* spazio tra i bottoni */
  padding:1em;
}
.bottoni-row a {
  width: -webkit-fill-available;
  width: -moz-available;
  text-decoration: none;
  min-height: 3em;
  min-width: 3em;
  font-size: 0.6em;
  background-color: #0070FF;
  color: white;
  padding: 0.5em 0.5em;
  border: none;
  border-radius: 0.5em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 1;
  text-transform: uppercase;
  display: flex;
  justify-content: center;  /* centra orizzontalmente */
  align-items: center;
}
.bottoni-row a:hover {
  text-decoration: none;
  background-color: #0050af;
  z-index: 1;
  transform: scale(1.05);
}

.homepage {
  width: -webkit-fill-available;
  text-decoration: none;
  min-height: 3em;
  min-width: 3em;
  font-size: 0.6em;
  background-color: #0070FF;
  color: black;
  padding: 0.5em 0.5em;
  border: none;
  border-radius: 0.5em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 1;
  text-transform: uppercase;
  display: flex;
  justify-content: center;  /* centra orizzontalmente */
  align-items: center;
}

/**************************/
.abbonamento {
  position: relative;
  margin: 0;
  background: #f5f5f5;
}

/* Mostra la linea solo su desktop */
@media (min-width: 769px) {
    .herov {
        height: 100vh;  /* Hero section occupa tutta l'altezza dello schermo */
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

  .abbonamento::before {
    content: "";
    position: fixed;
    top: 0;
    left: 5em;
    width: 4px;
    height: 100vh;
    background-color: #0077cc;
  }

    .abbonamenti-flex{
        display: flex;
        gap: 3em;
    }

  #scrolling-point {
    position: fixed;
    left: 4.1em;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
  }
}

/* Nasconde su tablet e mobile */
@media (max-width: 768px) {
  .abbonamento::before,
  #scrolling-point {
    display: none !important;
  }
}


.abbonamenti-flex{
    gap: 3em;
}

.pricing-container {
  color: black;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8em;
  gap: 3em;
}
@media (max-width: 768px) {
  .pricing-container {
    padding: 8em 2em; /* ridotto e con un po’ di spazio laterale */
  }
}
.pricing-container span{
  font-size: 1.5em;
}

.card {
  transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px 25px;
  max-width: 380px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: scale(105%);
  transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


.card h2 {
  font-family: 'Poppins', sans-serif; /* oppure 'Space Grotesk' o 'Montserrat' */
  text-align: center;
  font-size: 3em;
}

.premium h2 {
  color: #00B400;
  font-weight: 900;
}

.basic h2 {
  color: #0070e0;
  font-weight: 900;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  height: 100%
}

.card ul li {
  text-align: start;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1em;
}


.card ul li::before {
  content: '';
  display: inline-block;
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/5/50/Yes_Check_Circle.svg/32px-Yes_Check_Circle.svg.png') no-repeat center;
  background-size: contain;
  margin-right: 10px;
  color: #00B400;
  font-size: 18px;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
}

.card .price {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 999px;
  padding: 10px 20px;
  color: white;
  display: inline-block;
  transition: background 0.4s ease-in-out;
}
.premium .price,
.basic .price {
  display: block;
  text-align: center;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  color: white;
  transition: background 0.4s ease-in-out;
}

/* PREMIUM */
.premium .price {
  background: linear-gradient(to right, #00c20f, #00ceff);
}

.premium .price:hover {
  background: linear-gradient(to right, #00B400, #009ef0);
}

/* BASIC */
.basic .price {
  background: linear-gradient(to right, #00d2ff, #0070e0);
}

.basic .price:hover {
  background: linear-gradient(to right, #00a2ff, #0030e0);
}


.bonus {
  color: #00B400;
  font-weight: bold;
}


.note-section {
  display: none;
  position: fixed; /* rimane rispetto alla finestra, non alla pagina */
  background: white;
  color: black;
  padding: 25px;
  border-top: 6px solid #004a99;
  text-align: center;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;

  border-top: 6px solid #004a99;
  pointer-events: none; /* così non interferisce con l'hover */
}

.note-section span {
  background: red;
  color: white;
  font-weight: bold;
  border-radius: 15px;
  padding: 0.5em;
  position: absolute;
  top: -15px;
  left: -20px;
  font-size: 1.1em;
}

.card-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: black;
}

.price:hover + .note-section {
  display: block;
}


.card-wrapper > *:not(.note-section) {
  padding: 20px; /* o stile tuo */
  box-sizing: border-box;
}

.vertical-wrapper {
  width: 200px;
  height: auto;
  overflow: hidden;
  position: relative;
}

.vertical-text {
  font-size: 3em;
  writing-mode: sideways-lr;
  position: absolute;
  top: 0;
  right: 0;
}

/* --- VERSIONE MOBILE --- */
@media (max-width: 768px) {
  .vertical-wrapper {
    width: 100%;
    height: auto;
    overflow: visible;
    position: static; /* per far scorrere tutto in blocco */
    display: flex;
    flex-direction: column; /* tutto uno sotto l’altro */
    align-items: flex-start; /* allinea a sinistra */
    text-align: left;
  }

  .vertical-text {
    position: static; /* toglie il posizionamento assoluto */
    writing-mode: horizontal-tb; /* testo orizzontale */
    transform: none;
    font-size: 2em; /* leggermente più piccolo per mobile */
    margin-bottom: 0.5em;
  }

}



/* SEZIONE CALL TO ACTION */
.cta-section {
  background: white; /* immagine sfondo camion */
  padding: 4em 2em;
  position: relative;
}

.cta-container {
  display: flex;
  justify-content: center;
  align-items: stretch; /* forza stessa altezza */
  gap: 2em;
  position: relative;
  flex-wrap: wrap;
}

.cta-box {
  background-color: #0050FF;
  color: white;
  font-size: 1.3em;
  font-weight: bold;
  padding: 1.5em 2em;
  border-radius: 0.5em;
  text-align: center;
  max-width: 280px;
  flex: 1 1 250px;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.cta-box:hover {
  background-color: #003bbd;
}

.cta-icon {
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

.cta-offerta {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: radial-gradient(circle at 30% 30%, #ff3b3b, #b50000);
  color: white;
  font-size: clamp(1em, 2vw, 1.3em); /* si ridimensiona */
  font-weight: bold;
  text-align: center;
  padding: 1.2em;
  border-radius: 50%;
  width: clamp(120px, 18vw, 180px);  /* responsive */
  height: clamp(120px, 18vw, 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  box-shadow: 0 0 20px rgba(255,0,0,0.6);
  animation: pulseGlow 2s infinite;
  z-index: 1; /* resta sopra */
}

/* Effetto pulsazione + glow */
@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(255,0,0,0.5); }
  50% { transform: scale(1.08); box-shadow: 0 0 30px rgba(255,0,0,0.8); }
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(255,0,0,0.5); }
}

.storia-section {
  background-color: #f9f9f9;
  padding: 4em 2em;
}

.storia-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3em;
  max-width: 1200px;
  margin: 0 auto;
}

.storia-text {
  flex: 1;
}

.storia-title {
  font-size: 3em;
  font-weight: bold;
  color: #0050FF;
  margin-bottom: 1.5em;
}

.storia-text p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.2em;
}

.storia-img {
  flex: 1;
  text-align: center;
}

.storia-img img {
  max-width: 100%;
  border-radius: 1em;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.storia-img img:hover {
  transform: scale(1.03);
}

.vision-mission {
  text-align: center;
  padding: 5em;
}
.vision, .mission {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  padding: 5em;
}


.vision-mission h2 {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 0.8em;
}

.vision-mission p {
  font-size: 1.5em;
  line-height: 1.6;
  color: #1a1a1a;
  max-width: 800px;
  margin: 0 auto 2em;
}

.mission p {
  margin-bottom: 0;
}

.numeri-section {
  min-height: 50vh;
  background-color: #fff;
  padding: 5em 2em;

}

.numeri-section h2 {
  font-size: 4em;
  color: #0050FF;
  text-align: center;

}

.numeri-container {
  display: flex;
  justify-content: space-around;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.numero-box {
  flex: 1;
}

.numero:hover{
  transform: scale(1.5);
  text-decoration: underline;
}
.numero {
  font-size: 3.5em;
  font-weight: bold;
  color: #0050FF;
  margin-bottom: 0.3em;
  transition: transform 0.3s ease;
}
.numero a{
  color: #0050FF;
  text-decoration: none;
}

.descrizione {
  font-size: 2em;
  font-weight: bold;
  color: #333;
}

.section-soluzione {
  background-color: #f9f9f9;
  color: #0d0d0d;
}
.divsol{
  margin: 0 10em;
  padding: 3em;
}
.divsol span {
  font-weight: bold;
  font-size: 40px;

}

.section-soluzione h2 {
  font-size: 1.5em;
  font-weight: unset;
  margin-bottom: 40px;
}

.container-soluzione {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.container-soluzione img {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  flex-shrink: 0;
  align-self: center;
  z-index: 2;
}

.content-soluzione {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.block-soluzione h3 {
  margin-top: 0;
  font-size: 2em;
  margin-bottom: 10px;
}

.block-soluzione p {
  margin-bottom: 0.5em;
  font-size: 1.2em;
}
.block-soluzione li {
  margin-bottom: 0.5em;
  font-size: 1.2em;
}

.block-soluzione a {
  display: inline-block;
  text-decoration: none;
  color: #0561fc;
  border-bottom: 2px solid #0561fc;
  font-weight: bold;
  transition: 0.3s;
}

.block-soluzione a:hover {
  color: #0245b6;
  border-color: #0245b6;
}

/* --- COMMUNITY BOX --- */
.comm-wrapper {
  align-content: right;
  background: #f9fbff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  max-width: 600px;
}

.comm-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Lista dei vantaggi */
.comm-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.comm-wrapper ul li {
  text-align: left;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

/* Icona check */
.comm-wrapper ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

/* BONUS */
.comm-wrapper .bonus {
  background: #ffda79;
  color: #111;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 6px;
}

/* Prezzo */
.price {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  color: #0561fc;
}

.footer {
  background: #0561fc;
  color: #fff;
  padding: 40px 10%;
  font-size: 0.9rem;
}

.footer hr {
  border: none;
  border-top: 1px solid #444;
  margin-bottom: 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  flex: 1;
  min-width: 250px;
  align-self: center;
}

.footer-left .logo {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-left p {
  margin: 5px 0;
  color: #bbb;
}

.footer-left a {
  color: #fff;
  text-decoration: underline;
  margin-right: 10px;
}

.footer-links {
  /*flex: 2;*/
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  min-width: 250px;
  align-items: center;       /* Centra verticalmente gli elementi all'interno */
  justify-content: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  align-items: center;       /* Centra verticalmente gli elementi all'interno */
  justify-content: center;
  flex: 1;
  min-width: 250px;
  text-align: right;
}

.footer-right .dropdowns {
  margin-bottom: 15px;
}

.footer-right select {
  background: #111;
  color: #fff;
  border: 1px solid #444;
  padding: 5px 10px;
  margin-left: 10px;
  border-radius: 4px;
}

.footer-right .socials a {
  margin-left: 10px;
  display: inline-block;
}

.footer-right .socials img {
  width: 20px;
  height: 20px;
  filter: invert(1);
  transition: 0.3s;
}

.footer-right .socials img:hover {
  opacity: 0.7;
}




/* Mobile Styles */
@media (max-width: 768px) {
    .sezione-come-funziona h1 {
      text-align: center;
      font-size: 2.4em;
    }

  .card {
    margin-bottom: 30px;
  }

  .menu {
    position: fixed;
    top: 60px;
    right: 0;
    background: white;
    width: 200px;
    height: calc(100vh - 60px);
    flex-direction: column;
    padding: 1em;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    gap: 1em;
    z-index: 9;
  }

  #menu-toggle:checked + .hamburger + .menu {
    transform: translateX(0);
  }

  .hamburger {
    display: block;
  }

  nav {
    padding: 1em 1.5em;
    width: 100vw; /* forza la larghezza a essere quella del viewport */
    left: 0;
    right: 0;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 1em;
    width: 100vw; /* estende il menu alla larghezza del dispositivo */
    background-color: white;
    color: black;
    position: absolute;
    top: 100%; /* posiziona il menu subito sotto la barra */
    left: 0;
    padding: 1em 2em;
    box-sizing: border-box;
    border-top: 1px solid #ccc;
    text-align: center;
  }

  nav ul li {
    padding: 0.5em 0;
    font-weight: 600;
  }

  #menu-toggle:checked ~ ul {
    display: flex;
  }

  .second-section {
    height: auto;
    padding: 3em 1.5em;
    flex-direction: column;
    text-align: center;
  }

  .second-content h2 {
    font-size: 1.8em;
  }

  .second-content p {
    text-align: center;
    font-size: 1em;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    box-sizing: border-box;
  }

  .hero-text {
    width: 100%;
    text-align: center;
    align-items: center;
    order: 1;
    padding: 0 1em;
  }

  .hero-text h1 {
    font-size: 2em;
  }

  .hero-text p {
    font-size: 1em;
  }

  .cta-button {
    font-size: 1em;
    padding: 0.8em 1.5em;
    margin-bottom: 1.5em;
  }

  .hero-image {
    color: black;
    width: 100%;
    order: 2;
    padding: 0 1em;
    margin-top: 1.5em;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
  }

  .card-container3 {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 80px;
  }

  .card3 {
    width: 100%;
    max-width: 380px;
    margin: 0 10px;
    gap: 80px;
    background-color: white;
  }
  .card3 p, .card3 h2 {
    color: black;
  }

  .circle-icon {
    width: 120px;
    height: 120px;
    top: -60px;
  }

  .circle-icon img {
    width: 60%;
    height: 60%;
  }

  .container {
    flex-direction: column;
  }

  .text-area,
  .image-area {
    width: 100%;
    padding-right: 0;
  }

  .image-area img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .tabl {
      list-style: none;
      padding-left: 0;
      margin-left: -0.2em; /* regola fine, opzionale */
    padding: 10px;
  }
  .box {
    text-align: left;
    padding: 1em;
  }

  .title {
    font-size: 1.8em;
  }

  .tabl li {
      list-style: none;
      padding-left: 0;
      margin-left: -1.5em;
      font-size: 1.5em;
  }

  .boxz span {
    font-size: 28px;
  }

  .spaced {
    margin-top: 25px;
  }

  .cta-offerta {
    z-index: 0;
    position: static;
    margin: 1.5em auto 0 auto;
    animation: none;
    box-shadow: 0 0 12px rgba(255,0,0,0.6);
  }
  .cta-container {
    flex-direction: column;
    gap: 1.5em;
  }
  .cta-box {
    font-size: 1.1em;
    padding: 1em 1.5em;
    min-height: 40px;
  }

  .storia-container {
    flex-direction: column;
    text-align: center;
  }

  .storia-title {
    font-size: 2em;
  }

  .storia-text p {
    font-size: 1em;
  }

  .storia-img {
    margin-top: 1.5em;
  }

  .vision-mission h2 {
    font-size: 2em;
  }

  .vision-mission p {
    font-size: 1.1em;
  }
  .numeri-container {
    flex-direction: column;
    gap: 3em;
  }

  .numero {
    font-size: 2.5em;
  }

  .descrizione {
    font-size: 1.1em;
  }
}
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 1em;
    padding: 2.5em;
  }

  .comm-wrapper {
    margin: 0 auto;
  }
  .container-soluzione {
    flex-direction: column;
  }

  .container-soluzione img {
    max-width: 100%;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    text-align: center;
  }
  .footer-right .dropdowns select {
    margin: 5px;
  }
}
@media (max-width: 600px) {



  .second2-section {
    padding: 1em;
  }

  .second-content {
    max-width: 100%;
  }

  .second-content h2 {
    font-size: 1.8em;
  }
  .second-content h1 {
    font-size: 1.3em;
  }

  .second-content h3 {
    font-size: 0.8em;
  }

  .second-content p {
    font-size: 1em;
  }
  .bottoni-row {
    flex-direction: column;
    gap: 1em; /* spazio verticale tra i bottoni */
    max-width: 100%;
    align-items: stretch; /* i bottoni occupano tutta la larghezza */
  }

  .bottoni-row a {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 2.5em;
  }
  .hero-text p {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .circle-icon img.default {
    display: none;
  }

  .circle-icon img.hover {
    opacity: unset;
  }
}
@media (max-width: 768px) {
  .divsol {
    margin: 0 1em;
    padding: 1.5em;
  }

  .divsol span {
    font-size: 28px;
  }

  .section-soluzione h2 {
    font-size: 1.2em;
    margin-bottom: 20px;
  }

  .container-soluzione {
    flex-direction: column;
    gap: 20px;
  }

  .container-soluzione img {
    max-width: 100%;
    height: auto;
  }

  .content-soluzione {
    gap: 30px;
  }

  .block-soluzione h3 {
    font-size: 1.5em;
  }

  .block-soluzione p {
    font-size: 1em;
  }

  .block-soluzione a {
    font-size: 1em;
  }
}

@media (max-width: 768px) {

  .storia-section { padding: 2em 1rem; }

  .storia-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0;
  }

  .storia-text,
  .storia-img {
    width: 100%;
    flex: none;
  }

  .storia-title {
    font-size: clamp(1.4rem, 7.5vw, 2rem);
    margin-bottom: 0.6rem;
  }

  .storia-text p {
    font-size: clamp(1.25rem, 3.5vw, 1.05rem);
    margin-bottom: 1rem;
    padding: 1em
  }

  .storia-img img {
    max-width: 92vw;      /* mai oltre il viewport su mobile */
    max-height: none;
    border-radius: 0.75rem;
  }

  .vision-mission {
  padding: 0;
  }

  .vision, .mission {
    padding: 2.5em 1rem;
    min-height: auto;
    margin-top: 7em;
  }

  .vision-mission h2 { font-size: clamp(1.25rem, 7vw, 1.8rem); }

  .vision-mission p { font-size: clamp(1.25rem, 3.5vw, 1.05rem); max-width: 95%; }

  .numeri-section { padding: 2.5em 1rem; }

  .numeri-container {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .numero {
    font-size: clamp(1.6rem, 8vw, 2.6rem);
  }
}
@media (hover: hover) and (pointer: fine) {
  .numero:hover { transform: scale(1.12); }
}
@media (hover: hover) and (pointer: fine) {
  .storia-img img:hover { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .storia-img img,
  .numero { transition: none; animation: none; }
}

/**************************/
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden; /* ✅ evita lo sforamento globale */
  }
}




    .founders {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      padding: 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .founder-card {
      background: var(--card-bg);
      border-radius: 1rem;
      box-shadow: var(--shadow);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .founder-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    }

    .founder-card img {
      width: 100%;
      height: 280px;
      object-fit: cover;
    }

    .founder-info {
      padding: 1.5rem;
    }

    .founder-info h3 {
      margin: 0.5rem 0;
      font-size: 1.2rem;
    }

    .founder-info p {
      color: #666;
      margin: 0;
      font-size: 0.95rem;
    }

    footer {
      text-align: center;
      padding: 1.5rem;
      font-size: 0.9rem;
      color: #777;
    }

    @media (max-width: 500px) {
      header h1 {
        font-size: 1.6rem;
      }
      .founder-card img {
        height: 220px;
      }
    }