.contact-us-btn {
    /* Основные стили кнопки */
    display: block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #007bff;
    border: 3px solid #007bff;
    color: #fff;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    line-height: 2;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, 
                border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.23);

    /* Новые стили для расположения */
    position: fixed; /* Фиксируем кнопку внизу экрана */
    bottom: 0; /* Прижимаем к нижней части экрана */
    left: 0; /* Растягиваем от левого края */
    width: 100%; /* Растягиваем на всю ширину */
    z-index: 1000; /* Убедимся, что кнопка поверх других элементов */
}
@media (min-width: 768px) {
    .contact-us-btn {
        display: none;
    }
}
/* Hover-эффект */
.contact-us-btn:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    color: #fff;
    text-decoration: none;
}

/* Focus и active эффекты */
.contact-us-btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}

.contact-us-btn:active {
    background-color: #0062cc;
    border-color: #005cbf;
}
/* Text side padding on all pages (except hero image) */
@media (max-width: 1024px){
    body, 
    .container,
    .content,
    .page,
    .page-body,
    section:not(.bradcam_area),
    .w3l-visitors-agile,
    .agileits-services,
    .w3ls-about,
    .typo,
    .w3-agile-team,
    .services-bottom,
    .agileits-w3layouts-footer {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }
}

/* Mobile-only text side padding */
@media (max-width: 768px){
    body, 
    .container,
    .content,
    .page,
    .page-body,
    section:not(.bradcam_area),
    .w3l-visitors-agile,
    .agileits-services,
    .w3ls-about,
    .typo,
    .w3-agile-team,
    .services-bottom,
    .agileits-w3layouts-footer {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }
}

/* Fix: remove padding on hero image in mobile */
@media (max-width: 768px){
    .bradcam_area,
    .bradcam_area .container,
    .bradcam_area section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}

/* Fix white side gaps on mobile: no padding on body */
@media (max-width: 768px){
    body{
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Reduce top header height on mobile */
@media (max-width: 768px){
    header,
    .navbar,
    .navbar-default,
    .w3_navigation {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        height: auto !important;
        min-height: 40px !important;
    }
    .nav-contact-w3ls,
    .navbar-header {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Hide top phone block on mobile */
@media (max-width: 768px){
    .nav-contact-w3ls,
    .navbar-header > a[href^="tel"],
    .navbar-header .nav-contact-w3ls {
        display: none !important;
    }

    /* Move menu (hamburger) over hero image */
    .navbar-toggle {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
        margin: 0 !important;
    }

    header, .navbar, .navbar-default, .w3_navigation {
        background: transparent !important;
        height: auto !important;
    }
}

@media (max-width: 768px){
    .bradcam_text,
    .bradcam_area .bradcam_text,
    .banner-text,
    .overlay,
    .w3l-banner-text {
        background: transparent !important;
        box-shadow: none !important;
        display: none !important;
    }
}

@media (max-width:768px){
    .buy-btn-mobile{
        display:inline-block;
        background:#005bbb;
        color:#fff !important;
        padding:12px 22px;
        border-radius:6px;
        font-size:18px;
        font-weight:600;
        position:absolute;
        bottom:20px;
        left:50%;
        transform:translateX(-50%);
        z-index:9999;
        text-decoration:none;
    }
    /* hide the overlay */
    .bradcam_text,
    .banner-text,
    .overlay{
        display:none !important;
    }
}

/* Footer Moscow background */
@media (max-width: 1200px){
    .agileits-w3layouts-footer,
    .footer,
    footer,
    .w3l-visitors-agile {
        background: url('../images/footer_bg_moscow.png') no-repeat center center !important;
        background-size: cover !important;
    }
}
