/* =====================================================
   SectionBonifications — Comparativa con/sin bonificaciones
   ===================================================== */

.bon-section {
    width: 100%;
    background: var(--neutro1);
    margin-top: 10rem;
    margin-bottom: 10rem;
}

.bon-container {
    width: 85%;
    margin: 0 auto;
}

/* ── Cabecera ─────────────────────────────────────────── */
.bon-header {
    margin-bottom: 30px;
}

.bon-titulo {
    font-family: "Lexend Deca", sans-serif;
    font-size: 30.4px;
    font-weight: 800;
    color: var(--color3);
    margin: 0 0 12px;
}

.bon-desc {
    font-family: "Lexend Deca", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 250;
    color: var(--color3);
    margin: 0;
}

/* ── Wrapper badge + tarjeta ──────────────────────────── */
.bon-card-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 20px;
    border: 1px solid #FF7900;
    border-radius: 20px;
    background: #fff;
    font-family: "Lexend Deca", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    color: var(--neutro2);
    align-self: flex-start;
}

.bon-badge svg {
    flex-shrink: 0;
}

/* ── Comparativa ──────────────────────────────────────── */
.bon-compare {
    display: flex;
    align-items: stretch;
    gap: 0;
}

/* ── Wrapper badge + tarjeta ──────────────────────────── */
.bon-card-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Tarjetas ─────────────────────────────────────────── */
.bon-card {
    background: #fff;
    border: 1px solid #E8E9EB;
    border-radius: 12px;
    padding: 28px 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.06);
    height: 100%;
    box-sizing: border-box;
}

.bon-card-head {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bon-card-titulo {
    font-family: "Lexend Deca", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--color3);
    margin: 0;
}

/* ── Checklist ────────────────────────────────────────── */
.bon-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bon-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 200;
    color: var(--neutro2);
}

.bon-checklist li svg {
    flex-shrink: 0;
}

/* ── Descripción tarjeta ──────────────────────────────── */
.bon-card-desc {
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-weight: 250;
    color: var(--neutro2);
    margin: 0;
    flex: 1;
}

/* ── Botones CTA ──────────────────────────────────────── */
.bon-btn {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: "Lexend Deca", sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.bon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.bon-btn--outline {
    border: 2px solid var(--color1);
    color: var(--color1);
    background: transparent;
}

.bon-btn--outline:hover {
    background: var(--color1);
    color: #fff;
}

.bon-btn--solid {
    border: 2px solid var(--color1);
    background: var(--color1);
    color: #fff;
}

.bon-btn--solid:hover {
    background: transparent;
    color: var(--color1);
}

/* ── Badge VS ─────────────────────────────────────────── */
.bon-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 112px;
    margin: auto -32px;
    z-index: 1;
    position: relative;
}

.bon-vs svg {
    display: block;
    flex-shrink: 0;
}

.bon-vs span {
    position: absolute;
    color: var(--color1);
    font-family: "Lexend Deca", sans-serif;
    font-size: 50px;
    font-weight: 700;
    pointer-events: none;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1023px) {
    .bon-container {
        width: 90%;
    }

    .bon-titulo {
        font-size: 26px;
    }

    .bon-card {
        padding: 28px 30px 24px;
        gap: 20px;
    }

    .bon-card-titulo {
        font-size: 20px;
    }

    .bon-checklist li {
        font-size: 15px;
    }

    .bon-card-desc {
        font-size: 15px;
    }

    .bon-btn {
        font-size: 17px;
        padding: 10px 16px;
    }

    .bon-vs {
        width: 80px;
        margin: auto -20px;
    }

    .bon-vs svg {
        width: 80px;
        height: 80px;
    }

    .bon-vs span {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .bon-section {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
    }

    .bon-compare {
        flex-direction: column;
    }

    .bon-vs {
        margin: -16px auto;
        width: 100%;
        justify-content: center;
    }

    .bon-card-wrap:last-child {
        flex-direction: column-reverse;
    }

    .bon-card-wrap {
        width: 100%;
    }

    .bon-badges {
        display: none;
    }
}

@media (max-width: 767px) {
    .bon-section {
        background: #F9FAFB;
        padding: 40px 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .bon-container {
        width: 100%;
        padding: 0 30px;
    }

    .bon-titulo {
        font-size: 24px;
        font-style: normal;
        font-weight: 800;
    }

    .bon-desc{
        font-size: 16px;
        font-style: normal;
        font-weight: 250;
    }

    .bon-badge{
        font-size: 16px;
        font-style: normal;
        font-weight: 300;
        padding: 5px 20px;
    }

    .bon-card-titulo{
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
    }

    .bon-checklist li{
        font-size: 16px;
        font-style: normal;
        font-weight: 250;
    }
    
    .bon-card-desc{
        font-size: 14px;
        font-style: normal;
        font-weight: 250;
    }

    .bon-card-wrap:last-child {
        flex-direction: column-reverse;
    }

    .bon-badge svg{
        width: 36px;
        height: 36px;
    }

    .bon-badges {
        display: none;
    }

    .bon-compare {
        flex-direction: column;
    }
    
    .bon-vs span{
        font-size: 30px;
        font-style: normal;
        font-weight: 700;
    }

    .bon-vs svg{
        width: 72px;
        height: 72px;
    }

    .bon-card-wrap {
        width: 100%;
    }

    .bon-vs {
        margin: -16px auto;
        z-index: 1;
    }

    .bon-card {
        padding: 24px 20px;
    }

    .bon-btn {
        font-size: 16px;
    }
}
