/* =========================================================
   PLANETA SAS ESP
   COMPONENT: SEO SERVICE HERO
   ========================================================= */

.SeoServiceHero {
    position: relative;

    display: flex;
    align-items: flex-end;

    width: 100%;
    min-height: clamp(620px, 78vh, 850px);

    margin: 0;

    overflow: hidden;

    background: #17240d;

    isolation: isolate;
}


/* =========================================================
   MEDIA
   ========================================================= */

.SeoServiceHero__Media {
    position: absolute;
    inset: 0;

    z-index: -3;
}


.SeoServiceHero__Media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
     * En esta fotografía interesa conservar
     * la zona central/derecha.
     */
    object-position: center center;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.SeoServiceHero__Overlay {
    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(29, 47, 14, 0.94) 0%,
            rgba(29, 47, 14, 0.72) 24%,
            rgba(29, 47, 14, 0.22) 56%,
            rgba(29, 47, 14, 0.52) 100%
        ),
        linear-gradient(
            0deg,
            rgba(18, 32, 9, 0.94) 0%,
            rgba(18, 32, 9, 0.18) 48%,
            rgba(18, 32, 9, 0.18) 100%
        );
}


/* =========================================================
   CONTAINER
   ========================================================= */

.SeoServiceHero__Container {
    position: relative;

    width: 100%;

    padding:
        0
        var(--px-fluid)
        clamp(70px, 8vh, 110px);
}


/* =========================================================
   CONTENT
   ========================================================= */

.SeoServiceHero__Content {
    width: min(760px, 100%);
}


/* =========================================================
   TITLE
   ========================================================= */

.SeoServiceHero__Title {
    max-width: 760px;

    margin:
        0
        0
        24px;

    color: #ffffff;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        clamp(46px, 4.6vw, 76px);

    font-weight: 700;

    line-height: 0.98;

    letter-spacing: -0.045em;
}


.SeoServiceHero__Title span {
    color: #8df21f;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.SeoServiceHero__Description {
    max-width: 720px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.94);

    font-family:
        "Work Sans",
        sans-serif;

    font-size:
        clamp(16px, 1.15vw, 19px);

    font-weight: 500;

    line-height: 1.35;
}


.SeoServiceHero__Description strong {
    color: inherit;

    font-weight: 600;
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1450px) {

    .SeoServiceHero__Container {
        padding-inline:
            var(--lap-px);
    }


    .SeoServiceHero__Content {
        width: min(700px, 62%);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .SeoServiceHero {
        min-height: 700px;
    }


    .SeoServiceHero__Container {
        padding:
            0
            var(--tab-px)
            72px;
    }


    .SeoServiceHero__Content {
        width: min(680px, 85%);
    }


    .SeoServiceHero__Overlay {
        background:
            linear-gradient(
                90deg,
                rgba(24, 41, 11, 0.88) 0%,
                rgba(24, 41, 11, 0.48) 65%,
                rgba(24, 41, 11, 0.35) 100%
            ),
            linear-gradient(
                0deg,
                rgba(18, 32, 9, 0.96) 0%,
                rgba(18, 32, 9, 0.25) 65%,
                rgba(18, 32, 9, 0.18) 100%
            );
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .SeoServiceHero {
        min-height: 680px;

        align-items: flex-end;
    }


    .SeoServiceHero__Media img {
        object-position: 58% center;
    }


    .SeoServiceHero__Container {
        padding:
            0
            20px
            52px;
    }


    .SeoServiceHero__Content {
        width: 100%;
    }


    .SeoServiceHero__Title {
        margin-bottom: 18px;

        font-size:
            clamp(38px, 11vw, 54px);

        line-height: 0.98;
    }


    .SeoServiceHero__Description {
        font-size: 15px;

        line-height: 1.45;
    }


    .SeoServiceHero__Overlay {
        background:
            linear-gradient(
                0deg,
                rgba(18, 32, 9, 0.98) 0%,
                rgba(18, 32, 9, 0.80) 32%,
                rgba(18, 32, 9, 0.18) 75%,
                rgba(18, 32, 9, 0.22) 100%
            );
    }

}