@media (max-width: 991px) {

    .form-link-telegram {
        font-size: 12px;
    }
}

.radio-group-wrapper {
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.invalid-input .radio-label{
        color: #e04747;
}

.pricing-features span {
    font-weight: bold;
    color: #f4c400;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.service-page-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    max-width: 190px;
    pointer-events: none;
}

.service-page-nav .container {
    width: auto;
    max-width: none;
    padding: 0;
}

.service-page-nav__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
}

.service-page-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: fit-content;
    max-width: 160px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: rgba(17, 17, 17, 0.55);
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.service-page-nav__link::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.22);
    transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.service-page-nav__link:hover {
    color: rgba(17, 17, 17, 0.9);
    background: rgba(255, 193, 7, 0.12);
    text-decoration: none;
    transform: translateX(-2px);
}

.service-page-nav__link:hover::after {
    background: rgba(255, 193, 7, 0.75);
}

.service-page-nav__link.is-active {
    color: #111;
    background: rgba(255, 193, 7, 0.18);
    font-weight: 600;
}

.service-page-nav__link.is-active::after {
    width: 9px;
    height: 9px;
    background: #ffc107;
    box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.18);
}

.service-scroll-section {
    scroll-margin-top: 100px;
}

@media (max-width: 1399px) {
    .service-page-nav {
        right: 12px;
    }

    .service-page-nav__link {
        max-width: 140px;
        font-size: 11px;
    }
}

@media (max-width: 1199px) {
    .service-page-nav {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        transform: none;
        z-index: 100;
        max-width: none;
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.86);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid rgba(17, 17, 17, 0.08);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
        pointer-events: auto;
    }

    .service-page-nav .container {
        width: 100%;
        max-width: none;
        padding-left: 12px;
        padding-right: 12px;
    }

    .service-page-nav__inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x proximity;
    }

    .service-page-nav__inner::-webkit-scrollbar {
        display: none;
    }

    .service-page-nav__link {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: auto;
        max-width: none;
        min-height: 34px;
        padding: 8px 13px;
        border-radius: 999px;
        background: rgba(17, 17, 17, 0.05);
        color: rgba(17, 17, 17, 0.65);
        font-size: 12px;
        font-weight: 500;
        line-height: 1.2;
        text-decoration: none;
        white-space: nowrap;
        scroll-snap-align: center;
    }

    .service-page-nav__link::after {
        display: none;
    }

    .service-page-nav__link:hover {
        transform: none;
        color: #111;
        background: rgba(255, 193, 7, 0.16);
    }

    .service-page-nav__link.is-active {
        color: #111;
        background: #ffc107;
        font-weight: 600;
        box-shadow: 0 6px 18px rgba(255, 193, 7, 0.28);
    }

    .service-scroll-section {
        scroll-margin-top: 90px;
    }

    body {
        padding-bottom: 64px;
    }
}