/* =========================================================
   ENTRAX — FOOTER
   SHARED COMPONENT
========================================================= */


/* =========================================================
   DESKTOP
========================================================= */

.site-footer {

    width: 100%;

    overflow: hidden;

    background:
        var(--entrax-dark-navy);

    color:
        var(--entrax-white);

}


/* =========================================================
   NEWSLETTER
========================================================= */

.footer-newsletter {

    position: relative;

    min-height: 110px;

    display: grid;

    grid-template-columns:
        28% 17% 18% 37%;

    align-items: center;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.15);

    overflow: hidden;

}


/* Blueprint */

.footer-blueprint {

    position: absolute;

    left: 0;

    bottom: 0;

    width: 28%;

    height: 100%;

    opacity: 0.22;

    pointer-events: none;

}


.footer-blueprint img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: left bottom;

}


/* Newsletter title */

.newsletter-title {

    position: relative;

    z-index: 2;

    grid-column: 2;

}


.newsletter-title h2 {

    margin: 0;

    color:
        rgba(255, 255, 255, 0.9);

    font-family:
        var(--font-heading);

    font-size: 19px;

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: 0.5px;

}


.newsletter-line {

    display: block;

    width: 26px;

    height: 2px;

    margin-top: 12px;

    background:
        var(--entrax-orange);

}


/* Description */

.newsletter-description {

    position: relative;

    z-index: 2;

}


.newsletter-description p {

    max-width: 360px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.65);

    font-family:
        var(--font-body);

    font-size: 11px;

    line-height: 1.7;

}


/* =========================================================
   NEWSLETTER FORM
========================================================= */

.newsletter-form {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 410px;

    display: flex;

}


.newsletter-form input {

    flex: 1;

    min-width: 0;

    height: 42px;

    padding:
        0 16px;

    border:
        1px solid rgba(255, 255, 255, 0.22);

    border-right: none;

    outline: none;

    background: transparent;

    color:
        #ffffff;

    font-family:
        var(--font-body);

    font-size: 11px;

}


.newsletter-form input::placeholder {

    color:
        rgba(255, 255, 255, 0.5);

}


.newsletter-form button {

    width: 140px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    border: none;

    background:
        var(--entrax-bright-orange);

    color:
        #ffffff;

    cursor: pointer;

    font-family:
        var(--font-navigation);

    font-size: 10px;

    font-weight: 700;

}

    .subscribe-arrow {
        font-size: 22px;
        font-weight: 300;
        line-height: 1;
    }



/* =========================================================
DESKTOP - FOOTER BOTTOM
========================================================= */

.footer-bottom {
    width: 100%;
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;

    box-sizing: border-box;
}


/* Logo */



.footer-logo {
    display: flex;
    align-items: center;

    padding: 0;

    text-decoration: none;
}

.footer-logo-image {
    display: block;

    width: 145px;
    height: auto;

    filter:
        brightness(0)
        invert(1);
}


/* footer - right side */

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 28px;
}


/* =========================================================
   FOOTER NAVIGATION
========================================================= */

.footer-navigation {
    display: flex;
    align-items: center;
}

.footer-navigation a {
    height: 28px;

    display: flex;
    align-items: center;

    padding: 0 20px;

    border-right:
        1px solid rgba(255, 255, 255, 0.16);

    color:
        rgba(255, 255, 255, 0.7);

    font-family:
        var(--font-navigation);

    font-size: 10px;
    font-weight: 500;

    text-decoration: none;

    transition:
        color var(--transition-normal);
}

.footer-navigation a:hover {
    color: var(--entrax-orange);
}

.footer-navigation a:last-child {
    border-right: none;
}


/* =========================================================
   DESKTOP — SOCIAL MEDIA
========================================================= */

.footer-social {
    display: flex;
    align-items: center;

    gap: 16px;

    min-width: max-content;
}

.footer-social a {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    text-decoration: none;

    transition:
        color var(--transition-normal),
        transform var(--transition-normal);
}

.footer-social a img {
    width: 26px;
    height: 26px;

    display: block;

    object-fit: contain;

    transition:
        transform var(--transition-normal),
        opacity var(--transition-normal);
}

.footer-social a:hover {
    color: var(--entrax-orange);
}

