:root {
  --bg: #e7ebf0;
  --text: #111;
  --panel: rgba(255, 255, 255, 0.45); 
  --blur: 15px;
  --accent-blue: #00007c;
  --accent-red: #d30010;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Segoe UI", sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

/* NAVBAR */
.ios26-nav { 
  position: fixed; 
  top: 20px; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 500px; 
  z-index: 9999; /* CORRETTO: Portato sopra il carosello */
  pointer-events: none; /* CORRETTO: Evita che il box invisibile blocchi il carosello */
}

.ios26-nav-inner { 
  display: flex; 
  justify-content: space-around; 
  padding: 15px; 
  border-radius: 999px; 
  background: var(--panel); 
  backdrop-filter: blur(var(--blur)); 
  border: 1px solid rgba(255,255,255,0.6); 
  position: relative; /* Necessario per l'indicatore */
  pointer-events: auto; /* CORRETTO: Riabilita i clic sui tasti */
}

.ios-item { 
  background: none; 
  border: none; 
  font-weight: 600; 
  cursor: pointer; 
  color: var(--accent-blue); 
  font-size: 18px; 
  transition: color 0.3s; 
  text-decoration: none; /* Rimuove sottolineatura link */
  z-index: 2;
}


.ios-item.active { 
  color: var(--accent-red); 
}

.tab-indicator {
  position: absolute;
  height: calc(100% - 14px);
  top: 7px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* GRID & PANNELLI CON HOVER ANIMATO */
.page-wrap { width: 1100px; margin: 100px auto; display: flex; flex-direction: column; gap: 30px; }
.neumorph-panel { 
  padding: 40px; 
  border-radius: 30px; 
  background: var(--panel); 
  backdrop-filter: blur(var(--blur)); 
  border: 1px solid rgba(255,255,255,0.7); 
  box-shadow: 0 8px 32px rgba(31,38,135,0.07);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}
.neumorph-panel:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 15px 45px rgba(31,38,135,0.15);
}
.content-grid { display: grid; gap: 25px; width: 100%; }
.full-width { grid-template-columns: 1fr; }
.three-cols { grid-template-columns: repeat(3, 1fr); }
.two-cols { grid-template-columns: repeat(2, 1fr); }

/* HERO E ANIMAZIONE LOGO - CORRETTO PER RESPONSIVITÀ */
/* HERO RESPONSIVE E SFONDO TOTALE */
.image-hero { position: relative; width: 100%; height: 80vh; background: var(--bg); overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-overlay { 
  position: absolute; 
  top: 25%; 
  left: 50%; 
  transform: translate(-50%, -50%) scale(0.9); 
  opacity: 0; 
  z-index: 2; 
  animation: logoFade 1.5s ease forwards; 
  animation-delay: 0.3s;
}
.hero-logo { width: 300px; }

@keyframes logoFade {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* FOOTER - CORRETTO CON RIGA DIVISORIA */
footer { background: var(--accent-blue); color: #fff; padding: 60px 20px 30px; margin-top: 50px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-column { flex: 1; min-width: 220px; text-align: center; }
.legal-link { color: #fff; text-decoration: underline; cursor: pointer; display: block; margin-top: 10px; }

.footer-email {
  color: #ffffff;          /* Lo rende bianco */
  text-decoration: none;   /* Rimuove la sottolineatura (opzionale, ma più pulito) */
  transition: opacity 0.3s;
}

.footer-email:hover {
  opacity: 0.8;            /* Un leggero effetto al passaggio del mouse */
  text-decoration: underline; /* Riappare la sottolineatura solo all'hover */
}

.footer-divider {
  width: 100%;
  max-width: 1100px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 30px auto;
}
.copy-right { text-align: center; width: 100%; }

/* MODALI */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}
.modal-glass-container { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; }
.modal-content { 
  background: white; padding: 40px; border-radius: 20px; max-width: 700px; width: 90%; 
  position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.4); 
  animation: slideUp 0.4s ease;
}
.modal-body-scroll { max-height: 50vh; overflow-y: auto; padding-right: 15px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.close-button { position: absolute; top: 15px; right: 20px; font-size: 40px; color: #bbb; cursor: pointer; }
.close-button:hover { color: var(--accent-red); }

@media (max-width: 768px) { 
  .page-wrap { width: 95%; } 
  .three-cols { grid-template-columns: 1fr; } 
  .hero-logo { width: 280px; } 
  .ios26-nav { width: 90%; }
  .image-hero { height: 60vh; }
}

/************************************************* CAROSELLO    ***********************************************************/
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --left-position: 55%;
  --transition-time: 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: #e3e3e3;
}

/* carousel */
.carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.carousel .list .item {
  width: 180px;
  height: 250px;
  position: absolute;
  bottom: 150px;
  left: calc(var(--left-position) + 3%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  background-position: center;
  background-size: cover;
  z-index: 100;
  transform: translate(0, 0px);
  transition: all var(--transition-time);
}

.carousel .list .item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(33, 33, 33, 0.5);
  z-index: 1;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2) {
  bottom: 0px;
  left: 0;
  border-radius: 0;
  transform: translate(0, 0px);
  width: 100%;
  height: 100%;
}

.carousel .list .item:nth-child(3) {
  left: var(--left-position);
}

.carousel .list .item:nth-child(4) {
  transition-delay: 0.1s;
  left: calc(var(--left-position) + 200px);
}

.carousel .list .item:nth-child(5) {
  transition-delay: 0.2s;
  left: calc(var(--left-position) + 400px);
}

.carousel .list .item:nth-child(6) {
  transition-delay: 0.3s;
  left: calc(var(--left-position) + 600px);
}

.carousel .list .item:nth-child(n + 7) {
  transition-delay: 0.4s;
  left: calc(var(--left-position) + 800px);
}

.list .item .content {
  position: absolute;
  text-align: left;
  color: #fff;
  z-index: 3;
  left: 0;
  top: 100%;
  transform: translateY(-100%);
  width: 100%;
  padding: 10px;
  transition: all var(--transition-time);
}

.content .title::before {
  content: "";
  display: block;
  height: 1px;
  width: 20px;
  background-color: #fff;
  margin-bottom: 10px;
}

.content .title {
  font-size: 12px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 10px;
  transition: all var(--transition-time);
  position: relative;
}

.content .title::after {
  content: attr(data-item);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  position: absolute;
  top: -20px;
  left: 0px;
  z-index: 2;
  font-weight: 400;
}

.content .name {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
  transition: all var(--transition-time);
  margin-bottom: 10px;
  color: #d30010;
}

.content .des {
  font-size: 16px;
  font-weight: 400;
  transition: all var(--transition-time);
  opacity: 0;
  display: none;
}

.list .item:nth-child(1) .content,
.list .item:nth-child(2) .content {
  transform: translateY(-50%);
  left: 100px;
  width: 600px;
  top: 50%;
  padding: 0;
}

.list .item:nth-child(1) .content .title::before,
.list .item:nth-child(2) .content .title::before {
  width: 50px;
  height: 3px;
  margin-bottom: 20px;
}

.list .item:nth-child(1) .content .title::after,
.list .item:nth-child(2) .content .title::after {
  font-size: 20px;
  top: -40px;
  left: 15px;
}

.list .item:nth-child(1) .content .title,
.list .item:nth-child(2) .content .title {
  font-size: 30px;
  margin-bottom: 20px;
}

.list .item:nth-child(1) .content .name,
.list .item:nth-child(2) .content .name {
  font-size: 20px;
  margin-bottom: 20px;
}

.list .item:nth-child(1) .content .des,
.list .item:nth-child(2) .content .des {
  font-size: 16px;
  opacity: 1;
  display: block;
  width: 400px;
}

@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

/* Carousel */

/* next prev arrows */

.arrows {
  position: absolute;
  bottom: 50px;
  left: var(--left-position);
  width: calc(100% - var(--left-position) - 2%);
  z-index: 100;
  display: flex;
  gap: 5%;
  align-items: center;
}

.arrows button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 2px solid rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  background-color: transparent;
  outline: none;
  font-size: 25px;
  font-weight: bold;
  transition: all var(--transition-time);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrows button:hover {
  border: 2px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.slide-number {
  font-size: 25px;
  color: #ffffff;
  font-weight: 400;
  margin-left: auto;
  letter-spacing: 5px;
  opacity: 0;
  animation: animate 0.5s ease-in-out 0.3s 1 forwards;
}

.progress-bar-container {
  width: 60%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 100%;
  background-color: #d30010;
  transition: all var(--transition-time);
}

/* time running */
.carousel .timeRunning {
  position: fixed;
  z-index: 1000;
  width: 0%;
  height: 4px;
  background-color: #ffffff;
  left: 0;
  top: 0;
  animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.youtube-button {
  left: 20px;
}

/* Stile per il tasto Play/Pause */
.arrows button.pause-play {
  font-size: 20px;
}

/* Quando il carosello è in pausa, nascondiamo la barra del tempo che scorre */
.carousel.paused .timeRunning {
  animation-play-state: paused;
  display: none;
}

.arrows button i {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ingrandiamo leggermente l'icona play/pausa rispetto alle frecce */
#pausePlayBtn i {
  font-size: 22px;
}

.arrows button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-red);
  color: var(--accent-red);
}
/************************************************* CAROSELLO    ***********************************************************/

/************************************************* PAGINA CONTATTI  ***********************************************************/
.contact-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 450px;
}

.contact-title {
  color: var(--accent-blue);
  font-size: 24px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--accent-red);
  display: inline-block;
  width: fit-content;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item i {
  color: var(--accent-red);
  font-size: 22px;
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--accent-blue);
}

/* Stile Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input, 
.contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,124, 0.2);
  background: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  outline: none;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  border-color: var(--accent-blue);
}

.send-btn {
  background: var(--accent-blue);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.send-btn:hover {
  background: var(--accent-red);
  transform: scale(1.05);
}

/* Mappa */
.map-container {
  padding: 10px; /* Ridotto per dare più spazio alla mappa */
  overflow: hidden;
}

@media (max-width: 1024px) {
  .three-cols {
    grid-template-columns: 1fr; /* Su tablet e mobile una sotto l'altra */
  }
}

/* CSS specifico per far funzionare correttamente il layout contatti */
.page-contatti {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-contatti .page-wrap {
  margin-top: 150px;
  margin-bottom: 80px;
  flex: 1;
}

.page-contatti footer {
  margin-top: auto;
}

.page-contatti .contact-box {
  height: 400px;
}
/************************************************* PAGINA CONTATTI  ***********************************************************/

/************************************************* ELENCO PUNTATO  ***********************************************************/

/* Stile per le liste personalizzate nel carosello */
.custom-list {
  list-style: none; /* Rimuove i pallini standard */
  padding-left: 0;
  margin-top: 10px;
  text-align: left; /* Allinea a sinistra la lista anche se il contenitore è giustificato */
}

.custom-list li {
  position: relative;
  padding-left: 20px; /* Spazio per il trattino */
  margin-bottom: 6px;
  line-height: 1.4;
  font-size: 14px; /* Leggermente più piccolo per far stare tutto nei box */
}

/* Crea il trattino personalizzato */
.custom-list li::before {
  content: "—"; 
  position: absolute;
  left: 0;
  color: var(--accent-red); /* Usa il rosso aziendale */
  font-weight: bold;
}

/* Sistema l'interlinea generale dei box */
.des {
  line-height: 1.5;
}



/* AREA PULSANTE FISSA */
.fixed-action-area {
  position: absolute;
  bottom: 150px; 
  left: 100px;
  z-index: 1000; /* Superiore a .item ma sotto il menu */
  pointer-events: auto;
}

.btn-parco-fixed {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  background-color: var(--accent-red);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 20px; /* Molto squadrato, stile tecnico/industriale */
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease-in-out;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-parco-fixed i {
  font-size: 18px;
}

/* Effetto Hover Coerente */
.btn-parco-fixed:hover {
  background-color: #ffffff;
  color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--accent-red);
}

/* Gestione per Mobile (per non farlo sovrapporre ai testi che scorrono) */
@media (max-width: 900px) {
  .fixed-action-area {
    left: 50%;
    transform: translateX(-50%);
    bottom: 180px; /* Lo alziamo sopra le frecce */
    width: 80%;
  }
  .btn-parco-fixed {
    justify-content: center;
  }
}

/************************************************* PARCO MACCHINE  ***********************************************************/


/* --- STILI PARCO MACCHINE --- */

.hero-mechanical {
  text-align: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(200,210,230,0.3) 100%);
  margin-bottom: 40px;
}

.accent-title {
  font-size: 3rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 30px;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stats-bar span {
  background: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-red);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.machine-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left !important; /* Sovrascrive il justify della tua classe base */
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 2px solid var(--accent-red);
  padding-bottom: 15px;
}

.card-header i {
  font-size: 2rem;
  color: var(--accent-blue);
}

.card-header h3 {
  color: var(--accent-blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.machine-list {
  list-style: none;
  padding: 0;
}

.machine-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: relative;
  padding-left: 20px;
}

.machine-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: bold;
}

.machine-list li small {
  display: block;
  color: #666;
  font-style: italic;
  margin-top: 3px;
}

.iso-footer {
  margin-top: 20px;
  padding: 20px 40px !important;
  background: var(--accent-blue);
  color: white;
}

.iso-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.iso-badge i {
  font-size: 2.5rem;
  color: white;
}

.iso-badge h4 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.iso-badge p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Fix mobile */
@media (max-width: 768px) {
  .accent-title { font-size: 2rem; }
  .stats-bar { gap: 10px; }
}

/********************************************************************/
/*********************** GLOBAL RESPONSIVE **************************/
/********************************************************************/

/* Evita overflow su schermi piccoli */
body {
  overflow-x: hidden;
}

/* immagini sempre fluide */
img {
  max-width: 100%;
  height: auto;
}

/********************************************************************/
/************************ LARGE DESKTOP *****************************/
/********************************************************************/

@media (min-width: 1600px) {

  .page-wrap{
    width: 1300px;
  }

  .carousel .list .item:nth-child(4){
    left: calc(var(--left-position) + 240px);
  }

  .carousel .list .item:nth-child(5){
    left: calc(var(--left-position) + 480px);
  }

  .carousel .list .item:nth-child(6){
    left: calc(var(--left-position) + 720px);
  }

  .carousel .list .item:nth-child(n + 7){
    left: calc(var(--left-position) + 960px);
  }

}


/********************************************************************/
/*************************** LAPTOP *********************************/
/********************************************************************/

@media (max-width: 1200px){

  .page-wrap{
    width: 92%;
  }

  .carousel .list .item{
    width:150px;
    height:220px;
  }

  .list .item:nth-child(1) .content,
  .list .item:nth-child(2) .content{
    left:60px;
    width:500px;
  }

}


/********************************************************************/
/*************************** TABLET *********************************/
/********************************************************************/

@media (max-width: 1024px){

  .page-wrap{
    width:92%;
    margin-top:120px;
  }

  .three-cols{
    grid-template-columns:1fr 1fr;
  }

  .two-cols{
    grid-template-columns:1fr;
  }

  .ios26-nav{
    width:85%;
  }

  .hero-logo{
    width:240px;
  }

  .accent-title{
    font-size:2.2rem;
  }

  .carousel .list .item{
    width:130px;
    height:200px;
    bottom:120px;
  }

  .carousel .list .item:nth-child(3){
    left:60%;
  }

  .carousel .list .item:nth-child(4){
    left:calc(60% + 150px);
  }

  .carousel .list .item:nth-child(5){
    left:calc(60% + 300px);
  }

  .carousel .list .item:nth-child(6){
    left:calc(60% + 450px);
  }

  .arrows{
    bottom:30px;
  }

  .fixed-action-area{
    bottom:120px;
    left:60px;
  }

}


/********************************************************************/
/*************************** MOBILE *********************************/
/********************************************************************/

@media (max-width: 768px){

  /* NAVBAR */

  .ios26-nav{
    top:10px;
    width:95%;
  }

  .ios26-nav-inner{
    padding:12px;
  }

  .ios-item{
    font-size:15px;
  }

  /* HERO */

  .image-hero{
    height:55vh;
  }

  .logo-overlay{
    top:30%;
  }

  .hero-logo{
    width:200px;
  }

  /* GRID */

  .three-cols,
  .two-cols{
    grid-template-columns:1fr;
  }

  .neumorph-panel{
    padding:25px;
  }

  /* CAROUSEL */

  .carousel .list .item{
    width:110px;
    height:170px;
    bottom:110px;
  }

  .carousel .list .item:nth-child(3){
    left:65%;
  }

  .carousel .list .item:nth-child(4){
    left:calc(65% + 120px);
  }

  .carousel .list .item:nth-child(5){
    left:calc(65% + 240px);
  }

  .carousel .list .item:nth-child(6){
    left:calc(65% + 360px);
  }

  .list .item:nth-child(1) .content,
  .list .item:nth-child(2) .content{
    left:30px;
    width:80%;
  }

  .list .item:nth-child(1) .content .title,
  .list .item:nth-child(2) .content .title{
    font-size:22px;
  }

  .list .item:nth-child(1) .content .name,
  .list .item:nth-child(2) .content .name{
    font-size:16px;
  }

  .list .item:nth-child(1) .content .des,
  .list .item:nth-child(2) .content .des{
    width:100%;
    font-size:14px;
  }

  /* BOTTONI CAROUSEL */

  .arrows{
    left:50%;
    transform:translateX(-50%);
    width:90%;
    justify-content:center;
  }

  .slide-number{
    display:none;
  }

  /* CTA BUTTON */

  .fixed-action-area{
    left:50%;
    transform:translateX(-50%);
    bottom:160px;
    width:90%;
  }

  .btn-parco-fixed{
    width:100%;
    justify-content:center;
  }

  /* FOOTER */

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

}


/********************************************************************/
/*************************** SMALL MOBILE ***************************/
/********************************************************************/

@media (max-width: 480px){

  .hero-logo{
    width:160px;
  }

  .accent-title{
    font-size:1.6rem;
  }

  .hero-subtitle{
    font-size:0.9rem;
  }

  .stats-bar{
    gap:8px;
  }

  .stats-bar span{
    font-size:0.75rem;
    padding:6px 14px;
  }

  .contact-title{
    font-size:20px;
  }

  .machine-list li{
    font-size:14px;
  }

  .iso-badge{
    flex-direction:column;
    text-align:center;
  }

}


/********************************************************************/
/************************ ULTRA SMALL *******************************/
/********************************************************************/

@media (max-width: 360px){

  .ios-item{
    font-size:13px;
  }

  .hero-logo{
    width:140px;
  }

  .btn-parco-fixed{
    font-size:11px;
    padding:12px 18px;
  }

}

/* FIX DEFINITIVO BOTTONE CAROSELLO MOBILE */

@media (max-width: 768px){

  .fixed-action-area{
    left: 20px;
    width: calc(100% - var(--left-position) - 2%);
    bottom: 140px; /* leggermente sopra le frecce */
    transform: none;
  }

  .btn-parco-fixed{
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 10px 16px;
  }

}

/* telefoni piccoli */

@media (max-width: 480px){

  .fixed-action-area{
    bottom: 160px;
    left: 20px;
  }

  .btn-parco-fixed{
    font-size: 11px;
    padding: 9px 14px;
  }

}


/********************************************************************/
/********************* RESPONSIVE TABLET & MID DEVICES **************/
/********************************************************************/

/* TABLET GRANDI (iPad Pro, laptop piccoli) */
@media (max-width: 1200px){

  .carousel .list .item{
    width:160px;
    height:220px;
    bottom:130px;
  }

  .carousel .list .item:nth-child(3){
    left:60%;
  }

  .carousel .list .item:nth-child(4){
    left:calc(60% + 180px);
  }

  .carousel .list .item:nth-child(5){
    left:calc(60% + 360px);
  }

  .carousel .list .item:nth-child(6){
    left:calc(60% + 540px);
  }

  .list .item:nth-child(1) .content,
  .list .item:nth-child(2) .content{
    left:70px;
    width:480px;
  }

  .fixed-action-area{
    left: 30px;
    width:calc(100% - var(--left-position) - 2%);
    bottom:150px;
  }

  .btn-parco-fixed{
    font-size:13px;
    padding:12px 20px;
  }

}


/* TABLET CLASSICI (iPad, Galaxy Tab, telefoni grandi) */
@media (max-width: 1024px){

  .carousel .list .item{
    width:140px;
    height:200px;
    bottom:120px;
  }

  .carousel .list .item:nth-child(3){
    left:65%;
  }

  .carousel .list .item:nth-child(4){
    left:calc(65% + 160px);
  }

  .carousel .list .item:nth-child(5){
    left:calc(65% + 320px);
  }

  .carousel .list .item:nth-child(6){
    left:calc(65% + 480px);
  }

  .list .item:nth-child(1) .content,
  .list .item:nth-child(2) .content{
    left:50px;
    width:420px;
  }

  .list .item:nth-child(1) .content .title,
  .list .item:nth-child(2) .content .title{
    font-size:26px;
  }

  .list .item:nth-child(1) .content .name,
  .list .item:nth-child(2) .content .name{
    font-size:18px;
  }

  .fixed-action-area{
    bottom:150px;
    left: 30px;
  }

}


/* TELEFONI GRANDI (iPhone Plus, Samsung Ultra ecc.) */
@media (max-width: 900px){

  .carousel .list .item{
    width:120px;
    height:180px;
    bottom:110px;
  }

  .carousel .list .item:nth-child(3){
    left:68%;
  }

  .carousel .list .item:nth-child(4){
    left:calc(68% + 140px);
  }

  .carousel .list .item:nth-child(5){
    left:calc(68% + 280px);
  }

  .carousel .list .item:nth-child(6){
    left:calc(68% + 420px);
  }

  .list .item:nth-child(1) .content,
  .list .item:nth-child(2) .content{
    width:80%;
  }

  .fixed-action-area{
    bottom:150px;
    left: 30px;
  }

  .btn-parco-fixed{
    font-size:12px;
  }

}