/* Интерактивный блок услуг */
.interactive-services {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 30px 0px;
    /* margin: 40px 0; */
    margin-bottom: 0px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.interactive-services__container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    align-items: start;
}

/* Контентная часть (слева) */
.interactive-services__content {
    min-height: 250px;
}

.interactive-services__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.interactive-services__description {
    font-size: 1rem;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 1rem;
}

.interactive-services__features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.interactive-services__feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 8px;
    border-left: 3px solid #7c3aed;
}

.interactive-services__feature-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    color: #7c3aed;
    flex-shrink: 0;
}

.interactive-services__feature-text {
    color: #2d3748;
    font-size: 0.9rem;
}

.interactive-services__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
    margin: 1rem 0;
}

.interactive-services__price-note {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 400;
}

.interactive-services__button {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.interactive-services__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.interactive-services__button:active {
    transform: translateY(0);
}

/* Контейнер для кнопок */
.interactive-services__button-container {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Стилизация вторичной кнопки в интерактивном блоке */
.interactive-services__button-container .btn-secondary {
    background: #fff;
    color: #7C3AED;
    border: 2px solid #7C3AED;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
}

.interactive-services__button-container .btn-secondary:hover {
    background: #8247e9;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* Кнопки услуг (справа) */
.interactive-services__buttons {
    position: sticky;
    top: 60px;
}

.interactive-services__button-item {
    width: 100%;
    background: white;
    border: 2px solid #e2e8f0;
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.interactive-services__button-item:hover {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.05);
    transform: translateX(-3px);
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.15);
}

.interactive-services__button-item.active {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border-color: #7c3aed;
    color: white;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.interactive-services__button-item.active .interactive-services__button-title {
    color: white;
}

.interactive-services__button-item.active .interactive-services__button-description {
    color: rgba(255, 255, 255, 0.9);
}

.interactive-services__button-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    color: #7c3aed;
    transition: all 0.3s ease;
}

.interactive-services__button-item.active .interactive-services__button-icon {
    color: white;
    transform: scale(1.05);
}

.interactive-services__button-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.interactive-services__button-description {
    display: none;
}

/* Анимация появления контента */
.interactive-services__content {
    animation: fadeInContent 0.5s ease;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .interactive-services {
        padding: 25px 20px;
        margin: 35px 0;
    }

    .interactive-services__container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .interactive-services__buttons {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 12px;
    }

    .interactive-services__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .interactive-services {
        padding: 20px 15px;
        margin: 30px 0;
        border-radius: 12px;
    }

    .interactive-services__buttons {
        grid-template-columns: 1fr;
    }

    .interactive-services__title {
        font-size: 1.4rem;
    }

    .interactive-services__description {
        font-size: 0.95rem;
    }

    .interactive-services__price {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .interactive-services {
        padding: 15px 12px;
        margin: 25px 0;
    }

    .interactive-services__title {
        font-size: 1.25rem;
    }

    .interactive-services__button-item {
        padding: 12px 14px;
    }

    .interactive-services__button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .interactive-services__button-container {
        flex-direction: column;
        gap: 10px;
    }

    .interactive-services__button-container .btn-secondary {
        min-width: auto;
        width: 100%;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}