.footer-social a:hover img {
    transform: translateY(-1px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .footer-newsletter {

        grid-template-columns:
            22% 24% 22% 32%;

        padding:
            0 4%;

    }


    .footer-blueprint {

        width: 25%;

    }


    .newsletter-title h2 {

        font-size: 17px;

    }


    .newsletter-form button {

        width: 120px;

    }


    /* =========================================================
    TABLET — FOOTER BOTTOM
    ========================================================= */

     .footer-bottom {
        min-height: 70px;
        padding: 0 4%;
    }

    .footer-logo-image {
        width: 130px;
    }

    .footer-right {
        gap: 18px;
    }

    .footer-navigation a {
        padding: 0 12px;
        font-size: 9px;
    }

    .footer-social {
        gap: 12px;
    }

    .footer-social a {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .footer-social a svg {
        width: 24px;
        height: 24px;
    }

}

/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 700px) {

    .footer-newsletter {

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        min-height: auto;

        padding:
            50px var(--content-padding-mobile);

        gap: 22px;

    }


    .footer-blueprint {

        width: 100%;

        height: 100%;

        opacity: 0.08;

    }


    .newsletter-title {

        width: 100%;

    }


    .newsletter-title h2 {

        font-size: 25px;

        line-height: 1.1;

    }


    .newsletter-description {

        width: 100%;

    }


    .newsletter-description p {
        max-width: 100%;
        font-size: 13px;
        width: 100%;

    }


    .newsletter-form {
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }


    .newsletter-form input {
        width: 100%;
        min-width: 0;
        height: 52px;
        min-height: 52px;

        box-sizing: border-box;

        padding: 0 18px;

        border: 1px solid rgba(255, 255, 255, 0.25);
        border-right: 1px solid rgba(255, 255, 255, 0.25);

        outline: none;

        background: transparent;
        color: #ffffff;

        font-family: var(--font-body);
        font-size: 15px;
        line-height: 1.2;
    }

    .newsletter-form input::placeholder {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}


    .newsletter-form button {
        width: 100%;
        min-width: 0;

        height: 56px;
        min-height: 56px;

        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 0 22px;

        border: none;

        background: var(--entrax-bright-orange);
        color: #ffffff;

        font-family: var(--font-navigation);
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
    }

    .newsletter-form button > span:first-child {
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
    }


    /* =========================================================
    SMARTPHONE — FOOTER BOTTOM
    ========================================================= */

.footer-bottom {
        width: 100%;

        min-height: auto;

        display: grid;

        grid-template-columns: 1fr auto;

        grid-template-areas:
            "navigation navigation"
            "logo social";

        align-items: center;

        column-gap: 12px;
        row-gap: 18px;

        padding:
            24px
            var(--content-padding-mobile);

        box-sizing: border-box;
        position: relative;
    }


    /* =====================================================
       NAVIGATION — FIRST ROW
    ===================================================== */

    .footer-navigation {
        grid-area: navigation;

        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        margin: 0;
        padding: 0;
    }

    .footer-navigation a {
        height: auto;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0 12px;

        font-size: 9px;

        line-height: 1.2;

        white-space: nowrap;
    }


    /* =====================================================
       LOGO — SECOND ROW / LEFT
    ===================================================== */

.footer-logo {
    grid-area: logo;

    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    margin: 0;

    z-index: 1;
}

    /* =====================================================
       SOCIAL — SECOND ROW / RIGHT
    ===================================================== */

    .footer-social {
        grid-area: social;

        display: flex;
        align-items: center;
        justify-content: flex-end;

        gap: 10px;

        width: auto;
        min-width: max-content;

        margin: 0;
        padding: 0;
    }
    
    .footer-logo-image {
        width: 120px;
    }


}

/* =========================================================
   SMALL SMARTPHONE — ≤ 420px
========================================================= */

@media (max-width: 420px) {

  .footer-bottom {
        padding:
            20px
            16px;

        column-gap: 8px;
        row-gap: 16px;
    }

    .footer-logo-image {
        width: 105px;
    }

    .footer-social {
        gap: 7px;
    }

    .footer-social a {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }

    .footer-social a svg {
        width: 22px;
        height: 22px;
    }

    .footer-navigation a {
        padding: 0 8px;
        font-size: 8px;
    }

}




