/* Mastermind Baja | Global Footer */

.mc-footer {
    --mc-footer-gold: #C49A42;
    --mc-footer-champagne: #E5C477;
    --mc-footer-cream: #FAF7F0;

    background-color: #080808;
    background-image:
    radial-gradient(
        ellipse at 10% 15%,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.35) 25%,
        transparent 55%
    ),
    linear-gradient(
        115deg,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.22) 25%,
        rgba(0, 0, 0, 0.55) 55%,
        rgba(0, 0, 0, 0.25) 78%,
        rgba(0, 0, 0, 0.08) 100%
    ),
    url('/wp-content/uploads/2026/11/Golden-Palm-Fronds-on-Black-Texture.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;

    color: var(--mc-footer-cream);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

.mc-footer *,
.mc-footer *::before,
.mc-footer *::after {
    box-sizing: border-box;
}

.mc-footer .mc-container {
    width: min(100% - 60px, 1600px);
    margin-inline: auto;
}

/* Main Layout */

.mc-footer__main {
    display: grid;
    grid-template-columns:
        minmax(180px, 1.15fr)
        minmax(175px, 1fr)
        minmax(170px, 1fr)
        minmax(145px, 0.9fr)
        minmax(290px, 1.5fr);

    column-gap: clamp(16px, 1.8vw, 30px);
    row-gap: 26px;
    align-items: start;
    padding-block: 65px 45px;
}

/* Brand */

.mc-footer__brand {
    min-width: 0;
}

.mc-footer__logo-link {
    display: inline-block;
    max-width: 100%;
}

.mc-footer__logo {
    display: block;
    width: min(100%, 220px);
    height: auto;
}

.mc-footer__tagline {
    max-width: 240px;
    margin: 15px 0 0;
    color: rgba(250, 247, 240, 0.90);
    font-size: 13px;
    line-height: 1.5;
}

.mc-footer__mls-link {
    display: inline-block;
    max-width: 100%;
    margin-top: 25px;
}

.mc-footer__mls-logo {
    display: block;
    width: min(100%, 220px);
    height: auto;
    object-fit: contain;
}

/* Columns */

.mc-footer__column {
    min-width: 0;
    padding-left: 15px;
    border-left: 1px solid rgba(196, 154, 66, 0.6);
}

.mc-footer__heading {
    margin: 0 0 17px;
    color: var(--mc-footer-champagne);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(16px, 1.2vw, 19px) !important;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Links */

.mc-footer__links {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mc-footer__links li {
    margin: 0;
    padding: 0;
}

.mc-footer a {
    color: var(--mc-footer-cream);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.25s ease;
}

.mc-footer a:hover {
    color: var(--mc-footer-champagne);
}

.mc-footer a:focus-visible {
    outline: 2px solid var(--mc-footer-champagne);
    outline-offset: 4px;
}

/* Locations */

.mc-footer__office {
    margin-bottom: 20px;
}

.mc-footer__office h3 {
    margin: 0 0 7px;
    color: var(--mc-footer-champagne);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.mc-footer__office p {
    margin: 0;
    color: var(--mc-footer-cream);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
}

/* Contact */

.mc-footer__contact-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mc-footer__contact-list li {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.mc-footer__contact-list a[href^="mailto:"] {
    display: inline-block;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: -0.2px;
}

/* Contact Button */

.mc-footer a.mc-footer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 20px;
    padding: 10px 22px;
    border: 1px solid var(--mc-footer-champagne);
    border-radius: 4px;
    background: transparent;
    color: var(--mc-footer-champagne);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mc-footer a.mc-footer__cta:hover {
    background: var(--mc-footer-champagne);
    color: #080808;
}

/* Social Icons */

.mc-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.mc-footer__social a,
.mc-footer__social-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--mc-footer-gold);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: var(--mc-footer-champagne);
}

.mc-footer__social a:hover {
    background: var(--mc-footer-champagne);
    color: #080808;
}

.mc-footer__social-pending {
    opacity: 0.65;
}

.mc-footer__social svg {
    width: 17px;
    height: 17px;
}

/* Copyright */

.mc-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-block: 22px 27px;
    border-top: 1px solid rgba(196, 154, 66, 0.65);
    text-align: center;
}

.mc-footer__copyright,
.mc-footer__credit {
    margin: 0;
    color: rgba(250, 247, 240, 0.76);
    font-size: 12px;
    line-height: 1.5;
}

.mc-footer__bottom a {
    font-size: 12px;
}

.mc-footer__separator {
    color: var(--mc-footer-champagne);
    font-size: 14px;
    font-weight: 300;
}

.mc-footer__credit a {
    color: var(--mc-footer-champagne);
}

/* Tablet */

@media (max-width: 1250px) {

    .mc-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 35px;
        row-gap: 30px;
    }

    .mc-footer__brand {
        grid-column: 1 / -1;
    }

    .mc-footer__contact-list a[href^="mailto:"] {
        white-space: normal;
        overflow-wrap: anywhere;
    }

}

/* Mobile */

@media (max-width: 600px) {

    .mc-footer {
        background-position: 30% center;
    }

    .mc-footer .mc-container {
        width: min(100% - 36px, 520px);
    }

    .mc-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 27px;
        padding-block: 45px 35px;
    }

    .mc-footer__brand,
    .mc-footer__locations,
    .mc-footer__contact {
        grid-column: 1 / -1;
    }

    .mc-footer__logo {
        width: min(100%, 200px);
    }

    .mc-footer__mls-logo {
        width: min(100%, 210px);
    }

    .mc-footer__column {
        padding-left: 12px;
    }

    .mc-footer__heading {
        font-size: 16px !important;
    }

    .mc-footer__links {
        gap: 8px;
    }

    .mc-footer__bottom {
        gap: 8px;
        padding-block: 20px 25px;
    }

    .mc-footer__separator {
        display: none;
    }

}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    .mc-footer a {
        transition: none;
    }

}