/* =========================================================
   BYSAA — BRAND BANNER V2 FINAL
   Bloque premium principal de marca
   ========================================================= */

.bb-section {
    padding: 30px 0 18px;
}

.bb-wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: stretch;
    padding: 38px 38px 32px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #e7eef8;
    background:
        radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.00) 28%),
        radial-gradient(circle at 88% 16%, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0.00) 24%),
        linear-gradient(135deg, #f8fbff 0%, #f4f8fd 42%, #eef4fb 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.bb-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.36) 0%, rgba(255,255,255,0.02) 55%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.bb-wrap::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0.00) 68%);
    pointer-events: none;
}

.bb-content {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bb-pill {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid #d6e4fa;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(8px);
}

.bb-title {
    margin: 0 0 16px;
    max-width: 760px;
    font-size: 54px;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.045em;
    color: #0f172a;
}

.bb-title-mobile {
    display: none;
}

.bb-subtitle {
    margin: 0 0 18px;
    max-width: 720px;
    font-size: 22px;
    line-height: 1.28;
    font-weight: 800;
    color: #2563eb;
}

.bb-text {
    margin: 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.72;
    color: #475569;
}

.bb-text-mobile {
    display: none;
}

/* =========================
   BOTONES PREMIUM
========================= */

.bb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.bb-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 84px;
    min-width: 0;
    padding: 14px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
    border: 1px solid transparent;
}

.bb-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #2f80ff 100%);
    box-shadow: 0 18px 32px rgba(37, 99, 235, 0.25);
    min-width: 320px;
}

.bb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(37, 99, 235, 0.30);
}

.bb-btn-secondary {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.86);
    border-color: #d7e3f3;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
    min-width: 320px;
}

.bb-btn-secondary:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: #c7d9ef;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.bb-btn-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.bb-btn-icon-star {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

.bb-btn-icon-wa {
    background: #eefbf3;
    color: #16a34a;
    font-size: 20px;
    box-shadow: inset 0 0 0 1px #d9f3e2;
}

.bb-btn-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bb-btn-copy strong {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.bb-btn-copy small {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
    opacity: 0.92;
}

.bb-btn-primary .bb-btn-copy small {
    color: rgba(255,255,255,0.9);
}

.bb-btn-secondary .bb-btn-copy small {
    color: #64748b;
}

.bb-btn-arrow {
    margin-left: auto;
    font-size: 34px;
    line-height: 1;
    opacity: 0.86;
}

.bb-btn-primary .bb-btn-arrow {
    color: #ffffff;
}

.bb-btn-secondary .bb-btn-arrow {
    color: #6470b3;
}

/* =========================
   PANEL DERECHO
========================= */

.bb-panel {
    position: relative;
    z-index: 2;
    display: block;
    align-self: center;
}

.bb-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bb-card {
    position: relative;
    min-height: 190px;
    padding: 22px 20px 20px;
    border-radius: 22px;
    border: 1px solid rgba(216, 227, 242, 0.95);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(10px);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.bb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.10);
    border-color: #cddff7;
}

.bb-card-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.bb-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef4ff;
    border: 1px solid #d9e7ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bb-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.bb-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.68;
    color: #475569;
}

/* =========================
   DESKTOP MEDIANO
========================= */
@media (max-width: 1366px) {
    .bb-wrap {
        grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
        padding: 34px 30px 28px;
        gap: 22px;
    }

    .bb-title {
        font-size: 46px;
    }

    .bb-subtitle {
        font-size: 20px;
    }

    .bb-text {
        font-size: 17px;
    }

    .bb-card h3 {
        font-size: 20px;
    }

    .bb-btn {
        min-width: 290px;
    }
}

/* =========================
   TABLET Y MENORES
   Sin tarjetas derechas
========================= */
@media (max-width: 1024px) {
    .bb-section {
        padding: 22px 0 14px;
    }

    .bb-wrap {
        display: block;
        padding: 30px 24px 24px;
        border-radius: 24px;
    }

    .bb-title-desktop {
        display: none;
    }

    .bb-title-mobile {
        display: block;
        max-width: 100%;
        font-size: 40px;
        line-height: 1.06;
    }

    .bb-subtitle {
        max-width: 100%;
        font-size: 18px;
    }

    .bb-text-desktop {
        display: none;
    }

    .bb-text-mobile {
        display: block;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.72;
    }

    .bb-actions {
        margin-top: 24px;
    }

    .bb-btn {
        min-width: 280px;
        min-height: 78px;
    }

    .bb-panel {
        display: none;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .bb-section {
        padding: 18px 0 10px;
    }

    .bb-wrap {
        padding: 24px 18px 20px;
        border-radius: 22px;
    }

    .bb-pill {
        font-size: 12px;
        padding: 8px 14px;
        margin-bottom: 16px;
    }

    .bb-title-mobile {
        font-size: 32px;
        line-height: 1.08;
        margin-bottom: 14px;
    }

    .bb-subtitle {
        font-size: 17px;
        line-height: 1.35;
        margin-bottom: 14px;
    }

    .bb-text-mobile {
        font-size: 15px;
        line-height: 1.72;
    }

    .bb-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .bb-btn {
        width: 100%;
        min-width: 0;
        min-height: 72px;
        padding: 12px 16px;
        border-radius: 18px;
        gap: 14px;
    }

    .bb-btn-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 20px;
    }

    .bb-btn-copy strong {
        font-size: 16px;
    }

    .bb-btn-copy small {
        font-size: 12px;
        margin-top: 3px;
    }

    .bb-btn-arrow {
        font-size: 30px;
    }
}