.container--narrow {
    width: 100%;
    max-width: 1672px;
    margin: 0 auto;
    padding: 0 16px;

    h2 {
        font-family: var(--font-2);
        font-weight: 400;
        font-size: clamp(30px, 30px + (48 - 30) * (100vw - 375px) / (1920 - 375), 48px);
        line-height: 104%;
        letter-spacing: -0.02em;
        color: #000;
        padding-bottom: clamp(20px, 20px + (40 - 20) * (100vw - 375px) / (1920 - 375), 40px);
        margin-bottom: clamp(24px, 24px + (40 - 24) * (100vw - 375px) / (1920 - 375), 40px);
        border-bottom: 1px solid #b0c9ff;
        @media (max-width: 768px) {
            font-size: 30px;
            line-height: 127%;
            letter-spacing: -0.01em;
            padding-bottom: 20px;
            margin-bottom: 24px;
        }
    }
}

.announcement {
    margin-top: 140px;
    padding: 10px 0;
    background: #cc0d57;
    @media (max-width: 1600px) and (min-width: 1281px) {
        margin-top: 100px;
    }
    @media (max-width: 1280px) and (min-width: 993px) {
        margin-top: 100px;
    }
    @media (max-width: 992px) {
        margin-top: 100px;
        padding: 16px 0;
    }
}

.announcement__block {
    width: 100%;
    max-width: 1672px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 16px;
    @media (max-width: 992px) {
        gap: 0 20px;
    }
}

