.hero {
    padding: 26px 0;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
    width: 100%;
    background-size: cover;
    min-height: 470px;
    display: flex;
    overflow: hidden;
}

.hero .hero-title {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    background: rgba(29, 29, 29, 0.50);
    width: 100%;
    max-width: 150px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.87;
    letter-spacing: 1.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    font-family: 'Alegreya Sans';
}

.hero .hero-title div {
    transform: rotateZ(-90deg);
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 200%;
    gap: 12px;
}

.hero .hero-title div svg {
    transform: rotateZ(90deg);
}

.hero .container {
    height: auto;
}

.hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url(../../assets/images/hero-mask.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.hero .hero-wrapper {
    margin: 0 56px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    max-width: 1130px;
    padding: 40px;
    height: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero .hero-wrapper::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    clip-path: polygon(0 25%, 100% 0%, 100% 75%, 0 100%);
    background-color: var(--brick);
    width: 298px;
    height: calc(100% - 80px);
    z-index: 0;
    pointer-events: none;
}

.hero .hero-wrapper-content {
    padding: 100px;
    z-index: 4;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero .hero-wrapper .h2,
.hero .hero-wrapper h2,
.hero .hero-wrapper .h1,
.hero .hero-wrapper h1 {
    color: #fff;
    font-weight: 700;
}

@media (max-width:1800px) {
    .hero .hero-title {
        max-width: 71px;
    }
}

@media (max-width:1440px) {
    .hero {
        min-height: 360px;
    }

    .hero .hero-wrapper-content {
        padding: 64px;
    }

    .hero .hero-wrapper {
        margin-right: 0;
    }

    .hero .hero-wrapper::before {
        width: 200px;
    }
}

@media (max-width:991px) {
    .hero .hero-title {
        display: none;
    }

    .hero .hero-wrapper {
        margin: 0;
        padding: 0;
    }

    .hero .hero-wrapper-content {
        padding: 32px 24px;
    }

    .hero .hero-wrapper::before {
        left: 20px;
        width: 130px;
    }
}

@media (max-width:768px) {

    .hero .hero-wrapper .h2,
    .hero .hero-wrapper h2,
    .hero .hero-wrapper .h1,
    .hero .hero-wrapper h1 {
        font-size: 42px;
    }
}