:root{
  --container: 1120px;

  /* hero blu */
  --heroTop: #0971b8;
  --heroMid: #2598e5;
  --heroBot: #1d86cf;

  --white: #fff;
  --text: #0f172a;
  --muted: #6b7280;

  --border: #e5e7eb;
  --shadow: 0 10px 24px rgba(0,0,0,.18);

  --btnBlue: #0b6fb8;
  --btnBlueHover: #095f9d;

  --radius: 12px;
  --radiusCard: 14px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: #fff;
}

a{ color: inherit; text-decoration:none; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* ===== HERO WRAP (sfondo blu full width) ===== */
.hero-wrap{
  background: linear-gradient(180deg, var(--heroTop) 0%, var(--heroMid) 55%, var(--heroBot) 100%);
  padding-bottom: 130px; /* spazio per overlap delle card */
}

/* ===== HEADER (sticky) ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0 10px;

  /* mantiene il blu sotto al box quando scrolli */
  background: linear-gradient(
    180deg,
    var(--heroTop) 0%,
    rgba(9,113,184,.92) 60%,
    rgba(9,113,184,0) 100%
  );
}

.header-box{
  background: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
  overflow: visible;

  /* solo shadow (come volevi) */
  box-shadow:
    0 2px 6px rgba(0,0,0,.12),
    0 10px 24px rgba(0,0,0,.18);
}

/* ===== TOP ROW ===== */
.top-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
}
.brand img{
  height: 34px;
  width:auto;
  display:block;
}