.announcement__info {
    display: flex;
    align-items: center;
    @media (max-width: 992px) {
        justify-content: space-between;
        width: 100%;
        gap: 20px;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.announcement__date {
    font-weight: 700;
    font-size: clamp(14px, 14px + (18 - 14) * (100vw - 375px) / (1920 - 375), 18px);
    line-height: 156%;
    letter-spacing: -0.01em;
    color: #fff;
    border-right: 5px solid #ffffff;
    padding-right: clamp(10px, 10px + (80 - 10) * (100vw - 375px) / (1920 - 375), 80px);
    @media (max-width: 992px) {
        padding-right: 0;
        border-right: none;
    }
    @media (max-width: 768px) {
        font-size: 14px;
        line-height: 150%;
    }
}

.announcement__name {
    font-weight: 400;
    font-size: clamp(14px, 14px + (18 - 14) * (100vw - 375px) / (1920 - 375), 18px);
    line-height: 156%;
    letter-spacing: -0.01em;
    color: #fff;
    padding-left: clamp(10px, 10px + (80 - 10) * (100vw - 375px) / (1920 - 375), 80px);
    @media (max-width: 992px) {
        padding-left: 0;
        display: none;
    }
    @media (max-width: 768px) {
        font-size: 14px;
        line-height: 150%;
    }

    &.announcement__name--mob {
        display: none;
        @media (max-width: 992px) {
            display: block;
        }
    }
}

.announcement__link {
    display: flex;
    align-items: center;
    gap: 20px;
    @media (max-width: 992px) {
        display: none;
    }

    &.announcement__link--mob {
        display: none;
        @media (max-width: 992px) {
            display: block;
        }
    }

    a {
        font-family: var(--font-2);
        font-weight: 400;
        font-size: clamp(18px, 18px + (20 - 18) * (100vw - 375px) / (1920 - 375), 20px);
        line-height: 125%;
        letter-spacing: -0.02em;
        color: #fff;
        text-decoration: none;
        @media (max-width: 768px) {
            font-size: 18px;
            line-height: 139%;
        }
    }
}

.home-hero {
    position: relative;
    height: calc(100dvh - 188px);
    min-height: calc(100vh - 188px);
    overflow: hidden; /* чтобы видео не вылезало */
    @media (max-width: 1600px) and (min-width: 1281px) {
        height: calc(100dvh - 147px);
        min-height: calc(100vh - 147px);
    }
    @media (max-width: 1280px) and (min-width: 993px) {
        height: calc(100dvh - 145px);
        min-height: calc(100vh - 145px);
    }
    @media (max-width: 992px) {
        height: calc(100dvh - 200px);
        min-height: calc(100vh - 200px);
    }
    @media (max-width: 768px) {
        height: calc(100dvh - 220px);
        min-height: calc(100vh - 220px);
    }
}

.home-hero__video {
    height: calc(100dvh - 188px);
    min-height: calc(100vh - 188px);
    overflow: hidden;
    @media (max-width: 1600px) and (min-width: 1281px) {
        height: calc(100dvh - 147px);
        min-height: calc(100vh - 147px);
    }
    @media (max-width: 1280px) and (min-width: 993px) {
        height: calc(100dvh - 145px);
        min-height: calc(100vh - 145px);
    }
    @media (max-width: 992px) {
        height: calc(100dvh - 200px);
        min-height: calc(100vh - 200px);
    }
    @media (max-width: 768px) {
        height: calc(100dvh - 220px);
        min-height: calc(100vh - 220px);
    }

    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.home-hero__container {
    position: absolute;
    top: 0;
    padding-top: clamp(120px, 120px + (240 - 120) * (100vw - 375px) / (1920 - 375), 240px);
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    @media (max-width: 1200px) {
        padding-right: 16px;
        padding-left: 16px;
    }
    @media (max-width: 768px) {
        padding-top: 120px;
    }
}

.home-hero__header {
    width: 100%;
    max-width: 1672px;
    padding: 0 16px;
    margin: 0 auto;
    @media (max-width: 1200px) {
        padding: 0;
    }

    h1 {
        font-family: var(--font-2);
        font-weight: 400;
        font-size: clamp(48px, 48px + (100 - 48) * (100vw - 375px) / (1920 - 375), 100px);
        line-height: 100%;
        letter-spacing: -0.03em;
        color: #fff;
        margin-bottom: 20px;
        @media (max-width: 768px) {
            font-size: 48px;
            line-height: 110%;
            letter-spacing: -0.01em;
        }
    }

    p {
        font-weight: 400;
        font-size: 18px;
        line-height: 156%;
        letter-spacing: -0.01em;
        color: #fff;
        @media (max-width: 768px) {
            font-size: 18px;
            line-height: 156%;
            letter-spacing: -0.03em;
        }
    }
}

.home-hero__items {
    width: 100%;
    max-width: 1672px;
    padding: 0 16px;
    display: flex;
    gap: clamp(10px, 10px + (40 - 10) * (100vw - 375px) / (1920 - 375), 40px);
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    @media (max-width: 1200px) {
        gap: 24px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0;

        &::-webkit-scrollbar {
            display: none;
        }
    }
}

.home-hero__item {
    flex: 1 1 0;
    min-width: 0;
    @media (max-width: 1200px) {
        flex: 0 0 calc(100% / 3);
        scroll-snap-align: start;
    }
}

.home-hero__item-num {
    font-family: var(--font-2);
    font-weight: 400;
    font-size: clamp(40px, 40px + (75 - 40) * (100vw - 375px) / (1920 - 375), 75px);
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #fff;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ffffff;
    @media (max-width: 768px) {
        font-size: 40px;
        line-height: 113%;
        letter-spacing: -0.01em;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }
}

.home-hero__item-desc {
    font-weight: 400;
    font-size: clamp(14px, 14px + (18 - 14) * (100vw - 375px) / (1920 - 375), 18px);
    line-height: 156%;
    letter-spacing: -0.01em;
    color: #fff;
    @media (max-width: 768px) {
        font-size: 14px;
        line-height: 150%;
    }
}

.home-strategic-directions {
    padding: clamp(48px, 48px + (90 - 48) * (100vw - 375px) / (1920 - 375), 90px) clamp(0px, 0px + (0 - 0) * (100vw - 375px) / (1920 - 375), 0px) clamp(48px, 48px + (90 - 48) * (100vw - 375px) / (1920 - 375), 90px);
    @media (max-width: 768px) {
        padding: 48px 0;
    }
}

.home-strategic-directions__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 16px + (40 - 16) * (100vw - 375px) / (1920 - 375), 40px);
}

.home-strategic-directions__item {
    border: 1px solid #0047e6;
    border-radius: 20px;
    padding: clamp(20px, 20px + (40 - 20) * (100vw - 375px) / (1920 - 375), 40px) clamp(16px, 16px + (40 - 16) * (100vw - 375px) / (1920 - 375), 40px) clamp(20px, 20px + (40 - 20) * (100vw - 375px) / (1920 - 375), 40px);
    @media (max-width: 768px) {
        padding: 20px 16px;
    }

    h3 {
        font-family: var(--font-2);
        font-weight: 400;
        font-size: clamp(24px, 24px + (48 - 24) * (100vw - 375px) / (1920 - 375), 48px);
        line-height: 104%;
        letter-spacing: -0.02em;
        text-transform: uppercase;
        color: #0047e6;
        padding-bottom: clamp(10px, 10px + (20 - 10) * (100vw - 375px) / (1920 - 375), 20px);
        margin-bottom: clamp(10px, 10px + (20 - 10) * (100vw - 375px) / (1920 - 375), 20px);
        border-bottom: 1px solid #b0c9ff;
        @media (max-width: 768px) {
            font-weight: 400;
            font-size: 24px;
            line-height: 133%;
            letter-spacing: -0.01em;
            color: #0047e6;
            padding-bottom: 10px;
            margin-bottom: 10px;
        }

        span {
            display: block;
            font-weight: 400;
            font-size: 20px;
            line-height: 125%;
            letter-spacing: -0.02em;
            text-transform: uppercase;
            color: #000;
        }
    }

    p {
        font-weight: 400;
        font-size: clamp(14px, 14px + (18 - 14) * (100vw - 375px) / (1920 - 375), 18px);
        line-height: 156%;
        letter-spacing: -0.01em;
        color: #000;
        @media (max-width: 768px) {
            font-weight: 400;
            font-size: 14px;
            line-height: 150%;
            letter-spacing: -0.01em;
            color: #000;
        }
    }
}

.home-trust {
    padding-bottom: clamp(48px, 48px + (90 - 48) * (100vw - 375px) / (1920 - 375), 90px);
    @media (max-width: 768px) {
        padding-bottom: 48px;
    }
}

.home-trust__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: clamp(20px, 20px + (40 - 20) * (100vw - 375px) / (1920 - 375), 40px);
    margin-bottom: clamp(24px, 24px + (40 - 24) * (100vw - 375px) / (1920 - 375), 40px);
    border-bottom: 1px solid #b0c9ff;
    @media (max-width: 768px) {
        padding-bottom: 20px;
        margin-bottom: 24px;
    }

    h2 {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    a {
        display: flex;
        align-items: center;
        gap: 20px;
        font-family: var(--font-2);
        font-weight: 400;
        font-size: clamp(18px, 18px + (30 - 18) * (100vw - 375px) / (1920 - 375), 30px);
        line-height: 127%;
        letter-spacing: -0.01em;
        color: #0047e6;
        text-decoration: none;
        @media (max-width: 768px) {
            font-weight: 400;
            font-size: 18px;
            line-height: 139%;
            letter-spacing: -0.01em;
            color: #0049e6;
        }
    }
}

.home-trust__slider {
    width: 100%;
    overflow: hidden;
}

.home-trust__track {
    display: flex;
    width: max-content;
    animation: homeTrustMarquee 30s linear infinite;
    will-change: transform;
}

.home-trust__group {
    display: flex;
    flex-shrink: 0;
    gap: 40px;
}

.home-trust__slide {
    width: calc((100vw - 8 * 40px) / 9);
    min-width: calc((100vw - 8 * 40px) / 9);

    display: flex;
    align-items: center;
    justify-content: center;
}

.home-trust__slide img {
    display: block;
    width: 100%;
    object-fit: contain;
}

/* Бесшовное движение */
@keyframes homeTrustMarquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 1199px) {

    .home-trust__group {
        gap: 35px;
    }

    .home-trust__slide {
        width: calc((100vw - 6 * 35px) / 7);
        min-width: calc((100vw - 6 * 35px) / 7);
    }
}


