/*
FOOTER
*/

.site-footer{
    position:relative;
    overflow:hidden;
    background-color:var(--darkgreen);
    color:white;
    padding:70px 0 0;
}

.site-footer > .container{
    position:relative;
    z-index:2;
}

.footer-decoration{
    position:absolute;
    top:0;
    left:0;
    width:340px;
    height:340px;
    opacity:.35;
    pointer-events:none;
    z-index:1;
}

.footer-decoration.flip{
    top:auto;
    left:auto;
    bottom:0;
    right:0;
    transform:scale(-1,-1);
}

.footer-decoration svg{
    width:100%;
    height:100%;
}

.footer-top{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:flex-start;
    gap:40px;
}

.footer-nav{
    justify-self:start;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.footer-nav a{
    color:white;
    text-decoration:none;
    font-size:15px;
    opacity:.85;
    transition:.3s ease;
}

.footer-nav a:hover{
    color:var(--gold);
    opacity:1;
}

.footer-top address{
    justify-self:end;
    font-style:normal;
    color:rgba(255,255,255,.85);
    line-height:1.7;
    text-align:right;
}

/* =====================================
   FOOTER CTA
===================================== */

.footer-cta{
    justify-self:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.footer-cta h2{
    color:white;
    margin-bottom:15px;
}

.footer-cta p{
    color:rgba(255,255,255,.85);
    margin-bottom:0;
}

.footer-cta .btn{
    background:var(--gold);
}

.footer-cta .btn:hover{
    background:var(--gold-dark);
    transform:translateY(-3px);
}

.footer-cta .btn:hover .btn-arrow{
    transform:translateX(4px);
}

.footer-mid{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:40px;
    padding-bottom:50px;
    border-bottom:1px solid rgba(255,255,255,.2);
}

.footer-certs{
    display:flex;
    align-items:center;
    gap:24px;
}

.footer-certs img{
    height:50px;
    width:auto;
}

.footer-logo{
    width:100px;
    height:auto;
}

.footer-bottom{
    padding:25px 0;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:13px;
    color:rgba(255,255,255,.75);
}

.footer-call{
    justify-self:start;
    text-align:left;
}

.footer-call-label{
    display:block;
    font-size:12px;
    color:rgba(255,255,255,.7);
    margin-bottom:4px;
}

.footer-phone{
    color:white;
    text-decoration:none;
    font-size:15px;
    opacity:.85;
    transition:.3s ease;
}

.footer-phone:hover{
    color:var(--gold);
    opacity:1;
}

.footer-copyright{
    justify-self:center;
    margin:0;
    text-align:center;
}

/* =====================================
   CERTIFICATIONS
===================================== */

.certs{
    padding:30px 0;
}

.cert-row{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

.cert-row img{
    height:100px;
    width:auto;
}

.custom-logo{
    height:100px;
    width:auto;
    display:block;
}

/* =====================================
   MOBILE
===================================== */

@media(max-width:768px){

    .footer-decoration{
        display:none;
    }

    .site-footer{
        position:relative;
        overflow:hidden;
        background-color:var(--darkgreen);
        color:white;
        padding:50px 0 0;
    }

    .footer-top{
        grid-template-columns:1fr;
        gap:35px;
    }

    .footer-cta{
        order:1;
        align-items:flex-start;
        text-align:left;
    }

    .footer-top address{
        order:2;
        justify-self:start;
        text-align:left;
    }

    .footer-nav{
        order:3;
        justify-self:start;
    }

    .footer-mid{
        padding-bottom:25px;
    }

    .footer-logo{
        display:none;
    }

    .footer-call{
        justify-self:start;
    }

}