
 :root{
    --muted: #f4f6f8;
    --line: #e7ebee;
    --card: #ffffff;
    --accent: #3f88f4;
  }

 

  .tariffe-wrap{
    max-width: 980px;
    width: 100%;
    margin: 24px auto;
    padding: 0 16px;

    font-family: "Lora", sans-serif; 

    
  }

  .table-scroll{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
  }

  /* STILE DESKTOP/TABLET (tabella classica) */
  .tab-tariffe{
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
  }
  .tab-tariffe thead th{
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    text-align: center;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    letter-spacing: .2px;
    line-height: 1.2;
  }
  .tab-tariffe tbody th,
  .tab-tariffe tbody td{
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
  }
  .tab-tariffe tbody th{
    text-align: left;
    font-weight: 600;
  }
  .tab-tariffe tbody td{
    text-align: center;
    font-weight: 500;
  }
  .tab-tariffe tbody tr:nth-child(even){ background: var(--muted); }
  .tab-tariffe tbody tr:hover{ background: #eef3ff; }

  /* BOTTONE RITORNO */
  .btn-return{
    display: inline-block;
    font-family: "Lora", sans-serif;
    margin: 16px 0 0;
    padding: .75em 1.1em;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
    box-shadow: 0 6px 14px rgba(63,136,244,.25);
  }
  .btn-return:hover{ transform: translateY(-1px); filter: brightness(1.05); }
  .btn-return:focus{ outline: 3px solid rgba(63,136,244,.35); outline-offset: 2px; }
  .btn-return:active{ transform: translateY(0); }

  /* MOBILE: trasformo le righe in CARD */
  @media (max-width: 300px){
    .tab-tariffe{ border-radius: 0; box-shadow: none; }
    .table-scroll{ overflow: visible; } /* niente scroll orizzontale */

    .tab-tariffe thead{ display: none; }
    .tab-tariffe tbody,
    .tab-tariffe tr,
    .tab-tariffe th,
    .tab-tariffe td{ display: block; width: 100%; border: 0; }

    .tab-tariffe tbody tr{
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 16px;
      box-shadow: 0 6px 18px rgba(0,0,0,.05);
      padding: 10px 12px;
      margin: 0 0 12px;
    }

    /* intestazione card (ex th scope=row) */
    .tab-tariffe tbody th[scope="row"]{
      font-family: "Lora", sans-serif;
      font-weight: 600;
      font-size: 1.05rem;
      line-height: 1.3;
      margin: 4px 0 10px;
      padding: 0;
    }

    /* etichette per le celle dati */
    .tab-tariffe tbody td{
      padding: 8px 0;
      font-weight: 500;
      text-align: left; /* in card allinea a sinistra */
      border-bottom: 0;
    }
    .tab-tariffe tbody td + td{ border-top: 1px dashed var(--line); }

    .tab-tariffe tbody td::before{
      content: attr(data-label);
      display: block;
      font-size: .9rem;
      color: #68727b;
      margin-bottom: 4px;
      font-weight: 600;
      letter-spacing: .2px;
    }
  }

  .title-intro{
	
	text-align: center;
  font-weight: 500;
  font-size: 25px;
  line-height: 1.6;
  margin-top: 60px;
  white-space: normal;
  word-wrap: break-word;
  width: 90%;
  overflow-wrap: break-word;
  
  
  
 
  
  
 
}


.colors {
      background: linear-gradient(blue, rgb(129, 140, 192)) !important;
      min-height: 100vh;
      line-height: 2;
      background-size: cover;
      background-attachment: fixed;
    }


    @media (max-width: 769px) {
    

    .btn-return{
        max-width: 500px;
        width: auto;
        text-align: center;
        margin-left: 24px;
        margin-right: auto;

    }







   
}




