.hero-slider {
    overflow: hidden;
    background: #fff;
}

.hero-slider ul.bxslider > li.hero-slider__slide {
    height: 568px;
    background: #fff;
}

.hero-slider .bx-viewport {
    height: 568px !important;
}

.hero-slider .hero-slider__inner.inner.work {
    position: relative;
    width: min(1170px, calc(100% - 48px));
    min-height: 568px;
    margin: 0 auto;
    padding: 0;
}

.hero-slider__content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    padding: 103px 0 72px;
}

.hero-slider .hero-slider__title,
.hero-slider .hero-slider__lead {
    margin: 0;
    color: #3d3d3f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.hero-slider .hero-slider__title {
    display: block;
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -.035em;
}

.hero-slider .hero-slider__lead {
    margin-top: 21px;
    margin-left: 40px;
    color: #06caca;
    font-size: 20px;
    line-height: 1.62;
    text-transform: uppercase;
}

.hero-slider .hero-slider__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 48px;
}

.hero-slider .hero-slider__button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 9px 23px;
    border: 1px solid #3d3d3f;
    border-radius: 0;
    background: transparent;
    color: #3d3d3f;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hero-slider .hero-slider__button--primary {
    border-color: #06caca;
    background: #06caca;
    color: #fff;
}

.hero-slider .hero-slider__button:hover,
.hero-slider .hero-slider__button:focus-visible {
    border-color: #009ba1;
    background: #009ba1;
    color: #fff;
}

.hero-slider__portrait {
    position: absolute;
    z-index: 0;
    right: -12px;
    bottom: 8px;
    width: min(48vw, 510px);
    height: auto;
    pointer-events: none;
}

@media screen and (max-width: 900px) {
    .hero-slider ul.bxslider > li.hero-slider__slide,
    .hero-slider .bx-viewport,
    .hero-slider .hero-slider__inner.inner.work {
        min-height: 650px;
        height: 650px !important;
    }

    .hero-slider__content {
        max-width: 590px;
        padding-top: 68px;
    }

    .hero-slider .hero-slider__lead {
        margin-left: 28px;
    }

    .hero-slider__portrait {
        right: 50%;
        width: min(90vw, 600px);
        opacity: .35;
        transform: translateX(50%);
    }
}

@media screen and (max-width: 768px) {
    .hero-slider .hero-slider__lead {
        margin-left: 0;
    }
}

@media screen and (max-width: 560px) {
    .hero-slider ul.bxslider > li.hero-slider__slide,
    .hero-slider .bx-viewport,
    .hero-slider .hero-slider__inner.inner.work {
        min-height: 610px;
        height: 610px !important;
    }

    .hero-slider .hero-slider__inner.inner.work {
        width: min(100% - 32px, 1170px);
    }

    .hero-slider__content {
        padding-top: 50px;
    }

    .hero-slider .hero-slider__title {
        font-size: 28px;
    }

    .hero-slider .hero-slider__lead {
        font-size: 17px;
        line-height: 1.45;
    }

    .hero-slider .hero-slider__actions {
        gap: 12px;
        margin-top: 34px;
    }

    .hero-slider .hero-slider__button {
        width: 100%;
    }

    .hero-slider__portrait {
        width: 620px;
        opacity: .22;
    }
}
