/* =========================================================
   WPD MALAYSIA — COMPACT FOOTER
   ========================================================= */

.wpd-footer {
    position: relative;

    padding: 2.75rem 0 0;

    background: var(--wpd-navy-dark);
    color: #ffffff;
}


/* Gold top line */

.wpd-footer::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: rgba(201, 162, 39, 0.65);
}


/* =========================================================
   MAIN ROW
   ========================================================= */

.wpd-footer__main {
    display: grid;

    grid-template-columns:
        minmax(280px, 1.2fr)
        minmax(380px, 1fr)
        minmax(240px, 0.7fr);

    gap: clamp(2.5rem, 5vw, 6rem);

    align-items: start;

    padding-bottom: 2.5rem;
}


/* =========================================================
   IDENTITY
   ========================================================= */

.wpd-footer__identity strong {
    display: block;

    margin-bottom: 0.65rem;

    color: #ffffff;

    font-family: "Lora", Georgia, serif;
    font-size: 1.15rem;
    font-weight: 500;
}


.wpd-footer__identity p {
    max-width: 420px;

    margin: 0;

    color: rgba(255, 255, 255, 0.5);

    font-size: 0.74rem;
    line-height: 1.7;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.wpd-footer__nav {
    display: flex;
    flex-wrap: wrap;

    gap: 0.8rem 1.75rem;

    padding-top: 0.15rem;
}


.wpd-footer__nav a {
    color: rgba(255, 255, 255, 0.72);

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.04em;

    text-decoration: none;
    text-transform: uppercase;

    transition: color 0.25s ease;
}


.wpd-footer__nav a:hover {
    color: var(--wpd-gold);
}


/* =========================================================
   CONTACT
   ========================================================= */

.wpd-footer__contact {
    display: flex;
    flex-direction: column;

    gap: 0.55rem;
}


.wpd-footer__contact > span {
    color: var(--wpd-gold);

    font-size: 0.6rem;
    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.wpd-footer__contact a {
    color: rgba(255, 255, 255, 0.78);

    font-size: 0.78rem;
    line-height: 1.5;

    text-decoration: none;

    transition: color 0.25s ease;
}


.wpd-footer__contact a:hover {
    color: #ffffff;
}


/* =========================================================
   BOTTOM ROW
   ========================================================= */

.wpd-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 2rem;

    min-height: 65px;

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


.wpd-footer__bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.38);

    font-size: 0.65rem;
    line-height: 1.5;
}


.wpd-footer__legal {
    display: flex;
    align-items: center;

    gap: 0.75rem;
}


.wpd-footer__legal a,
.wpd-footer__legal span {
    color: rgba(255, 255, 255, 0.38);

    font-size: 0.64rem;

    text-decoration: none;
}


.wpd-footer__legal a {
    transition: color 0.25s ease;
}


.wpd-footer__legal a:hover {
    color: var(--wpd-gold);
}


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

@media (max-width: 1000px) {

    .wpd-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 4rem;
    }


    .wpd-footer__contact {
        grid-column: 1 / -1;

        flex-direction: row;
        align-items: center;

        gap: 1.25rem;
    }

}


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

@media (max-width: 600px) {

    .wpd-footer {
        padding-top: 2.5rem;
    }


    .wpd-footer__main {
        grid-template-columns: 1fr;

        gap: 2rem;

        padding-bottom: 2rem;
    }


    .wpd-footer__identity p {
        max-width: 100%;
    }


    .wpd-footer__nav {
        gap: 0.85rem 1.4rem;
    }


    .wpd-footer__contact {
        grid-column: auto;

        flex-direction: column;
        align-items: flex-start;

        gap: 0.5rem;

        padding-top: 1.5rem;

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


    .wpd-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        gap: 0.5rem;

        min-height: 90px;
        padding: 1.25rem 0;
    }

}

/* =========================================================
   OFFICIAL WEBSITE DISCLAIMER
   ========================================================= */

.wpd-footer__disclaimer {
    padding: 0.9rem 0 1.15rem;

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


.wpd-footer__disclaimer p {
    margin: 0;

    color: rgba(255, 255, 255, 0.32);

    font-size: 0.62rem;
    line-height: 1.6;

    letter-spacing: 0.01em;
}


.wpd-footer__disclaimer p::before {
    content: "Disclaimer";

    margin-right: 0.75rem;

    color: rgba(201, 162, 39, 0.72);

    font-size: 0.57rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}