.call-button {
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #D4584D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 88, 77, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
    z-index: 9999;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-sizing: border-box;
    border: 2px solid transparent;
}

.call-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(212, 88, 77, 0.4);
    background: #fff;
    border-color: #D4584D;
}

.call-button img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
    transition: filter 0.2s ease;
}

.call-button:hover img {
    filter: invert(38%) sepia(89%) saturate(1532%) hue-rotate(336deg) brightness(92%) contrast(89%);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-card {
    background: #fff;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    margin: 20px;
    padding: 40px 30px 35px;
    position: relative;
    box-sizing: border-box;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #000;
    transition: color 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.popup-close:hover {
    color: #D4584D;
}

.popup-card .call-form {
    margin-top: 0;
}

.popup-card .call-form h2 {
    font-family: 'Montserrat-Black', sans-serif;
    text-transform: uppercase;
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 35px;
    color: #000;
    width: 100%;
    text-align: left;
}

.popup-card .form__form-block.form-block {
    position: relative;
    width: 100%;
    height: 55px;
    margin-bottom: 25px;
}

.popup-card .form__form-block.form-block input {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    border-bottom: 1px solid #000;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 15px;
    padding: 0;
    background: transparent;
}

.popup-card .form__form-block.form-block input:focus {
    border-bottom-color: #D4584D;
}

.popup-card .form__form-block.form-block label {
    position: absolute;
    transition: 0.2s;
    font-size: 15px;
    color: #999;
    left: 0;
    top: 16px;
    font-weight: normal;
    pointer-events: none;
}

.popup-card .form__form-block.form-block.focused label,
.popup-card .form__form-block.form-block.filled label {
    font-size: 11px;
    top: -8px;
    color: #999;
}

.popup-card .form__form-block.form-block.focused label {
    color: #D4584D;
}

.popup-card .form__form-block.form-block label.error {
    font-size: 11px;
    top: -8px;
    color: #D4584D !important;
}

.popup-card .smart-captcha {
    margin: 25px 0 20px;
    min-height: 102px;
}

.popup-card .form__form-block.form-block-submit {
    margin-top: 30px;
}

.popup-card .form__form-block.form-block-submit .btn {
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 2px solid #D4584D;
    color: #D4584D;
    border-radius: 20px;
    box-sizing: border-box;
    font-family: 'Montserrat-SemiBold', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.2s;
    cursor: pointer;
    background: #fff;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.popup-card .form__form-block.form-block-submit .btn:hover {
    background: #D4584D;
    color: #fff;
}

.popup-card .form__form-block.form-block-submit .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.popup-card .form__form-block.form-block-submit .btn:disabled:hover {
    background: #fff;
    color: #D4584D;
}

.popup-card .form__form-select {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 12px;
    color: #000;
    gap: 15px;
    margin-top: 23px;
    line-height: 1.2;
}

.popup-card .form__form-select input[type="checkbox"] {
    outline: 1px solid #000;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    outline-offset: 0;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid #fff;
}

.popup-card .form__form-select input[type="checkbox"]:checked {
    background: #D4584D;
    outline-color: #D4584D;
}

.popup-card .form__form-select a {
    color: #000;
    transition: 0.2s;
}

.popup-card .form__form-select a:hover {
    color: #D4584D;
}

.popup-card .form__form-select.active::before {
    content: 'Необходимо согласие';
    font-size: 10px;
    display: block;
    color: #D4584D;
    position: absolute;
    bottom: -18px;
    left: 33px;
    line-height: 1.1;
    width: 100%;
    opacity: 1;
    text-align: left;
    pointer-events: none;
}

.popup-card input:-webkit-autofill,
.popup-card input:-webkit-autofill:hover,
.popup-card input:-webkit-autofill:focus,
.popup-card input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
    background-color: #fff !important;
}

.popup-card input::-webkit-contacts-auto-fill-button,
.popup-card input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}

@media (max-width: 480px) {
    .call-button {
        bottom: 90px;
        right: 23px;
        width: 55px;
        height: 55px;
        border-radius: 50%;
    }
    
    .call-button img {
        width: 30px;
        height: 30px;
    }
    
    .popup-card {
        padding: 30px 20px 25px;
        margin: 15px;
    }
    
    .popup-card .call-form h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
}