:root {
    --pfh-green: #79B82A;
    --pfh-green-light: #A9D36D;

    --pfh-blue: #008B95;
    --pfh-blue-light: #60CBD2;

    --pfh-petrol: #033B40;

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

    --pfh-width: 1380px;
}


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


.pfh-hero {
    position: relative;

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

    overflow: hidden;

    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;

    font-family: var(--pfh-font);

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


/* =========================================================
   VIDEO
========================================================= */

.pfh-hero__background {
    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;
}


.pfh-hero__background video,
.pfh-hero__background img {
    position: absolute !important;

    inset: 0 !important;

    display: block !important;

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

    max-width: none !important;

    object-fit: cover !important;
    object-position: center center !important;

    transform: scale(1.06);
}


.pfh-hero__background::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,

            rgba(3,59,64,.98) 0%,
            rgba(3,59,64,.96) 18%,
            rgba(3,59,64,.90) 30%,
            rgba(3,65,69,.78) 40%,
            rgba(0,94,101,.56) 50%,
            rgba(0,139,149,.26) 59%,
            rgba(0,139,149,.09) 67%,
            rgba(0,139,149,0) 75%,
            rgba(0,139,149,0) 100%
        );
}


.pfh-hero__background::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,

            rgba(0,31,34,.13) 0%,
            rgba(0,31,34,.07) 32%,
            rgba(0,31,34,0) 62%,
            rgba(0,31,34,0) 100%
        );
}


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

.pfh-hero__inner {
    position: relative;

    z-index: 4;

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

    margin: 0 auto;

    padding:
        130px 0 125px;
}


.pfh-hero__content {
    max-width: 735px;
}


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

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

    gap: 13px;

    margin-bottom: 27px;

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

    font-weight: 600;

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

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


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

    width: 38px;
    height: 2px;

    flex: 0 0 38px;

    border-radius: 20px;

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


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

.pfh-hero h1 {
    max-width: 720px;

    margin: 0;
    padding: 0;

    font-family: var(--pfh-font);

    font-size:
        clamp(48px, 5vw, 68px);

    line-height: 1.03;

    letter-spacing: -.05em;

    font-weight: 600;

    color: #FFFFFF;

    text-wrap: balance;
}


.pfh-hero h1 span {
    color: var(--pfh-green-light);
}


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

.pfh-hero__text {
    max-width: 680px;

    margin: 30px 0 0;

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

    font-weight: 400;

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


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

.pfh-hero__buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: 39px;
}


.pfh-hero__button {
    min-height: 59px;

    padding:
        0 28px;

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

    gap: 11px;

    border-radius: 13px;

    font-family: var(--pfh-font);

    font-size: 16px;
    line-height: 1;

    font-weight: 500;

    text-decoration: none !important;

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


.pfh-hero__button svg {
    width: 18px;
    height: 18px;

    flex: 0 0 auto;

    transition:
        transform .25s ease;
}


/* PRIMARY */

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

    background:
        var(--pfh-green);

    border:
        1px solid var(--pfh-green);

    box-shadow:
        0 12px 30px rgba(81,130,25,.24);
}


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

    background: #68A520;

    border-color: #68A520;

    transform: translateY(-3px);

    box-shadow:
        0 18px 38px rgba(81,130,25,.31);
}


.pfh-hero__button--primary:hover svg {
    transform:
        translateX(3px);
}


/* SECONDARY */

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

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

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

    backdrop-filter:
        blur(12px);

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


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

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

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

    transform:
        translateY(-3px);
}


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

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

    margin-top: 50px;

    padding-top: 31px;

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


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

    gap: 11px;

    padding:
        0 31px;

    min-height: 32px;

    border-right:
        1px solid rgba(255,255,255,.19);

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

    font-weight: 500;

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


.pfh-hero__fact:first-child {
    padding-left: 0;
}


.pfh-hero__fact:last-child {
    border-right: 0;
}


.pfh-hero__check {
    width: 27px;
    height: 27px;

    flex: 0 0 27px;

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

    border-radius: 50%;

    background:
        rgba(169,211,109,.16);

    color:
        #BDE48A;
}


.pfh-hero__check svg {
    width: 13px;
    height: 13px;
}


/* =========================================================
   BOTTOM LINE
========================================================= */

.pfh-hero__bottom {
    position: absolute;

    z-index: 5;

    left: 0;
    right: 0;
    bottom: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--pfh-green) 0%,
            var(--pfh-green) 42%,
            var(--pfh-blue) 42%,
            var(--pfh-blue) 100%
        );
}


/* =========================================================
   ANIMATION
========================================================= */

