.service-implants {
    background: #FCF5FC;
    padding-top: 160px;
}

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

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

@media (max-width: 1024px) {
    .service-implants__grid {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .service-implants__grid::-webkit-scrollbar {
        display: none;
    }

    .service-implants__card {
        flex: 0 0 221px;
        min-width: 221px;
    }
}

.service-implants__card {
    background: #FFFFFF;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 548px;
}

.service-implants__card-top {
    background: #F4E4F4;
    height: 227px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.service-implants__card-top::before {
    content: '';
    position: absolute;
    width: 195px;
    height: 195px;
    left: -58px;
    top: -88px;
    background: rgba(215, 119, 217, 0.19);
    filter: blur(44.5px);
    border-radius: 50%;
    pointer-events: none;
}

.service-implants__card-top::after {
    content: '';
    position: absolute;
    width: 183px;
    height: 180px;
    right: -30px;
    bottom: -20px;
    background: rgba(215, 119, 217, 0.19);
    filter: blur(44.5px);
    border-radius: 50%;
    pointer-events: none;
}

.service-implants__card-img {
    max-height: 173px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.service-implants__card-brand {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 25px 25px 0;
}

.service-implants__card-brand-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.service-implants__card-name {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 38px;
    color: #5C075E;
}

.service-implants__card-subtitle {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #B171B2;
}

.service-implants__card-logo {
    max-height: 30px;
    width: auto;
    display: block;
    object-fit: contain;
}

.service-implants__card-flag {
    width: 81px;
    height: 59px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.service-implants__card-specs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px 25px 0;
    flex: 1;
}

.service-implants__card-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.service-implants__card-spec-label {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #8E468F;
    white-space: nowrap;
}

.service-implants__card-spec-value {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #5C075E;
    text-align: right;
}

.service-implants__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px 25px;
    margin-top: auto;
}

.service-implants__card-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    height: 35px;
    background: #FCF5FC;
    border-radius: 73px;
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 27px;
    color: #5C075E;
}

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

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

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

@media (max-width: 1024px) {
    .service-implants { padding-top: 100px !important; }

    .service-implants__title {
        font-size: 34px;
        line-height: 46px;
        margin-bottom: 35px;
    }

    .service-implants__card {
        min-height: 359px;
        border-radius: 20px;
    }

    .service-implants__card-top {
        height: 140px;
    }

    .service-implants__card-img {
        max-height: 96px;
    }

    .service-implants__card-brand {
        padding: 15px 15px 0;
    }

    .service-implants__card-name {
        font-size: 18px;
        line-height: 25px;
    }

    .service-implants__card-subtitle {
        font-size: 12px;
        line-height: 16px;
    }

    .service-implants__card-flag {
        width: 50px;
        height: 36px;
    }

    .service-implants__card-specs {
        padding: 15px 15px 0;
        gap: 10px;
    }

    .service-implants__card-spec-label {
        font-size: 12px;
        line-height: 16px;
    }

    .service-implants__card-spec-value {
        font-size: 12px;
        line-height: 16px;
    }

    .service-implants__card-footer {
        padding: 15px;
    }

    .service-implants__card-price {
        font-size: 14px;
        line-height: 19px;
        height: 27px;
    }

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

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

@media (max-width: 576px) {
    .service-implants { padding-top: 70px; }

    .service-implants__title {
        font-size: 24px;
        line-height: 27px;
        margin-bottom: 25px;
    }
}