.bn-cta-form-shell {
    --bn-cta-blue: #419bc0;
    --bn-cta-blue-dark: #2f7e9d;
    --bn-cta-orange: #f05a28;
    --bn-cta-ink: #162232;
    --bn-cta-muted: #637083;
    --bn-cta-line: rgba(65, 155, 192, 0.22);
    font-family: inherit;
}

.bn-cta-card {
    width: min(720px, 100%);
    border: 1px solid var(--bn-cta-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(12, 24, 38, 0.08);
    padding: clamp(1.2rem, 2.5vw, 2rem);
}

.bn-cta-card-head {
    display: grid;
    gap: .45rem;
    margin-bottom: 1.2rem;
}

.bn-cta-card-head span {
    color: var(--bn-cta-orange);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bn-cta-card-head h2,
.bn-cta-card-head h3 {
    margin: 0;
    color: var(--bn-cta-ink);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.15;
}

.bn-cta-card-head p,
.bn-cta-thanks p {
    margin: 0;
    color: var(--bn-cta-muted);
    font-size: .96rem;
    line-height: 1.65;
}

.bn-cta-form {
    display: grid;
    gap: .95rem;
}

.bn-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .95rem;
}

.bn-cta-field {
    display: grid;
    gap: .38rem;
}

.bn-cta-field.is-full {
    grid-column: 1 / -1;
}

.bn-cta-field span {
    color: #314456;
    font-size: .78rem;
    font-weight: 850;
}

.bn-cta-field input,
.bn-cta-field select,
.bn-cta-field textarea {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 10px;
    background: #fff;
    color: var(--bn-cta-ink);
    font: inherit;
    font-size: .95rem;
    padding: .78rem .88rem;
    outline: 0;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.bn-cta-field textarea {
    min-height: 132px;
    resize: vertical;
}

.bn-cta-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.bn-cta-choice-grid label {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    min-height: 44px;
    border: 1px solid rgba(65, 155, 192, 0.18);
    border-radius: 10px;
    background: #f8fbfd;
    color: var(--bn-cta-ink);
    cursor: pointer;
    font-size: .88rem;
    font-weight: 750;
    line-height: 1.35;
    padding: .7rem .78rem;
}

.bn-cta-choice-grid input {
    width: auto;
    margin-top: .1rem;
    accent-color: var(--bn-cta-orange);
}

.bn-cta-field input:focus,
.bn-cta-field select:focus,
.bn-cta-field textarea:focus {
    border-color: var(--bn-cta-blue);
    box-shadow: 0 0 0 4px rgba(65, 155, 192, 0.14);
}

.bn-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--bn-cta-orange);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    padding: .72rem 1.25rem;
}

.bn-cta-button[disabled] {
    cursor: wait;
    opacity: .76;
}

.bn-cta-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    flex-wrap: wrap;
}

.bn-cta-error {
    border-radius: 10px;
    background: #fff1f1;
    color: #9e2f2f;
    font-size: .88rem;
    font-weight: 800;
    padding: .75rem .85rem;
}

.bn-cta-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 999px;
    animation: bnCtaSpin .7s linear infinite;
}

.bn-cta-thanks {
    display: grid;
    gap: .8rem;
    border-left: 4px solid var(--bn-cta-orange);
    background: rgba(65, 155, 192, 0.07);
    padding: 1rem 1.1rem;
}

.bn-cta-thanks strong {
    color: var(--bn-cta-ink);
    font-size: 1.35rem;
}

.bn-cta-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    background: rgba(12, 24, 38, 0.52);
    padding: 1rem;
}

.bn-cta-modal-backdrop.is-open {
    display: flex;
}

.bn-cta-modal {
    position: relative;
    width: min(760px, 100%);
}

.bn-cta-modal-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.07);
    color: #526173;
    cursor: pointer;
}

body.bn-cta-modal-open {
    overflow: hidden;
}

@keyframes bnCtaSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 720px) {
    .bn-cta-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bn-cta-choice-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bn-cta-actions {
        justify-content: stretch;
    }

    .bn-cta-button {
        width: 100%;
    }
}