.pfh-hero.pfh-ready
.pfh-hero__eyebrow,

.pfh-hero.pfh-ready
h1,

.pfh-hero.pfh-ready
.pfh-hero__text,

.pfh-hero.pfh-ready
.pfh-hero__buttons,

.pfh-hero.pfh-ready
.pfh-hero__facts {
    opacity: 0;

    transform:
        translateY(27px);
}


.pfh-hero.pfh-ready.is-visible
.pfh-hero__eyebrow,

.pfh-hero.pfh-ready.is-visible
h1,

.pfh-hero.pfh-ready.is-visible
.pfh-hero__text,

.pfh-hero.pfh-ready.is-visible
.pfh-hero__buttons,

.pfh-hero.pfh-ready.is-visible
.pfh-hero__facts {
    opacity: 1;

    transform:
        translateY(0);
}


.pfh-hero.pfh-ready.is-visible
.pfh-hero__eyebrow {
    transition:
        opacity .72s ease .08s,
        transform .72s cubic-bezier(.2,.75,.2,1) .08s;
}


.pfh-hero.pfh-ready.is-visible
h1 {
    transition:
        opacity .82s ease .18s,
        transform .82s cubic-bezier(.2,.75,.2,1) .18s;
}


.pfh-hero.pfh-ready.is-visible
.pfh-hero__text {
    transition:
        opacity .82s ease .30s,
        transform .82s cubic-bezier(.2,.75,.2,1) .30s;
}


.pfh-hero.pfh-ready.is-visible
.pfh-hero__buttons {
    transition:
        opacity .82s ease .42s,
        transform .82s cubic-bezier(.2,.75,.2,1) .42s;
}


.pfh-hero.pfh-ready.is-visible
.pfh-hero__facts {
    transition:
        opacity .82s ease .54s,
        transform .82s cubic-bezier(.2,.75,.2,1) .54s;
}


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

@media (max-width: 1050px) {

    .pfh-hero {
        min-height: 850px;
    }

    .pfh-hero__content {
        max-width: 660px;
    }

}


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

@media (max-width: 650px) {

    .pfh-hero {
        min-height: 820px;

        align-items: flex-end;
    }


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

        padding:
            125px 0 85px;
    }


    .pfh-hero__background video,
    .pfh-hero__background img {
        object-position:
            58% center !important;
    }


    .pfh-hero__background::after {
        background:
            linear-gradient(
                180deg,

                rgba(0,139,149,0) 0%,
                rgba(0,139,149,.04) 20%,
                rgba(3,59,64,.38) 42%,
                rgba(3,59,64,.82) 64%,
                rgba(3,59,64,.97) 100%
            );
    }


    .pfh-hero__background::before {
        display: none;
    }


    .pfh-hero__eyebrow {
        margin-bottom: 17px;

        font-size: 12px;
    }


    .pfh-hero__eyebrow::before {
        width: 28px;

        flex-basis: 28px;
    }


    .pfh-hero h1 {
        font-size: 40px;
        line-height: 1.06;
    }


    .pfh-hero__text {
        margin-top: 22px;

        font-size: 17px;
        line-height: 1.68;
    }


    .pfh-hero__buttons {
        display: grid;

        grid-template-columns: 1fr;

        margin-top: 29px;
    }


    .pfh-hero__button {
        width: 100%;

        min-height: 57px;
    }


    .pfh-hero__facts {
        display: grid;

        gap: 13px;

        margin-top: 31px;

        padding-top: 24px;
    }


    .pfh-hero__fact {
        padding: 0;

        border-right: 0;

        font-size: 15px;
    }

}


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

.elementor-editor-active
.pfh-hero__eyebrow,

.elementor-editor-active
.pfh-hero h1,

.elementor-editor-active
.pfh-hero__text,

.elementor-editor-active
.pfh-hero__buttons,

.elementor-editor-active
.pfh-hero__facts,

.elementor-editor-preview
.pfh-hero__eyebrow,

.elementor-editor-preview
.pfh-hero h1,

.elementor-editor-preview
.pfh-hero__text,

.elementor-editor-preview
.pfh-hero__buttons,

.elementor-editor-preview
.pfh-hero__facts {
    opacity: 1 !important;

    transform: none !important;

    transition: none !important;
}


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

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

    .pfh-hero *,
    .pfh-hero video {
        animation: none !important;

        transition: none !important;
    }


    .pfh-hero__eyebrow,
    .pfh-hero h1,
    .pfh-hero__text,
    .pfh-hero__buttons,
    .pfh-hero__facts {
        opacity: 1 !important;

        transform: none !important;
    }

}
