
.titol-plans {
    color: #003366;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.titol-plans {
    margin-top: 0 !important;
    margin-bottom: 3rem !important;
    padding: 0 !important;
}
/* Contenidor general */
.plans-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
    padding-top: 0;
}

/* Intro */
.intro-plans {
    text-align: left;
    padding-left: 1rem;
    color: #333;
}

/* Graella de plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

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

/* Targetes de pla (hereten estil de .card-box si el tens) */
.plan-card {
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1.25rem;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card.featured {
    border-color: #003366;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
    position: relative;
}

/* Capçalera del pla */
.plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    /* margin-bottom: .75rem; */
}

.plan-head h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #003366;
    text-transform: uppercase;
}

/* Badge */
.badge {
    display: inline-block;
    font-size: .75rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: #e9edf5;
    color: #003366;
    font-weight: 600;
    white-space: nowrap;
}

.badge-pro {
    background: #003366;
    color: #fff;
}

/* Llista de features */
.plan-features {
    list-style: none;
    padding: 0;
    /* margin: .5rem 0 1rem; */
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
}
.plan-features li:last-child {
    border-bottom: 0;
}

/* Preus */
.plan-price {
    margin-top: .5rem;
}

.plan-price .price {
    font-size: 3rem;
    font-weight: 800;
    color: #003366;
    line-height: 1;
}
.plan-price .per {
    margin-left: .25rem;
    font-weight: 500;
    color: #555;
}

/* Bloc de múltiples preus per al pla de 2 dies */
.plan-prices {
    display: grid;
    gap: .35rem;
    margin: .5rem 0 .25rem;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: .35rem;
}

.price-line .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #003366;
}
.price-line .per {
    color: #555;
    font-weight: 500;
}

.price-line.club .price {
    font-size: 1.6rem;
}

.note {
    font-size: .85rem;
    color: #003366;
    background: #e9edf5;
    padding: .15rem .5rem;
    border-radius: 6px;
    margin-left: .35rem;
}

.club-discount {
    font-size: .95rem;
    color: #333;
    margin-top: .35rem;
}

/* Botons (opc.) */
.btn-plan {
    margin-top: 1rem;
    display: inline-block;
    text-decoration: none;
    padding: .65rem 1rem;
    border-radius: 10px;
    border: 2px solid #003366;
    font-weight: 700;
    color: #003366;
    transition: transform .08s ease, background .2s ease, color .2s ease;
}
.btn-plan:hover {
    background: #003366;
    color: #fff;
    transform: translateY(-1px);
}
.btn-featured {
    background: #003366;
    color: #fff;
}

/* Comparativa */
.comparativa {
    margin-top: 2rem;
    border-radius: 12px;
    padding: 1.25rem;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.comparativa-title {
    margin: 0 0 .75rem 0;
    color: #003366;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: .02em;
}

.comparativa-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: .25rem .75rem;
}

.comparativa-row {
    display: contents;
}

.comparativa-row > div {
    padding: .5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.comparativa-row.header > div {
    font-weight: 700;
    color: #003366;
    border-bottom: 2px solid #003366;
}

@media (max-width: 640px) {
    .comparativa-grid {
        grid-template-columns: 1fr;
    }
    .comparativa-row.header {
        display: none;
    }
    .comparativa-row > div {
        border-bottom: 0;
        padding: .35rem 0;
    }
    .comparativa-row > div:first-child {
        font-weight: 700;
        color: #003366;
        margin-top: .35rem;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: .5rem;
    }
}
/* Evitar buits verticals grans a la targeta */
.plan-card {
  justify-content: flex-start;   /* ja ho tens */
  gap: .6rem;                    /* una mica menys de gap */
}

/* Capçalera i llista més compactes */
.plan-head { margin-bottom: .25rem; }
.plan-features { margin: .25rem 0 .5rem; }
.plan-features li { padding: .2rem 0; }

/* Agrupador de preu + descompte enganxats entre ells i al fons */
.plan-bottom {
  display: flex;
  flex-direction: column;
  gap: .35rem;                   /* separació curteta entre preu i descompte */
}

/* Fa que tot el bloc de preus+descompte baixi a la part inferior sense deixar forats */
.push-bottom { margin-top: auto; }

/* Marges dels preus més petits */
.plan-price,
.plan-prices { margin-top: .25rem; }
.plan-prices { gap: .25rem; }

/* Descompte més a prop del preu */
.club-discount { margin-top: .25rem; }

/* (Opcional) El número del preu una mica més petit si encara “respira” massa */
.plan-price .price { font-size: 2.4rem; } /* abans 3rem */


.contacte-telf {
      font-size: 1.2rem;
    color: #003366;
  -webkit-text-stroke: 0.5px rgb(231, 190, 7); /* línea fina alrededor */

  display: flex;
  justify-content: center;

}
