.country-bmc-form-wrap {
    --bmc-blue-light: #f4f8fc;
    --bmc-blue-border: #e8eef4;
    --bmc-green: #30bd9b;
    --bmc-green-hover: #28a889;
    --bmc-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}
.bmc-consult-form-section {
    padding: 0 0 24px;
    scroll-margin-top: 120px;
    background: #ffffff;
    margin-top: -24px;
}

.bmc-consult-form-section .container.bmc-consult-form-main {
    padding-top: 22px;
}

.bmc-consult-form-intro {
    width: 100%;
    background: #f4f8fc;
    background: var(--bmc-blue-light, #f4f8fc);
    padding: 32px 0;
    border-bottom: 1px solid #e8eef4;
    border-bottom: 1px solid var(--bmc-blue-border, #e8eef4);
}

.bmc-consult-form-intro-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.bmc-consult-form-intro-text {
    flex: 1;
    min-width: 0;
}

.bmc-consult-form-intro-text h2 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #353642;
    margin: 0 0 8px;
    line-height: 1.2;
}

.bmc-consult-form-intro-text p {
    margin: 0;
    color: #5a6478;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 500;
    max-width: 640px;
    text-align: left;
}

.bmc-consult-form-intro-photo {
    flex-shrink: 0;
    width: 420px;
    margin-left: auto;
    margin-right: 100px;
}

.bmc-consult-form-intro-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* form layout uses Bootstrap .row / .col-lg-6 — same width as Konsulting section */

.bmc-consult-form-image-box {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 16px;
    overflow: visible;
    box-shadow: none;
}

.bmc-consult-form-image-box img {
    width: 100%;
    height: auto;
    min-height: 420px;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.bmc-consult-form-box {
    height: 100%;
    background: #fff;
    border: 1px solid #e8e8e4;
    border-radius: 16px;
    padding: 32px 36px 28px;
    box-shadow: 0 4px 20px rgba(53, 54, 66, 0.05);
}

.bmc-consult-form-box h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: #353642;
}

.bmc-form-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bmc-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bmc-form-field label,
.bmc-form-field-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #353642;
}

.bmc-form-field input,
.bmc-form-field select {
    width: 100%;
    border: 1px solid #e0e0dc;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: var(--bmc-font);
    color: #353642;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bmc-form-field input:focus,
.bmc-form-field select:focus {
    outline: none;
    border-color: #30bd9b;
    box-shadow: 0 0 0 3px rgba(48, 189, 155, 0.12);
}

.bmc-form-dropdown {
    position: relative;
}

.bmc-form-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e0e0dc;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: var(--bmc-font);
    color: #353642;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bmc-form-dropdown-toggle:hover,
.bmc-form-dropdown.is-open .bmc-form-dropdown-toggle {
    border-color: #30bd9b;
    box-shadow: 0 0 0 3px rgba(48, 189, 155, 0.12);
}

.bmc-form-dropdown-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b6b75;
    font-weight: 500;
}

.bmc-form-dropdown-label.has-value {
    color: #353642;
    font-weight: 600;
}

.bmc-form-dropdown-chevron {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #6b6b75;
    transition: transform 0.2s ease;
}

.bmc-form-dropdown.is-open .bmc-form-dropdown-chevron {
    transform: rotate(180deg);
}

.bmc-form-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e0e0dc;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(53, 54, 66, 0.12);
    padding: 6px;
}

.bmc-form-dropdown.is-open .bmc-form-dropdown-panel {
    display: block;
}

.bmc-form-dropdown-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.92rem;
    color: #353642;
    font-weight: 500;
    transition: background 0.15s ease;
}

.bmc-form-dropdown-option:hover {
    background: #f4f8fc;
}

.bmc-form-dropdown-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bmc-form-dropdown-check {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cfd4dc;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: transparent;
    font-size: 0.68rem;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bmc-form-dropdown[data-multiple="true"] .bmc-form-dropdown-option input:checked ~ .bmc-form-dropdown-check {
    background: #30bd9b;
    border-color: #30bd9b;
    color: #fff;
}

.bmc-form-dropdown:not([data-multiple="true"]) .bmc-form-dropdown-option:has(input:checked) {
    background: rgba(48, 189, 155, 0.1);
}

.bmc-form-dropdown:not([data-multiple="true"]) .bmc-form-dropdown-option:has(input:checked) .bmc-form-dropdown-option-text {
    color: #28a889;
    font-weight: 600;
}

.bmc-form-dropdown-option-text {
    line-height: 1.35;
}

.bmc-form-dropdown-error {
    display: none;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #c0392b;
    font-weight: 500;
}

.bmc-form-dropdown-error.is-visible {
    display: block;
}

.bmc-form-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
}

.bmc-form-submit {
    width: 100%;
    border: none;
    background: #353642;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--bmc-font);
    padding: 14px 28px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.bmc-form-submit:hover {
    background: #2a2b35;
}

.bmc-form-note {
    font-size: 0.8rem;
    color: #6b6b75;
    margin: 0;
    text-align: center;
}

.bmc-form-captcha-error {
    margin: 0;
    color: #c0392b;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
}

.bmc-form-success {
    text-align: center;
    padding: 24px 12px;
}

.bmc-form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(48, 189, 155, 0.12);
    color: #30bd9b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.bmc-form-success h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #353642;
}

