.pfst-hero,
.pfst-hero * {
    box-sizing: border-box;
}

.pfst-hero {
    --pfst-green: #79B82A;
    --pfst-green-dark: #5F991F;
    --pfst-green-light: #B1DA7B;

    --pfst-blue: #008B95;
    --pfst-blue-light: #65CDD3;

    --pfst-petrol: #033B40;
    --pfst-width: 1380px;

    position: relative;

    width: 100%;
    min-height: var(--pfst-height);

    overflow: hidden;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    background:
        var(--pfst-petrol);
}


/* =========================================================
   IMAGE
========================================================= */

.pfst-hero__media {
    position: absolute;

    inset: 0;

    overflow: hidden;
}

.pfst-hero__media img {
    position: absolute !important;

    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    min-width: 100%;
    min-height: 100%;

    max-width: none !important;

    margin: 0 !important;

    object-fit: cover !important;

    transform:
        scale(1.015);

    transition:
        transform 1.1s cubic-bezier(.2,.7,.2,1);
}

.pfst-hero:hover
.pfst-hero__media img {
    transform:
        scale(1.04);
}


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

.pfst-hero__media::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,

            rgba(3,59,64,.98) 0%,
            rgba(3,59,64,.96) 18%,
            rgba(3,59,64,.89) 31%,
            rgba(3,65,69,.76) 42%,
            rgba(0,94,101,.50) 53%,
            rgba(0,139,149,.22) 63%,
            rgba(0,139,149,.07) 72%,
            rgba(0,139,149,0) 81%,
            rgba(0,139,149,0) 100%
        );
}


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

.pfst-hero__inner {
    position: relative;

    z-index: 3;

    width: min(
        calc(100% - 60px),
        var(--pfst-width)
    );

    min-height: var(--pfst-height);

    margin: 0 auto;

    display: flex;
    align-items: center;
}


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

.pfst-hero__content {
    width: 100%;
    max-width: 720px;

    padding: 75px 0;
}


/* =========================================================
   EYEBROW
========================================================= */

.pfst-hero__eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    font-size: 14px;
    line-height: 1.2;

    font-weight: 600;

    letter-spacing: .08em;
    text-transform: uppercase;

    color:
        var(--pfst-blue-light);
}

.pfst-hero__eyebrow::before {
    content: "";

    width: 35px;
    height: 2px;

    flex: 0 0 35px;

    background:
        var(--pfst-blue-light);
}


/* =========================================================
   H1
========================================================= */

.pfst-hero__title {
    max-width: 690px;

    margin: 0;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size:
        clamp(46px, 5vw, 66px);

    line-height: 1.04;

    letter-spacing: -.05em;

    font-weight: 600;

    color: #FFFFFF;
}

.pfst-hero__title span {
    color:
        var(--pfst-green-light);
}


/* =========================================================
   TEXT
========================================================= */

.pfst-hero__text {
    max-width: 620px;

    margin:
        25px 0 0;

    font-size: 18px;
    line-height: 1.72;

    color:
        rgba(255,255,255,.88);
}


/* =========================================================
   BUTTONS
========================================================= */

.pfst-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: 34px;
}

.pfst-hero__button {
    min-height: 58px;

    padding:
        0 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 12px;

    font-size: 16px;

    font-weight: 500;

    text-decoration:
        none !important;

    transition:
        transform .25s ease,
        background-color .25s ease,
        border-color .25s ease;
}

.pfst-hero__button svg {
    width: 17px;
    height: 17px;
}


/* PRIMARY */

.pfst-hero__button--primary {
    color:
        #FFFFFF !important;

    background:
        var(--pfst-green);

    border:
        1px solid var(--pfst-green);
}

.pfst-hero__button--primary:hover {
    color:
        #FFFFFF !important;

    background:
        var(--pfst-green-dark);

    transform:
        translateY(-3px);
}


/* SECONDARY */

.pfst-hero__button--secondary {
    color:
        #FFFFFF !important;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.33);

    backdrop-filter:
        blur(9px);

    -webkit-backdrop-filter:
        blur(9px);
}

.pfst-hero__button--secondary:hover {
    color:
        #FFFFFF !important;

    background:
        rgba(255,255,255,.15);

    border-color:
        rgba(255,255,255,.52);

    transform:
        translateY(-3px);
}


/* =========================================================
   FACTS
========================================================= */

.pfst-hero__facts {
    display: flex;
    flex-wrap: wrap;

    gap: 12px 28px;

    margin-top: 38px;

    padding-top: 27px;

    border-top:
        1px solid rgba(255,255,255,.17);
}

.pfst-hero__fact {
    display: flex;
    align-items: center;

    gap: 9px;

    font-size: 15px;
    line-height: 1.4;

    color:
        rgba(255,255,255,.82);
}

.pfst-hero__check {
    width: 25px;
    height: 25px;

    flex: 0 0 25px;

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

    border-radius: 50%;

    color:
        var(--pfst-green-light);

    background:
        rgba(177,218,123,.16);
}

.pfst-hero__check svg {
    width: 12px;
    height: 12px;
}


/* =========================================================
   ENTRANCE
========================================================= */

.pfst-hero.pfst-ready
.pfst-hero__content {
    opacity: 0;

    transform:
        translateY(28px);
}

.pfst-hero.pfst-ready.is-visible
.pfst-hero__content {
    opacity: 1;

    transform:
        translateY(0);

    transition:
        opacity .75s ease,
        transform .75s cubic-bezier(.2,.75,.2,1);
}


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

@media (max-width: 650px) {

    .pfst-hero {
        min-height: 620px;
    }

    .pfst-hero__inner {
        width:
            calc(100% - 30px);

        min-height: 620px;

        align-items:
            flex-end;
    }

    .pfst-hero__media::after {
        background:
            linear-gradient(
                180deg,

                rgba(0,139,149,0) 0%,
                rgba(0,139,149,.04) 22%,
                rgba(3,59,64,.42) 45%,
                rgba(3,59,64,.84) 68%,
                rgba(3,59,64,.98) 100%
            );
    }

    .pfst-hero__content {
        padding:
            42px 0 38px;
    }

    .pfst-hero__eyebrow {
        margin-bottom: 16px;

        font-size: 12px;
    }

    .pfst-hero__eyebrow::before {
        width: 27px;

        flex-basis: 27px;
    }

    .pfst-hero__title {
        font-size: 39px;
        line-height: 1.07;
    }

    .pfst-hero__text {
        margin-top: 19px;

        font-size: 17px;
    }

    .pfst-hero__actions {
        display: grid;

        grid-template-columns: 1fr;

        margin-top: 27px;
    }

    .pfst-hero__button {
        width: 100%;
    }

    .pfst-hero__facts {
        display: grid;

        gap: 9px;

        margin-top: 27px;

        padding-top: 21px;
    }

}


/* =========================================================
   EDITOR
========================================================= */

.elementor-editor-active
.pfst-hero__content {
    opacity: 1 !important;

    transform: none !important;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pfst-hero *,
    .pfst-hero.pfst-ready * {
        animation: none !important;
        transition: none !important;
    }

    .pfst-hero.pfst-ready
    .pfst-hero__content {
        opacity: 1 !important;
        transform: none !important;
    }

}
