/* =========================================================
   DOORWAY SOLUTION
   GLOBAL FOOTER VARIABLES
========================================================= */

:root {
    --dark-section-bg: #0d0f15;

    --brand-blue: #3f4198;
    --brand-blue-light: #5558bd;
    --brand-blue-dark: #292b72;

    --white: #ffffff;

    --font-heading:
        "Manrope",
        sans-serif;

    --font-body:
        "Inter",
        sans-serif;

    --container:
        1400px;

    --mobile-padding:
        17px;
}
.doorway-footer {
    position: relative;

    width: 100%;

    overflow: hidden;

    background:
        var(
            --dark-section-bg,
            #0d0f15
        );

    color:
        var(
            --white,
            #ffffff
        );
}


/* Grid */

.doorway-footer::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );

    background-size:
        92px 92px;
}


/* =========================================================
   CONTAINER
========================================================= */

.doorway-footer-container {
    position: relative;

    z-index: 2;

    width:
        min(
            calc(100% - 64px),
            var(--container)
        );

    margin: 0 auto;
}


/* =========================================================
   OPENING
========================================================= */

.footer-opening {
    padding:
        95px 0
        78px;

    border-bottom:
        1px solid
        rgba(255,255,255,.10);
}


/* Label */

.footer-opening-label {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 31px;

    color:
        rgba(255,255,255,.37);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .13em;

    text-transform: uppercase;
}


.footer-opening-label > span:first-child {
    color:
        var(--brand-blue-light);
}


.footer-opening-label i {
    width: 30px;
    height: 1px;

    background:
        rgba(85,88,189,.60);
}


/* =========================================================
   OPENING MAIN
========================================================= */

.footer-opening-main {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(300px,410px);

    align-items: end;

    gap: 70px;
}


/* Heading */

.footer-opening-main h2 {
    max-width: 900px;

    margin: 0;

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            56px,
            6.7vw,
            105px
        );

    font-weight: 500;

    line-height: .91;

    letter-spacing:
        -.065em;
}


.footer-opening-main h2 span {
    display: block;

    color:
        var(--brand-blue-light);
}


/* Action */

.footer-opening-action {
    padding-bottom: 8px;
}


.footer-opening-action p {
    max-width: 370px;

    margin:
        0 0
        27px;

    color:
        rgba(255,255,255,.43);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   MAIN CTA
========================================================= */

.footer-main-cta {
    min-height: 57px;

    padding:
        0 13px
        0 20px;

    display: inline-flex;
    align-items: center;

    justify-content: space-between;

    gap: 35px;

    background:
        var(--brand-blue);

    color:
        var(--white);

    font-family:
        var(--font-heading);

    font-size: 11px;
    font-weight: 600;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}


.footer-main-cta-icon {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.24);
}


.footer-main-cta-icon svg {
    width: 15px;
}


.footer-main-cta:hover {
    background:
        var(--brand-blue-light);

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 35px
        rgba(63,65,152,.22);
}


/* =========================================================
   MAIN FOOTER GRID
========================================================= */

.footer-main {
    padding:
        68px 0
        75px;

    display: grid;

    grid-template-columns:
        minmax(250px,1.4fr)
        .7fr
        1fr
        minmax(240px,.9fr);

    gap:
        clamp(
            40px,
            6vw,
            90px
        );
}


/* =========================================================
   BRAND
========================================================= */

.footer-logo {
    display: inline-block;
}


.footer-logo img {
    width: 160px;

    filter:
        brightness(0)
        invert(1);

    opacity: .95;
}


.footer-brand > p {
    max-width: 330px;

    margin:
        28px 0 0;

    color:
        rgba(255,255,255,.38);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   BROCHURE BUTTON
========================================================= */

.footer-brochure {
    width: fit-content;

    margin-top: 32px;

    padding:
        13px 16px;

    display: inline-flex;
    align-items: center;

    gap: 13px;

    border:
        1px solid
        rgba(255,255,255,.11);

    background:
        rgba(255,255,255,.025);

    transition:
        background .25s ease,
        border-color .25s ease;
}


.footer-brochure-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(63,65,152,.16);

    color:
        var(--brand-blue-light);
}


.footer-brochure-icon svg {
    width: 16px;
}


