.bf-dialog, .bf-launcher { font-family: 'Haval', Arial, sans-serif; color: #18282e; }
.bf-layout { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); max-width: 1140px; margin: 0 auto; background: #fff; }
.bf-picture { display: block; align-self: start; min-width: 0; }
.bf-picture img { display: block; width: 100%; height: auto; }
.bf-content { position: relative; padding: 36px; align-self: stretch; contain: size; overflow-y: auto; }
.bf-dates { margin: 0 0 12px; font-size: 16px; }
.bf-content h2 { margin: 0 0 20px; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; text-transform: uppercase; }
.bf-intro { margin: 0 0 24px; font-size: 18px; line-height: 1.4; }
.bf-form { display: grid; gap: 12px; }
.bf-form > label { margin: 0; font-size: 16px; }
.bf-form input[type="tel"] { width: 100%; min-width: 0; height: 52px; padding: 12px 14px; border: 1px solid #7e898c; border-radius: 0; background: #fff; color: #18282e; font: inherit; font-size: 18px; }
.bf-form .bf-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; }
.bf-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; appearance: auto; accent-color: #007e78; }
.bf-consent a { color: inherit; text-decoration: underline; }
.bf-submit { min-height: 52px; padding: 14px 16px; border: 0; background: #00cabf; color: #18282e; font: inherit; font-size: 16px; cursor: pointer; }
.bf-submit:hover { background: #00b4aa; }
.bf-submit:disabled { opacity: .65; cursor: wait; }
.bf-status { margin: 0; font-size: 16px; line-height: 1.4; }
.bf-status:empty { display: none; }
.bf-status[data-error] { color: #9c2424; }
.bf-phone { display: inline-block; margin-top: 22px; color: #18282e; font-size: 22px; text-decoration: none; }
.bf-terms { margin: 16px 0 0; color: #536167; font-size: 14px; line-height: 1.4; }
.bf-launcher { position: fixed; z-index: 990; left: 20px; bottom: 120px; max-width: calc(100vw - 40px); padding: 14px 20px; border: 1px solid #00cabf; background: #18282e; color: #fff; font-size: 16px; cursor: pointer; box-shadow: 0 4px 18px #18282e26; }
.bf-dialog { width: min(1040px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; overflow: auto; overscroll-behavior: contain; }
.bf-dialog::backdrop { background: #0b171bcc; }
.bf-close { position: absolute; z-index: 1; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #b5bfc2; background: #fff; color: #18282e; font: 32px/1 Arial, sans-serif; cursor: pointer; }
.bf-dialog .bf-content { padding: 52px 28px 24px; }
.bf-dialog .bf-content h2 { font-size: 30px; margin-bottom: 16px; }
.bf-dialog .bf-intro { font-size: 16px; margin-bottom: 20px; }
.bf-form :focus-visible, .bf-close:focus-visible, .bf-launcher:focus-visible, .bf-phone:focus-visible { outline: 3px solid #007e78; outline-offset: 3px; }
@media (max-width: 991px) {
    .bf-layout, .bf-dialog .bf-layout { grid-template-columns: 1fr; }
    .bf-content, .bf-dialog .bf-content { padding: 24px 20px; contain: none; overflow: visible; }
    .bf-content h2, .bf-dialog .bf-content h2 { font-size: 28px; }
    .bf-intro { font-size: 16px; }
    .bf-launcher { left: 12px; bottom: 92px; max-width: calc(100vw - 24px); font-size: 14px; padding: 12px 16px; }
    .bf-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
}
