.pricing-table--card{
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,.15);
  color: #FFFFFF;
}

.soci-card{ background: #1E293B; }
.nonsoci-card{ background: #0F766E; }

.pricing-header{
  padding: 24px 20px 16px;
  text-align: center;
}

.pricing-header h5{
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pricing-info{
  font-size: .95rem;
  line-height: 1.5;
  opacity: .95;
  max-width: 340px;
  margin: 0 auto;
}

.pricing-info strong{ color: #7DD3FC; }

.pricing-info.highlight{
  font-weight: 800;
  letter-spacing: .08em;
  color: #99F6E4;
}

.pricing-body{
  padding: 16px 20px 24px;
}

.pricing-body p{ margin-bottom: 14px; }

.pricing-body input[type="text"],
.pricing-body input[type="password"]{
  width: 100% !important;
  max-width: 280px;
  border-radius: 10px;
  padding: 8px 10px;
  border: none;
}

.pricing-body input[type="submit"],
.pricing-body button{
  border-radius: 999px;
  padding: 8px 28px;
  background: rgba(255,255,255,.15);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,.35);
  transition: all .25s ease;
}

.pricing-body input[type="submit"]:hover{
  background: #FFFFFF;
  color: #1E293B;
}

.pricing-links{
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  text-align: center;
}

.pricing-links li{ margin-top: 10px; }

.pricing-links a{
  color: rgba(255,255,255,.85);
  text-decoration: none;
}

.pricing-links a:hover{
  color: #FFFFFF;
  text-decoration: underline;
}

.pricing-label span{
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8rem;
}

@media (max-width: 575px){
  .pricing-header h5{ font-size: 1.05rem; }
  .pricing-info{ font-size: .9rem; }
}

/* ================= LARGHEZZA E DISTANZA ================= */

/* rende i box più larghi visivamente */
.pricing-table-wrap{
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* riduce lo spazio tra i box */
.row.g-4{
  --bs-gutter-x: 1rem;
}

/* ================= CARD BASE ================= */

.pricing-table--card{
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  color: #0F172A; /* testo scuro */
}

/* ================= COLORI ================= */

/* SOCI – più attrattivo */
.soci-card{
  background: linear-gradient(180deg, #E8F1FF 0%, #DDE9FF 100%);
  border: 2px solid #2563EB;
}

/* NON SOCI – più soft */
.nonsoci-card{
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
}

/* ================= HEADER ================= */

.pricing-header{
  padding: 26px 22px 18px;
  text-align: center;
}

.pricing-header h5{
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #1E40AF;
}

/* SOCI titolo più forte */
.soci-card .pricing-header h5{
  color: #2563EB;
}

/* ================= TESTI ================= */

.pricing-info{
  font-size: .95rem;
  line-height: 1.5;
  max-width: 360px;
  margin: 0 auto;
  color: #0F172A;
}

/* GRATUITAMENTE */
.pricing-info strong{
  color: #1D4ED8;
  font-weight: 800;
}

/* PRE-ISCRIZIONI */
.pricing-info.highlight{
  font-weight: 800;
  letter-spacing: .08em;
  color: #1E40AF;
}

/* ================= BODY ================= */

.pricing-body{
  padding: 18px 22px 26px;
}

.pricing-body p{
  margin-bottom: 14px;
  color: #0F172A;
}

/* input */
.pricing-body input[type="text"],
.pricing-body input[type="password"]{
  width: 100% !important;
  max-width: 300px;
  border-radius: 12px;
  padding: 9px 12px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
}

/* ================= BOTTONI ================= */

.pricing-body input[type="submit"],
.pricing-body button{
  border-radius: 999px;
  padding: 9px 32px;
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  font-weight: 600;
  transition: all .25s ease;
}

/* hover */
.pricing-body input[type="submit"]:hover{
  background: #1D4ED8;
}

/* NON SOCI bottone più neutro */
.nonsoci-card .pricing-body input[type="submit"]{
  background: #1E40AF;
}

/* ================= LINK ================= */

.pricing-links{
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  text-align: center;
}

.pricing-links li{
  margin-top: 10px;
}

.pricing-links a{
  color: #1E40AF;
  font-weight: 500;
  text-decoration: none;
}

.pricing-links a:hover{
  text-decoration: underline;
}

/* ================= LABEL ================= */

.pricing-label span{
  background: #2563EB;
  color: #FFFFFF;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 575px){
  .pricing-table-wrap{
    max-width: 100%;
  }
}

/* ================= AVVICINA LE PIASTRE ================= */

/* riduce drasticamente lo spazio orizzontale tra colonne */
.row.g-4{
  --bs-gutter-x: 0.5rem;
  --bs-gutter-y: 0.5rem;
}

/* ================= ALLARGA LE PIASTRE ================= */

.pricing-table-wrap{
  max-width: 100%;
  margin: 0;
}

/* ================= CARD ================= */

.pricing-table--card{
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

/* ================= HEADER (MENO ALTEZZA) ================= */

.pricing-header{
  padding: 16px 20px 10px;   /* ↓ prima era molto più alto */
}

.pricing-header h5{
  margin-bottom: 6px;
}

/* testo descrittivo più compatto */
.pricing-info{
  margin-top: 0;
  margin-bottom: 4px;
  line-height: 1.35;
}

/* ================= BODY (STRINGIAMO) ================= */

.pricing-body{
  padding: 12px 20px 16px;
}

.pricing-body p{
  margin-bottom: 8px;
}

/* ================= INPUT ================= */

.pricing-body input[type="text"],
.pricing-body input[type="password"]{
  padding: 7px 10px;
}

/* ================= BOTTONI ================= */

.pricing-body input[type="submit"]{
  padding: 8px 26px;
  margin-top: 4px;
}

/* ================= LINK IN BASSO ================= */

.pricing-links{
  margin-top: 10px;
}

.pricing-links li{
  margin-top: 6px;
}

/* ================= MOBILE ================= */

@media (max-width: 575px){
  .row.g-4{
    --bs-gutter-x: 0.75rem;
  }
}

/* ================= ELIMINA LO SPAZIO TRA LE DUE PIASTRE ================= */

/* annulla i gutter Bootstrap */
.row.row-50{
  --bs-gutter-x: 0.25rem !important;
  --bs-gutter-y: 0 !important;
}

/* avvicina ancora di più visivamente */
.row.row-50 > [class*="col-"]{
  padding-left: 4px !important;
  padding-right: 4px !important;
}

/* ================= ALLARGA LE CARD ================= */

.pricing-table-wrap{
  width: 100%;
  max-width: 100%;
}

/* ================= COMPATTA VERTICALMENTE ================= */

.pricing-header{
  padding: 14px 18px 8px;
}

.pricing-body{
  padding: 12px 18px 14px;
}

.pricing-body p{
  margin-bottom: 6px;
}

.pricing-links{
  margin-top: 8px;
}

/* ================= ULTERIORE MICRO-OTTIMIZZAZIONE ================= */

/* riduce spazio sotto il titolo */
.pricing-header h5{
  margin-bottom: 4px;
}

/* rende le due card quasi “accoppiate” */
@media (min-width: 768px){
  .pricing-table--card{
    margin-left: -2px;
    margin-right: -2px;
  }
}

