/* Основной контейнер */
.services-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 60px;
    font-family: 'Tilda Sans', Arial, sans-serif;
}

/* Колонки */
.services-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Элемент услуги */
.service-item {
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-align: center;
}

.service-item:last-child {
    border-bottom: none;
}

/* Название услуги как ссылка - ФИКС ЦВЕТА */
.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #FF0000 !important;
    cursor: pointer;
    padding: 10px 0;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    margin: 0 auto;
    text-decoration: none;
    position: relative;
    font-family: 'Tilda Sans', Arial, sans-serif;
}

/* Добавляем свое подчеркивание */
.service-title::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #dc2626;
    transition: all 0.3s ease;
}

.service-title:hover {
    color: #b91c1c !important;
    transform: scale(1.05);
    text-decoration: none;
}

.service-title:hover::after {
    width: 100%;
    background-color: #b91c1c;
}

/* Выпадающий список - ДЕСКТОПНАЯ ВЕРСИЯ */
.service-dropdown {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
    font-family: 'Tilda Sans', Arial, sans-serif;
}

.service-item:hover .service-dropdown {
    max-height: 200px;
    opacity: 1;
}

/* Элементы выпадающего списка */
.dropdown-item {
    padding: 8px 0;
    color: #000000;
    font-size: 16px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Tilda Sans', Arial, sans-serif;
}

.dropdown-item:hover {
    color: #333333;
    transform: scale(1.02);
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* МОБИЛЬНАЯ ВЕРСИЯ - списки всегда раскрыты */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .services-column {
        gap: 0;
    }
    
    .service-title {
        font-size: 18px;
        color: #FF0000 !important;
    }
    
    /* На мобильных - всегда показываем выпадающий список */
    .service-dropdown {
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible;
    }
    
    .dropdown-item {
        font-size: 14px;
    }
    
    /* Убираем hover-эффекты для тач-устройств */
    .service-title:hover {
        transform: none;
    }
    
    .service-title:hover::after {
        width: 0;
    }
    
    .dropdown-item:hover {
        transform: none;
    }
}