@media (max-width: 991px) {

    .home-trust__group {
        gap: 20px;
    }

    .home-trust__slide {
        width: calc((100vw - 4 * 20px) / 5);
        min-width: calc((100vw - 4 * 20px) / 5);
    }
}


@media (max-width: 767px) {

    .home-trust__group {
        gap: 16px;
    }

    .home-trust__slide {
        width: calc((100vw - 3 * 16px) / 4);
        min-width: calc((100vw - 3 * 16px) / 4);
    }
}


@media (max-width: 575px) {

    .home-trust__group {
        gap: 16px;
    }

    .home-trust__slide {
        width: calc((100vw - 2 * 16px) / 3);
        min-width: calc((100vw - 2 * 16px) / 3);
    }
}

.home-key-services {
    padding: clamp(48px, 48px + (90 - 48) * (100vw - 375px) / (1920 - 375), 90px) clamp(0px, 0px + (0 - 0) * (100vw - 375px) / (1920 - 375), 0px) clamp(48px, 48px + (90 - 48) * (100vw - 375px) / (1920 - 375), 90px);
    background: #e5eeff;
    border-radius: clamp(50px, 50px + (100 - 50) * (100vw - 375px) / (1920 - 375), 100px);
    @media (max-width: 768px) {
        padding: 48px 0;
        border-radius: 50px;
    }

    h2 {
        color: #0047e6;
    }
}

