.hero {
    position: relative;
    z-index: 1;
    margin-top: 0;
    overflow: hidden;
}

.hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero__visual {
    position: relative;
    height: min(84vw, 330px);
    overflow: hidden;
}

.hero__wall,
.hero__wall-picture,
.hero__roller {
    position: absolute;
    display: block;
    pointer-events: none;
}

.hero__wall-picture {
    inset: 0;
}

.hero__wall {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__roller {
    width: 50%;
    height: 80%;
    right: 3%;
    top: 11%;
    object-fit: contain;
    object-position: center top;
    animation: hero-roller-paint 3.2s cubic-bezier(.45, 0, .55, 1) infinite alternate;
    will-change: transform;
}

@keyframes hero-roller-paint {
    from {
        transform: translateY(-13px);
    }

    to {
        transform: translateY(22px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__roller {
        animation: none;
    }
}

.hero__info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px);
    margin: -66px 20px 0;
    padding: 24px 16px;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 22px;
    background: rgba(247, 248, 250, .76);
    box-shadow: 0 8px 18px rgba(11, 31, 47, .06);
    backdrop-filter: blur(18px);
}

.hero__title span {
    display: block;
    color: var(--accent-bg-hover);
}

.hero__lead {
    max-width: none;
    margin-top: 24px;
    color: #647080;
    font-size: 16px;
    line-height: 140%;
}

.hero__cta {
    margin-top: 26px;
}

.hero__trust,
.hero__benefits {
    position: relative;
    z-index: 1;
    display: grid;
    margin: 32px 0 0;
    border: 1px solid rgba(10, 32, 49, .09);
    border-radius: 30px;
    background: rgba(255, 255, 255, .66);
    box-shadow: 0 18px 44px rgba(16, 34, 49, .08);
    backdrop-filter: blur(16px);
}

.hero__trust {
    grid-template-columns: 1fr;
    margin: 18px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 70px;
    padding: 12px 0;
}

.hero__trust-item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(10, 32, 49, .1);
}

.hero__trust-icon {
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    color: var(--accent-bg);
    fill: none;
    stroke: currentColor;
    stroke-width: 3.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero__trust-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero__trust-item strong,
.hero__benefit-copy strong {
    color: var(--main-color);
    font-family: var(--bold);
    font-size: 14px;
    line-height: 1.15;
}

.hero__trust-item span,
.hero__benefit-copy span {
    color: #647080;
    font-size: 14px;
    line-height: 140%;
}

.hero__benefits {
    display: none;
}

@media (max-width: 767px) {
    .hero__content {
        width: calc(100% + 20px);
        margin-inline: -10px;
        padding-bottom: 30px;
        background: transparent;
    }

    .hero__wall-picture {
        top: 0;
        right: -10px;
        bottom: auto;
        left: auto;
        width: 82%;
        height: auto;
    }

    .hero__wall {
        inset: 0 auto auto 0;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: right top;
    }
}

.hero__benefit {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 16px;
    min-height: 116px;
    padding: 14px 0;
}

.hero__benefit:not(:last-child) {
    border-bottom: 1px solid rgba(10, 32, 49, .1);
}

.hero__benefit-image {
    width: 74px;
    height: 92px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(16, 34, 49, .12);
}

.hero__benefit:nth-child(2) .hero__benefit-image {
    object-position: 58% center;
}

.hero__benefit:nth-child(3) .hero__benefit-image {
    object-position: right center;
}

.hero__benefit-copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.hero__benefit-copy strong {
    font-size: 17px;
}

.hero__benefit-copy span {
    font-size: 15px;
}

.hero__benefit-arrow {
    width: 13px;
    height: 20px;
    fill: none;
    stroke: #657080;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (hover: hover) {
    .hero__cta:hover {
        color: var(--card-bg);
        background-color: var(--accent-bg-hover);
    }
}

@media (min-width: 768px) {
    .hero {
        margin-top: 96px;
        padding-top: 28px;
    }

    .hero__content {
        min-height: 670px;
        padding: 64px 28px 24px;
        border-radius: 30px;
        background: linear-gradient(90deg, #fbfcfd 0%, #fbfcfd 63%, #f7f8fa 100%);
    }

    .hero__visual {
        position: absolute;
        z-index: 0;
        top: 0;
        right: 0;
        width: 49%;
        height: 100%;
    }

    .hero__wall {
        width: 100%;
        height: 100%;
        object-position: center;
    }

    .hero__roller {
        width: 78%;
        height: 83%;
        right: -4%;
        top: 6%;
    }

    .hero__info {
        width: 60%;
        margin: 0;
        padding: 0 0 0 28px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .hero__lead {
        margin-top: 22px;
    }

    .hero__cta {
        order: 3;
        align-self: flex-start;
        margin-top: 24px;
    }

    .hero__trust {
        order: 4;
        width: calc(100% + 48px);
        margin: 28px 0 0;
        grid-template-columns: repeat(3, 1fr);
        padding: 20px 14px;
        border: 1px solid rgba(10, 32, 49, .09);
        border-radius: 20px;
        background: rgba(255, 255, 255, .66);
        box-shadow: 0 18px 44px rgba(16, 34, 49, .08);
        backdrop-filter: blur(16px);
    }

    .hero__trust-item {
        gap: 13px;
        min-height: 0;
        padding: 0 15px;
    }

    .hero__trust-item:not(:last-child) {
        border-right: 1px solid rgba(10, 32, 49, .1);
        border-bottom: 0;
    }

    .hero__trust-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .hero__trust-item strong {
        font-size: 16px;
    }

    .hero__trust-item span {
        font-size: 16px;
    }

    .hero__benefits {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: calc(100% - 28px);
        margin: auto 0 0 28px;
        padding: 0;
        border-radius: 20px;
    }

    .hero__benefit {
        grid-template-columns: 110px minmax(0, 1fr);
        position: relative;
        gap: 18px;
        min-height: 110px;
        padding: 14px 20px;
    }

    .hero__benefit:not(:last-child) {
        border-bottom: 0;
    }

    .hero__benefit:not(:last-child)::after {
        position: absolute;
        top: 20px;
        right: 0;
        bottom: 20px;
        width: 1px;
        background: rgba(10, 32, 49, .1);
        content: '';
    }

    .hero__benefit-image {
        width: 110px;
        height: 82px;
    }

    .hero__benefit-arrow {
        display: none;
    }
}

@media (min-width: 1200px) {
    .hero__content {
        min-height: 690px;
        padding: 70px 34px 24px;
    }

    .hero__info {
        padding-left: 42px;
    }

    .hero__benefits {
        width: calc(100% - 42px);
        margin-left: 42px;
    }

    .hero__benefit {
        grid-template-columns: 132px minmax(0, 1fr);
        min-height: 126px;
    }

    .hero__benefit-image {
        width: 132px;
        height: 98px;
    }

}
