/* ==========================================================
   MALBON ENTERPRISES — Footer
   ========================================================== */
.site-footer {
    position: relative;
    overflow: hidden;
    font-family: var(--font);
    color: rgba(255, 255, 255, .76);
    background: var(--charcoal);
}

.site-footer::before {
    /* gold line along the top edge */
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}

.site-footer::after {
    /* faint folded plane, like the logo mark */
    content: "";
    position: absolute;
    top: -30%;
    right: -6%;
    width: 34%;
    height: 160%;
    background: linear-gradient(180deg, rgba(217, 169, 79, .08), rgba(217, 169, 79, 0));
    transform: skewX(-18deg);
    pointer-events: none;
}

.footer__inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(48px, 5vw, 64px) clamp(24px, 3.5vw, 64px) 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: clamp(28px, 4vw, 64px);
    padding-bottom: 44px;
}

/* Brand */
.footer__brand p {
    max-width: 340px;
    margin: 20px 0 22px;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.7;
}

.footer__social {
    display: flex;
    gap: 10px;
}

/* Columns */
.footer__col h3 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
}

.footer__col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
}

.footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.footer__links a {
    display: inline-flex;
    align-items: center;
    font-size: 14.5px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    transition: color .25s var(--ease);
}

.footer__links a::before {
    content: "";
    width: 0;
    height: 2px;
    margin-right: 0;
    background: var(--gold-light);
    transition: width .25s var(--ease), margin .25s var(--ease);
}

.footer__links a:hover {
    color: var(--gold-light);
}

.footer__links a:hover::before {
    width: 10px;
    margin-right: 8px;
}

/* Contact */
.footer__contact {
    gap: 16px !important;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.5;
}

.footer__contact a {
    color: inherit;
    text-decoration: none;
    transition: color .25s var(--ease);
}

.footer__contact a:hover {
    color: var(--gold-light);
}

.footer__contact small {
    display: block;
    margin-bottom: 2px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.footer__ico {
    flex: none;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: linear-gradient(135deg, #EBC77E 0%, var(--gold-light) 38%, var(--gold) 70%, var(--gold-dark) 100%);
    border-radius: 50%;
}

.footer__ico svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Bottom bar */
.footer__bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 0 26px;
    font-size: 13.5px;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer__bottom p {
    margin: 0;
}

.footer__legal {
    display: flex;
    gap: 22px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.footer__legal a {
    color: inherit;
    text-decoration: none;
    transition: color .25s var(--ease);
}

.footer__legal a:hover {
    color: var(--gold-light);
}

.footer__up {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--ink);
    background: linear-gradient(135deg, #EBC77E 0%, var(--gold-light) 38%, var(--gold) 70%, var(--gold-dark) 100%);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .3s var(--ease);
}

.footer__up:hover {
    transform: translateY(-3px);
}

.footer__up svg {
    width: 16px;
    height: 16px;
}

.site-footer a:focus-visible,
.site-footer button:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1000px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-wrap: wrap;
        row-gap: 14px;
    }

    .footer__bottom p {
        width: 100%;
    }

    .footer__legal {
        margin-left: 0;
        order: 2;
    }

    .footer__up {
        order: 3;
        margin-left: auto;
    }
}