.home-key-services__tabs-panel {
    --active-color: #0047e6;
}

.home-key-services__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 40px;
}

.home-key-services__tab {
    --tab-color: #000;
    cursor: pointer;
    transition: color 0.3s ease,
    background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 20px 16px;
    background: #fff;
    font-family: var(--font-2);
    font-weight: 400;
    font-size: clamp(20px, 20px + (24 - 20) * (100vw - 375px) / (1920 - 375), 24px);
    line-height: 133%;
    letter-spacing: -0.01em;
    color: #000;
    @media (max-width: 768px) {
        font-size: 20px;
        line-height: 125%;
        letter-spacing: -0.02em;
    }

    &.active {
        background: var(--tab-color);
        color: #ffffff;
        border-radius: 8px;
    }

    &:hover {
        background: var(--tab-color);
        color: #ffffff;
        border-radius: 8px;
    }

    &:last-child {
        border-radius: 0 8px 8px 0;

        &.active {
            background: var(--tab-color);
            color: #ffffff;
            border-radius: 8px;
        }

        &:hover {
            background: var(--tab-color);
            color: #ffffff;
            border-radius: 8px;
        }
    }
}

/* Скрываем контент */
.home-key-services__content {
    display: none;
}

.home-key-services__content.active {
    display: block;
}

.home-key-services__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-key-services__item {
    border-radius: 20px;
    padding: 15px 20px;
    position: relative;
    transition: color 0.3s ease,
    background-color 0.3s ease;

    &::before {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        width: 1px;
        height: 50px;
        background: #b0c9ff;
    }

    &:nth-child(4n)::before {
        display: none;
    }

    &:hover {
        background-color: rgba(255, 255, 255, 0.5);
        color: #0047e6;

        .home-key-services__item-arrow svg {
            transform: rotate(45deg);
        }
    }
}

.home-key-services__item-name {
    font-weight: 700;
    font-size: clamp(14px, 14px + (18 - 14) * (100vw - 375px) / (1920 - 375), 18px);
    line-height: 156%;
    letter-spacing: -0.01em;
    color: #000;
    padding-right: 20px;
    @media (max-width: 768px) {
        font-size: 14px;
        line-height: 150%;
    }
}

.home-key-services__item-arrow {
    color: var(--active-color);
    transition: color 0.3s ease;
    margin-bottom: 5px;
    display: flex;
    justify-content: right;
}

.home-key-services__item-arrow svg {
    display: block;
    transition: 0.3s ease;
}

.home-key-services__item-arrow svg path {
    fill: currentColor;
}