.header-service__navigate {
    border-bottom: 1.5px solid #E6E8EC;
    position: fixed;
    right: 0;
    width: 100%;
    background: white;
    top: -300px;

    transition: 1s;

    z-index: 1;
}

.header-service__navigate--show {
    top: 152px;
}

.header-service__navigate-wrapper {
    display: flex;
}

.header-service__navigate-item {
    padding: 12px;
    color: #111827;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
}

.header-service__navigate-item--active {
    border-bottom: 2px solid #5375FC;
}



.section-detail__banner {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.section-detail__banner-info {
    max-width: 635px;
    border-radius: 20px;
    background: #F5F6FB;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-detail__banner-title {
    color: #111827;
    font-size: 52px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
}

.section-detail__banner-description {
    color: #5A616C;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;

    margin-top: 24px;
}

.section-detail__banner-btn {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;

    display: flex;
    gap: 12px;
    align-items: center;
    width: fit-content;
    padding: 14px 20px 14px 24px;

    border-radius: 64px;
    background: #B90640;

    margin-top: 40px;
    transition: 0.3s;

    &:hover {
        cursor: pointer;
        background: #9B0022;
    }
}

.catalog-section__title {
    font-weight: 500;
    font-style: Medium;
    font-size: 52px;
    line-height: 60px;
    margin-bottom: 40px;
}


.detail-information {
    display: flex;
    gap: 48px;

    margin-top: 160px;
}

.detail-information__title {
    color: #111827;
    font-size: 52px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
}

.detail-information__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    padding-left: 17px;
}

.detail-information__item {
    color: #111827;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.detail-information__desc {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-information__p {
    color: #111827;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.section-detail__banner-image img {
    max-width: 549px;
}

.knowledge-tabs {
    margin-top: 160px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.knowledge-tabs__title {
    color: #111827;
    font-size: 52px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
    margin: 0;
}

.knowledge-tabs__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.knowledge-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.knowledge-tabs__tab {
    padding: 6px 16px;
    border-radius: 8px;
    border: 2px solid #E6E8EC;
    background: #FFF;
    color: #111827;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    transition: border-color 0.3s;
    white-space: nowrap;
    font-family: "Golos", sans-serif;
}

.knowledge-tabs__tab:hover {
    border-color: #5375FC;
}

.knowledge-tabs__tab--active {
    border-color: #5375FC;
}

.knowledge-tabs__panels {
    position: relative;
}

/* Мобильный селектор разделов (на десктопе скрыт) */
.knowledge-tabs__select {
    display: none;
    position: relative;
}

.knowledge-tabs__select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 12px 12px 12px 24px;
    border: 2px solid #E6E8EC;
    border-radius: 64px;
    background: #FFF;
    cursor: pointer;
    font-family: "Golos", sans-serif;
}

.knowledge-tabs__select-current {
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
}

.knowledge-tabs__select-chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.knowledge-tabs__select--open .knowledge-tabs__select-chevron {
    transform: rotate(180deg);
}

/* Мобильный bottom sheet со списком разделов */
.knowledge-tabs__sheet {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.knowledge-tabs__sheet--open {
    display: block;
}

.knowledge-tabs__sheet-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.4;
}

.knowledge-tabs__sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    background: #FFF;
    border-radius: 16px 16px 0 0;
    padding-top: 6px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.knowledge-tabs__sheet--open .knowledge-tabs__sheet-panel {
    transform: translateY(0);
}

.knowledge-tabs__sheet-handle {
    width: 56px;
    height: 4px;
    margin: 0 auto;
    border-radius: 7px;
    background: #D0D4DA;
    opacity: 0.6;
}

.knowledge-tabs__sheet-hat {
    display: flex;
    align-items: baseline;
    padding: 24px 20px 12px;
    border-bottom: 1px solid #E6E8EC;
}

.knowledge-tabs__sheet-title {
    color: #5A616C;
    font-family: "Golos", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.knowledge-tabs__sheet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 6px 20px;
}

.knowledge-tabs__sheet-item {
    padding: 9px 14px;
    border: none;
    border-radius: 8px;
    background: #FFF;
    color: #111827;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s;
}

.knowledge-tabs__sheet-item:hover,
.knowledge-tabs__sheet-item--active {
    background: #F5F6FB;
}

.knowledge-tabs__panel {
    display: none;
    gap: 48px;
    align-items: flex-start;
}

.knowledge-tabs__panel--active {
    display: flex;
}

.knowledge-tabs__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 600px;
    flex-shrink: 0;
}

.knowledge-tabs__subtitle {
    color: #111827;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    margin: 0;
}

