/* --- PLANS CARDS --- */
.pricing-plan {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem 1rem 1rem 1rem;
    min-height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
}
.pricing-plan:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.13);
    border-color: #5a9bd5;
}

.pricing-header {
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #222;
    margin-bottom: .5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #5a9bd5;
    margin-bottom: .25rem;
    line-height: 1.1;
}

.pricing-details {
    color: #6b7280;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    min-height: 32px;
}

.pricing-body ul {
    margin-bottom: 2rem;
    padding: unset !important;
}

.pricing-body ul li {
    font-size: 1.05rem;
    margin-bottom: .7rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.pricing-body ul li .fa-check {
    color: #22c55e;
    font-size: 1.1em;
}
.pricing-body ul li .fa-times {
    color: #e11d48;
    font-size: 1.1em;
}

.btn-primary {
    background: linear-gradient(90deg, #5a9bd5 0%, #a48457 100%);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.08rem;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(185,151,107,0.08);
    padding: 0.85rem 0;
    letter-spacing: 0.5px;
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(90deg, #a48457 0%, #5a9bd5 100%);
    box-shadow: 0 4px 16px rgba(185,151,107,0.18);
}

/* Container de planos: sempre 3 colunas no desktop, 1 no mobile */
.row.justify-content-around {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    justify-content: center !important;
    padding: 0 1rem;
    margin: 0 auto;
    max-width: 1200px;
}

/* Remove flex das colunas, agora grid cuida do layout */
.col-12.col-lg-6.col-xl-4.p-3 {
    max-width: 100%;
    margin: 0;
    display: block;
}

/* Centraliza cards quando houver menos de 3 planos */
.row.justify-content-around > *:nth-child(1):nth-last-child(2),
.row.justify-content-around > *:nth-child(2):nth-last-child(1) {
    grid-column: 2 / span 1;
}
.row.justify-content-around > *:only-child {
    grid-column: 2 / span 1;
}

/* Mobile: 1 coluna */
@media (max-width: 991px) {
    .row.justify-content-around {
        grid-template-columns: 1fr;
        gap: 1.2rem 0;
        max-width: 100%;
        padding: 0;
    }
}

.row.justify-content-center {
    gap: 0;
}
.col-lg-3.d-flex.col-md-6.mb-4 {
    display: flex;
}

@media (max-width: 991px) {
    .col-12.col-lg-6.col-xl-4.p-3 {
        max-width: 100%;
        margin: 0 0 2rem 0;
    }
    .col-lg-3.d-flex.col-md-6.mb-4 {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 575px) {
    .pricing-plan {
        padding: 1.5rem 0.7rem 1.2rem 0.7rem;
    }
    .col-12.col-lg-6.col-xl-4.p-3 {
        margin: 0 0 1.2rem 0;
    }
}

/* Badge for highlight */
.pricing-plan.featured {
    border: 2.5px solid #22c55e;
    box-shadow: 0 8px 40px rgba(34,197,94,0.10);
}
.pricing-plan .badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 0.95rem;
    padding: 0.4em 0.9em;
    border-radius: 12px;
    background: #22c55e;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.block-7 {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
    transition: box-shadow 0.2s;
}
.block-7:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.block-7 .heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.block-7 .price {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: .5rem;
    display: block;
}
.block-7 .price sup {
    font-size: 1.2rem;
    top: -0.8em;
    left: -0.2em;
    position: relative;
}
.block-7 .excerpt {
    color: #888;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.block-7 .heading-2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.block-7 .pricing-text {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}
.block-7 .pricing-text li {
    margin-bottom: .5rem;
    color: #444;
    font-size: 1rem;
}