#main-page-seo-per .more-services {
    padding: 100px 0 40px;
    --ms-title-lines: 2;
    --ms-desc-lines: 2;
    --ms-row-gap: 16px;
}

#main-page-seo-per .more-services__header {
    max-width: 860px;
    margin: 0 auto 40px;
    text-align: center;
}

#main-page-seo-per .more-services__title {
    margin: 0 0 20px;
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: #4a5fe6;
}

#main-page-seo-per .more-services__subtitle {
    margin: 0 auto;
    max-width: 760px;
    font-size: 16px;
	font-weight:400;
    line-height: 1.25;
    color: rgba(44, 44, 44, 0.9);
}

#main-page-seo-per .more-services__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    max-width: 1240px;
    margin: 0 auto;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    cursor: grab;
}

#main-page-seo-per .more-services__grid::-webkit-scrollbar {
    display: none;
}

#main-page-seo-per .more-services__grid.is-dragging {
    scroll-behavior: auto;
    cursor: grabbing;
}

#main-page-seo-per .more-services__card {
    flex: 0 0 calc((100% - 28px) / 3);
    width: calc((100% - 28px) / 3);
    max-width: calc((100% - 28px) / 3);
    height: 100%;
    min-height: clamp(340px, 31vw, 400px);
    border-radius: 20px;
    border: 1px solid rgba(74, 95, 230, 0.22);
    background: #f7f8ff;
    padding: 28px 22px 24px;
    display: grid;
    grid-template-rows: auto auto 1px auto 1fr auto;
    row-gap: var(--ms-row-gap);
    align-content: start;
    scroll-snap-align: start;
}

#main-page-seo-per .more-services__card--accent {
    border-color: transparent;
    background: linear-gradient(90deg, #3e57f8 0%, #9e9fe2 100%);
}

#main-page-seo-per .more-services__card-title {
    margin: 0;
    min-height: calc(var(--ms-title-lines) * 0.96em);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--ms-title-lines);
    overflow: hidden;
    font-size: 32px;
    line-height: 0.96;
    font-weight: 600;
    color: #4a5fe6;
}

#main-page-seo-per .more-services__card--accent .more-services__card-title {
    color: #f7f7f7;
}

#main-page-seo-per .more-services__card-desc {
    margin: 0;
    max-width: 380px;
    min-height: calc(var(--ms-desc-lines) * 1.15em);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--ms-desc-lines);
    overflow: hidden;
    font-size: 16px;
	font-weight:400;
    line-height: 1.15;
    color: rgba(44, 44, 44, 0.6);
}

#main-page-seo-per .more-services__card--accent .more-services__card-desc {
    color: rgba(247, 247, 247, 0.85);
}

#main-page-seo-per .more-services__line {
    display: block;
    margin: 0;
    width: 100%;
    height: 1px;
    background: rgba(44, 44, 44, 0.16);
}

#main-page-seo-per .more-services__card--accent .more-services__line {
    background: rgba(247, 247, 247, 0.34);
}

#main-page-seo-per .more-services__price {
    margin: 0;
    min-height: 1em;
    display: flex;
    align-items: flex-end;
    white-space: nowrap;
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
    color: #2c2c2c;
}

#main-page-seo-per .more-services__card--accent .more-services__price {
    color: #f7f7f7;
}

#main-page-seo-per .more-services__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: clamp(44px, 4vw, 56px);
    gap: 18px;
    align-self: end;
}

#main-page-seo-per .more-services__order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border-radius: 999px;
    padding: 10px 30px;
    background: #ffd125;
    color: #2c2c2c;
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

#main-page-seo-per .more-services__order-btn:hover {
    transform: translateY(-1px);
    filter: brightness(0.98);
}

#main-page-seo-per .more-services__details {
    color: rgba(44, 44, 44, 0.8);
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#main-page-seo-per .more-services__card--accent .more-services__details {
    color: rgba(247, 247, 247, 0.85);
}

#main-page-seo-per .more-services__nav {
    max-width: 1240px;
    margin: 30px auto 0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

#main-page-seo-per .more-services__nav-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1.5px solid rgba(44, 44, 44, 0.7);
    border-radius: 50%;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

#main-page-seo-per .more-services__nav-icon {
    width: 18px;
    height: 18px;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

#main-page-seo-per .more-services__nav-btn:hover .more-services__nav-icon {
    opacity: 1;
}

#main-page-seo-per .more-services__nav-btn:disabled,
#main-page-seo-per .more-services__nav-btn.is-disabled {
    opacity: 0.45;
    border-color: rgba(44, 44, 44, 0.35);
    cursor: default;
    pointer-events: none;
}

#main-page-seo-per .more-services__nav-btn:disabled .more-services__nav-icon,
#main-page-seo-per .more-services__nav-btn.is-disabled .more-services__nav-icon {
    opacity: 0.45;
}

@media (max-width: 1280px) {
    #main-page-seo-per .more-services {
        --ms-row-gap: 14px;
        --ms-desc-lines: 3;
    }

    #main-page-seo-per .more-services__title {
        font-size: 36px;
    }

    #main-page-seo-per .more-services__subtitle {
        font-size: 16px;
    }

    #main-page-seo-per .more-services__grid {
        gap: 12px;
    }

    #main-page-seo-per .more-services__card {
        flex: 0 0 calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
        max-width: calc((100% - 12px) / 2);
        min-height: 320px;
        grid-template-rows: auto auto 1px auto 1fr auto;
    }

    #main-page-seo-per .more-services__card-title {
        font-size: 28px;
    }

    #main-page-seo-per .more-services__card-desc,
    #main-page-seo-per .more-services__details,
    #main-page-seo-per .more-services__order-btn {
        font-size: 16px;
    }

    #main-page-seo-per .more-services__price {
        font-size: 30px;
    }
}

@media (max-width: 1024px) {
    #main-page-seo-per .more-services {
        padding: 70px 0 30px;
        --ms-desc-lines: 4;
    }

    #main-page-seo-per .more-services__card {
        min-height: 340px;
        scroll-snap-align: start;
    }

    #main-page-seo-per .more-services__nav {
        margin-top: 22px;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    #main-page-seo-per .more-services {
        padding: 56px 0 24px;
    }

    #main-page-seo-per .more-services__header {
        margin-bottom: 24px;
        text-align: left;
    }

    #main-page-seo-per .more-services__title {
        font-size: 28px;
    }

    #main-page-seo-per .more-services__subtitle {
        font-size: 14px;
    }

    #main-page-seo-per .more-services__card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-height: 300px;
        padding: 22px 16px 20px;
    }

    #main-page-seo-per .more-services__card-title {
        font-size: 24px;
    }

    #main-page-seo-per .more-services__price {
        font-size: 26px;
    }

    #main-page-seo-per .more-services__actions {
        gap: 12px;
    }

    #main-page-seo-per .more-services__order-btn {
        min-height: 44px;
        padding: 10px 18px;
        font-size: 14px;
    }

    #main-page-seo-per .more-services__details {
        font-size: 14px;
    }

    #main-page-seo-per .more-services__nav-btn {
        width: 44px;
        height: 44px;
    }
}
