
.main-page-hero {
    min-height: 720px;
    height: min(900px, 100dvh);
    isolation: isolate;
}

.main-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(10, 0, 127, 0.86) 0%, rgba(10, 0, 127, 0.56) 43%, rgba(10, 0, 127, 0.12) 76%), linear-gradient(0deg, rgba(2, 0, 24, 0.62) 0%, rgba(2, 0, 24, 0) 46%);
}

.main-page-hero .main_page_banners {
    height: 100%;
    max-height: none;
}

.main-page-hero .main_page_banners .carousel,
.main-page-hero .main_page_banners .carousel-inner,
.main-page-hero .main_page_banners .carousel-item,
.main-page-hero .main_page_banners picture {
    display: block;
    height: 100%;
}

.main-page-hero .main_page_banners .carousel-item img {
    opacity: 1;
}

.main-page-hero .main_page_info {
    text-align: left;
}

.main-page-hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-align: left;
}

.main-page-hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: clamp(150px, 18vh, 190px);
    padding-bottom: 38px;
}

.main-page-hero__copy {
    max-width: 1090px;
}

.main-page-hero__title {
    /*max-width: 900px;*/
    margin: 0;
    color: #fff;
    font-size: clamp(56px, 4.6vw, 88px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    text-wrap: balance;
}

.main-page-hero__subtitle {
    max-width: 680px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 21px;
    font-weight: 300;
    line-height: 1.45;
    text-wrap: pretty;
}

.main-page-hero__accent {
    margin-right: 3px;
    padding: 0;
    color: #fff;
    font-size: 1.08em;
    background-color: transparent;
    font-weight: 600;
    line-height: inherit;
}

.main-page-hero__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
}

.main-page-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 220px;
    height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.main-page-hero__button._primary {
    color: #0a007f;
    background-color: #fff;
}

.main-page-hero__button._secondary {
    color: #0a007f;
    background-color: #fff;
}

.main-page-hero__presentation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px;
    margin-left: 0;
    padding: 0 28px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background-color: rgba(10, 0, 127, 0.86);
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.main-page-hero__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    border: 0;
    background-color: #0a007f;
}

.main-page-hero__benefit {
    min-width: 0;
    padding: 20px 28px 22px;
}

.main-page-hero__benefit + .main-page-hero__benefit {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.main-page-hero__benefit-value {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 2.55vw, 49px);
    font-weight: 300;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.025em;
}

.main-page-hero__benefit-caption {
    max-width: 260px;
    margin: 11px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
}

@media (hover: hover) and (pointer: fine) {
    .main-page-hero__button._primary:hover {
        color: #fff;
        background-color: #1400c4;
    }
    .main-page-hero__button._secondary:hover {
        color: #fff;
        background-color: #1400c4;
    }
    .main-page-hero__presentation:hover {
        color: #0a007f;
        background-color: #fff;
    }
}

.main-page-hero__button:focus-visible,
.main-page-hero__presentation:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.main-page-hero__button:active,
.main-page-hero__presentation:active {
    transform: scale(0.97);
}

@media (max-width: 1199px) {
    .main-page-hero {
        min-height: 700px;
        height: min(780px, calc(100dvh - 145px));
    }
    .main-page-hero__inner {
        padding-top: 84px;
        padding-bottom: 28px;
    }
    .main-page-hero__title {
        max-width: 760px;
        font-size: clamp(42px, 5vw, 60px);
    }
    .main-page-hero__benefits {
        width: 100%;
    }
    .main-page-hero__benefit {
        padding-inline: 20px;
    }
}

@media (max-width: 767.98px) {
    .main-page-hero {
        min-height: 760px;
        height: auto;
    }
    .main-page-hero::before {
        background: linear-gradient(180deg, rgba(10, 0, 127, 0.83) 0%, rgba(10, 0, 127, 0.48) 58%, rgba(2, 0, 24, 0.72) 100%);
    }
    .main-page-hero .main_page_banners {
        position: absolute;
        inset: 0;
    }
    .main-page-hero__content {
        position: relative;
        min-height: 760px;
    }
    .main-page-hero__inner {
        min-height: 760px;
        padding-top: 52px;
        padding-bottom: 20px;
    }
    .main-page-hero__title {
        max-width: 620px;
        font-size: clamp(36px, 8.6vw, 50px);
        line-height: 1.06;
    }
    .main-page-hero__subtitle {
        max-width: 540px;
        margin-top: 20px;
        font-size: 18px;
    }
    .main-page-hero__actions {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 26px;
    }
    .main-page-hero__button {
        flex: 1 1 calc(50% - 6px);
        min-width: 190px;
    }
    .main-page-hero__presentation {
        flex: 0 0 auto;
        margin: 4px 0 0;
    }
    .main-page-hero__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 34px;
    }
    .main-page-hero__benefit {
        padding: 17px 18px 19px;
    }
    .main-page-hero__benefit:nth-child(odd) {
        border-left: 0;
    }
    .main-page-hero__benefit:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.24);
    }
    .main-page-hero__benefit-value {
        font-size: 36px;
    }
    .main-page-hero__benefit-caption {
        font-size: 14px;
    }
}

@media (max-width: 479.98px) {
    .main-page-hero,
    .main-page-hero__content,
    .main-page-hero__inner {
        min-height: 820px;
    }
    .main-page-hero__inner {
        padding-top: 36px;
    }
    .main-page-hero__title {
        font-size: 34px;
    }
    .main-page-hero__subtitle {
        font-size: 16px;
    }
    .main-page-hero__button,
    .main-page-hero__presentation {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
        height: 56px;
        margin: 0;
    }
    .main-page-hero__benefit {
        padding: 15px 13px 17px;
    }
    .main-page-hero__benefit-value {
        font-size: 31px;
    }
    .main-page-hero__benefit-caption {
        font-size: 12px;
        line-height: 1.28;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-page-hero__button,
    .main-page-hero__presentation {
        transition-duration: 0.01ms;
    }
}

.main-page-hero .main_page_social {
    position: absolute;
    top: clamp(150px, 18vh, 190px);
    right: max(50px, calc((100vw - 1568px) / 2));
    bottom: auto;
    transform: none;
    z-index: 888;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: none;
}
@media (max-width: 1199px) {
    .main-page-hero .main_page_social {
        display: none;
    }
}