.bmc-form-success p {
    color: #6b6b75;
    margin: 0;
    line-height: 1.6;
}

.bmc-consult-form-alt {
    background: #fff;
    border: 1px solid #e8e8e4;
    border-radius: 20px;
    padding: 32px 36px 32px;
    box-shadow: 0 8px 28px rgba(53, 54, 66, 0.06);
    margin-bottom: 28px;
}

.bmc-consult-form-alt-header {
    margin-bottom: 24px;
}

.bmc-consult-form-alt-header h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #353642;
    margin: 0;
    line-height: 1.3;
}

.bmc-form-alt-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
    align-items: start;
    margin-bottom: 14px;
}

.bmc-form-alt-top-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bmc-form-help-card {
    background: #f4f8fc;
    background: var(--bmc-blue-light, #f4f8fc);
    border: 1px solid #e8eef4;
    border: 1px solid var(--bmc-blue-border, #e8eef4);
    border-radius: 16px;
    padding: 22px 20px;
    height: 100%;
    min-height: 132px;
    display: flex;
    align-items: center;
}

.bmc-form-help-card p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #353642;
    font-weight: 600;
}

.bmc-form-help-card a {
    color: #30bd9b;
    text-decoration: none;
    font-weight: 800;
    display: block;
    margin-top: 6px;
    font-size: 1.05rem;
}

.bmc-form-help-card a:hover {
    text-decoration: underline;
}

.bmc-consult-form-alt .bmc-form-grid {
    gap: 16px;
}

.bmc-consult-form-alt .bmc-form-field input,
.bmc-consult-form-alt .bmc-form-field select {
    padding: 14px 16px;
}

.bmc-consult-form-alt .bmc-form-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
}

.bmc-consult-form-alt .bmc-form-submit {
    width: auto;
    flex-shrink: 0;
    background: var(--bmc-green, #30bd9b);
    padding: 14px 32px;
}

.bmc-consult-form-alt .bmc-form-note {
    flex: 1;
    text-align: left;
    line-height: 1.45;
}

.bmc-consult-form-alt .bmc-form-submit:hover {
    background: var(--bmc-green-hover, #28a889);
}

.bmc-consult-form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0 28px;
    color: #95a1b3;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bmc-consult-form-divider::before,
.bmc-consult-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e6ee;
}

@media (max-width: 991px) {
    .bmc-form-alt-top {
        grid-template-columns: 1fr;
    }

    .bmc-form-help-card {
        min-height: 0;
    }

    .bmc-consult-form-alt {
        padding: 28px 22px 24px;
    }

    .bmc-consult-form-intro {
        padding: 28px 0;
    }

    .bmc-consult-form-intro-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .bmc-consult-form-intro-text p {
        max-width: 100%;
    }

    .bmc-consult-form-intro-photo {
        width: min(100%, 320px);
        margin: 0 auto;
    }

    .bmc-consult-form-alt .bmc-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bmc-consult-form-alt .bmc-form-submit {
        width: 100%;
    }

    .bmc-consult-form-alt .bmc-form-note {
        text-align: center;
    }
}

.country-bmc-form-wrap--compact .bmc-consult-form-section--compact {
    margin-top: 0;
    padding: 0;
    background: #f4f8fc;
    border-top: 1px solid #e8eef4;
    border-bottom: 1px solid #e8eef4;
}

.country-bmc-form-wrap--compact .bmc-consult-form-section--compact .container.bmc-consult-form-main {
    padding-top: 40px;
    padding-bottom: 40px;
}

.bmc-consult-form-compact-intro {
    max-width: 760px;
    margin: 0 auto 24px;
    text-align: center;
}

.bmc-consult-form-compact-intro h2 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #353642;
    margin: 0 0 10px;
}

.bmc-consult-form-compact-intro p {
    margin: 0;
    color: #5a6478;
    font-size: 1rem;
    line-height: 1.55;
}

.blog-inline-consult-form-section {
    width: 100%;
    clear: both;
    padding: 0 !important;
    margin: 0;
    background: #f4f8fc;
    background: var(--bmc-blue-light, #f4f8fc);
}

.blog-article-part--before {
    padding-bottom: 0 !important;
}

.blog-article-part--after {
    padding-top: 0 !important;
}

.blog-inline-consult-form-section .country-bmc-form-wrap {
    width: 100%;
    background: #f4f8fc;
    background: var(--bmc-blue-light, #f4f8fc);
}

.blog-inline-consult-form-section .bmc-consult-form-section {
    margin-top: 0;
    padding-bottom: 0;
    background: #f4f8fc;
    background: var(--bmc-blue-light, #f4f8fc);
}

.blog-inline-consult-form-section .bmc-consult-form-intro {
    padding: 24px 0 16px;
    background: transparent;
    border-bottom: none;
}

.blog-inline-consult-form-section .bmc-consult-form-intro .container,
.blog-inline-consult-form-section .bmc-consult-form-section .container.bmc-consult-form-main {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.blog-inline-consult-form-section .bmc-consult-form-section .container.bmc-consult-form-main {
    padding-top: 0;
    padding-bottom: 28px;
}

.blog-inline-consult-form-section .bmc-consult-form-alt {
    margin-bottom: 0;
}

.blog-article-part--before .test-blog-new > :last-child {
    margin-bottom: 0;
}

.blog-article-part--after .test-blog-new > :first-child {
    margin-top: 0;
}
