* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}
body {

}
 *{margin:0;padding:0;box-sizing:border-box}
    body{font-family:'Poppins',sans-serif;background:#0a0a0a;color:#fff;overflow-x:hidden}
.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #2f88e7;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

    /* HEADER */
    header{
      position:fixed;
      top:0;
      left:0;
      width:100%;
      background: #000000d1;
      backdrop-filter:blur(10px);
      display:flex;
      justify-content:space-between;
      align-items:center;
      padding:7px 20px;
      z-index:1000;
      border-bottom: 2px solid #384858;
      z-index: 9999;
      }
   .logo {background:url(../immagini/logo.png) no-repeat center/contain;height: 50px;width: 50px;}
    nav ul{display:flex;list-style:none}
    nav ul li{margin:0 15px;position:relative}
    nav ul li a{text-decoration:none;color:#fff;font-weight:600;transition:.3s}
    nav ul li a::after{content:"";position:absolute;bottom:-6px;left:0;width:0;height: 30px;transition:.3s;z-index: 0;}
    nav ul li a:hover::after{width:100%}
    nav ul li a:hover{color:#2f88e7}

    /* HAMBURGER */
    .hamburger{display:none;flex-direction:column;cursor:pointer;z-index:1100}
    .hamburger span{width:25px;height:3px;background:#fff;margin:4px 0;transition:.4s}

    /* MENU MOBILE */
    .mobile-nav{
      position:fixed;
      top:0;
      right:-100%;
      width: 100%;
      height:100%;
      background: #232b36;
      padding:80px 30px;
      display:flex;
      flex-direction:column;
      gap:20px;
      transition:.4s ease;
      z-index:1050
      }
    .mobile-nav a{color:#fff;text-decoration:none;font-size:1.2rem;font-weight:600}
    .mobile-nav a:hover{color:#2f88e7}
    .overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);opacity:0;visibility:hidden;transition:.3s;z-index:1040}
    .mobile-open .mobile-nav{right:0}
    .mobile-open .overlay{opacity:1;visibility:visible}
/* ======= Garanzie & Spedizione (classi isolate con prefisso cmx-gs) ======= */
.cmx-gs{
  --cmx-bg:#f6f8fb;
  --cmx-card:#fff;
  --cmx-text:#0f172a;   /* titolo */
  --cmx-muted:#475569;  /* descrizioni */
  --cmx-line:#e5e7eb;
  --cmx-primary:#2f88e7; /* tuo blu di brand */
  --cmx-radius:16px;
  --cmx-shadow:0 8px 24px rgba(2,6,23,.06), 0 1px 3px rgba(2,6,23,.08);
  --cmx-maxw:1180px;

  background:var(--cmx-bg);
  padding:64px 20px;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.cmx-gs__wrap{max-width:var(--cmx-maxw);margin:0 auto}
.cmx-gs__head{text-align:center;margin-bottom:40px}
.cmx-gs__title{
  margin:0;
  font-weight:800;
  letter-spacing:.2px;
  color:var(--cmx-text);
  font-size:clamp(26px,4.2vw,44px);
}
.cmx-gs__sub{
  margin:8px auto 0;
  max-width:760px;
  color:var(--cmx-muted);
  line-height:1.6;
}

/* Grid colonne */
.cmx-gs__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
}
@media (min-width: 960px){
  .cmx-gs__grid{grid-template-columns:1fr 1fr}
}

/* Head di colonna */
.cmx-gs__colhead{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.cmx-gs__badge{
  width:42px;height:42px;border-radius:12px;
  display:inline-grid;place-items:center;
  background:rgba(47,136,231,.1);
  color:var(--cmx-primary);
  flex:0 0 42px;
  font-size:18px;
}
.cmx-gs__coltitle{margin:0;font-size:22px;font-weight:700;color:var(--cmx-text)}

/* Cards */
.cmx-gs__stack{display:grid;gap:18px}
.cmx-gs__card{
  background:var(--cmx-card);
  border:1px solid var(--cmx-line);
  border-radius:var(--cmx-radius);
  box-shadow:var(--cmx-shadow);
  padding:22px 22px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.cmx-gs__card:hover{transform:translateY(-2px)}
.cmx-gs__cardtitle{
  margin:0 0 6px;
  font-size:18px;
  font-weight:700;
  color:var(--cmx-text);
}
.cmx-gs__cardtext{
  margin:0;
  color:var(--cmx-muted);
  font-size:15px;
  line-height:1.6;
}

/* Dark mode (facoltativo, non interferisce con il resto del sito) */
@media (prefers-color-scheme: dark){
  .cmx-gs{
    --cmx-bg:#0b1020;
    --cmx-card:#0f172a;
    --cmx-text:#e6e9ef;
    --cmx-muted:#a8b1c0;
    --cmx-line:#1f2a44;
    --cmx-shadow:0 8px 24px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.25);
  }
}

    /* GENERIC SECTIONS */
    section{padding: 60px 10%;text-align:center}
    h2{font-size: 3rem;margin-bottom: 20px;color: #4e85d5;text-align: center;line-height: 1.2em;}

    /* HERO */
    .hero
 {
   /* margin: auto; */
   height: 100vh;
   display: flex;
   flex-direction: row;
   padding: 80px 3%;
   justify-content: center;
   align-items: center;
   text-align: center;
background: url(../immagini/home.jpg) no-repeat center/cover;
   /* gap: 30px; */
   min-height: 700px;
}
 .hero div {width: 50%;}
.hero-content {display: flex;flex-direction: column;gap: 10px;align-items: center;align-content: center;}
.hero-content p { font-size:20px !important}
.hero-content h1 { display: flex; flex-direction: column; gap: 5px;}
    .hero h1{font-size:3.0rem;color: #bcd7ff;line-height:1.0em;}
    .hero p{font-size:1.2rem;color: #b4c5db;}
    .btn-glow{padding:15px 40px;border:none;border-radius:50px;background:linear-gradient(90deg,#00eaff,#2f88e7);
      color:#fff;font-size:1.1rem;font-weight:700;cursor:pointer;box-shadow:0 0 25px #2262a7;transition:.3s}
    .btn-glow:hover{transform:scale(1.1);box-shadow:0 0 35px #2f88e7}
    /* SERVIZI SLIDER */
    #servizi{background:linear-gradient(135deg,#1a1a1a,#2e3b4e);overflow:hidden}
    .service-slider{display:flex;transition:transform .6s ease}
    .service{
      flex:0 0 50%;
      padding:0px;
      margin:10px;
      background:rgba(255,255,255,.05);
      border-radius:20px;
      backdrop-filter:blur(15px);
      /* box-shadow:0 8px 30px rgba(0,0,0,.5); */
      text-align:center
      }
    .service h3{margin-bottom:15px;color:#fff}
    .slider-controls{text-align:center;margin-top:20px}
    .slider-controls button{width:12px;height:12px;margin:0 5px;border-radius:50%;border:none;background:#555;cursor:pointer; padding: 1px 6px;}
    .slider-controls button.active{background:#ffffff}

    /* ABOUT */
    #about{background: linear-gradient(135deg, #ffffff, #f3f9ff);}
 
#vaccino {background: linear-gradient(135deg, #ffffff, #f3f9ff);}
#pizzeria { background:#fff; flex-direction:row; display:flex; padding:0}
#pizzeria .about {flex-direction:column;width:100%;padding:50px 0; gap:10px}
#pizzeria .about-text { width:50%}
#pizzeria .about:first-child { background:#d3d9bf}
#pizzeria .about:last-child { background:#bfd4d9}
#pizzeria .about img { box-shadow:none; }
#vaccino .about img { box-shadow:none;}
#bufala {background:#d4def4}
#lavorazione  {padding:0;   position: relative; /* il contenitore deve essere posizionato */
  overflow: hidden;     background:url(../immagini/lavorazionemozzarella.jpg) no-repeat center/cover }
 
#bufala .about img { box-shadow:none;}
#bufala .about { flex-direction:row-reverse}
#lavorazione .about {display:flex;align-content: center;width:100%;height: 500px;background:#00000060;justify-content: center;align-items: center;}
#lavorazione .about h2 { margin:auto; color:#fff; font-size:50px ; }
    .about{display:flex;/* flex-wrap:wrap; */align-items:center;gap: 20%;}
    .about img{/* flex:1; */width: 50%;border-radius:20px;box-shadow:0 10px 30px rgba(0,0,0,.6)}
    .about-text{flex:1;text-align:left;width: 30%; }
    .about-text p{font-size: 18px;color: #000000;text-align: justify;}

    /* STATISTICHE */
    #stats{background: linear-gradient(135deg, #ffffff, #ffffff);}
    .stats{display:flex;justify-content:space-around;flex-wrap:wrap;gap:30px}
    .stat{background: #384858;padding:40px;border-radius:20px;font-size:2rem;font-weight:800;color: #fff;flex:1 1 200px}
    .stat small{display:block;margin-top:10px;color: #ccc;font-size:1rem}

    /* TESTIMONIANZE SLIDER */
    #testimonianze{background: linear-gradient(135deg, #eeeeee, #dbdbdb);overflow:hidden}
    .testimonial-slider{display:flex;transition:transform .6s ease}
    .testimonial{flex:0 0 30% !important;padding:30px;background: #2e3b4e;margin:10px;border-radius:20px;text-align:left}
    .testimonial p{font-style:italic;color:#ddd;margin-bottom:10px}
    .stars{color:gold;margin-bottom:5px;font-size:1.1rem}
    .review-controls{text-align:center;margin-top:20px}
    .review-controls button{width:12px;height:12px;margin:0 5px;padding:5px 6px; border-radius:50%;border:none;background:#555;cursor:pointer}
    .review-controls button.active{background:#fff}

    /* GARANZIE */
    #garanzie{background: #fff;}
    .garanzie-boxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px}
    .garanzia{
      background: #2e3b4e;
      padding:40px;
      border-radius:20px;
      backdrop-filter:blur(15px);
      box-shadow:0 8px 30px rgba(0,0,0,.5)
      }
    .garanzia h3{margin-bottom:15px;color:#2f88e7}

    /* CONTATTI */
    #contatti{background: #2e3b4e;padding: 160px 10%;}
#contatti h2 { color:#fff }
    .contact-form{max-width:600px;margin:auto;background:rgba(255,255,255,.05);padding:40px;border-radius:20px;
      backdrop-filter:blur(15px);box-shadow:0 10px 30px rgba(0,0,0,.6)}
    .contact-form input,.contact-form textarea{width:100%;padding:15px;margin-bottom:20px;border:none;border-radius:10px;outline:none}
    .contact-form button{width:100%;padding:15px;background:linear-gradient(90deg,#00eaff,#0077ff);color:#fff;font-weight:700;
      border:none;border-radius:10px;cursor:pointer;transition:.3s}
    .contact-form button:hover{opacity:.9}
.phone-number {font-size: 20px;color: #ced4df;font-style:italic}
    /* FOOTER */
    footer{background: #232b36;padding:40px 8%;text-align:center;color:#777}
    footer a{color:#2f88e7}
.whatsapp-btn{position:fixed;bottom:30px;right:30px;width:60px;height:60px;border-radius:50%;background:#25d366;
      display:flex;align-items:center;justify-content:center;box-shadow:0 5px 15px rgba(0,0,0,.5);z-index:999}
    .whatsapp-btn img{width:32px;height:32px}
    .dovesiamo {display: flex;flex-direction: row;gap:20px;width: 98%;margin: auto;justify-content: center;align-items: center;align-content: center;}
    .dovesiamo iframe {width: 50%;height: 200px;}
    .dovesiamo .contact-info {width:50%;text-align: left;display: flex;flex-direction: column;align-content: center;align-items: center;color: #ddd;}
    /* RESPONSIVE */
    @media(max-width:992px){
      .dovesiamo iframe { width:100%; height: 300px; }
    .dovesiamo .contact-info {width: 80%;text-align: center;}
      section{padding:20px 5%;text-align:center}
      #lavorazione .about h2 { font-size:40px ; width:80%}
      .testimonial {flex: 0 0 20% !important;}
       .hero div {width: 100%;}
.hero-content h1 {display: flex;flex-direction: column;gap: 5px;font-size: 24px;}
       #features {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  h2 { font-size: 24px ;}
     #contatti{background:linear-gradient(135deg,#222,#384858); padding: 30px 3%;}
      .about img{flex:1;width: 100%;border-radius: 0;box-shadow: none;/* left: -5%; */position: relative;}
    .about-text{flex:1;text-align: justify;width: 100%;/* left: -5%; */position: relative;}
      #pizzeria .about-text { width:80%}
       .dovesiamo { display: flex; flex-direction: column; }
       .hero {flex-direction: column; height: auto !important; }
      nav ul{display:none}
      .hamburger{display:flex}
      #about .about { flex-direction: column-reverse; gap:40px}
            #bufala .about { flex-direction: column; gap:40px}
      .about { flex-direction: column;}
      .service{flex:0 0 100%}
    }
@media (max-width: 992px) {
  #pizzeria { background:#fff; flex-direction:column; display:flex;}
    .hero {
        flex-direction: column;
        height: auto !important;
    }
}
#featuress {display:flex;flex-direction:column;padding: 20px 0;align-content: center;justify-content: center;align-items: center;gap: 30px;}
#features {
    display: flex;
    gap: 30px;
    /* padding: 0px 1%; */
    text-align: center;
    width: 350px;
    justify-content: space-between;
    margin: auto;
  }

  .feature {
    display: flex;
    flex-direction: column;
    color: #fff;
    transition: transform .3s ease;
    width: 136px;
    margin: auto;
    align-items: center;
  }

  .feature:hover {
    transform: translateY(-8px);
  }

  .feature .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2e3b4e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 50%);
  }

  .feature .icon i {
    font-size: 22px;
    color: #ffffff; /* Giallo come nell'immagine */
  }

  .feature h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
  }
   :root{
    --bg1:#0b0f1a;
    --bg2:#111a2e;
    --acc:#2f88e7;
    --acc2:#6a5cff;
    --acc3:#00ffa3;
    --text:#e9f1ff;
    --muted:#b9c3d6;
    --error:#ff5d7a;
  }

  /* ===== EPIC BACKGROUND ===== */
 
  /* floating orbs */
 

  /* ===== CARD (glassmorphism) ===== */
  .card{
    width:min(980px, 94vw);
    padding: 15px;
    border-radius:20px;
    background: #2682e140;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35), inset 0 0 1px rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border:1px solid rgba(255,255,255,0.16);
    position:relative;
    overflow:hidden;
    animation: rise .8s ease both;
  }
  @keyframes rise{ from{ opacity:0; transform: translateY(18px) scale(.98);} to{ opacity:1; transform:translateY(0) scale(1);} }

  .title{
    font-size: clamp(22px, 3.2vw, 30px);
    text-align:center; margin:4px 0 20px; letter-spacing:.6px; font-weight:800;
    background: linear-gradient(90deg, #c8ffff, #c9c2ff, #c8ffff);
    -webkit-background-clip:text; background-clip:text; color:transparent;
    position:relative;
  }
  .title::after{
    content:""; position:absolute; left:50%; transform:translateX(-50%);
    bottom:-6px; width:160px; height:2px; background:linear-gradient(90deg, transparent, var(--acc2), transparent);
    box-shadow:0 0 18px var(--acc2);
  }

  /* ===== FORM GRID ===== */
  form{display:flex;gap: 20px;flex-direction:column}
.contenitoreform {display:grid;gap: 28px;grid-template-columns: repeat(2, 1fr);}
.titleinfo { top:-8px; position:relative}
  .full{ grid-column: 1 / -1; }
  .row{ display:flex; gap:12px; }

  /* ===== FLOATING FIELDS ===== */
  .field{ position:relative; }
  .field input,  .field textarea{
    width:100%;
    padding: 10px 12px 12px;
    background: rgb(255 255 255 / 87%);
    border:1px solid rgba(255,255,255,0.22);
    color: #343434;
    border-radius: 8px;
    font-size:16px;
    outline:none;
    transition: border .25s, box-shadow .25s, transform .15s;
    backdrop-filter: blur(2px);
  }
  .field select {
    width:100%;
    padding:14px 12px 12px;
    background: rgb(255 255 255 / 84%);
    border:1px solid rgba(255,255,255,0.22);
    color: #000;
    height:44px;
    line-height:44px;
    border-radius:8px;
    font-size:16px;
    outline:none;
    transition: border .25s, box-shadow .25s, transform .15s;
    backdrop-filter: blur(2px);
  }
  .field textarea{ min-height:110px; resize:vertical; }
  .field input::placeholder, .field textarea::placeholder{ color:transparent; }
  .field label{
    position:absolute;
    left: 0px;
    top:12px;
    font-size:14px;
    color:var(--muted);
    pointer-events:none;
    transition: all .2s ease;
    /* background: #232d3a; */
    padding: 0 6px;
    top: -22px;
  }
  .field input:focus, .field textarea:focus{ border-color: var(--acc); box-shadow: 0 0 0 3px rgba(124,242,255,.15); }
  .field input:not(:placeholder-shown) + label,
  .field textarea:not(:placeholder-shown) + label,
  
 
  @keyframes shake{
    10%,90%{transform:translateX(-1px)}
    20%,80%{transform:translateX(2px)}
    30%,50%,70%{transform:translateX(-4px)}
    40%,60%{transform:translateX(4px)}
  }

  /* ===== SEGMENTED SWITCH ===== */
  .segmented{ display:flex; gap:10px; background:rgba(255,255,255,0.06); padding:6px; border-radius:12px; border:1px solid rgba(255,255,255,0.18); }
  .segmented input{ display:none; }
  .segmented label{
    flex:1; text-align:center; padding:12px; border-radius:10px; cursor:pointer; user-select:none;
    font-weight:600; letter-spacing:.2px; color:var(--muted); display:flex; align-items:center; justify-content:center; gap:8px;
    transition: all .25s ease;
  }
  .segmented label svg{ width:18px; height:18px; opacity:.8; }
  .segmented input:checked + label{
    background: linear-gradient(180deg, rgba(124,242,255,.15), rgba(106,92,255,.18));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 8px 24px rgba(0,0,0,.25);
    color:#eafaff; text-shadow:0 0 6px rgba(124,242,255,.35);
  }
  .segmented label:hover{ transform: translateY(-1px); }

  /* ===== PROGRESS ===== */
  .meta{ display:flex; align-items:center; justify-content:space-between; margin:-4px 0 6px; }
  .progress{ height:8px; background:rgba(255,255,255,.08); border-radius:8px; overflow:hidden; flex:1; margin-left:12px; }
  .progress span{ display:block; height:100%; width:0%; background: linear-gradient(90deg, var(--acc), var(--acc2), var(--acc3)); transition: width .3s ease; }

  /* ===== BUTTON ===== */
  .actions{ grid-column:1/-1; display:flex; gap:12px; flex-wrap:wrap; }
  button{
    text-transform:uppercase;
    border:0;
    padding:14px 18px;
    border-radius:4px;
    font-weight:600;
    letter-spacing:.3px;
    cursor:pointer;
    background: #232b36;
    color:white;
    box-shadow: 0 10px 24px rgba(14,165,234,.25);
    transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
  }
  button:hover{ transform: translateY(-1px); filter: brightness(1.08); }
  button:active{transform: translateY(0);}
  .ghost{ background: transparent; border:1px solid rgba(255,255,255,.25); color:#e9f1ff; box-shadow:none; }

  /* ===== LOADER OVERLAY ===== */
  .overlay{
    position:fixed; inset:0; display:none; align-items:center; justify-content:center; flex-direction:column; gap:18px;
    background: rgba(10,14,26,.72); backdrop-filter: blur(4px); z-index:50;
  }
  .gear{
    width:80px; height:80px; position:relative; filter: drop-shadow(0 6px 18px rgba(124,242,255,.25));
    animation: pop .4s ease both;
  }
  @keyframes pop{ from{ transform: scale(.85); opacity:.3;} to{ transform: scale(1); opacity:1;} }
  .spin{ animation: spin 1.1s linear infinite; transform-origin: 50% 50%; }
  @keyframes spin{ to{ transform: rotate(360deg);} }
  .loader-text{ color:#cfefff; font-weight:600; letter-spacing:.3px; }
  .bar{ width:min(360px, 70vw); height:10px; background:rgba(255,255,255,.12); border-radius:99px; overflow:hidden; }
  .bar span{ display:block; height:100%; width:0%; background:linear-gradient(90deg, var(--acc), var(--acc2), var(--acc3)); animation: load 4s ease forwards; }
  @keyframes load{ to{ width:100%; } }

  /* ===== MODAL RESULT ===== */
  .modal{
    position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:60;
    background: rgba(6,10,20,.55); backdrop-filter: blur(3px);
  }
  .modal .box{
    width:min(760px, 92vw); border-radius:18px; padding:22px 22px 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border:1px solid rgba(255,255,255,.18); box-shadow:0 20px 60px rgba(0,0,0,.45);
    animation: rise .4s ease both;
    margin: 15vh auto;
  }
  .modal h3{ margin:4px 0 10px; font-size: clamp(20px, 2.4vw, 28px); }
  .modal p{ color:#cfe4ff; margin:0 0 8px; }
  .summary{ display:grid; grid-template-columns: 1fr 2fr; gap:10px 16px; margin-top:10px; }
  .summary div{ padding:10px; background:rgba(255,255,255,.06); border-radius:10px; border:1px solid rgba(255,255,255,.14); }
  .summary .label{ color:#b7c6e0; font-weight:600; }
  .close{
    margin-top:14px; display:flex; justify-content:flex-end;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 780px){
    .contenitoreform { grid-template-columns:1fr; }
    .summary{ grid-template-columns:1fr; }
  }
  .service-slider--enhanced {
  position: relative;
  overflow: hidden;
}

/* Track */
.service-track {
  display: flex;
  gap: 16px;                /* spazio tra card */
  will-change: transform;
}

/* Ogni card occupa 1/perView della larghezza (il gap Ã¨ gestito dal calcolo offsetLeft) */
.service-slider--enhanced .service {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * 16px) / var(--per-view));
  box-sizing: border-box;
}
.review-prev { background:#272727;  position:absolute; padding:10px 22px; border-radius:30px; font-size:30px; font-weight:100; left:50px; margin-top:60px }
.review-next { background:#272727;  position:absolute; padding:10px 22px; border-radius:30px; font-size:30px; font-weight:100; right:50px; margin-top:60px }
/* Frecce (solo desktop, JS le nasconde su mobile) */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0,0,0,.5);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}
.slider-arrow:hover { background: rgba(0,0,0,.65); }
.slider-arrow:disabled { opacity: .4; cursor: default; }
.slider-arrow.prev { left: 8px; }
.slider-arrow.next { right: 8px; }

/* Dots (mobile) */
#service-controls {
  display: none;           /* il JS lo mostra solo su mobile */
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #cfd3d8;
  cursor: pointer;
}
.slider-dot.is-active { background: #333; }

  #servizi {
    background: linear-gradient(135deg, #eeeeee, #b7babf);
    overflow: hidden;
    padding: 40px 8%;
    text-align: center;
  }

  #servizi h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #000;
  }

  .service-slider {
    display: flex;
    transition: transform .6s ease;
  }

  .service {
    flex: 0 0 50%; /* 2 per volta su desktop */
    padding: 0;
  }

  .service-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 520px;
    overflow: hidden;
  }

  .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    border-radius: 20px;
  }

  .service-img .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    transition: background .4s ease;
    border-radius: 20px;
    display: flex;
    z-index: 1;
    opacity: 1;
    visibility: visible;
  }

  .service-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: #fff;
    padding: 0 15px;
  }

  .service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
  }

  .service-content p {
    font-size: 1rem;
    color: #ddd;
  }

  .service:hover img {
    transform: scale(1.1);
  }

  .service:hover .overlay {
    background: rgba(0,0,0,0.35);
  }

  .slider-controls {
    text-align: center;
    margin-top: 25px;
  }

 

  
  @media(max-width: 768px) {
     #servizi {
    /* background: linear-gradient(135deg, #1a1a1a, #2e3b4e); */
    overflow: hidden;
    padding: 20px 3%;
    text-align: center;
  }
    .service {
      flex: 0 0 100%; /* 1 per volta su mobile */
    }
    .service-img { height: 260px; }
  }