.floating-whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 30px;
    display: flex;
    flex-direction: column; /* Размещение элементов по вертикали */
    align-items: center; /* Центрирование элементов по горизонтали */
    z-index: 1000;
}

.floating-whatsapp-button {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-whatsapp-button:hover {
    transform: scale(1.1);
}

.floating-whatsapp-button img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Убедитесь, что иконка масштабируется правильно */
}

@media (max-width: 600px) {
    .floating-whatsapp-button {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .floating-whatsapp-container {
        flex-direction: column; /* Размещаем элементы вертикально */
        align-items: flex-end; /* Выравнивание по правому краю */
        gap: 5px; /* Уменьшаем расстояние между элементами */
    }

    .floating-whatsapp-text {
        font-size: 12px; /* Уменьшаем размер текста */
        margin-top: 5px; /* Добавляем отступ сверху для текста */
    }
}

/* Основное изображение в качестве фона */
.swiper-container_1 {
    background-image: url('/media/img/bg/demo.jpg'); /* Путь к основному изображению */
    background-size: cover; /* Масштабирование изображения */
    background-position: center; /* Центрирование изображения */
    position: relative;
}

/* Стили для слайдера */
.swiper-slide {
    height: 500px; /* Высота слайда */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон для текста */
}

/* Стили для контейнера */
.button-price-container {
    display: flex;
    align-items: center; /* Выравниваем по вертикали */
    gap: 10px; /* Расстояние между кнопкой и ценой */
}

/* Стили для кнопки и цены (опционально) */
.btn-custom {
    margin-right: auto; /* Если нужно выровнять кнопку по левому краю */
}

.services__price {
    margin-left: auto; /* Если нужно выровнять цену по правому краю */
}

.services-container {
    display: flex;
    flex-wrap: wrap; /* Разрешает перенос карточек на новую строку */
    gap: 20px; /* Отступ между карточками */
}

.service-card {
    width: calc(33.33% - 20px); /* Три карточки в ряд с учетом отступов */
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 400px; /* Минимальная высота для выравнивания */
    display: flex;
    flex-direction: column; /* Вертикальное расположение содержимого */
    justify-content: space-between; /* Выравнивание по вертикали */
}

/* Стили для кнопки "Подробнее" */
.btn-more {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-more:hover {
    background-color: #d04b27;
}

/* Скрываем элементы по умолчанию */
.mobile-only {
    display: none; /* Скрываем элементы для мобильной версии */
}

.desktop-only {
    display: block; /* Показываем элементы для десктопа */
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .mobile-only {
        display: block; /* Показываем элементы для мобильной версии */
    }

    .desktop-only {
        display: none; /* Скрываем элементы для десктопа */
    }
}

/* === Только для мобильных устройств === */
@media (max-width: 767px) {

    /* Скрываем кнопку на десктопе */
    .mobile-gallery-toggle {
        display: block;
    }

    /* Скрываем галерею по умолчанию */
    .mobile-gallery-content {
        display: none;
        margin-top: -20px;
    }

    /* Показываем кнопку */
    .btn-show-gallery {
        padding: 10px 20px;
        background-color: #e67e22;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
    }

    .btn-show-gallery:hover {
        background-color: #0056b3;
    }

    /* Когда галерея открыта */
    .mobile-gallery-content.active {
        display: block;
    }
}

/* === Только для десктопа === */
@media (min-width: 768px) {
    /* Скрываем кнопку на десктопе */
    .mobile-gallery-toggle {
        display: none;
    }
}