.knowledge-tabs__desc {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.knowledge-tabs__desc p {
    color: #111827;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    margin: 0;
}

.knowledge-tabs__image {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.knowledge-tabs__image img {
    width: 552px;
    height: 397px;
    object-fit: cover;
    border-radius: 20px;
}

/* Панель со списками (второй вариант таба) */
.knowledge-tabs__panel--wide .knowledge-tabs__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 48px;
    min-width: 0;
}

.knowledge-tabs__panel--wide .knowledge-tabs__co--big {
    min-width: 600px;
}

.knowledge-tabs__group.knowledge-tabs__group-gap16 {
    gap: 16px;
}

.knowledge-tabs__group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.knowledge-tabs__group .knowledge-tabs__group {
    gap: 16px;
}

.knowledge-tabs__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.knowledge-tabs__list-item {
    position: relative;
    padding-left: 17px;
    color: #111827;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.knowledge-tabs__list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #111827;
}

.knowledge-tabs__list--num {
    counter-reset: knowledge-tabs-num;
}

.knowledge-tabs__list--num .knowledge-tabs__list-item {
    counter-increment: knowledge-tabs-num;
    padding-left: 28px;
}

.knowledge-tabs__list--num .knowledge-tabs__list-item::before {
    content: counter(knowledge-tabs-num) ".";
    top: 0;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    color: #111827;
    font-weight: 500;
}

.knowledge-tabs__list.knowledge-tabs__list--num {
    gap: 24px;
}

.knowledge-tabs__image--top img {
    width: 100%;
    height: 397px;
}

.knowledge-tabs__image--tall img {
    height: 610px;
}

.knowledge-tabs__note {
    color: #111827;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    margin: 0;
}

.section-detail--v2 {
    margin-top: 8px;
}

@media(max-width: 991px) {
    .knowledge-tabs__panel--wide .knowledge-tabs__co--big {
        min-width: unset;
    }

    .header-service__navigate--show {
        top: 71px;
        overflow: auto;
    }

    .header-service__navigate-item {
        font-size: 15px;
        font-weight: 500;

        padding: 9px 12px;
    }

    .header-service__navigate-wrapper {
        padding-top: 12px;
        width: max-content;
    }

    .section-detail__banner {
        flex-direction: column;
    }

    .section-detail__banner-info {
        padding: 16px;
    }

    .section-detail__banner-title {
        font-size: 32px;
        font-style: normal;
        font-weight: 500;
        line-height: 40px;
    }

    .section-detail__banner-description {
        margin-top: 16px;
        gap: 12px;

        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }

    .section-detail__banner-btn {
        margin-top: 32px;
        padding: 12px 20px;
        width: 100%;
        text-align: center;

        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;
        justify-content: center;
    }

    .section-detail__banner-image {
        margin-top: 16px;
    }

    .section-detail__banner-image img {
        width: 100%;
        max-height: 220px;
        object-fit: cover;
        border-radius: 16px;
    }

    .detail-information {
        margin-top: 80px;
        flex-direction: column;
    }

    .detail-information__list {
        margin-top: 24px;
        gap: 10px;
    }

    .detail-information__title {
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 32px;
    }

    .detail-information__item {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px;
    }

    .detail-information__p {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px;
    }

    .detail-information__desc {
        gap: 16px;
        margin-top: 16px;
    }

    .detail-information__img img {
        width: 100%;
    }

    .detail-information {
        gap: 32px;
    }


    .modern-technologies {
        margin-top: 80px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .modern-technologies__title {
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 32px;

        max-width: 304px;
    }


    .modern-technologies__ico {
        right: -7px;
        top: 30px;
    }

    .modern-technologies__ico img {
        width: 139px;
    }

    .modern-technologies__desc {
        margin-right: 0;
        justify-content: flex-start;
        margin-top: 32px;
    }

    .modern-technologies__desc-text {
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;

        margin-top: 26px;
    }

    .modern-technologies__desc-text br {
        display: none;
    }

    .modern-slider__swiper .swiper-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .swiper-slide.modern-slider__card {
        padding: 20px;
    }

    .modern-slider__slide {
        height: unset !important;
    }

    .modern-slider__title {
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 32px;
        margin-top: 32px;
    }

    .modern-slider__text {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px;

        margin-top: 12px;
    }

    .knowledge-tabs {
        margin-top: 80px;
        gap: 24px;
    }

    .knowledge-tabs__title {
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: 32px;
    }

    .knowledge-tabs__content {
        gap: 24px;
    }

    .knowledge-tabs__nav {
        display: none;
    }

    .knowledge-tabs__select {
        display: block;
    }

    .knowledge-tabs__tab {
        font-size: 14px;
        line-height: 20px;
        padding: 8px 12px;
    }

    .knowledge-tabs__panel {
        flex-direction: column;
        gap: 24px;
    }

    .knowledge-tabs__text {
        width: 100%;
        gap: 16px;
    }

    .knowledge-tabs__subtitle {
        font-size: 20px;
        line-height: 28px;
    }

    .knowledge-tabs__desc p {
        font-size: 16px;
        line-height: 24px;
    }

    .knowledge-tabs__image img {
        width: 100%;
        height: auto;
    }

    .knowledge-tabs__panel--wide .knowledge-tabs__col {
        gap: 24px;
    }

    .knowledge-tabs__group {
        gap: 12px;
    }

    .knowledge-tabs__list {
        gap: 10px;
    }

    .knowledge-tabs__list-item,
    .knowledge-tabs__note {
        font-size: 16px;
        line-height: 24px;
    }

    .knowledge-tabs__list-item::before {
        top: 10px;
    }

    .knowledge-tabs__image--top img {
        height: auto;
    }
}