/* link top (desktop) */
.top-links{
  display:flex;
  align-items:center;
  gap: 22px;
  color: #0006;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02px;
  line-height: 2em;
}
.top-links a{ border-radius: 8px; padding: 6px 8px; }
.top-links a:hover{ color:#111827; background:#f3f4f6; }

/* ------------- signin/logged user -------------- */
.user-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.signin{
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #58b1ff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: inset 0 0 0 3px #ffffff;
  flex: 0 0 auto;
  transition: all .25s ease;
  cursor:pointer;
}

.signin svg{
  width:20px;
  height:20px;
  fill:#fff;
  transition: transform .25s ease;
}

/* HOVER EFFECT */
.signin:hover{
  background:#0F70B7;
  transform: translateY(-2px);
  box-shadow:
    0 8px 18px rgba(0, 149, 255, 0.527),
    inset 0 0 0 3px #ffffff;
}

.signin:hover svg{
  transform: translateX(3px);
}

/* ===== SIGNIN LOGGED ===== */
/* ===== SIGNIN LOGGED - LIGHT STYLE ===== */
.signin--logged{
  background: linear-gradient(135deg, #e0f2ff, #b9e2ff);
  box-shadow:
    0 4px 12px rgba(15, 112, 183, 0.18),
    inset 0 0 0 2px #ffffff;
}

.signin--logged svg{
  stroke: #0F70B7; /* blu brand */
}

/* Hover */
.signin--logged:hover{
  background: linear-gradient(135deg, #cce9ff, #9fd6ff);
  transform: translateY(-2px);
  box-shadow:
    0 8px 18px rgba(15, 112, 183, 0.28),
    inset 0 0 0 2px #ffffff;
}

.signin--logged:hover svg{
  transform: scale(1.08);
}

.signin--logged::after{
  content:'';
  position:absolute;
  bottom:6px;
  right:6px;
  width:8px;
  height:8px;
  background:#22c55e;
  border-radius:50%;
  border:2px solid #fff;
}

/* ===== LOGOUT BUTTON (RED) ===== */
.signin--logout{
  background: #ffe5e7; /* rosso molto light */
  box-shadow:
    0 4px 12px rgba(220, 53, 69, 0.18),
    inset 0 0 0 2px #ffffff;
}

.signin--logout svg{
  stroke:#dc3545; /* rosso Bootstrap elegante */
}

/* Hover */
.signin--logout:hover{
  background:#dc3545;
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(220, 53, 69, 0.35),
    inset 0 0 0 2px #ffffff;
}

.signin--logout:hover svg{
  stroke:#ffffff;
  transform: translateX(2px);
}
/* ------------- signin / logged user end -------------- */

/* ===== MENU PILL ===== */
.menu-pill{
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  position: relative;
  overflow: visible;
}

/* Toggle (visibile solo <= 992px) */
.menu-toggle{
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 6px 8px;
  border-radius: 8px;
  font: inherit;
  color: #111827;
  cursor: pointer;
}
.menu-toggle:hover{ background:#f3f4f6; }

.menu-toggle__label{
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.menu-toggle__icon{
  width: 22px;
  height: 16px;
  position: relative;
  display: inline-block;
}
.menu-toggle__icon::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:2px;
  height:2px;
  background:#111827;
  border-radius: 2px;
  box-shadow: 0 6px 0 #111827, 0 12px 0 #111827;
}

/* ===== MENU DESKTOP ===== */
.menu{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: nowrap;

  overflow-x: auto; /* se non ci sta, scroll orizzontale */
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu::-webkit-scrollbar{ display:none; }

.menu-item{ position: relative; }

.menu-item > a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size: 14px;
  font-weight: 600;
  color:#374151;
  white-space: nowrap;
  padding: 6px 6px;
  border-radius: 8px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.menu-item:hover > a{ background:#f3f4f6; }

/* active */
.menu-item.active > a{
  background: #eaf3fb;
  color: #0b6fb8;
  font-weight: 700;
}

.chev{
  width: 16px;
  height: 16px;
  opacity: .6;
}
.menu-item.active .chev{ color:#0b6fb8; opacity: 1; }

/* dropdown desktop (se presente) */
.dropdown{
  position:absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background:#fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  padding: 6px 0;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 9999;
}
@media (hover:hover) and (pointer:fine){
  .menu-item:hover > .dropdown{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}
.dropdown a{
  display:block;
  padding: 10px 16px;
  font-size: 14px;
  color:#374151;
  white-space: nowrap;
  text-decoration: none;
}
.dropdown a:hover{ background:#f3f4f6; color:#111827; }

/* ===== MOBILE ===== */
@media (max-width: 992px){

  .top-row{
      flex-wrap:wrap;
      justify-content:center;
  }

  .top-links{
      display:flex !important;
      width:100%;
      justify-content:center;
      align-items:center;
      gap:0;
      order:3;
      margin:.75rem 0 .5rem;
      padding:0;
  }

  .top-links a{
      display:inline-block;
      padding:0;
      margin:0;
      background:none;
      border:none;
      border-radius:0;
      color:#0F70B7;
      font-size:1rem;
      font-weight:600;
      line-height:1.2;
      text-decoration:none;
      white-space:nowrap;
      transition:color .2s ease;
  }

  .top-links a:hover,
  .top-links a:focus{
      color:#0A5A94;
      text-decoration:none;
  }

  .top-links a:not(:last-child)::after{
      content:"|";
      margin:0 1rem;
      color:#C5CDD6;
      font-weight:400;
  }

  .brand img{ height: 38px; }

  /* mostra hamburger */
  .menu-toggle{ display:flex; }

  /* drawer menu */
  .menu{
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(86vw, 360px);
    background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,.18);
    border-left: 1px solid rgba(0,0,0,.06);
    padding: 14px;
    gap: 6px;

    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    overflow: auto;
    transform: translateX(110%);
    transition: transform .2s ease;
    z-index: 10001;
  }
  .menu.is-open{ transform: translateX(0); }

  .menu-item > a{
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
  }

  /* dropdown mobile: click (classe .is-open) */
  .dropdown{
    position: static;
    min-width: 0;
    box-shadow: none;
    border-radius: 10px;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    margin: 6px 0 0;
    border: 1px solid rgba(0,0,0,.06);
  }
  .menu-item.is-open > .dropdown{ display:block; }
  .dropdown a{ padding: 10px 12px; }

  /* overlay */
  .menu-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 10000;
  }
}

/* extra-small */
@media (max-width: 360px){
  .container{ width: min(var(--container), calc(100% - 24px)); }

  .brand img{ height: 34px; }

  .cart{
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .cart svg{ width:19px; height:19px; }

  .menu{
    width: min(90vw, 320px);
    padding: 12px;
  }
  .menu-item > a{ padding: 10px 10px; }
}

/* ===== HERO TESTO ===== */
.hero{
  text-align:center;
  padding: 40px 0;
  color:#fff;
}
.hero h1{
  margin: 20px auto 0;
  max-width: 980px;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.15em;
  font-weight: 800;
}
.hero p{
  margin: 18px auto 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255,255,255,.95);
}
.hero .cta{
  margin-top: 18px;
  display:flex;
  justify-content:center;
}
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 26px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.85);
  background: transparent;
  color:#fff;
  font-weight: 600;
  font-size: 16px;
}
.btn-outline:hover{
  background: rgba(255,255,255,.12);
}


/* gruppo CTA */
.cta-group{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;                 /* separazione chiara */
  margin-top: 22px;
}

/* variante bottone secondario */
.btn-outline--secondary{
  border-color: rgba(255,255,255,.6);
  opacity: .9;
}

/* hover differenziato */
.btn-outline--secondary:hover{
  background: rgba(255,255,255,.08);
  opacity: 1;
}

/* mobile */
@media (max-width: 520px){
  .cta-group{
    flex-direction: column;
    gap: 12px;
  }

  .cta-group .btn-outline{
    width: 100%;
    max-width: 320px;
  }
}


/* ===== SEZIONE SERVIZI SPLIT + VIDEO ===== */
.services.services--split{
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f7f9fc 100%
  );
  padding: 68px 0 20px;
}

.services-split{
  display: grid;
  grid-template-columns: minmax(320px, 500px) minmax(320px, 1fr);
  align-items: start;
  gap: 42px;
}

.services-split__left{
  max-width: 500px;
}

.services-split__title{
  margin: 0 0 22px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b6fb8;
  text-transform: uppercase;
}

/* ===== LISTA SERVIZI ===== */
.services-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-list__item{
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 57px;
  padding: 0 16px;
  border-radius: 10px;
  background: #f3f4f6;
  border: 1px solid rgba(15,23,42,.04);
  color: #374151;
  text-decoration: none;
  transition:
    background-color .22s ease,
    border-color .22s ease,
    transform .22s ease,
    box-shadow .22s ease,
    color .22s ease;
}

.services-list__plus{
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: #9ca3af;
  transition: color .22s ease, transform .22s ease;
}

.services-list__text{
  display: block;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: inherit;
}

.services-list__item:hover{
  background: #ffffff;
  border-color: rgba(52,152,219,.24);
  color: #0b6fb8;
  box-shadow: 0 8px 20px rgba(11,111,184,.10);
  transform: translateX(3px);
}

.services-list__item:hover .services-list__plus{
  color: #3498db;
  transform: scale(1.08);
}

/* ===== LINK VEDI TUTTI ===== */
.services-split__footer{
  margin-top: 18px;
}

.services-split__more{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0b6fb8;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.services-split__more svg{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.services-split__more:hover{
  color: #3498db;
  transform: translateX(2px);
}

.services-list__arrow{
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #6b7280; /* 👈 più scuro, prima era troppo chiaro */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .22s ease;
}

.services-list__arrow svg{
  width: 100%;
  height: 100%;
}

.services-list__item:hover .services-list__arrow{
  color: #3498db;
  transform: translateX(4px);
}

.btn-services-all{
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 18px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0b6fb8, #095a94);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all .25s ease;
}

.btn-services-all:hover{
  background: linear-gradient(135deg, #095a94, #074a7a);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(11,111,184,0.25);
}

/* ===== VIDEO (PREVIEW + PLAYER) ===== */

.services-split{
  align-items: stretch;
}

.services-split__right{
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ===== BOX VIDEO ===== */
.services-video{
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;

  border: 2px solid rgba(52,152,219,.18);

  box-shadow:
    0 0 0 2px rgba(52,152,219,.06),
    0 14px 36px rgba(0,0,0,.10);

  flex: 0 0 auto;
}

/* ===== PREVIEW ===== */
.services-video{
  transition: transform .25s ease, box-shadow .25s ease;
}

.services-video:hover{
  transform: translateY(-2px);
  box-shadow:
    0 0 0 2px rgba(52,152,219,.08),
    0 18px 42px rgba(0,0,0,.16);
}

.services-video__preview{
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* immagine preview */
.services-video__preview img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* overlay scuro leggero */
.services-video__preview::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
  transition: background .25s ease;
}

/* ===== PLAY BUTTON ===== */
.services-video__play{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 72px;
  height: 52px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;

  transition: transform .2s ease;
}

.services-video__play svg{
  width: 100%;
  height: 100%;
  display: block;
}

/* hover effect */
.services-video__preview:hover::after{
  background: rgba(0,0,0,.35);
}

.services-video__preview:hover .services-video__play{
  transform: translate(-50%, -50%) scale(1.08);
}

/* ===== IFRAME ===== */
.services-video iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== DESCRIZIONE SOTTO ===== */
.services-video__desc{
  margin-top: 18px;
  padding: 16px 16px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.05);

  box-shadow: 0 10px 24px rgba(0,0,0,.06);

  flex: 1;
}

/* titolo */
.services-video__desc h3{
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #0b6fb8;
}

/* paragrafi */
.services-video__desc p{
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #4b5563;
}

/* lista */
.services-video__desc ul{
  margin: 0 0 12px;
  padding-left: 0;
  list-style: none;
}

.services-video__desc li{
  font-size: 13.5px;
  line-height: 1.45;
  color: #374151;
  margin-bottom: 4px;
}

/* CTA finale */
.services-video__cta{
  font-weight: 700;
  font-size: 13.5px;
  color: #0b6fb8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .services.services--split{
    padding: 60px 0 68px;
  }

  .services-split{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services-split__left{
    max-width: 100%;
  }

  .services-split__right{
    width: 100%;
  }

  .services-video{
    max-width: 100%;
  }
}

@media (max-width: 680px){
  .services.services--split{
    padding: 50px 0 58px;
  }

  .services-split__title{
    font-size: 30px;
    margin-bottom: 18px;
  }

  .services-list__item{
    min-height: 50px;
    padding: 0 14px;
  }

  .services-list__text{
    font-size: 14px;
  }

  .services-video{
    border-radius: 12px;
  }
}


/* ===== SEZIONE 3: SELEZIONE IMPRESE ===== */
.selimprese{
  background: linear-gradient(
    180deg,
    #f9fafb 0%,
    #ffffff 100%
  );
  padding: 56px 0 60px;
}

.selimprese__wrap{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  align-items:start;
  gap: 36px;
}

.selimprese__title{
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b6fb8;
}

.selimprese__acc{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-top: 6px;
}

/* accordion item (pill) */
.acc-item{
  background:#efefef;
  border-radius: 10px;
  overflow:hidden;
}

.acc-sum{
  list-style:none;
  cursor:pointer;
  padding: 12px 16px;
  display:flex;
  align-items:center;
  gap: 12px;

  font-size: 15px;
  font-weight: 700;
  color:#111827;
}

.acc-sum::-webkit-details-marker{ display:none; }

/* plus icon */
.acc-sum::before{
  content:"+";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color:#6b7280;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}

.acc-item[open] .acc-sum::before{
  content:"–";
  transform: translateY(-1px);
}

.acc-body{
  padding: 0 16px 12px 50px;
}

.acc-body p{
  margin: 0;
  color:#6b7280;
  font-size: 14px;
  line-height: 1.35;
}

/* right image */
.selimprese__right{
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

.selimprese__img{
  width: 100%;
  max-width: 620px;
  height: auto;
  display:block;
  transform: translateY(-10px);
}

/* responsive */
@media (max-width: 980px){
  .selimprese__wrap{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .selimprese__img{
    max-width: 520px;
    transform: none;
    margin: 0 auto;
  }
  .selimprese__title{ font-size: 38px; }
}

@media (max-width: 680px){
  .selimprese{ padding: 44px 0 50px; }
  .selimprese__title{ font-size: 34px; }
}

/* ===== SEZIONE PARTNER ===== */
.partners{
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0 42px;
  margin-bottom: 32px;
  overflow: hidden;
}

/* ===== partners header ===== */
.partners__head{
  text-align: center;
  margin-bottom: 14px;
}

.partners__title{
  margin: 0 auto 28px;
  font-size: clamp(32px, 4vw, 46px);
  text-transform: uppercase;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b6fb8;
  max-width: 720px;
  text-align: center;
  text-wrap: balance;
  margin-bottom: 5%;
}

.partners__track{
  position: relative;
  overflow: hidden;
}

.partners__row{
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: partner-scroll 28s linear infinite;
}

/* singolo partner */
.partner{
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: .55;
  font-weight: 600;
  color: #9ca3af;
  font-size: 18px;
  white-space: nowrap;
}

.partner__icon{
  width: 22px;
  height: 22px;
  background: #d1d5db;
  display: inline-block;
}

/* forme */
.partner__icon.square{
  border-radius: 2px;
}
.partner__icon.circle{
  border-radius: 50%;
}
.partner__icon.triangle{
  width: 0;
  height: 0;
  background: none;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 22px solid #d1d5db;
}

/* animazione */
@keyframes partner-scroll{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

/* responsive */
@media (max-width: 768px){
  .partners{
    padding: 14px 0 40px;
    margin-bottom: 32px;
  }
}

@media (max-width: 768px){
  .partner{
    font-size: 16px;
    gap: 10px;
  }
  .partners__row{
    gap: 42px;
  }
}

/* ===== SEZIONE 5: PERCHÉ SCEGLIERCI ===== */
.whyus{
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f5f8fc 55%,
    #ffffff 100%
  );
  padding: 84px 0 96px;
}

.whyus__title{
  margin: 0;
  text-align:center;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b6fb8;
}

.whyus__subtitle{
  margin: 14px auto 54px;
  max-width: 520px;
  text-align:center;
  font-size: 16px;
  line-height: 1.4;
  color:#6b7280;
}

.whyus__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
  text-align:center;
}

.whyus__item{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.whyus__icon{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #d1d5db;
  margin-bottom: 22px;
}

.whyus__h{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color:#0b6fb8;
}

.whyus__p{
  margin: 0;
  font-size: 15px;
  color:#6b7280;
}

/* responsive */
@media (max-width: 980px){
  .whyus__grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 580px){
  .whyus{
    padding: 64px 0 72px;
  }
  .whyus__title{
    font-size: 38px;
  }
  .whyus__grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* =========================================================
   SEZIONE FAQ – ACCORDION
   Layout, stile e micro-interazioni UX
   ========================================================= */

/* ===== CONTAINER SEZIONE ===== */
.faq{
  background: linear-gradient(
    180deg,
    #f9fafb 0%,
    #eef4ff 50%,
    #ffffff 100%
  );
  padding: 84px 0 96px;
}

/* ===== GRID WRAPPER ===== */
.faq__wrap{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

/* ===== COLONNA SINISTRA ===== */
.faq__title{
  margin: 0 0 14px;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b6fb8;
}

.faq__subtitle{
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #6b7280;
  max-width: 420px;
}

/* ===== COLONNA DESTRA ===== */
.faq__right{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== FAQ ITEM ===== */
.faq-item{
  background: #efefef;
  border-radius: 10px;
  overflow: hidden;
}

/* ===== QUESTION (SUMMARY) ===== */
.faq-item > summary{
  list-style: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;

  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* rimuove marker default (Chrome, Safari, Firefox) */
.faq-item > summary::-webkit-details-marker{ display: none; }
.faq-item > summary::marker{ content: ""; }

/* rimuove focus outline brutto */
.faq-item > summary:focus{ outline: none; }

/* ===== ICONA PLUS / MINUS ===== */
.faq-item > summary::before{
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
  border-radius: 8px;

  font-size: 22px;
  font-weight: 800;
  line-height: 1;

  color: #6b7280;
  background: #e5e7eb;
}

.faq-item[open] > summary::before{
  content: "–";
  font-size: 24px;
}

/* ===== ANSWER ===== */
.faq-a{
  padding: 0 16px 14px 50px;

  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}

.faq-item[open] .faq-a{
  opacity: 1;
  transform: translateY(0);
}

.faq-a p{
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6b7280;
}

/* =========================================================
   FAQ APERTA – BORDO + OMBRA EVIDENZIATA
   ========================================================= */

.faq-item{
  border: 1px solid transparent;
  transition: 
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.faq-item[open]{
  background-color: #ffffff;
  border-color: #c7ddf5; /* azzurro chiaro coerente col brand */
  box-shadow: 0 10px 28px rgba(11, 111, 184, 0.12);
}

/* opzionale: enfatizza leggermente la domanda quando aperta */
.faq-item[open] > summary{
  color: #0b6fb8;
}

/* opzionale: icona + più “attiva” */
.faq-item[open] > summary::before{
  background: #e0efff;
  color: #0b6fb8;
}


/* ===== RESPONSIVE FAQ ===== */
@media (max-width: 980px){
  .faq__wrap{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq__title{
    font-size: 40px;
  }
}

@media (max-width: 680px){
  .faq{
    padding: 64px 0 72px;
  }
  .faq__title{
    font-size: 36px;
  }
}

/* =========== FAQ END ============== */


/* ===== FOOTER ===== */
.site-footer{
  background: linear-gradient(
    180deg,
    #0b6fb8 0%,
    #094f86 100%
  );
  color:#e5eff9;
}

.footer__top{
  display:grid;
  grid-template-columns: 1.2fr 2.8fr;
  gap: 64px;
  padding: 72px 0 56px;
}

.footer__brand{
  display:flex;
  flex-direction:column;
  gap: 16px;
}

.footer__logo{
  width: 160px;
  filter: brightness(0) invert(1);
}

.footer__desc{
  font-size:15px;
  line-height:1.45;
  color:#dbeafe;
  max-width: 360px;
}

.footer__social{
  display:flex;
  gap: 14px;
  margin-top: 6px;
}
.footer__social a{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.15);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}
.footer__social svg{
  width: 20px;
  height: 20px;
}

/* columns */
.footer__cols{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer__col h4{
  margin: 0 0 14px;
  font-size:16px;
  font-weight:700;
  color:#fff;
}

.footer__col a{
  display:block;
  margin-bottom: 10px;
  font-size:15px;
  color:#dbeafe;
  opacity:.9;
}
.footer__col a:hover{
  opacity:1;
  text-decoration:underline;
}

/* bottom */
.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 18px 0;
}
.footer__bottom-wrap{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:#cfe3fb;
}

.footer__credits-bar{
  background: linear-gradient(
    180deg,
    rgba(9,79,134,1) 0%,
    rgba(7,58,100,1) 100%
  );
  padding: 12px 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}

.footer__credits-bar span{
  color: rgba(255,255,255,0.55);
}

.footer__credits-bar a{
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: all .25s ease;
}

/* effetto elegante underline animato */
.footer__credits-bar a::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width .25s ease;
}

.footer__credits-bar a:hover{
  color: #dbeafe; /* leggero highlight */
}

.footer__credits-bar a:hover::after{
  width: 100%;
}

/* responsive */
@media (max-width: 980px){
  .footer__top{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer__cols{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px){
  .footer__cols{
    grid-template-columns: 1fr;
  }
  .footer__bottom-wrap{
    flex-direction:column;
    gap: 6px;
    text-align:center;
  }
}

/* ===== SCROLL TO TOP ===== */
#scroll__top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;

  border: none;
  border-radius: 14px;
  background: #0b6fb8;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 999;

  box-shadow:
    0 10px 26px rgba(11,111,184,.35),
    0 6px 14px rgba(0,0,0,.18);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

#scroll__top svg{
  width: 22px;
  height: 22px;
}

/* visibile */
#scroll__top.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* hover desktop */
@media (hover:hover) and (pointer:fine){
  #scroll__top:hover{
    background: #095f9d;
    transform: translateY(-2px);
  }
}

/* =========================================================
   LOGIN PAGE — Corporate Premium (BLOCCO UNICO PULITO)
   - NON tocca header/menu generali
   - NON cambia la login-card (form a destra) come richiesto
   - Sistema: hero neutra + box premium a sinistra (leggibile)
   ========================================================= */

/* HERO login: neutra, niente gradient dedicati (evita “stacchi” con header) */
.hero--login{
  padding: 64px 0 96px;
  text-align: left;              /* override .hero center */
  background: #f4f7fb;           /* sfondo neutro */
}

/* wrapper 2 colonne */
.login-hero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

/* =========================================================
   COLONNA SINISTRA (copy premium in un box)
   ========================================================= */
.login-hero__copy{
  background: #fff;
  padding: 48px;
  border-radius: 24px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow:
    0 30px 80px rgba(15,23,42,.08),
    0 12px 30px rgba(15,23,42,.06);
}

.login-hero__copy h1{
  margin: 0 0 16px;
  max-width: 820px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.login-hero__copy p{
  margin: 0 0 26px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(15,23,42,.75);
}

/* bullets */
.login-bullets{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 14px;
}

.login-bullets li{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  line-height: 1.45;
  color: rgba(15,23,42,.85);
  font-weight: 650;
  font-size: 15px;
}

.login-bullets .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  background: #0b6fb8;
  box-shadow: 0 0 0 6px rgba(11,111,184,.12);
  flex: 0 0 auto;
}

/* =========================================================
   CARD (form a destra) — LASCIATA IDENTICA
   ========================================================= */
.login-card{
  position: relative;
  background: rgba(255,255,255,.96);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow:
    0 26px 70px rgba(0,0,0,.22),
    0 12px 28px rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
  text-align: left;
  color: var(--text);
  overflow: hidden;
}

.login-card::before{
  content:"";
  position:absolute;
  left: -20%;
  top: -45%;
  width: 140%;
  height: 90%;
  background: radial-gradient(closest-side at 50% 50%,
    rgba(88,177,255,.22) 0%,
    rgba(88,177,255,.10) 28%,
    transparent 62%);
  transform: rotate(-8deg);
  pointer-events:none;
}

.login-card::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.06);
  pointer-events:none;
}

.login-card__head{
  position: relative;
  z-index: 1;
}

.login-card__head h2{
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.login-card__head p{
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(15,23,42,.68);
}

/* =========================================================
   FORM — lasciato identico
   ========================================================= */
.login-form{
  position: relative;
  z-index: 1;
  margin-top: 16px;
  display:grid;
  gap: 14px;
}

.login-field{ display:grid; gap: 8px; }

.login-field__label{
  font-size: 13px;
  font-weight: 750;
  color: rgba(15,23,42,.78);
}

.login-input{ position: relative; }

.login-input__icon{
  position:absolute;
  left: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: rgba(15,23,42,.45);
  pointer-events:none;
}

.login-field__input{
  width: 100%;
  display:block;
  height: 50px;
  padding: 0 14px 0 42px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.98);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  box-shadow:
    0 1px 0 rgba(0,0,0,.03),
    0 12px 26px rgba(15,23,42,.04);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease,
    background-color .2s ease;
}

.login-field__input::placeholder{ color: rgba(15,23,42,.42); }

.login-field__input:focus{
  outline: none;
  background: #fff;
  border-color: rgba(11,111,184,.62);
  box-shadow:
    0 0 0 6px rgba(88,177,255,.22),
    0 18px 34px rgba(11,111,184,.10);
  transform: translateY(-1px);
}

.login-input:focus-within .login-input__icon{ color: rgba(11,111,184,.85); }

.login-pass-toggle{
  position:absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.login-pass-toggle:hover{
  background: rgba(15,23,42,.06);
  transform: translateY(-50%) scale(1.02);
}
.login-pass-toggle svg{ width: 18px; height: 18px; color: rgba(15,23,42,.55); }

.login-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 2px;
}

.login-check{
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  color: rgba(15,23,42,.72);
}
.login-check input{ width: 16px; height: 16px; accent-color: var(--btnBlue); }

.login-link{
  color: var(--btnBlue);
  font-weight: 850;
  font-size: 13px;
}
.login-link:hover{ text-decoration: underline; }

.btn-primary{
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  font-weight: 850;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(180deg, #0b6fb8 0%, #095f9d 100%);
  box-shadow:
    0 18px 40px rgba(11,111,184,.35),
    0 8px 18px rgba(0,0,0,.12);
  cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before{
  content:"";
  position:absolute;
  top:-40%;
  left:-30%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,.22) 45%,
    transparent 90%);
  transform: rotate(18deg);
  transition: left .45s ease;
  pointer-events:none;
}
.btn-primary svg{ width: 18px; height: 18px; }
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow:
    0 24px 55px rgba(11,111,184,.42),
    0 12px 24px rgba(0,0,0,.14);
  filter: brightness(1.02);
}
.btn-primary:hover::before{ left: 110%; }
.btn-primary:active{ transform: translateY(0); }

.login-sep{
  position: relative;
  margin: 10px 0 6px;
  text-align: center;
}
.login-sep::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background: rgba(15,23,42,.10);
}
.login-sep span{
  position: relative;
  display:inline-block;
  padding: 0 10px;
  font-size: 12px;
  color: rgba(15,23,42,.55);
  background: rgba(255,255,255,.96);
  border-radius: 999px;
}

.btn-outline--full.btn-outline{
  width: 100%;
  justify-content:center;
  border-color: rgba(15,23,42,.14);
  color: rgba(15,23,42,.86);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
}
.btn-outline--full.btn-outline:hover{ background: rgba(15,23,42,.04); }

.login-note{
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(15,23,42,.62);
}
.login-note a{ color: var(--btnBlue); font-weight: 850; }
.login-note a:hover{ text-decoration: underline; }
/* Forza leggibilità testo legale login */
.hero--login .login-note{
  color: rgba(15,23,42,.70) !important;
}

.hero--login .login-note a{
  color: var(--btnBlue);
}

.login-hero__card{ align-self: start; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .login-hero{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .login-card{
    max-width: 560px;
  }
}

@media (max-width: 520px){
  .hero--login{ padding: 48px 0 72px; }
  .login-hero__copy{ padding: 32px; }
  .login-row{
    flex-direction: column;
    align-items:flex-start;
  }
}

/* helper */
.login-ico{ width: 18px; height: 18px; }


/* =========================================================
   PAGE + CONTENT (Bootstrap-like) — per Privacy/Termini/Info
   ========================================================= */

.page{
  background:#fff;
}

/* hero semplice (non blu) */
.page-hero{
  background: #f9fafb;
  border-bottom: 1px solid var(--border);
  padding: clamp(28px, 4vw, 44px) 0;
}

.page-hero__inner{
  max-width: 980px;
}

.page-hero__title{
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text);
}

.page-hero__subtitle{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* corpo pagina */
.page-section{
  padding: clamp(28px, 4vw, 54px) 0;
}

/* card contenuto */
.content-card{
  background:#fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.content-card--lg{
  padding: clamp(18px, 3vw, 28px);
}

.content-prose{
  max-width: 980px;
  margin: 0 auto;
}

/* tipografia in stile “bootstrap” */
.content-prose p{
  margin: 0 0 14px;
  color: rgba(15,23,42,.82);
  font-size: 16px;
  line-height: 1.65;
}

.content-h2{
  margin: 26px 0 10px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
  color: var(--btnBlue);
}

.content-h3{
  margin: 16px 0 8px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 850;
  color: var(--text);
}

.content-prose a{
  color: var(--btnBlue);
  font-weight: 750;
  text-decoration: none;
}
.content-prose a:hover{
  text-decoration: underline;
}

/* divider tipo “hr” */
.content-divider{
  height: 4px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11,111,184,.22), rgba(11,111,184,.06));
  margin: 6px 0 18px;
}

/* lead */
.content-lead{
  padding: 14px 16px;
  border-radius: 12px;
  background: #f3f8ff;
  border: 1px solid rgba(11,111,184,.12);
  color: rgba(15,23,42,.82);
}

/* note “N.B.” */
.content-note{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid rgba(15,23,42,.10);
  color: rgba(15,23,42,.78);
  font-size: 14px;
}

/* liste */
.content-ul{
  margin: 10px 0 14px;
  padding-left: 18px;
  color: rgba(15,23,42,.82);
}
.content-ul li{ margin: 6px 0; }

.content-ol{
  margin: 10px 0 14px;
  padding-left: 18px;
  color: rgba(15,23,42,.82);
}
.content-ol li{ margin: 10px 0; }

/* blocchi “stack” */
.content-stack{
  display: grid;
  gap: 14px;
  margin: 12px 0 6px;
}

.content-block{
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.08);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

/* responsive */
@media (max-width: 680px){
  .content-card--lg{ padding: 16px; }
  .content-prose p{ font-size: 15px; }
}

/* =========================================================
   Bootstrap-like Alerts (per le classi del tuo PHP)
   Supporta:
   .alert .alert-icon .alert-bg .alert-inline
   .alert-primary .alert-success .alert-warning .alert-error
   .alert-title + <i> icona
   ========================================================= */

.alert{
  position: relative;
  display: block;
  width: 100%;
  padding: .85rem 1rem;
  margin: 0 0 1rem 0;

  border: 1px solid transparent;
  border-radius: .375rem;              /* simile a BS */
  font-size: .95rem;
  line-height: 1.35;

  color: #0f172a;
  background-color: #f8fafc;
}

/* Variante “inline” (più compatta, tipo messaggio in pagina) */
.alert-inline{
  padding: .75rem .95rem;
}

/* Titolo stile Bootstrap */
.alert-title{
  margin: 0 0 .35rem 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Icone: allineamento, dimensione coerente */
.alert-title i{
  font-size: 1.05em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Se vuoi anche l’icona “a sinistra” come BS */
.alert-icon{
  padding-left: 1rem; /* base */
}

/* Background “soft” tipo Bootstrap (alert-bg) */
.alert-bg{
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

/* Link dentro alert come BS */
.alert a{
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.alert a:hover{
  opacity: .9;
}

/* ===== Varianti colore (molto bootstrap-like) ===== */

/* PRIMARY */
.alert-primary{
  color: #084298;
  background-color: #cfe2ff;
  border-color: #b6d4fe;
}
.alert-primary .alert-title i{ color: #084298; }

/* SUCCESS */
.alert-success{
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}
.alert-success .alert-title i{ color: #0f5132; }

/* WARNING */
.alert-warning{
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffecb5;
}
.alert-warning .alert-title i{ color: #664d03; }

/* ERROR (equivalente a BS danger) */
.alert-error{
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}
.alert-error .alert-title i{ color: #842029; }

/* ===== Piccoli miglioramenti UX ===== */
.alert > *:last-child{
  margin-bottom: 0;
}

/* Se dentro $message metti <p> */
.alert p{
  margin: 0;
}

/* Spazio tra titolo e testo se $message è solo testo */
.alert-title + *{
  margin-top: .15rem;
}

/* =====================================================
   SPACING SCALE (Bootstrap style)
   0 = 0
   1 = .25rem
   2 = .5rem
   3 = 1rem
   4 = 1.5rem
   5 = 3rem
===================================================== */

/* ===== MARGIN ===== */

/* Top */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

/* Bottom */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

/* Left */
.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: .25rem !important; }
.ms-2 { margin-left: .5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-5 { margin-left: 3rem !important; }

/* Right */
.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: .25rem !important; }
.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-5 { margin-right: 3rem !important; }

/* Horizontal */
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.mx-2 { margin-left: .5rem !important; margin-right: .5rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }

/* Vertical */
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.my-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

/* All sides */
.m-0 { margin: 0 !important; }
.m-1 { margin: .25rem !important; }
.m-2 { margin: .5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }



/* ===== PADDING ===== */

/* Top */
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: .25rem !important; }
.pt-2 { padding-top: .5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

/* Bottom */
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: .25rem !important; }
.pb-2 { padding-bottom: .5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

/* Left */
.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: .25rem !important; }
.ps-2 { padding-left: .5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.ps-5 { padding-left: 3rem !important; }

/* Right */
.pe-0 { padding-right: 0 !important; }
.pe-1 { padding-right: .25rem !important; }
.pe-2 { padding-right: .5rem !important; }
.pe-3 { padding-right: 1rem !important; }
.pe-4 { padding-right: 1.5rem !important; }
.pe-5 { padding-right: 3rem !important; }

/* Horizontal */
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: .25rem !important; padding-right: .25rem !important; }
.px-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

/* Vertical */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* All sides */
.p-0 { padding: 0 !important; }
.p-1 { padding: .25rem !important; }
.p-2 { padding: .5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }


/* ==================================================
   PACKS PREVIEW SLIDER
================================================== */

.packs-preview{
  background:#f3f4f6;
  padding:56px 0 46px;
  overflow:visible;
}

.packs-preview__head{
  max-width:420px;
  margin-bottom:34px;
}

.packs-preview__title{
  margin:0 0 14px;
  font-size:clamp(32px,4vw,46px);
  line-height:1.08;
  font-weight:800;
  letter-spacing:-0.03em;
  color:#0b6fb8;
}

.packs-preview__subtitle{
  margin:0;
  font-size:16px;
  line-height:1.45;
  color:#6b7280;
}

/* ==================================================
   SLIDER
================================================== */

.packs-slider{
  position:relative;
  padding:0 32px;
}

.packs-slider__viewport{
  overflow:hidden;
}

.packs-slider__track{
  display:flex;
  align-items:stretch;
  gap:22px;
  transition:transform .45s ease;
  will-change:transform;
}

/* ==================================================
   CARD
================================================== */

.packs-preview-card{
  flex:0 0 calc((100% - 44px) / 3);
  min-width:0;

  display:flex;
  flex-direction:column;
  height:100%;

  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;

  padding:18px 18px 16px;

  box-shadow:0 8px 20px rgba(0,0,0,.06);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.packs-preview-card:hover{
  box-shadow:0 14px 30px rgba(0,0,0,.12);
}

.packs-preview-card__media{
  position:relative;
  width:100%;
  height:140px;
  overflow:hidden;

  margin-bottom:16px;

  border-radius:12px;
  background:#e5e7eb;

  border:2px solid rgba(11,111,184,.22);

  box-shadow:
    0 0 0 2px rgba(11,111,184,.05),
    0 6px 16px rgba(11,111,184,.10);

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.packs-preview-card:hover .packs-preview-card__media{
  border-color:#0b6fb8;

  box-shadow:
    0 0 0 3px rgba(11,111,184,.08),
    0 10px 24px rgba(11,111,184,.18);

  transform:translateY(-2px);
}

.packs-preview-card.is-active .packs-preview-card__media{
  border-color:#0b6fb8;
}

.packs-preview-card__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

.packs-preview-card__media::after{
  content:"";
  position:absolute;
  inset:0;

  background:linear-gradient(
    180deg,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,.08) 100%
  );

  pointer-events:none;
}

.packs-preview-card__title{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.15;
  font-weight:800;
  color:#0b6fb8;

  display:-webkit-box;
  -webkit-box-orient:vertical;

  line-clamp:2;
  -webkit-line-clamp:2;

  overflow:hidden;

  min-height:calc(1.15em * 2);
  max-height:calc(1.15em * 2);
}

.packs-preview-card__text{
  margin:0 0 18px;
  font-size:14px;
  line-height:1.5;
  color:#6b7280;

  display:-webkit-box;
  -webkit-box-orient:vertical;

  line-clamp:3;
  -webkit-line-clamp:3;

  overflow:hidden;

  min-height:calc(1.5em * 3);
  max-height:calc(1.5em * 3);
}

/* ==================================================
   BUTTON
================================================== */

.packs-preview-card__btn{
  width:100%;
  min-height:44px;

  margin-top:auto;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 14px;

  border-radius:10px;
  border:2px solid #3498db;

  background:#fff;
  color:#0b6fb8;

  font-size:20px;
  font-weight:700;
  text-decoration:none;

  transition:all .2s ease;
}

.packs-preview-card__btn svg{
  width:18px;
  height:18px;
  flex:0 0 auto;
}

.packs-preview-card__btn:hover{
  background:#f0f8ff;
}

.packs-preview-card.is-active .packs-preview-card__btn{
  background:#3498db;
  color:#fff;
  border-color:#3498db;
}

.packs-preview-card.is-active .packs-preview-card__btn:hover{
  background:#2487ca;
  border-color:#2487ca;
}

/* ==================================================
   FRECCE LATERALI
================================================== */

.packs-slider__nav{
  position:absolute;
  top:50%;
  left:0;
  right:0;

  transform:translateY(-50%);

  pointer-events:none;
  z-index:20;
}

.packs-slider__arrow{
  position:absolute;

  width:52px;
  height:52px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:0;
  border-radius:50%;

  cursor:pointer;

  pointer-events:auto;

  transition:all .25s ease;

  box-shadow:
    0 8px 22px rgba(0,0,0,.15),
    0 2px 6px rgba(0,0,0,.08);
}

.packs-slider__arrow svg{
    width:42px;
    height:42px;
}

.packs-slider__arrow--prev{
  left:-26px;
  background:#fff;
  color:#0b6fb8;
}

.packs-slider__arrow--next{
  right:-26px;
  background:#0b6fb8;
  color:#fff;
}

.packs-slider__arrow:hover{
  transform:scale(1.08);
}

.packs-slider__arrow:disabled{
  opacity:.35;
  cursor:not-allowed;
  transform:none;
}

/* ==================================================
   CTA
================================================== */

.packs-preview__cta{
  text-align:center;
  margin-top:40px;
}

.btn-packs-all{
  display:inline-block;

  padding:16px 32px;

  background:linear-gradient(135deg,#0b6fb8,#095a94);
  color:#fff;

  font-size:14px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;

  border-radius:10px;

  text-decoration:none;

  transition:all .25s ease;
}

.btn-packs-all:hover{
  background:linear-gradient(135deg,#095a94,#074a7a);
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(11,111,184,.25);
}

/* ==================================================
   TABLET
================================================== */

@media (max-width:980px){

  .packs-preview-card{
    flex:0 0 calc((100% - 22px) / 2);
  }

  .packs-preview-card__title{
    font-size:22px;
  }

  .packs-slider__arrow--prev{
    left:-14px;
  }

  .packs-slider__arrow--next{
    right:-14px;
  }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width:680px){

  .packs-preview{
    padding:46px 0 42px;
  }

  .packs-preview__title{
    font-size:30px;
  }

  .packs-slider{
    padding:0;
  }

  .packs-preview-card{
    flex:0 0 100%;
    padding:16px;
  }

  .packs-preview-card__media{
    height:130px;
  }

  .packs-preview-card__title{
    font-size:22px;
    display:block;
    min-height:auto;
    max-height:none;
  }

  .packs-preview-card__text{
    display:block;
    min-height:auto;
    max-height:none;
  }

  .packs-preview-card__btn{
    font-size:18px;
  }

  .packs-slider__nav{
    position:static;
    transform:none;

    display:flex;
    justify-content:center;
    gap:12px;

    margin-top:22px;
  }

  .packs-slider__arrow{
    position:static;

    width:40px;
    height:40px;

    border-radius:10px;
  }

  .packs-slider__arrow svg{
    width:18px;
    height:18px;
  }
}

/* ===== ARCHIVIO PACCHETTI (stesse card della home, senza slider) ===== */

.packs-archive{
    padding-top: 40px;
    padding-bottom: 80px;
}

.packs-slider__track--archive{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;

  transform:none !important;
  transition:none !important;
  will-change:auto;

  width:100%;
}

.packs-slider__track--archive .packs-preview-card{
  flex:none;
}

@media (max-width:980px){

  .packs-slider__track--archive{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}

@media (max-width:680px){

  .packs-slider__track--archive{
    grid-template-columns:1fr;
  }

}

/* ==================================================
   PARTNER / IMPRESE
================================================== */

.packs-partners{
    margin-top:40px;
    margin-bottom:36px;
}

.packs-partners__head{
    text-align:center;
    margin-bottom:24px;
}

.packs-partners__head h3{
    margin:0 0 8px;
    font-size:24px;
    font-weight:800;
    color:#0b6fb8;
}

.packs-partners__head p{
    margin:0;
    color:#6b7280;
    font-size:15px;
    line-height:1.5;
}

.packs-partners__grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px 28px;
    align-items:center;
}

.packs-partners__item{
    display:flex;
    align-items:center;
    justify-content:center;

    min-height:70px;

    padding:10px;
}

.packs-partners__item img{
    max-width:140px;
    max-height:48px;

    width:auto;
    height:auto;

    opacity:.70;
    filter:grayscale(100%);

    transition:
        opacity .25s ease,
        filter .25s ease,
        transform .25s ease;
}

.packs-partners__item:hover img{
    opacity:1;
    filter:none;
    transform:scale(1.05);
}

/* ==========================
   TABLET
========================== */

@media (max-width:980px){

    .packs-partners__grid{
        grid-template-columns:repeat(4,1fr);
        gap:18px;
    }

    .packs-partners__item img{
        max-width:120px;
        max-height:42px;
    }
}

/* ==========================
   MOBILE
========================== */

@media (max-width:680px){

    .packs-partners{
        margin-top:28px;
        margin-bottom:28px;
    }

    .packs-partners__head h3{
        font-size:20px;
    }

    .packs-partners__grid{
        grid-template-columns:repeat(2,1fr);
        gap:14px;
    }

    .packs-partners__item{
        min-height:60px;
    }

    .packs-partners__item img{
        max-width:110px;
        max-height:36px;
    }
}

/* -------------- PACK CATEGORY DETAIL LIST CHILDS --------------- */
.package-category-detail{
  padding: 40px 0 72px;
}

.package-category-detail__breadcrumbs{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #6b7280;
}

.package-category-detail__breadcrumbs a{
  color: #0b6fb8;
  text-decoration: none;
}

.package-category-detail__breadcrumbs a:hover{
  text-decoration: underline;
}

.package-category-detail__hero{
  margin-bottom: 30px;
  padding: 34px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  border: 1px solid #d9e6f2;
}

.package-category-detail__hero-content{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
}

.package-category-detail__title{
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #0b6fb8;
}

.package-category-detail__subtitle{
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.65;
  color: #4b5563;
}

.package-category-detail__hero-media img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.package-category-detail__intro{
  display: grid;
  grid-template-columns: minmax(0, 2fr) 300px;
  gap: 28px;
  margin-bottom: 42px;
}

.package-category-detail__description{
  padding: 28px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.package-category-detail__description p{
  margin: 0 0 18px;
}

.package-category-detail__description p:last-child{
  margin-bottom: 0;
}

.package-category-detail__description ul{
  margin: 18px 0 0 18px;
  padding: 0;
}

.package-category-detail__description li{
  margin-bottom: 10px;
}

.package-category-detail__intro-side{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.package-category-detail__info-box{
  padding: 24px;
  border-radius: 18px;
  background: #0b6fb8;
  color: #fff;
  box-shadow: 0 12px 28px rgba(11,111,184,0.20);
}

.package-category-detail__info-label{
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.78);
}

.package-category-detail__info-value{
  display: block;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
}

.package-category-detail__btn-back{
  display: block;
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b6fb8, #095a94);
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: all .25s ease;
}

.package-category-detail__btn-back:hover{
  transform: translateY(-2px);
  background: linear-gradient(135deg, #095a94, #074a7a);
  box-shadow: 0 10px 24px rgba(11,111,184,0.22);
}

.package-category-detail__children-head{
  margin-bottom: 22px;
}

.package-category-detail__children-title{
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b6fb8;
}

.package-category-detail__children-subtitle{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #64748b;
}

.package-category-detail__children-list{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.package-row-card{
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dbe3ee;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.package-row-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.package-row-card__media img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.package-row-card__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 28px;
}

.package-row-card__title{
  margin: 0 0 12px;
  font-size: 31px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.package-row-card__text{
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.7;
  color: #475569;
}

.package-row-card__actions{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.package-row-card__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b6fb8, #095a94);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: all .25s ease;
}

.package-row-card__btn:hover{
  transform: translateY(-2px);
  background: linear-gradient(135deg, #095a94, #074a7a);
}

.package-row-card__link{
  font-size: 14px;
  font-weight: 700;
  color: #0b6fb8;
  text-decoration: none;
}

.package-row-card__link:hover{
  text-decoration: underline;
}

@media (max-width: 1100px){
  .package-category-detail__hero-content{
    grid-template-columns: 1fr;
  }

  .package-category-detail__intro{
    grid-template-columns: 1fr;
  }

  .package-row-card{
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

@media (max-width: 767px){
  .package-category-detail{
    padding: 32px 0 56px;
  }

  .package-category-detail__hero{
    padding: 22px 18px;
  }

  .package-category-detail__title{
    font-size: 30px;
  }

  .package-category-detail__subtitle{
    font-size: 16px;
  }

  .package-category-detail__description{
    padding: 22px 18px;
    font-size: 15px;
  }

  .package-category-detail__info-value{
    font-size: 24px;
  }

  .package-row-card{
    grid-template-columns: 1fr;
  }

  .package-row-card__media img{
    min-height: auto;
    height: auto;
  }

  .package-row-card__content{
    padding: 20px 18px;
  }

  .package-row-card__title{
    font-size: 24px;
  }

  .package-row-card__text{
    font-size: 15px;
  }

  .package-row-card__actions{
    flex-direction: column;
    align-items: stretch;
  }

  .package-row-card__btn{
    width: 100%;
  }
}

.package-row-card__link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0b6fb8;
  text-decoration: none;
  transition: all .2s ease;
}

.package-row-card__arrow{
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.package-row-card__link:hover{
  color: #095a94;
}

.package-row-card__link:hover .package-row-card__arrow{
  transform: translateX(3px);
}

.breadcrumb-home{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b6fb8;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-home__icon{
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.breadcrumb-home:hover{
  text-decoration: underline;
}

/* ------------ PACK DETAIL FORMULA -------------- */

/* ------------------ End Packs css ------------------ */

/* --------------- SIMULATOR FORMULA PAGE -------------- */

.simulator-page{
  padding: 38px 0 72px;
}

.simulator-page__breadcrumbs{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: #6b7280;
}

.simulator-page__breadcrumbs a{
  color: #0b6fb8;
  text-decoration: none;
}

.simulator-page__breadcrumbs a:hover{
  text-decoration: underline;
}


/* HERO */
.simulator-hero{
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f9fbff 0%, #eef5fb 100%);
  border: 1px solid #dbe6f2;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  margin-bottom: 28px;
}

.simulator-hero__visual img{
  width: 100%;
  display: block;
  border-radius: 18px;
  max-height: 420px;
  object-fit: cover;
}

.simulator-hero__content{
  display: grid;
  grid-template-columns: minmax(0, 2fr) 360px;
  gap: 22px;
  margin-top: 20px;
  align-items: stretch;
}

.simulator-hero__main{
  padding: 28px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.simulator-hero__eyebrow{
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b6fb8;
}

.simulator-hero__title{
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.simulator-hero__desc{
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
}

.simulator-hero__side{
  display: flex;
}

.simulator-hero__info-box{
  width: 100%;
  padding: 26px 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.simulator-hero__info-title{
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  color: #0b6fb8;
}

.simulator-hero__info-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.simulator-hero__info-item{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
}

.simulator-hero__info-item:first-child{
  padding-top: 0;
}

.simulator-hero__info-item:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.simulator-hero__info-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background: #eef6fd;
  color: #0b6fb8;
}

.simulator-hero__info-icon svg{
  width: 18px;
  height: 18px;
}

.simulator-hero__info-content{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.simulator-hero__info-label{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.simulator-hero__info-value{
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: #0f172a;
}

.simulator-hero__info-link{
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: #0b6fb8;
  text-decoration: none;
  word-break: break-word;
}

.simulator-hero__info-link:hover{
  text-decoration: underline;
}


/* CALC */
.simulator-calc{
  margin-bottom: 30px;
  padding: 28px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #dbe3ee;
}

.simulator-calc__head{
  text-align: center;
  margin-bottom: 22px;
}

.simulator-calc__title{
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b6fb8;
}

.simulator-calc__subtitle{
  margin: 0;
  color: #64748b;
  line-height: 1.7;
  font-size: 16px;
}

.simulator-calc__description{
  margin-bottom: 22px;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
}

.simulator-calc__description p{
  margin: 0 0 16px;
}

.simulator-calc__description p:last-child{
  margin-bottom: 0;
}

.simulator-calc__description ul{
  margin: 16px 0 0 18px;
  padding: 0;
}

.simulator-calc__description li{
  margin-bottom: 8px;
}

.simulator-calc__formwrap{
  margin-top: 8px;
}

.simulator-calc__form{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
}

.simulator-field{
  min-width: 0;
}

.simulator-field__label{
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.simulator-field__control{
  position: relative;
}

.simulator-field__input{
  width: 100%;
  height: 58px;
  padding: 0 16px;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  font-size: 16px;
  font-weight: 500;
  color: #334155;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.simulator-field__input::placeholder{
  color: #64748b;
  opacity: 1;
}

.simulator-field__input:focus{
  border-color: #0b6fb8;
  box-shadow: 0 0 0 4px rgba(11,111,184,0.10);
}

.simulator-field__input--number{
  padding-right: 16px;
}

.simulator-calc__action{
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2px;
}


/* BUTTONS */
.simulator-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all .25s ease;
}

.simulator-btn__arrow{
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.simulator-btn:hover .simulator-btn__arrow{
  transform: translateX(3px);
}

.simulator-btn--primary{
  min-width: 320px;
  color: #fff;
  background: linear-gradient(135deg, #4ea0e8, #6ec1ff);
  box-shadow: 0 10px 24px rgba(78,160,232,0.28);
}

.simulator-btn--primary:hover{
  transform: translateY(-2px);
}

.simulator-btn--formula{
  min-width: 270px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #4d98de, #68b8f6);
  box-shadow: 0 10px 22px rgba(77,152,222,0.26);
}

.simulator-btn--formula:hover{
  transform: translateY(-2px);
}

.simulator-btn--success{
  min-width: 420px;
  color: #fff;
  background: linear-gradient(135deg, #8ac53f, #79b82f);
  box-shadow: 0 10px 24px rgba(138,197,63,0.28);
}

.simulator-btn--success:hover{
  transform: translateY(-2px);
}

.simulator-btn--contact{
  min-width: 260px;
  color: #fff;
  background: linear-gradient(135deg, #33b74a, #2ea543);
  box-shadow: 0 10px 24px rgba(51,183,74,0.22);
}

.simulator-btn--back{
  min-width: 240px;
  color: #0b6fb8;
  background: #fff;
  border: 1px solid #cfe0f0;
}

.simulator-btn--back:hover{
  transform: translateY(-2px);
  background: #f8fbff;
}

.simulator-btn__arrow--left{
  transform: none;
}

.simulator-btn--back:hover .simulator-btn__arrow--left{
  transform: translateX(-3px);
}


/* RESULT */
.simulator-result{
  margin-bottom: 34px;
}

.simulator-result__head{
  margin-bottom: 14px;
}

.simulator-result__title{
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  color: #0b6fb8;
}

.simulator-result__meta{
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.simulator-table-wrap{
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid #dbe3ee;
  background: #fff;
}

.simulator-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
}

.simulator-table thead th{
  padding: 16px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  background: #f8fafc;
  border-bottom: 1px solid #dbe3ee;
}

.simulator-table tbody td{
  padding: 16px 14px;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
}

.simulator-table__thumb{
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #3b93d1;
}

.simulator-table__subtotal{
  font-weight: 800;
  color: #16a34a;
}

.simulator-table__actions{
  display: flex;
  align-items: center;
  gap: 8px;
}

.simulator-qty-btn{
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all .2s ease;
}

.simulator-qty-btn--plus{
  background: #3b93d1;
  color: #fff;
}

.simulator-qty-btn--minus{
  background: #dbe7f3;
  color: #4b5563;
}

.simulator-result__cta{
  margin-top: 22px;
  text-align: center;
}


/* SUPPORT */
.simulator-support{
  margin-top: 34px;
}

.simulator-support__inner{
  padding: 30px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  border: 1px solid #dbe6f2;
  text-align: center;
}

.simulator-support__title{
  margin: 0 0 18px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
  font-weight: 800;
  color: #0b6fb8;
}

.simulator-support__actions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* CONTACT */
.simulator-contact{
  overflow: hidden;
  border-radius: 24px;
  background: #f4f7fc;
  border: 1px solid #dbe3ee;
}

.simulator-contact__head{
  padding: 28px 24px;
  text-align: center;
  background: #dfe8f6;
}

.simulator-contact__title{
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #4b88d3;
}

.simulator-contact__body{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: 20px;
  align-items: center;
  padding: 28px;
}

.simulator-contact__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.simulator-contact__form input,
.simulator-contact__form textarea{
  width: 100%;
  border: 1px solid #d5deea;
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  font-size: 15px;
  color: #0f172a;
  outline: none;
}

.simulator-contact__form textarea{
  resize: vertical;
  margin-bottom: 16px;
}

.simulator-contact__form input:focus,
.simulator-contact__form textarea:focus{
  border-color: #0b6fb8;
  box-shadow: 0 0 0 4px rgba(11,111,184,0.08);
}

.simulator-contact__illustration{
  text-align: center;
}

.simulator-contact__illustration img{
  max-width: 100%;
  height: auto;
}


/* ACCESSIBILITY */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* RESPONSIVE */
@media (max-width: 1100px){
  .simulator-hero__content{
    grid-template-columns: 1fr;
  }

  .simulator-contact__body{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px){
  .simulator-page{
    padding: 28px 0 56px;
  }

  .simulator-hero,
  .simulator-calc{
    padding: 18px;
  }

  .simulator-hero__title{
    font-size: 28px;
  }

  .simulator-calc__form{
    grid-template-columns: 1fr;
  }

  .simulator-btn--primary,
  .simulator-btn--formula,
  .simulator-btn--success,
  .simulator-btn--contact,
  .simulator-btn--back{
    width: 100%;
    min-width: 0;
  }

  .simulator-contact__grid{
    grid-template-columns: 1fr;
  }

  .simulator-contact__body{
    padding: 20px 18px;
  }

  .simulator-contact__title{
    font-size: 28px;
  }

  .simulator-hero__main,
  .simulator-hero__info-box,
  .simulator-calc__description{
    padding: 22px 18px;
  }

  .simulator-hero__info-title{
    font-size: 20px;
  }

  .simulator-hero__info-item{
    gap: 10px;
  }

  .simulator-hero__info-icon{
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .simulator-hero__info-icon svg{
    width: 16px;
    height: 16px;
  }

  .simulator-support__actions{
    flex-direction: column;
  }
}

/* =========================
   SIMULATORE RISULTATI
========================= */
.simulator-results-wrap{
  margin-top: 34px;
}


.simulator-results-head{
  text-align: center;
  margin: 50px 0 28px;
}

@media (max-width: 768px){
  .simulator-results-head{
    margin: 32px 0 20px;
  }
}

.simulator-results-title{
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.3;
  font-weight: 800;
  color: #1b2a3a;
  letter-spacing: -0.015em;
  text-align: center;
}

.simulator-results-title{
  max-width: 720px;
  margin: 0 auto;
}

.simulator-results-title span{
  color: #0b6fb8;
  font-weight: 800;
}

/* =========================
   TABELLA
========================= */
.simulator-materials-table-wrap{
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border-radius: 24px;
}

.simulator-materials-table{
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fff;
}

.simulator-materials-table thead th{
  padding: 0 14px 14px;
  font-size: 17px;
  font-weight: 700;
  color: #525b69;
  text-align: left;
  border-bottom: 1px solid #dfe4ea;
  white-space: nowrap;
}

.simulator-materials-table tbody td{
  padding: 18px 14px;
  vertical-align: middle;
  border-bottom: 1px solid #e8edf2;
  font-size: 18px;
  color: #26364d;
}

.simulator-materials-table tbody tr:last-child td{
  border-bottom: 0;
}

/* larghezze colonne */
.simulator-materials-table .col-image{ width: 120px; }
.simulator-materials-table .col-product{ width: 42%; }
.simulator-materials-table .col-total{ width: 13%; }
.simulator-materials-table .col-order{ width: 11%; }
.simulator-materials-table .col-price{ width: 12%; }
.simulator-materials-table .col-subtotal{ width: 12%; }

/* =========================
   THUMB
========================= */
.simulator-material-thumb{
  width: 74px;
  height: 74px;
  border-radius: 10px;
  background: #4a97cf;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.simulator-material-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

/* =========================
   CELLE
========================= */
.cell-product{
  line-height: 1.35;
}

.simulator-product-name{
  font-size: 18px;
  font-weight: 500;
  color: #4c5564;
}

.simulator-product-unit{
  margin-top: 4px;
  font-size: 15px;
  color: #7a8596;
}

.cell-total,
.cell-order,
.cell-price,
.cell-subtotal{
  font-size: 18px;
  color: #4a5565;
}

.cell-price{
  font-weight: 700;
  color: #202938;
}

.cell-price del,
.cell-price .old-price{
  color: #8f99a7;
  margin-right: 6px;
}

.simulator-subtotal-ok{
  color: #35b54a;
  font-weight: 800;
}

.simulator-subtotal-ko{
  color: #d94c4c;
  font-weight: 800;
}

.simulator-product-stock-note{
  margin-top: 8px;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #d94c4c;
  background: #ffe9e9;
  border-radius: 999px;
  padding: 5px 10px;
}

.simulator-materials-table tbody tr.is-unavailable{
  background: #fffafa;
}

/* =========================
   FOOTER
========================= */
.simulator-results-footer{
  margin-top: 26px;
}

.simulator-add-all-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 62px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3f8fd2 0%, #6db9f0 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  box-shadow: 0 10px 28px rgba(63, 143, 210, .22);
}

.simulator-add-all-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(63, 143, 210, .28);
}

.simulator-add-all-total{
  font-weight: 700;
  opacity: .96;
}

.simulator-cart-msg{
  margin-top: 18px;
  border-radius: 20px;
  background: #effaf2;
  border: 1px solid #cfead7;
  padding: 18px 20px;
}

.simulator-cart-msg-title{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #1c6b33;
}

.simulator-cart-msg-text{
  font-size: 15px;
  line-height: 1.45;
  color: #3f5b49;
}

.simulator-cart-msg-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.simulator-cart-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .18s ease;
}

.simulator-cart-link--cart{
  background: #fff6df;
  color: #9f6b00;
  border: 1px solid #f2d38a;
}

.simulator-cart-link--checkout{
  background: #e8f2ff;
  color: #0b6fb8;
  border: 1px solid #bcd7f2;
}

.simulator-cart-link:hover{
  opacity: .9;
  text-decoration: none;
}

/* =========================
   MOBILE LABELS
========================= */
.simulator-mobile-label{
  display: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991.98px){
  .simulator-results-title{
    font-size: 28px;
  }

  .simulator-materials-table{
    min-width: 860px;
  }

  .simulator-materials-table thead th{
    font-size: 15px;
  }

  .simulator-materials-table tbody td{
    font-size: 16px;
  }

  .simulator-product-name{
    font-size: 16px;
  }
}

@media (max-width: 767.98px){
  .simulator-results-wrap{
    margin-top: 26px;
  }

  .simulator-results-title{
    font-size: 24px;
    line-height: 1.2;
  }

  .simulator-materials-table-wrap{
    overflow: visible;
    background: transparent;
    border-radius: 0;
  }

  .simulator-materials-table{
    min-width: 100%;
    border-collapse: separate;
  }

  .simulator-materials-table thead{
    display: none;
  }

  .simulator-materials-table,
  .simulator-materials-table tbody,
  .simulator-materials-table tr,
  .simulator-materials-table td{
    display: block;
    width: 100%;
  }

  .simulator-materials-table tbody tr{
    background: #fff;
    border: 1px solid #e7edf3;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(14, 34, 68, .05);
  }

  .simulator-materials-table tbody td{
    border: 0;
    padding: 0;
    margin-bottom: 10px;
  }

  .simulator-materials-table tbody td:last-child{
    margin-bottom: 0;
  }

  .cell-image{
    margin-bottom: 14px !important;
  }

  .simulator-material-thumb{
    width: 68px;
    height: 68px;
  }

  .simulator-mobile-label{
    display: inline;
    font-weight: 700;
    color: #0e2244;
  }

  .cell-total,
  .cell-order,
  .cell-price,
  .cell-subtotal{
    font-size: 15px;
  }

  .simulator-add-all-btn{
    min-height: 56px;
    font-size: 16px;
    padding: 14px 18px;
  }
}
/* -------------------- END SIMULATOR ------------------ */

/* =========================
   FOOTER RISULTATI
========================= */
.simulator-results-footer{
  margin-top: 34px;
}

/* =========================
   INFOBOX TOTALE
========================= */
.simulator-total-box{
  background: linear-gradient(135deg, #eef6ff 0%, #f7fbff 100%);
  border: 1px solid #d8e8f7;
  border-radius: 26px;
  padding: 24px 28px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: 0 10px 28px rgba(15, 56, 96, .05);
}

.simulator-total-box__label{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6e7f92;
  margin-bottom: 8px;
}

.simulator-total-box__value{
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 800;
  color: #0b6fb8;
  margin-bottom: 10px;
}

.simulator-total-box__desc{
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.55;
  color: #5f6f82;
}

/* =========================
   BOX PREVENTIVO
========================= */
.simulator-quote-box{
  background: #ffffff;
  border: 1px solid #dfe7f0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 40, 70, .05);
}

.simulator-quote-box__head{
  background: #dfe5f3;
  padding: 24px 24px 22px;
  text-align: center;
}

.simulator-quote-box__title{
  margin: 0;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  color: #4b86cf;
  letter-spacing: -0.02em;
}

.simulator-quote-box__body{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 34px 40px 38px;
  background: #ffffff;
}

.simulator-quote-box__form-col{
  flex: 1 1 58%;
  min-width: 0;
}

.simulator-quote-box__image-col{
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simulator-quote-box__image{
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   FORM PREVENTIVO
========================= */
.simulator-quote-form{
  width: 100%;
}

.simulator-quote-form__row{
  margin-bottom: 16px;
}

.simulator-quote-form__row--2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.simulator-quote-form__field{
  width: 100%;
}

.simulator-quote-form__input,
.simulator-quote-form__textarea{
  width: 100%;
  border: 0;
  outline: 0;
  background: #eef0f8;
  color: #314257;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #e1e6f0;
  font-size: 15px;
  font-weight: 500;
  transition: box-shadow .18s ease, background .18s ease;
}

.simulator-quote-form__input{
  height: 50px;
  padding: 0 16px;
}

.simulator-quote-form__textarea{
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.simulator-quote-form__input::placeholder,
.simulator-quote-form__textarea::placeholder{
  color: #9aa8ba;
}

.simulator-quote-form__input:focus,
.simulator-quote-form__textarea:focus{
  background: #f4f7fd;
  box-shadow: inset 0 0 0 2px #8ab8e4;
}

.simulator-quote-form__actions{
  margin-top: 6px;
}

.simulator-quote-form__submit{
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 12px;
  padding: 0 24px;
  background: #38b84a;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  box-shadow: 0 10px 24px rgba(56, 184, 74, .22);
}

.simulator-quote-form__submit:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(56, 184, 74, .28);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991.98px){
  .simulator-quote-box__body{
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 28px 24px 30px;
  }

  .simulator-quote-box__image-col{
    flex: 0 0 auto;
    order: 2;
  }

  .simulator-quote-box__form-col{
    order: 1;
  }

  .simulator-quote-box__image{
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px){
  .simulator-total-box{
    padding: 20px 18px;
    margin-bottom: 22px;
    border-radius: 20px;
  }

  .simulator-total-box__label{
    font-size: 12px;
  }

  .simulator-total-box__value{
    font-size: 32px;
  }

  .simulator-total-box__desc{
    font-size: 14px;
  }

  .simulator-quote-box{
    border-radius: 22px;
  }

  .simulator-quote-box__head{
    padding: 20px 16px 18px;
  }

  .simulator-quote-box__title{
    font-size: 22px;
    line-height: 1.25;
  }

  .simulator-quote-box__body{
    padding: 22px 16px 24px;
  }

  .simulator-quote-form__row--2{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .simulator-quote-form__input{
    height: 48px;
  }

  .simulator-quote-form__textarea{
    min-height: 110px;
  }

  .simulator-quote-form__submit{
    width: 100%;
    min-width: 0;
    height: 52px;
    font-size: 15px;
  }

  .simulator-quote-box__image{
    max-width: 220px;
  }
}

.simulator-quote-form__textarea{
  min-height: 160px;        /* prima era troppo bassa */
  padding: 18px 18px;       /* più aria dentro */
  line-height: 1.5;
  resize: vertical;
  min-height: 180px;
}

.simulator-quote-form__msg{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.simulator-quote-form__msg--success{
  background: #edf9f0;
  border: 1px solid #bfe4c7;
  color: #1f6b33;
}

.simulator-quote-form__msg--error{
  background: #fff1f1;
  border: 1px solid #f0c2c2;
  color: #a12b2b;
}

.simulator-quote-form__submit.is-loading{
  opacity: .7;
  pointer-events: none;
}
/* -------------- END SIMULATOR ---------------- */

/* -------------- CONTACTS PAGE ---------------- */
.contact-page{
  width: 100%;
  background: #f6f9fc;
  color: #122033;
}

.contact-hero{
  padding: 86px 20px 72px;
  background: linear-gradient(135deg, #0b6fb8 0%, #074e84 100%);
  color: #fff;
}

.contact-hero__inner{
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-hero__eyebrow{
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-hero__title{
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.contact-hero__text{
  max-width: 760px;
  margin: 22px auto 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: rgba(255,255,255,.9);
}

.contact-section{
  padding: 70px 20px 90px;
}

.contact-container{
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-grid{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.contact-info{
  display: grid;
  gap: 18px;
}

.contact-card{
  padding: 26px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(18,32,51,.08);
  box-shadow: 0 18px 55px rgba(12,33,58,.08);
}

.contact-card--main{
  background: #0b6fb8;
  color: #fff;
}

.contact-card__title{
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.contact-card__text{
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
}

.contact-card__desc{
  margin: 0;
  color: rgba(255,255,255,.88);
  line-height: 1.65;
}

.contact-card__subtitle{
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 900;
  color: #0b6fb8;
  letter-spacing: -0.025em;
}

.contact-line{
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(18,32,51,.08);
}

.contact-line:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-line__label{
  color: #5d6b7a;
  font-size: 14px;
  font-weight: 700;
}

.contact-line__value{
  color: #122033;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.contact-address{
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(18,32,51,.08);
}

.contact-address:first-of-type{
  padding-top: 0;
}

.contact-address:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-address strong{
  color: #122033;
  font-size: 17px;
  font-weight: 900;
}

.contact-address span{
  color: #5d6b7a;
  line-height: 1.45;
}

.contact-action{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  color: #122033;
  text-decoration: none;
  border-bottom: 1px solid rgba(18,32,51,.08);
  transition: color .2s ease, transform .2s ease;
}

.contact-action:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-action:hover{
  color: #0b6fb8;
  transform: translateX(3px);
}

.contact-action__icon{
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,111,184,.1);
  color: #0b6fb8;
  font-size: 18px;
}

.contact-action strong{
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  color: #5d6b7a;
}

.contact-form-wrap{
  position: sticky;
  top: 24px;
}

.contact-form{
  padding: clamp(28px, 4vw, 42px);
  border-radius: 34px;
  background: #fff;
  border: 1px solid rgba(18,32,51,.08);
  box-shadow: 0 24px 70px rgba(12,33,58,.12);
}

.contact-form__eyebrow{
  display: inline-flex;
  margin-bottom: 12px;
  color: #0b6fb8;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-form__title{
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: #122033;
}

.contact-form__text{
  margin: 16px 0 28px;
  color: #5d6b7a;
  font-size: 16px;
  line-height: 1.6;
}

.contact-form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-field{
  margin-bottom: 17px;
}

.contact-field__label{
  display: block;
  margin-bottom: 8px;
  color: #122033;
  font-size: 14px;
  font-weight: 800;
}

.contact-required{
  color: #dc2626;
}

.contact-field__input,
.contact-field__textarea{
  width: 100%;
  border: 1px solid rgba(18,32,51,.14);
  border-radius: 18px;
  background: #f8fafc;
  color: #122033;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.contact-field__input{
  height: 54px;
  padding: 0 17px;
}

.contact-field__textarea{
  min-height: 142px;
  resize: vertical;
  padding: 16px 17px;
  line-height: 1.55;
}

.contact-field__input:focus,
.contact-field__textarea:focus{
  border-color: #0b6fb8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11,111,184,.12);
}

.contact-field__input::placeholder,
.contact-field__textarea::placeholder{
  color: #94a3b8;
}

.contact-privacy{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 22px;
  color: #5d6b7a;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.contact-privacy input{
  margin-top: 3px;
  accent-color: #0b6fb8;
}

.contact-form__submit{
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: #0b6fb8;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(11,111,184,.28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form__submit:hover{
  background: #095f9e;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(11,111,184,.34);
}

.contact-form__submit:active{
  transform: translateY(0);
}

.contact-form__submit.is-loading{
  opacity: .72;
  cursor: wait;
  pointer-events: none;
}

.contact-form__msg{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.contact-form__msg.is-success{
  background: rgba(22,163,74,.1);
  color: #15803d;
}

.contact-form__msg.is-error{
  background: rgba(220,38,38,.1);
  color: #b91c1c;
}

.d_none{
  display: none !important;
}

@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
  }

  .contact-form-wrap{
    position: static;
  }
}

@media (max-width: 640px){
  .contact-hero{
    padding: 66px 18px 56px;
  }

  .contact-section{
    padding: 46px 16px 64px;
  }

  .contact-card,
  .contact-form{
    border-radius: 24px;
  }

  .contact-form__row{
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-line{
    display: grid;
    gap: 5px;
  }

  .contact-line__value{
    text-align: left;
  }
}

.contact-hp{
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* ----------- END CONTACTS PAGE --------------- */