/* =========================================================
   HighPassCV - Footer Only Styles
   This file styles only the shared website footer.
   ========================================================= */


/* =========================
   Footer Base
   ========================= */

.site-footer {
    --footer-primary: #002D62;
    --footer-primary-dark: #001F45;
    --footer-accent: #C5A059;
    --footer-accent-hover: #D4B982;
    --footer-text: #D7DEE8;
    --footer-muted: #AEB9C8;
    --footer-white: #FFFFFF;
    --footer-border: rgba(255, 255, 255, 0.12);

    display: block;
    clear: both;

    width: 100%;
    padding-top: 56px;

    color: var(--footer-white);
    background-color: var(--footer-primary);

    font-family: "Inter", "Segoe UI", sans-serif;
    line-height: 1.6;
    direction: ltr;
}

.site-footer,
.site-footer * {
    box-sizing: border-box;
}


/* =========================
   Main Footer Layout
   ========================= */

.site-footer .footer-container {
    display: grid;
    grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(160px, 1fr));
    gap: 48px;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 0 24px 48px;
}

.site-footer .footer-col {
    min-width: 0;
}

.site-footer .brand-col {
    max-width: 430px;
}


/* =========================
   Brand
   ========================= */

.site-footer .footer-logo {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--footer-white);

    font-family: "Poppins", "Inter", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;

    transition: color 0.25s ease;
}

.site-footer .footer-logo span {
    color: var(--footer-accent);
}

.site-footer .footer-logo:hover,
.site-footer .footer-logo:focus-visible {
    color: var(--footer-accent-hover);
}

.site-footer .footer-description {
    max-width: 410px;

    margin: 0;

    color: var(--footer-text);

    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}


/* =========================
   Column Headings
   ========================= */

.site-footer .footer-heading {
    position: relative;

    margin: 0 0 22px;
    padding-bottom: 11px;

    color: var(--footer-white);

    font-family: "Poppins", "Inter", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.site-footer .footer-heading::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 38px;
    height: 2px;

    border-radius: 999px;
    background-color: var(--footer-accent);
}


/* =========================
   Footer Links
   ========================= */

.site-footer .footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer .footer-links li {
    margin: 0 0 12px;
}

.site-footer .footer-links li:last-child {
    margin-bottom: 0;
}

.site-footer .footer-links a {
    position: relative;

    display: inline-block;

    color: var(--footer-muted);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
    color: var(--footer-accent-hover);
    transform: translateX(4px);
}

.site-footer a:focus-visible {
    outline: 3px solid rgba(197, 160, 89, 0.45);
    outline-offset: 4px;
    border-radius: 4px;
}


/* =========================
   Footer Bottom
   ========================= */

.site-footer .footer-bottom {
    width: 100%;

    padding: 18px 24px;

    border-top: 1px solid var(--footer-border);
    background-color: var(--footer-primary-dark);

    text-align: center;
}

.site-footer .footer-bottom p {
    margin: 0;

    color: var(--footer-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================
   Tablet
   ========================= */

@media (max-width: 900px) {

    .site-footer .footer-container {
        grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(130px, 1fr));
        gap: 32px;
    }

}


/* =========================
   Small Tablet / Large Mobile
   ========================= */

@media (max-width: 720px) {

    .site-footer {
        padding-top: 46px;
    }

    .site-footer .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;

        padding-bottom: 40px;
    }

    .site-footer .brand-col {
        grid-column: 1 / -1;
        max-width: 560px;
    }

}


/* =========================
   Mobile
   ========================= */

@media (max-width: 520px) {

    .site-footer {
        padding-top: 40px;
    }

    .site-footer .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;

        padding-right: 20px;
        padding-bottom: 36px;
        padding-left: 20px;
    }

    .site-footer .brand-col {
        grid-column: auto;
    }

    .site-footer .footer-logo {
        font-size: 25px;
    }

    .site-footer .footer-heading {
        margin-bottom: 18px;
    }

    .site-footer .footer-bottom {
        padding-right: 20px;
        padding-left: 20px;
    }

}