.hero {
    background: rgb(30, 64, 117);
    background: linear-gradient(90deg, rgba(30, 64, 117, 1) 0%, rgba(29, 54, 92, 1) 50%, rgba(28, 80, 152, 1) 100%);
    padding: 240px 0 40px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.hero.hero-front::before {
    content: '';
    position: absolute;
    left: 0;
    width: 20%;
    bottom: 80px;
    height: 1px;
    background-color: #fff;
}

.hero .title-wrapper * {
    color: #fff;
}

.hero .subtitle{
    text-transform: uppercase;
    color: #00FFBF;
    font-size: 20px;
    margin-bottom: 13px;
    font-weight: 400;
}

.hero .title-wrapper h1,
.hero .title-wrapper .h1 {
    font-size: 96px;
    margin-bottom: 30px;
    position: relative;
}

.hero .title-wrapper h1::before,
.hero .title-wrapper .h1::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 313px;
    height: 21px;
    pointer-events: none;
    background: url(../../assets/images/hero-title-icon.svg);
    background-repeat: no-repeat
}

.hero:not(.hero-front) .title-wrapper h1::before,
.hero:not(.hero-front) .title-wrapper .h1::before {
    display: none;
}

.hero .btn-wrapper {
    margin: 60px 0;
}

.hero .hero-image-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateY(20%);
    pointer-events: none;
}

/* height:auto -> przeglądarka rezerwuje miejsce wg width/height z <img> jeszcze przed
   pobraniem pliku; bez tego obrazek startował z wysokością atrybutu (np. 660px), a po
   doczytaniu kurczył się i cały baner „skakał" (CLS 0,75 na stronie głównej). */
.hero .hero-image-wrapper img {
    height: auto;
}

.hero .hero-icon-wrapper {
    position: absolute;
    right: 10%;
    bottom: 0;
    transform: translateY(50%);
    pointer-events: none;
}

.hero .hero-image {
    padding-top: 60px;
}

.hero.hero-front .hero-image {
    margin-left: 100px;
    padding-top: 100px;
}

@media (max-width:1199px) {
    .hero {
        padding: 200px 0 25px;
    }

    .hero.hero-front::before {
        display: none;
    }

    .hero .title-wrapper h1,
    .hero .title-wrapper .h1 {
        font-size: 56px;
    }

    .hero .title-wrapper h1::before,
    .hero .title-wrapper .h1::before {
        display: none;
    }

    .hero .title-wrapper {
        font-size: 16px;
    }

    .hero .hero-image-wrapper img {
        max-height: 500px;
        width: auto;
    }

    .hero.hero-front .hero-icon-wrapper {
        display: none;
    }

    .hero .hero-image {
        max-width: 300px;
    }

    .hero .hero-image svg {
        width: 100%;
    }

    .hero.hero-front .hero-image {
        margin-left: 0;
        padding-top: 0;
    }
}


@media (max-width:991px) {
    .hero {
        padding: 135px 0 15px;
    }

    .hero:not(.hero-front) .title-wrapper h1::before,
    .hero:not(.hero-front) .title-wrapper .h1::before {
        display: flex;
        background-image: url(../../assets/images/hero-title-icon-mobile.svg);
        background-repeat: no-repeat;
        background-size: contain;
        width: 209px;
        height: 8px;
        transform: translateY(100%);
    }

    .hero .title-wrapper h1,
    .hero .title-wrapper .h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero .title-wrapper {
        font-size: 16px;
    }

    .hero .hero-image-wrapper img {
        max-height: 200px;
    }

    .hero .hero-icon-wrapper {
        max-width: 260px;
        right: 0;
    }

    .hero .hero-image {
        max-width: 160px;
    }
}

@media (max-width:679px){
    
    .hero .hero-image-wrapper img {
        max-width: 140px;
    }

}