
.bfqm-wrap {
    --bfqm-accent: #10b928;
    --bfqm-secondary: #071a58;
    --bfqm-text: #142033;
    --bfqm-muted: #657085;
    --bfqm-border: #dfe6ee;
    --bfqm-bg: #f4f7fa;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--bfqm-text);
    margin: 28px auto;
    max-width: 1180px;
}

.bfqm-wrap * {
    box-sizing: border-box;
}

.bfqm-card {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.42fr);
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(7, 26, 88, .14);
    border: 1px solid rgba(7, 26, 88, .07);
}

.bfqm-intro {
    position: relative;
    padding: 46px 38px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 14%, rgba(16,185,40,.28), transparent 34%),
        linear-gradient(160deg, #0b2a74 0%, var(--bfqm-secondary) 62%, #041036 100%);
    overflow: hidden;
}

.bfqm-intro::before,
.bfqm-intro::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
}

.bfqm-intro::before {
    width: 320px;
    height: 320px;
    right: -180px;
    bottom: -120px;
}

.bfqm-intro::after {
    width: 180px;
    height: 180px;
    right: -100px;
    bottom: -50px;
}

.bfqm-logo-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 250px;
    padding: 13px 16px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 14px 28px rgba(0,0,0,.18);
    margin-bottom: 38px;
}

.bfqm-logo-shell img {
    display: block;
    max-width: 100%;
    height: auto;
}

.bfqm-kicker {
    display: inline-block;
    color: #a9f3b7;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 12px;
}

.bfqm-intro h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.bfqm-intro > p {
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 30px;
}

.bfqm-benefits {
    display: grid;
    gap: 13px;
    margin: 0 0 36px;
}

.bfqm-benefits div {
    display: flex;
    gap: 11px;
    align-items: center;
    font-size: 14px;
    font-weight: 650;
}

.bfqm-benefits span {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bfqm-accent);
    color: #fff;
    flex: 0 0 auto;
}

.bfqm-contact-mini {
    position: relative;
    z-index: 2;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.14);
    display: grid;
    gap: 7px;
}

.bfqm-contact-mini strong {
    font-size: 13px;
    color: rgba(255,255,255,.66);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.bfqm-contact-mini a {
    color: #fff;
    text-decoration: none;
    font-weight: 650;
}

.bfqm-form-panel {
    padding: 48px 44px;
    background:
        linear-gradient(180deg, rgba(247,249,252,.92), #fff 16%);
}

.bfqm-form {
    margin: 0;
}

.bfqm-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin: 0 0 22px;
    border-bottom: 1px solid var(--bfqm-border);
}

.bfqm-section-heading:not(:first-of-type) {
    margin-top: 38px;
}

.bfqm-section-heading > span {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #eaf9ed;
    color: #0f8e29;
    font-weight: 900;
    font-size: 13px;
}

.bfqm-section-heading h3 {
    margin: 0 0 3px;
    color: var(--bfqm-secondary);
    font-size: 20px;
    line-height: 1.2;
}

.bfqm-section-heading p {
    margin: 0;
    font-size: 13px;
    color: var(--bfqm-muted);
}

.bfqm-grid {
    display: grid;
    gap: 18px;
}

.bfqm-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.bfqm-field {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.bfqm-grid .bfqm-field {
    margin-bottom: 0;
}

.bfqm-field > span {
    font-size: 13px;
    font-weight: 750;
    color: #2a3851;
}

.bfqm-field em {
    color: #d64545;
    font-style: normal;
}

.bfqm-field input,
.bfqm-field select,
.bfqm-field textarea {
    width: 100%;
    border: 1px solid var(--bfqm-border);
    background: #fff;
    color: var(--bfqm-text);
    border-radius: 11px;
    min-height: 50px;
    padding: 12px 14px;
    font: inherit;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(7,26,88,.025);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bfqm-field textarea {
    min-height: 128px;
    resize: vertical;
}

.bfqm-field input:focus,
.bfqm-field select:focus,
.bfqm-field textarea:focus {
    outline: none;
    border-color: var(--bfqm-accent);
    box-shadow: 0 0 0 4px rgba(16,185,40,.10);
}

.bfqm-field.bfqm-invalid input,
.bfqm-field.bfqm-invalid select,
.bfqm-field.bfqm-invalid textarea {
    border-color: #d64545;
    box-shadow: 0 0 0 4px rgba(214,69,69,.08);
}

.bfqm-upload {
    position: relative;
    min-height: 145px;
    border: 1.5px dashed #bfc9d5;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px;
    cursor: pointer;
    background: #fbfcfe;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.bfqm-upload:hover,
.bfqm-upload.bfqm-has-file {
    border-color: var(--bfqm-accent);
    background: #f0fbf2;
    transform: translateY(-1px);
}

.bfqm-upload input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.bfqm-upload-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf9ed;
    color: #0f8e29;
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 10px;
}

.bfqm-upload strong {
    color: var(--bfqm-secondary);
    font-size: 14px;
    margin-bottom: 5px;
}

.bfqm-upload small {
    color: var(--bfqm-muted);
    font-size: 12px;
}

.bfqm-consent {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin: 25px 0 22px;
    color: var(--bfqm-muted);
    font-size: 13px;
    line-height: 1.55;
}

.bfqm-consent input {
    margin-top: 3px;
    accent-color: var(--bfqm-accent);
}

.bfqm-submit {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--bfqm-accent), #078b1e);
    box-shadow: 0 12px 28px rgba(16,185,40,.24);
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.bfqm-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(16,185,40,.30);
}

.bfqm-submit:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.bfqm-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    display: none;
    animation: bfqm-spin .7s linear infinite;
}

.bfqm-submit.is-loading .bfqm-spinner {
    display: inline-block;
}

.bfqm-response {
    display: none;
    margin-top: 18px;
    padding: 15px 17px;
    border-radius: 11px;
    font-size: 14px;
    line-height: 1.6;
}

.bfqm-response.is-success {
    display: block;
    background: #eaf9ed;
    color: #116824;
    border: 1px solid #bfe9c8;
}

.bfqm-response.is-error {
    display: block;
    background: #fff0f0;
    color: #9b2525;
    border: 1px solid #f2c1c1;
}

.bfqm-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

@keyframes bfqm-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 860px) {
    .bfqm-card {
        grid-template-columns: 1fr;
    }

    .bfqm-intro {
        padding: 38px 30px;
    }

    .bfqm-form-panel {
        padding: 38px 30px;
    }
}

@media (max-width: 620px) {
    .bfqm-wrap {
        margin: 18px 0;
    }

    .bfqm-card {
        border-radius: 18px;
    }

    .bfqm-grid-2 {
        grid-template-columns: 1fr;
    }

    .bfqm-form-panel,
    .bfqm-intro {
        padding: 30px 20px;
    }

    .bfqm-intro h2 {
        font-size: 35px;
    }
}
