.rq-bq-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.rq-bq-modal[hidden] {
    display: none !important;
}

.rq-bq-modal.is-open {
    animation: rqBqFadeIn 0.25s ease;
}

.rq-bq-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(4px);
}

.rq-bq-modal__dialog {
    position: relative;
    width: min(100%, 420px);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
    transform: translateY(12px) scale(0.98);
    animation: rqBqSlideUp 0.28s ease forwards;
}

.rq-bq-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.rq-bq-modal__close:hover {
    background: #fff;
    color: #0f172a;
}

.rq-bq-modal__media {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #fff7f0 0%, #eef2ff 100%);
}

.rq-bq-modal__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rq-bq-modal__body {
    padding: 1.35rem 1.35rem 1.5rem;
    text-align: center;
}

.rq-bq-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.12);
    color: #128c7e;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.rq-bq-modal__title {
    margin: 0 0 0.65rem;
    font-size: 1.35rem;
    line-height: 1.25;
    color: #0f172a;
}

.rq-bq-modal__text {
    margin: 0 0 1.15rem;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.55;
}

.rq-bq-modal__phone {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.2rem;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.rq-bq-modal__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
}

.rq-bq-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(18, 140, 126, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rq-bq-modal__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(18, 140, 126, 0.34);
}

.rq-bq-modal__no {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rq-bq-modal__no:hover {
    background: #f8fafc;
    color: #334155;
    border-color: #cbd5e1;
}

@keyframes rqBqFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rqBqSlideUp {
    to {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .rq-bq-modal__body {
        padding: 1.1rem 1rem 1.25rem;
    }

    .rq-bq-modal__title {
        font-size: 1.15rem;
    }

}
