/* =========================================================
   HPMI PREMIUM FOOTER
========================================================= */

.hpmi-footer {

    position: relative;

    background: #0B244D;

    color: #fff;

    overflow: hidden;
}


/* subtle background detail */

.hpmi-footer::before {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

    right: -260px;

    top: -260px;

    border:
        1px solid rgba(197,165,91,.10);

    border-radius: 50%;

    pointer-events: none;
}


.hpmi-footer::after {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    left: -180px;

    bottom: -180px;

    border:
        1px solid rgba(197,165,91,.08);

    border-radius: 50%;

    pointer-events: none;
}


.hpmi-footer-container {

    width: min(
        1180px,
        calc(100% - 80px)
    );

    margin: auto;

    position: relative;

    z-index: 2;
}


/* =========================================================
   TOP
========================================================= */

.hpmi-footer-top {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr
        1.2fr;

    gap: 45px;

    padding:
        80px 0 65px;
}


/* =========================================================
   BRAND
========================================================= */

.hpmi-footer-logo {

    margin-bottom: 22px;
}


.hpmi-footer-logo img {

    width: 240px;

    max-height: 75px;

    object-fit: contain;

    object-position: left center;
}


.hpmi-footer-intro {

    max-width: 260px;

    margin: 0;

    color:
        rgba(255,255,255,.58);

    font-family:
        "Poppins",
        Arial,
        sans-serif;

    font-size: 15px;

    line-height: 1.9;
}


/* =========================================================
   SOCIAL
========================================================= */

.hpmi-footer-social {

    display: flex;

    gap: 8px;

    margin-top: 25px;
}


.hpmi-footer-social a {

    width: 31px;

    height: 31px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(255,255,255,.18);

    color: #D1B77A;

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 8px;

    text-transform: uppercase;

    transition:
        all .3s ease;
}


.hpmi-footer-social a:hover {

    background: #C5A55B;

    border-color: #C5A55B;

    color: #0B244D;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.hpmi-footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.hpmi-footer-heading {

    display: block;

    margin-bottom: 19px;

    color: #D1B77A;

    font-family:
        "Poppins",
        Arial,
        sans-serif;

    font-size: 18px;

    font-weight: 600;

    letter-spacing: .18em;
}


.hpmi-footer-column a {

    position: relative;

    width: fit-content;

    margin-bottom: 11px;

    color:
        rgba(255,255,255,.58);

    font-family:
        "Poppins",
        Arial,
        sans-serif;

    font-size: 14px;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}


.hpmi-footer-column a:hover {

    color: #fff;

    transform: translateX(3px);
}


.hpmi-footer-space {

    margin-top: 23px;
}


/* =========================================================
   CONTACT
========================================================= */

.hpmi-footer-contact p {

    max-width: 220px;

    margin:
        0 0 23px;

    color:
        rgba(255,255,255,.52);

    font-size: 9px;

    line-height: 1.7;
}


.hpmi-footer-contact-item {

    display: block;

    margin-bottom: 18px;

    text-decoration: none;
}


.hpmi-footer-contact-item small {

    display: block;

    margin-bottom: 5px;

    color:
        rgba(255,255,255,.35);

    font-size: 12px;

    letter-spacing: .15em;
}


.hpmi-footer-contact-item strong {

    display: block;

    color:
        rgba(255,255,255,.78);

    font-size: 9px;

    font-weight: 400;

    line-height: 1.5;

    word-break: break-word;
}


/* =========================================================
   CTA
========================================================= */

.hpmi-footer-cta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 37px 0;

    border-top:
        1px solid rgba(255,255,255,.10);

    border-bottom:
        1px solid rgba(255,255,255,.10);
}


.hpmi-footer-cta > div > span {

    color: #C5A55B;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: .18em;
}


.hpmi-footer-cta h3 {

    margin: 9px 0 0;

    color: #fff;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(25px, 3vw, 37px);

    font-weight: 500;

    line-height: 1.1;
}


.hpmi-footer-cta h3 em {

    color: #D1B77A;

    font-style: italic;
}


/* CTA BUTTON */

.hpmi-footer-enquire {

    min-width: 180px;

    min-height: 50px;

    padding: 0 20px;

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    background: #C5A55B;

    color: #0B244D;

    text-decoration: none;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .1em;

    transition:
        all .3s ease;
}


.hpmi-footer-enquire b {

    font-size: 16px;

    font-weight: 400;
}


.hpmi-footer-enquire:hover {

    background: #F1E5C8;

    transform: translateY(-3px);
}


/* =========================================================
   BOTTOM
========================================================= */

.hpmi-footer-bottom {

    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.hpmi-footer-bottom p {

    margin: 0;

    color:
        rgba(255,255,255,.35);

    font-family:
        "Poppins",
        Arial,
        sans-serif;

    font-size: 12px;
}


.hpmi-footer-legal {

    display: flex;

    gap: 22px;
}


.hpmi-footer-legal a {

    color:
        rgba(255,255,255,.38);

    font-size: 12px;

    text-decoration: none;

    transition:
        color .25s ease;
}


.hpmi-footer-legal a:hover {

    color: #D1B77A;
}


.hpmi-footer-top-link {

    display: flex;

    align-items: center;

    gap: 9px;

    color:
        rgba(255,255,255,.55);

    font-size: 8px;

    letter-spacing: .1em;

    text-decoration: none;
}


.hpmi-footer-top-link span {

    width: 27px;

    height: 27px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(255,255,255,.2);

    color: #D1B77A;

    transition:
        all .25s ease;
}


.hpmi-footer-top-link:hover {

    color: #fff;
}


.hpmi-footer-top-link:hover span {

    background: #C5A55B;

    border-color: #C5A55B;

    color: #0B244D;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .hpmi-footer-top {

        grid-template-columns:
            repeat(3, 1fr);

        gap: 40px;
    }

    .hpmi-footer-brand {

        grid-column:
            1 / -1;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .hpmi-footer-container {

        width:
            calc(100% - 35px);
    }


    .hpmi-footer-top {

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            45px 25px;

        padding:
            60px 0 45px;
    }


    .hpmi-footer-brand {

        grid-column:
            1 / -1;
    }


    .hpmi-footer-intro {

        max-width: 320px;
    }


    .hpmi-footer-cta {

        display: block;

        padding: 35px 0;
    }


    .hpmi-footer-enquire {

        margin-top: 25px;

        width: 100%;
    }


    .hpmi-footer-bottom {

        padding: 25px 0;

        align-items: flex-start;

        flex-direction: column;
    }


    .hpmi-footer-legal {

        flex-wrap: wrap;

        gap: 10px 18px;
    }

}


@media (max-width: 400px) {

    .hpmi-footer-top {

        grid-template-columns: 1fr;
    }

}
.hpmi-powered-by {
    color: rgba(255,255,255,.38);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 8px;
    white-space: nowrap;
}

.hpmi-powered-by strong {
    color: #D1B77A;
    font-weight: 600;
    margin-left: 3px;
}