.footer-brochure small {
    display: block;

    margin-bottom: 3px;

    color:
        rgba(255,255,255,.30);

    font-size: 12px;

    letter-spacing: .10em;

    text-transform: uppercase;
}


.footer-brochure strong {
    color:
        rgba(255,255,255,.83);

    font-family:
        var(--font-heading);

    font-size: 10px;
    font-weight: 600;
}


.footer-brochure:hover {
    background:
        rgba(255,255,255,.055);

    border-color:
        rgba(85,88,189,.45);
}


/* =========================================================
   COLUMNS
========================================================= */

.footer-column-title {
    display: block;

    margin-bottom: 24px;

    color:
        rgba(255,255,255,.30);

    font-size: 16px;
    font-weight: 700;

    letter-spacing: .13em;

    text-transform: uppercase;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 0;
}


.footer-links a {
    width: 100%;

    min-height: 38px;

    display: flex;
    align-items: center;

    justify-content: space-between;

    gap: 15px;

    color:
        rgba(255,255,255,.62);

    font-family:
        var(--font-heading);

    font-size: 16px;

    transition:
        color .25s ease,
        padding-left .25s ease;
}


.footer-links a i {
    color:
        var(--brand-blue-light);

    font-style: normal;

    font-size: 11px;

    opacity: 0;

    transform:
        translate(-4px,4px);

    transition:
        opacity .25s ease,
        transform .25s ease;
}


.footer-links a:hover {
    padding-left: 5px;

    color:
        var(--white);
}


.footer-links a:hover i {
    opacity: 1;

    transform:
        translate(0,0);
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact-list {
    display: flex;
    flex-direction: column;

    gap: 23px;
}


.footer-contact-list a,
.footer-contact-list div {
    display: block;
}


.footer-contact-list small {
    display: block;

    margin-bottom: 5px;

    color:
        rgba(255,255,255,.27);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: .10em;

    text-transform: uppercase;
}


.footer-contact-list strong {
    max-width: 270px;

    display: block;

    color:
        rgba(255,255,255,.72);

    font-family:
        var(--font-heading);

    font-size: 16px;
    font-weight: 500;

    line-height: 1.55;

    transition:
        color .25s ease;
}


.footer-contact-list a:hover strong {
    color:
        var(--white);
}


/* =========================================================
   SOCIAL
========================================================= */

.footer-social {
    margin-top: 29px;

    display: flex;

    gap: 7px;
}


.footer-social a {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.10);

    color:
        rgba(255,255,255,.55);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: .05em;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}


.footer-social a:hover {
    background:
        var(--brand-blue);

    border-color:
        var(--brand-blue);

    color:
        var(--white);

    transform:
        translateY(-3px);
}


/* =========================================================
   LARGE DOORWAY WORDMARK
========================================================= */

.footer-wordmark {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-top:
        1px solid
        rgba(255,255,255,.08);

    border-bottom:
        1px solid
        rgba(255,255,255,.08);
}


.footer-wordmark span {
    display: block;

    margin:
        -2.3vw 0
        -2.4vw;

    color:
        rgba(255,255,255,.035);

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            120px,
            18vw,
            285px
        );

    font-weight: 800;

    line-height: 1;

    letter-spacing:
        -.075em;

    text-align: center;

    white-space: nowrap;

    user-select: none;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    min-height: 86px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 30px;
}


.footer-bottom p {
    margin: 0;

    color:
        rgba(255,255,255,.27);

    font-size: 14px;

    letter-spacing: .07em;

    text-transform: uppercase;
}


.footer-bottom-links {
    display: flex;
    align-items: center;

    gap: 25px;
}


.footer-bottom-links a {
    color:
        rgba(255,255,255,.32);

    font-size: 13px;

    letter-spacing: .06em;

    text-transform: uppercase;

    transition:
        color .2s ease;
}


