/* CSS Variables для блоков */
:root {
    --block-margin-bottom: 135px;
    --block-margin-bottom-mobile: 50px;
    --color-primary: #FF018F;
    --color-secondary: #0F8E97;
    --color-accent: #FFC600;
    --color-purple: #5E5F94;
    --color-text: #414141;
    --color-text-light: #979797;
}

/* Обёртка блока */
.special-effects-block {
    max-width: 1170px;
    margin: 0 auto var(--block-margin-bottom) !important;
    padding: 0 15px;
}

/* Блок спецэффектов */
.special-effects {
    background: #F6F6F6;
    border-radius: 5px;
    padding: 50px 40px;
    position: relative;
    z-index: 0;
}

/* Декоративные кляксы */
.special-effects__bg1,
.special-effects__bg2 {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    object-fit: cover;
}
.special-effects__bg1 {
    width: 400px;
    top: -180px;
    right: 0;
}
.special-effects__bg2 {
    width: 289px;
    top: 150px;
    left: -160px;
}

/* Заголовок */
.special-effects__header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}
.special-effects__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 10px;
}
.special-effects__subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0;
}

/* Сетка */
.special-effects__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Карточка эффекта */
.special-effects__item {
    background: #fff;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}
.special-effects__item:hover {
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

/* Иконка */
.special-effects__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; /* для stroke="currentColor" в SVG */
}
.special-effects__icon svg {
    width: 32px;
    height: 32px;
}

/* Цвета иконок */
.special-effects__icon--primary {
    background: linear-gradient(135deg, #FF018F 0%, #FF4DA6 100%);
}
.special-effects__icon--secondary {
    background: linear-gradient(135deg, #0F8E97 0%, #2ABAC5 100%);
}
.special-effects__icon--accent {
    background: linear-gradient(135deg, #FFC600 0%, #FF9500 100%);
}
.special-effects__icon--purple {
    background: linear-gradient(135deg, #5E5F94 0%, #7E7FB4 100%);
}

/* Название */
.special-effects__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

/* Описание */
.special-effects__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Цена */
.special-effects__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: auto;
}

/* Responsive */
@media (max-width: 1200px) {
    .special-effects__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .special-effects-block {
        margin-bottom: var(--block-margin-bottom-mobile) !important;
    }
    .special-effects {
        padding: 40px 20px;
    }
    .special-effects__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .special-effects__title {
        font-size: 24px;
    }
    .special-effects__bg1 {
        width: 180px;
        top: -80px;
        right: -20px;
    }
    .special-effects__bg2 {
        width: 150px;
        top: auto;
        bottom: -50px;
        left: -84px;
    }
}

@media (max-width: 480px) {
    .special-effects__grid {
        grid-template-columns: 1fr;
    }
}
