/* ==========================================================================
   Home page — "Our Two Locations" section
   Front page only (the section exists nowhere else). Namespaced mf-locs-*.

   Reads the global --mf-* tokens, so it follows whichever palette is in force:
   light on the home page via home-light.css, dark everywhere else.
   ========================================================================== */

.mf-locs {
    position: relative;
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: var(--mf-bg-secondary);
    border-top: 1px solid var(--mf-border);
    border-bottom: 1px solid var(--mf-border);
}

/* ---------- Header ---------- */
.mf-locs__head {
    max-width: 680px;
    margin: 0 auto clamp(2.25rem, 4vw, 3.25rem);
    text-align: center;
}

.mf-locs__title {
    margin: 0.5rem 0 1rem;
    color: var(--mf-text-primary);
}

.mf-locs__title-accent {
    color: var(--mf-gold);
}

.mf-locs__desc {
    margin: 0;
    color: var(--mf-text-secondary);
    line-height: 1.75;
}

/* ---------- Grid ---------- */
.mf-locs__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.mf-locs__card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 2.6vw, 2.25rem);
    background: var(--mf-bg-card);
    border: 1px solid var(--mf-border);
    border-radius: var(--mf-radius-lg, 12px);
    transition: border-color 0.25s var(--mf-ease, ease),
                transform 0.25s var(--mf-ease, ease),
                box-shadow 0.25s var(--mf-ease, ease);
}

.mf-locs__card:hover {
    transform: translateY(-3px);
    border-color: var(--mf-gold);
    box-shadow: 0 14px 40px rgba(26, 23, 19, 0.10);
}

/* ---------- Card header ---------- */
.mf-locs__card-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.mf-locs__pin {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--mf-gold-glow, rgba(163, 113, 28, 0.14));
    border: 1px solid var(--mf-gold);
}

.mf-locs__pin svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--mf-gold);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mf-locs__name {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--mf-font-display);
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--mf-text-primary);
}

/* The point of the section: each branch runs a different menu. */
.mf-locs__badge {
    flex: 0 0 auto;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--mf-gold);
    border-radius: var(--mf-radius-full, 9999px);
    background: var(--mf-gold-glow, rgba(163, 113, 28, 0.14));
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--mf-gold);
    white-space: nowrap;
}

/* ---------- Detail rows ---------- */
.mf-locs__rows {
    margin: 0 0 1.6rem;
    display: grid;
    gap: 0.9rem;
}

.mf-locs__row {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 0.35rem 1rem;
    align-items: baseline;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--mf-border);
}

.mf-locs__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.mf-locs__row dt {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mf-text-muted);
}

.mf-locs__row dd {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.6;
    color: var(--mf-text-secondary);
}

.mf-locs__row dd a {
    color: var(--mf-gold);
    font-weight: 600;
    text-decoration: none;
}

.mf-locs__row dd a:hover {
    text-decoration: underline;
}

/* ---------- Actions ---------- */
.mf-locs__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: auto;
}

.mf-locs__actions .mf-btn {
    flex: 1 1 10rem;
    justify-content: center;
    text-align: center;
}

.mf-locs__more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.15rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--mf-text-primary);
    text-decoration: none;
    transition: color 0.2s var(--mf-ease, ease);
}

.mf-locs__more svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s var(--mf-ease, ease);
}

.mf-locs__more:hover {
    color: var(--mf-gold);
}

.mf-locs__more:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   Hero: the two-location line
   Sits on the dark hero, so it keeps light-on-dark values.
   ========================================================================== */
.mf-hero__locs {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.1rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(212, 160, 74, 0.45);
    border-radius: var(--mf-radius-full, 9999px);
    background: rgba(11, 11, 15, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #F5EFE6;
}

.mf-hero__locs svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: #D4A04A;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mf-hero__locs-sep {
    color: rgba(212, 160, 74, 0.8);
}

/* ==========================================================================
   TABLET
   ========================================================================== */
@media (max-width: 900px) {
    .mf-locs__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 560px) {
    .mf-locs__card-head {
        gap: 0.6rem;
    }

    /* The badge would squeeze the branch name to a couple of characters. */
    .mf-locs__name {
        flex: 1 1 100%;
        order: 2;
    }

    .mf-locs__badge {
        order: 3;
    }

    /* Stacked labels beat a cramped two-column list on a phone. */
    .mf-locs__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.2rem;
    }

    .mf-locs__actions .mf-btn {
        flex: 1 1 100%;
    }

    .mf-hero__locs {
        font-size: 0.78rem;
        padding: 0.45rem 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mf-locs__card,
    .mf-locs__more,
    .mf-locs__more svg {
        transition: none !important;
    }
}
