.custom-services-section h3 {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
}
.custom-services-section{padding: 0 0 !important;}
.service-slide-item {
    position: relative;
    height: 350px; /* Высота карточки по макету */
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Затемнение снизу для читаемости текста */
.service-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.service-slide-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: left;
}

.service-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Стилизация кнопки по ТЗ */
.service-btn-custom {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #74b97a !important; /* Твой цвет */
    color: #fff !important;
    border: none !important;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.service-btn-custom:hover {
    background-color: #5ea064 !important; /* Немного темнее при наведении */
}
/* Выносим стрелки по бокам от слайдера */
.custom-services-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    left: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Чтобы контейнер стрелок не перекрывал клики по карточкам */
}

/* Очищаем стандартные стили кнопок Owl */
.custom-services-slider .owl-nav button {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 -20px !important; /* Сдвигаем стрелки немного за края */
    pointer-events: auto;
}

/* Красивое оформление самих кружочков */
.custom-nav-btn {
    background-color: #fff;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 18px;
    transition: all 0.3s ease;
}

/* Цвет при наведении (ваш зеленый) */
.custom-nav-btn:hover {
    background-color: #74b97a;
    color: #fff;
}

/* Скрываем неактивную стрелку (когда листать некуда) */
.custom-services-slider .owl-nav button.disabled {
    opacity: 0.3;
    cursor: default;
}
/* 1. Очищаем карточки от чужих отступов */
.custom-services-slider .item {
    width: 100%;
    margin: 0 !important; /* Убиваем случайные отступы Аспро, слайдер использует свои */
    display: block;
}

/* 2. Жестко фиксируем пропорции самой карточки */
.service-slide-item {
    position: relative;
    width: 100%;
    height: 380px; /* Фиксированная высота (можете поменять на нужную) */
    border-radius: 12px;
    background-color: #4a4a4a; /* Заглушка, если нет фото */
    background-size: cover !important; /* Заставляем фото заполнить весь блок без искажений */
    background-position: center !important;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

/* 3. Настраиваем внутренний контейнер для выравнивания кнопок */
.service-slide-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* 4. Фиксируем высоту заголовка под 2 строки */
.service-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 42px; /* Выделяем место ровно под 2 строки текста */
    display: flex;
    align-items: flex-end; /* Если строка одна, она прижмется к низу (к кнопке) */
}
/* Стили для цены */
.service-price {
    color: #ffffff; /* Белый цвет */
    font-size: 13px; /* Делаем шрифт меньше заголовка */
    font-weight: 500;
    margin-bottom: 15px; /* Отступ снизу до зеленой кнопки */
    opacity: 0.9; /* Слегка приглушаем яркость, чтобы заголовок оставался главным */
}

/* Корректируем отступ у заголовка, так как под ним теперь цена */
.service-name {
    margin-bottom: 8px !important; /* Уменьшаем отступ между названием и ценой */
}