.footer-bottom-links a:hover {
    color:
        var(--white);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.footer-back-top {
    justify-self: end;

    padding: 0;

    display: inline-flex;
    align-items: center;

    gap: 12px;

    border: 0;

    background:
        transparent;

    color:
        rgba(255,255,255,.45);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        color .25s ease;
}


.footer-back-top-arrow {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.10);

    color:
        var(--brand-blue-light);

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.footer-back-top:hover {
    color:
        var(--white);
}


.footer-back-top:hover
.footer-back-top-arrow {
    background:
        var(--brand-blue);

    color:
        var(--white);

    transform:
        translateY(-3px);
}


/* =========================================================
   59. FOOTER — TABLET
========================================================= */

@media (max-width:1024px) {

    .doorway-footer-container {
        width:
            calc(100% - 42px);
    }


    .footer-opening {
        padding:
            82px 0
            65px;
    }


    .footer-opening-main {
        grid-template-columns:
            1fr;

        gap: 34px;
    }


    .footer-opening-main h2 {
        max-width: 850px;

        font-size:
            clamp(
                60px,
                9vw,
                88px
            );
    }


    .footer-opening-action {
        max-width: 460px;
    }


    .footer-main {
        grid-template-columns:
            1.3fr
            1fr
            1fr;

        gap:
            55px 35px;
    }


    .footer-brand {
        grid-column:
            span 3;
    }


    .footer-brand > p {
        max-width: 500px;
    }

}


/* =========================================================
   60. FOOTER — MOBILE
========================================================= */

@media (max-width:767px) {

    .doorway-footer::before {
        background-size:
            52px 52px;
    }


    .doorway-footer-container {
        width:
            calc(
                100% -
                (var(--mobile-padding) * 2)
            );
    }


    /* Opening */

    .footer-opening {
        padding:
            67px 0
            55px;
    }


    .footer-opening-label {
        align-items: flex-start;

        flex-wrap: wrap;

        margin-bottom: 25px;

        font-size: 10px;
    }


    .footer-opening-main {
        gap: 31px;
    }


    .footer-opening-main h2 {
        max-width: 100%;

        font-size:
            clamp(
                47px,
                14vw,
                67px
            );

        line-height: .93;
    }


    .footer-opening-action p {
        max-width: 100%;

        font-size: 12px;
    }


    .footer-main-cta {
        width: 100%;

        min-height: 55px;
    }


    /* Main */

    .footer-main {
        padding:
            53px 0
            58px;

        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap:
            48px 25px;
    }


    .footer-brand {
        grid-column:
            span 2;

        padding-bottom: 6px;
    }


    .footer-logo img {
        width: 145px;
    }


    .footer-brand > p {
        max-width: 420px;

        margin-top: 22px;

        font-size: 14px;
    }


    .footer-brochure {
        margin-top: 25px;
    }


    .footer-contact {
        grid-column:
            span 2;

        padding-top: 5px;
    }


    .footer-contact-list {
        display: grid;

        grid-template-columns:
            repeat(2,1fr);

        gap: 22px;
    }


    /* Wordmark */

    .footer-wordmark span {
        margin:
            -1vw 0
            -1.5vw;

        font-size:
            26vw;
    }


    /* Bottom */

    .footer-bottom {
        padding:
            25px 0
            28px;

        display: flex;

        flex-wrap: wrap;

        align-items: center;

        justify-content: space-between;

        gap:
            20px 25px;
    }


    .footer-bottom p {
        width: 100%;
    }


    .footer-back-top {
        margin-left: auto;
    }

}


/* =========================================================
   61. FOOTER — SMALL MOBILE
========================================================= */

@media (max-width:390px) {

    .footer-opening-main h2 {
        font-size:
            clamp(
                43px,
                13.5vw,
                53px
            );
    }


    .footer-main {
        grid-template-columns:
            1fr;

        gap: 42px;
    }


    .footer-brand,
    .footer-contact {
        grid-column:
            auto;
    }


    .footer-contact-list {
        grid-template-columns:
            1fr;
    }


    .footer-wordmark span {
        font-size:
            25vw;
    }


    .footer-bottom-links {
        gap: 17px;
    }

}
/* =========================================================
   SELECTED PROJECTS — MOVING LOGO STRIP
========================================================= */

.project-logo-showcase {
    position: relative;

    margin-top: 38px;
    padding-top: 22px;

    border-top:
        1px solid rgba(36, 33, 36, 0.10);

    border-bottom:
        1px solid rgba(36, 33, 36, 0.10);
}

