.service-types {
    background: #FCF5FC;
}

.service-types__title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 55px;
    line-height: 64px;
    color: #5C075E;
    margin: 0 0 50px 0;
}

.service-types__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) {
    .service-types__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .service-types__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .service-types__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.service-types__card {
    background: #FFFFFF;
    border-radius: 25px;
    padding: 25px;
    height: 189px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.service-types__card::after {
    content: '';
    position: absolute;
    width: 205px;
    height: 193px;
    right: -19px;
    top: 33px;
    background: rgba(208, 111, 210, 0.05);
    filter: blur(70px);
    pointer-events: none;
}

.service-types__card:hover {
    box-shadow: 0 8px 24px rgba(141, 42, 143, 0.12);
}

.service-types__card-title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 38px;
    color: #5C075E;
    margin: 0;
    padding-right: 50px; 
}

.service-types__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-types__card-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    height: 33px;
    background: #FCF5FC;
    border-radius: 33px;
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 25px;
    color: #8E468F;
}

.service-types__card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.2s ease;
    position: relative;
    z-index: 1;
}

.service-types__card-link:hover {
    transform: translate(2px, -2px);
}

.service-types__card-arrow {
    width: 43px;
    height: 43px;
}

@media (max-width: 1024px) {
    .service-types__title {
        font-size: 34px;
        line-height: 46px;
        margin-bottom: 35px;
    }

    .service-types__card {
        height: 130px;
        padding: 20px;
        border-radius: 20px;
    }

    .service-types__card-title {
        font-size: 18px;
        line-height: 25px;
    }

    .service-types__card-price {
        font-size: 14px;
        line-height: 19px;
        padding: 2px 6px;
        border-radius: 22px;
    }

    .service-types__card-link {
        width: 30px;
        height: 30px;
    }

    .service-types__card-arrow {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .service-types__title {
        font-size: 24px;
        line-height: 27px;
        margin-bottom: 20px;
    }

    .service-types__card {
        height: 130px;
        border-radius: 20px;
    }
}