/* ===== KV Floating contact buttons + popup (prefix kv-floating-) ===== */
    .kv-floating-contact {
        position: fixed;
        right: 24px;
        bottom: 24px;
        z-index: 99999;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .kv-floating-btn {
        width: 52px;
        height: 52px;
        border: 0;
        border-radius: 50%;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px;
        color: #ffffff !important;
        cursor: pointer;
        text-decoration: none !important;
        box-shadow: 0 6px 18px rgba(0,0,0,.22);
        transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
    }
    .kv-floating-btn i {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        color: #ffffff !important;
    }
    .kv-floating-btn:hover {
        transform: none !important;
        box-shadow: 0 8px 22px rgba(0,0,0,.35) !important;
        color: #ffffff !important;
    }
    .kv-floating-message { background: #1664c0; }
    .kv-floating-message:hover { background: #0f4f9a; transform: none !important; }
    .kv-floating-mail { background: #1664c0; }
    .kv-floating-mail:hover { background: #1664c0; transform: none !important; }
    .kv-floating-call { background: #25a244 !important; }
    .kv-floating-call:hover { background: #1ea83f !important; box-shadow: 0 8px 24px rgba(37, 162, 68, 0.45) !important; transform: none !important; }
    .kv-floating-call i { transform: none !important; }
    .kv-floating-top {
        background: #1664c0 !important;
        color: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-flex !important;
        border: 2px solid rgba(255,255,255,0.15);
    }
    .kv-floating-top:hover {
        background: #85c815 !important;
        color: #ffffff !important;
        border-color: #85c815 !important;
        box-shadow: 0 10px 24px rgba(133, 200, 21, 0.45) !important;
        transform: none !important;
    }

    .kv-floating-popup {
        position: fixed;
        right: 90px;
        bottom: 24px;
        width: 320px;
        max-width: calc(100vw - 32px);
        z-index: 1000001;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: opacity .3s, transform .3s, visibility .3s;
    }
    .kv-floating-popup.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .kv-floating-popup-inner { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.28); }
    .kv-floating-popup-header {
        background: #1664c0;
        color: #fff;
        padding: 14px 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    .kv-floating-popup-header h3 { color: #fff; font-size: 17px; margin: 0 0 2px; line-height: 1.2; }
    .kv-floating-popup-header p { margin: 0; font-size: 13px; color: #fff; line-height: 1.35; }
    .kv-floating-popup-close {
        background: rgba(255,255,255,0.15);
        border: 0;
        color: #ffffff;
        font-size: 16px;
        cursor: pointer;
        padding: 3px 8px;
        border-radius: 6px;
        transition: background .2s;
        flex-shrink: 0;
    }
    .kv-floating-popup-close:hover { background: rgba(255,255,255,0.3); color: #ffffff; transform: none !important; }
    .kv-floating-popup-body { padding: 14px 16px; max-height: calc(100vh - 140px); overflow-y: auto; }

    .kv-floating-form-group { margin-bottom: 10px; }
    .kv-floating-form-group input,
    .kv-floating-form-group textarea {
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 9px 12px;
        font-size: 14px;
        outline: none;
        transition: border-color .2s, background-color .2s;
    }
    .kv-floating-form-group textarea {
        min-height: 76px;
        resize: vertical;
    }
    .kv-floating-form-group input:focus,
    .kv-floating-form-group textarea:focus { border-color: #85c815; }
    .kv-floating-form-group.is-invalid input,
    .kv-floating-form-group.is-invalid textarea {
        border-color: #c0392b;
        background: #fff8f7;
    }
    .kv-floating-error {
        display: none;
        color: #c0392b;
        font-size: 12px;
        font-weight: 600;
        margin-top: 4px;
        line-height: 1.35;
    }
    .kv-floating-form-group.is-invalid .kv-floating-error { display: block; }

    .kv-floating-submit {
        width: 100%;
        background: #85c815;
        color: #111;
        border: 0;
        border-radius: 6px;
        padding: 11px 12px;
        font-weight: 700;
        font-size: 15px;
        cursor: pointer;
        transition: background .2s;
    }
    .kv-floating-submit:hover { background: #1664c0; color: #ffffff; transform: none !important; }
    .kv-floating-submit:disabled { opacity: .6; cursor: not-allowed; }

    @media (max-width: 991.98px) {
        .kv-floating-popup {
            right: 16px;
            bottom: 84px;
            width: min(320px, calc(100vw - 24px));
            max-width: calc(100vw - 24px);
            max-height: calc(100vh - 110px);
        }
        .kv-floating-popup-body {
            max-height: calc(100vh - 220px);
        }
    }

    @media (max-width: 575px) {
        .kv-floating-contact { right: 12px; bottom: 12px; gap: 8px; }
        .kv-floating-btn { width: 44px; height: 44px; font-size: 16px; }
        .kv-floating-popup {
            right: 12px;
            left: auto;
            bottom: 64px;
            top: auto;
            width: min(290px, calc(100vw - 20px));
            max-width: calc(100vw - 20px);
            max-height: calc(100vh - 90px);
        }
        .kv-floating-popup-inner {
            border-radius: 10px;
            max-height: calc(100vh - 90px);
            display: flex;
            flex-direction: column;
        }
        .kv-floating-popup-header {
            padding: 10px 12px;
            gap: 8px;
            align-items: center;
        }
        .kv-floating-popup-header h3 { font-size: 15px; margin-bottom: 1px; line-height: 1.2; }
        .kv-floating-popup-header p { font-size: 11px; line-height: 1.3; }
        .kv-floating-popup-close { font-size: 15px; padding: 2px 7px; }
        .kv-floating-popup-body {
            padding: 10px 12px;
            max-height: none;
            overflow-y: auto;
        }
        .kv-floating-form-group { margin-bottom: 7px; }
        .kv-floating-form-group input,
        .kv-floating-form-group textarea {
            padding: 8px 10px;
            font-size: 13px;
            border-radius: 5px;
        }
        .kv-floating-form-group textarea { min-height: 64px; }
        .kv-floating-error { font-size: 11px; margin-top: 2px; }
        .kv-floating-submit {
            padding: 9px 10px;
            font-size: 14px;
            border-radius: 5px;
        }
    }
