.hero {
    width: 100%;
    height: 500px;
    position: relative;
}

.hero .container {
    height: 100%;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(49, 66, 75, 0.35);
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: var(--container-padding-block);
}

.hero__content h1 {
    color: #fff;
    max-width: 750px;
    margin: 0;
}

.hero__content p {
    color: white;
    font-size: 32px;
    line-height: 130%;
    font-weight: 500;
    max-width: 430px;
}

@media (max-width: 992px) {
    .hero {
        height: 540px;
    }

    .hero__content {
        padding: unset;
        align-items: center;
        justify-content: flex-end;
        padding-bottom: 100px;
        text-align: center;
    }
    .hero__content p{
        font-size: 20px;
    }
}


