/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;

    overflow: hidden;

    background-image:
        var(--hero-background-image);

    background-position:
        top;

    background-repeat:
        no-repeat;

    background-size:
        cover;
}


/* =========================================================
   OVERLAY
========================================================= */

.hero::before {
    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.04) 0%,
            rgba(0, 0, 0, 0.015) 45%,
            rgba(0, 0, 0, 0.04) 100%
        );

    pointer-events: none;
}


/* =========================================================
   INNER
========================================================= */

.hero__inner {
    position: relative;

    z-index: 2;

    display: flex;

    width: 100%;

    min-height: 330px;

    align-items: center;
    justify-content: center;

    padding:
        var(--section-spacing)
        0;
}


/* =========================================================
   CONTENT
========================================================= */

.hero__content {
    width: 100%;

    max-width: 470px;

    padding:
        24px
        30px;

    background:
        rgba(255, 255, 255, 0.94);

    border-top:
        4px solid
        var(--service-primary);

    text-align: center;
}


/* =========================================================
   TITLE
========================================================= */

.hero__title {
    margin:
        0
        0
        12px;

    color:
        #222222;

    font-size: 32px;

    line-height: 1.14;

    font-weight: 700;

    text-align: center;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.hero__description {
    margin:
        0
        auto
        18px;

    color:
        #555555;

    font-size: 15px;

    line-height: 1.5;

    text-align: center;
}


.hero__description p {
    margin: 0;
}


.hero__description p + p {
    margin-top: 7px;
}


/* =========================================================
   BUTTON
========================================================= */

.hero__button {
    min-width: 175px;

    padding-inline: 22px;

    border-radius: 3px;

    font-size: 16px;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {

    .hero__inner {
        min-height: 360px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hero__inner {
        min-height: 300px;
    }


    .hero__content {
        max-width: 440px;

        padding:
            22px
            26px;
    }


    .hero__title {
        font-size: 28px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .hero {
        background-position:
            center center;
    }


    .hero__inner {
        min-height: 320px;

        align-items: center;
        justify-content: center;

        padding:
            var(--section-spacing)
            0;
    }


    .hero__content {
        width: 100%;
        max-width: 100%;

        padding:
            22px
            18px
            20px;

        background:
            rgba(255, 255, 255, 0.96);

        border-top-width: 4px;
    }


    .hero__title {
        margin-bottom: 10px;

        font-size: 27px;
        line-height: 1.17;
    }


    .hero__description {
        margin-bottom: 18px;

        font-size: 14px;
        line-height: 1.55;
    }


    .hero__button {
        width: 100%;

        min-width: 0;
        min-height: 46px;

        padding-inline: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero__inner {
        min-height: 300px;
    }


    .hero__content {
        padding:
            20px
            16px
            18px;
    }


    .hero__title {
        font-size: 25px;
        line-height: 1.18;
    }

}