/* Уникальный дизайн для страниц услуг */

/* Анимированный фон */
body {
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 217, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(1deg); }
}

/* Breadcrumbs БЕЗ анимации */
.speedbar {
    background: rgba(15, 20, 32, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.speedbar a {
    color: #00d9ff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.speedbar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00d9ff, #a855f7);
    transition: width 0.3s ease;
}

.speedbar a:hover::after {
    width: 100%;
}

/* Навигация по услугам БЕЗ float анимации */
.short-wrap {
    perspective: 1000px;
    margin-bottom: 40px;
}

.cat {
    background: rgba(26, 31, 58, 0.6) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 25px !important;
    padding: 25px !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform-style: preserve-3d;
}

.cat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 217, 255, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat:hover::before {
    opacity: 1;
}

.catalog-content_link {
    background: rgba(15, 20, 32, 0.8) !important;
    border: 1px solid rgba(0, 217, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 12px 18px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    transform-origin: center !important;
}

.catalog-content_link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.3), transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.catalog-content_link:hover::before {
    width: 200px;
    height: 200px;
}

.catalog-content_link:hover {
    transform: translateY(-5px) scale(1.05) !important;
    border-color: #00d9ff !important;
    box-shadow: 0 15px 30px rgba(0, 217, 255, 0.4) !important;
    color: white !important;
}

.catalog-content_link.active {
    background: linear-gradient(135deg, #00d9ff, #a855f7) !important;
    border-color: transparent !important;
    color: white !important;
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.5) !important;
    animation: pulse 2s infinite !important;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 25px rgba(0, 217, 255, 0.5); }
    50% { box-shadow: 0 15px 35px rgba(0, 217, 255, 0.7); }
}

/* Центральный заголовок с эффектами */
.block-promotion h1 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin: 40px 0;
    background: linear-gradient(135deg, #00d9ff, #a855f7, #00d9ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
    position: relative;
}

.block-promotion h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #00d9ff, #a855f7);
    border-radius: 2px;
    animation: lineGrow 2s ease-out;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes lineGrow {
    0% { width: 0; }
    100% { width: 100px; }
}

/* Иконка в форме - стилизация под новый дизайн */
.promotion_item-image {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #00d9ff, #a855f7) !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 30px !important;
    position: relative !important;
    box-shadow: 
        0 20px 40px rgba(0, 217, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    overflow: hidden !important;
}

.promotion_item-image::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: rgba(26, 31, 58, 0.1);
    border-radius: 17px;
    backdrop-filter: blur(10px);
}

.promotion_item-image img {
    width: 45px !important;
    height: 45px !important;
    position: relative !important;
    z-index: 2 !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)) !important;
    object-fit: contain !important;
    margin: 0 !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}

/* Телеграм блок в темной теме */
.telegram-promo {
    background: rgba(26, 31, 58, 0.6) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(15px) !important;
    padding: 25px !important;
    margin-top: 30px !important;
}

.telegram-promo p {
    color: #94a3b8 !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
}

.telegram-promo a {
    background: linear-gradient(135deg, #0088cc, #0066aa) !important;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3) !important;
}

.telegram-promo a:hover {
    background: linear-gradient(135deg, #0099dd, #0077bb) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(0, 136, 204, 0.5) !important;
}

/* Мобильный адаптив */
@media (max-width: 768px) {
    
    /* Отключаем анимации на мобиле */
    body::before {
        animation: none !important;
        transform: none !important;
    }
    
    /* АДАПТИВ ДЛЯ ФОРМ - только контейнеры, не логика */
    .full_short {
        margin: 20px 10px !important;
        padding: 20px 15px !important;
        border-radius: 20px !important;
        max-width: calc(100vw - 20px) !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .full_grid {
        display: block !important;
        width: 100% !important;
    }
    
    .full_short-item {
        margin-bottom: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .full_short-quantity {
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }
    
    /* Иконка формы на мобиле */
    .promotion_item-image {
        width: 40px !important;
        height: 40px !important;
        margin: 15px auto 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        border-radius: 15px !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }
    
    .promotion_item-image img {
        width: 30px !important;
        height: 30px !important;
        object-fit: contain !important;
        margin: 0 !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
    }
    
    /* Кнопки количества на мобиле */
    .quantity_minus,
    .quantity_plus {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        flex-shrink: 0 !important;
    }
    
    .quantity_input {
        height: 40px !important;
        font-size: 16px !important;
        min-width: 60px !important;
    }
    
    /* Поля ввода на мобиле */
    .full_short-input,
    select:not(.lang-select) {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
        padding: 12px 15px !important;
    }
    
    /* Кнопка заказа на мобиле */
    .full_short-link {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        text-align: center !important;
    }
    
    /* Блок с ценой на мобиле */
    .full_short-panel {
        padding: 15px !important;
        text-align: center !important;
    }
    
    .catalog-content_link:hover {
        transform: none !important;
    }
    
    /* Навигация услуг */
    .cat {
        padding: 15px !important;
        margin: 10px !important;
        gap: 8px !important;
        border-radius: 20px !important;
    }
    
    .catalog-content_link {
        padding: 10px 15px !important;
        font-size: 13px !important;
        border-radius: 15px !important;
        min-width: auto !important;
        flex: 1 1 auto !important;
    }
    
    .catalog-content_link img {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Преимущества на мобиле - УДАЛЕНО */
    
    /* Заголовки */
    .block-promotion h1 {
        font-size: 20px !important;
        margin: 20px 10px 30px !important;
        line-height: 1.3 !important;
    }
    
    .title {
        font-size: 28px !important;
        margin-bottom: 30px !important;
    }
    
    /* Телеграм блок на мобиле */
    .telegram-promo {
        margin: 20px 10px !important;
        padding: 20px !important;
    }
    
    .telegram-promo p {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }
    
    .telegram-promo a {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    /* Breadcrumbs */
    .speedbar {
        padding: 10px 0 !important;
        font-size: 13px !important;
    }
    
    .speedbar .wrap {
        padding: 0 15px !important;
    }
}

/* Дополнительные фиксы для очень маленьких экранов */
@media (max-width: 480px) {
    
    .block-promotion h1 {
        font-size: 20px !important;
        margin: 15px 5px 25px !important;
    }
    
    .cat {
        margin: 5px !important;
        padding: 12px !important;
    }
    
    .catalog-content_link {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    /* Преимущества удалены */
    
    /* Форма на очень маленьких экранах */
    .full_short {
        margin: 10px 5px !important;
        padding: 15px 10px !important;
    }
    
    .promotion_item-image {
        width: 40px !important;
        height: 40px !important;
        margin: 10px auto 15px !important;
    }
    
    .promotion_item-image img {
        width: 25px !important;
        height: 25px !important;
    }
    
    .quantity_minus,
    .quantity_plus {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
    }
    
    .quantity_input {
        height: 35px !important;
        font-size: 14px !important;
        min-width: 50px !important;
    }
    
    .full_short-input,
    select:not(.lang-select) {
        padding: 10px 12px !important;
        font-size: 14px !important;
    }
    
    .full_short-link {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
}