.callback-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 14px 16px;
    border-radius: 999px;
    background: var(--brandGradient);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(7, 20, 38, 0.28);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 15px;
    line-height: 1;
}

.callback-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(7, 20, 38, 0.34);
}

.callback-fab svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.callback-fab__label {
    white-space: nowrap;
}

.callback-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.callback-modal.is-open {
    display: flex;
}

.callback-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 20, 38, 0.55);
}

.callback-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 24px 60px rgba(7, 20, 38, 0.25);
}

.callback-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--black);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.callback-modal__title {
    margin: 0 0 8px;
    font-family: 'Inter-Bold', sans-serif;
    font-size: 24px;
    color: var(--black);
}

.callback-modal__subtitle {
    margin: 0 0 20px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
}

.callback-modal__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.callback-modal__label {
    font-size: 13px;
    font-family: 'Inter-SemiBold', sans-serif;
    color: var(--black);
}

.callback-modal__input,
.callback-modal__textarea {
    width: 100%;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--black);
    background: var(--white);
    resize: vertical;
}

.callback-modal__input:focus,
.callback-modal__textarea:focus {
    border-color: var(--brandGray);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 77, 130, 0.12);
}

.callback-modal__input.is-invalid {
    border-color: #d14343;
}

.callback-modal__submit {
    margin-top: 8px;
    width: 100%;
    border-radius: 10px;
    padding: 14px 16px;
    background: var(--brandGradient);
    color: var(--white);
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 16px;
    cursor: pointer;
}

.callback-modal__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.callback-modal__success {
    margin: 8px 0 0;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(30, 77, 130, 0.08);
    color: var(--brandGrayBold);
    font-size: 15px;
    line-height: 1.5;
}

.callback-toast {
    position: fixed;
    left: 20px;
    bottom: 88px;
    z-index: 9995;
    max-width: min(360px, calc(100vw - 40px));
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--white);
    color: var(--brandGrayBold);
    box-shadow: 0 12px 32px rgba(7, 20, 38, 0.22);
    border: 1px solid rgba(30, 77, 130, 0.18);
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.callback-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

body.callback-modal-open {
    overflow: hidden;
}

@media (max-width: 575px) {
    .callback-fab {
        left: 14px;
        bottom: 14px;
        padding: 14px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }

    .callback-fab__label {
        display: none;
    }

    .callback-modal__dialog {
        padding: 24px 18px 18px;
    }

    .callback-toast {
        left: 14px;
        bottom: 82px;
        max-width: calc(100vw - 28px);
    }
}
