/* ==========================================================================
   Metro Media Communications — front-end theme
   A fresh, high-contrast design for professional video / broadcast gear.
   ========================================================================== */

:root {
    --mm-ink:        #0e1116;
    --mm-ink-2:      #171c24;
    --mm-ink-3:      #232a34;
    --mm-paper:      #ffffff;
    --mm-paper-2:    #f6f7f9;
    --mm-paper-3:    #eef0f4;
    --mm-line:       #e2e6eb;
    --mm-line-dark:  #2c333d;
    --mm-text:       #10141a;
    --mm-muted:      #667080;
    --mm-muted-dark: #96a1b0;
    --mm-accent:     #f81711;
    --mm-accent-2:   #ff4444;
    --mm-accent-ink: #ffffff;
    --mm-ok:         #1a936f;
    --mm-warn:       #c9720b;
    --mm-err:        #c02b2b;

    --mm-radius:     14px;
    --mm-radius-sm:  9px;
    --mm-radius-lg:  22px;
    --mm-shadow:     0 1px 2px rgba(14, 17, 22, .04), 0 8px 24px rgba(14, 17, 22, .06);
    --mm-shadow-lg:  0 24px 60px rgba(14, 17, 22, .14);
    --mm-max:        1240px;

    --mm-font:       'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mm-display:    'Barlow Condensed', 'Inter', system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--mm-font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--mm-text);
    background: var(--mm-paper);
    -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* --------------------------------------------------------------- layout -- */

.mm-container {
    width: 100%;
    max-width: var(--mm-max);
    margin-inline: auto;
    padding-inline: 20px;
}

.mm-section { padding-block: clamp(48px, 7vw, 88px); }
.mm-section--tight { padding-block: clamp(32px, 4vw, 52px); }
.mm-section--dark {
    background: var(--mm-ink);
    color: #eef1f5;
}
.mm-section--dark .mm-muted,
.mm-section--dark .mm-lead { color: var(--mm-muted-dark); }
.mm-section--soft { background: var(--mm-paper-2); }

/* ----------------------------------------------------------- typography -- */

.mm-h1, .mm-h2, .mm-h3 {
    font-family: var(--mm-display);
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.05;
    margin: 0 0 .4em;
    text-transform: uppercase;
}
.mm-h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); }
.mm-h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); }
.mm-h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

.mm-eyebrow {
    display: inline-block;
    font-family: var(--mm-display);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--mm-accent);
    margin-bottom: .7rem;
}

.mm-lead { font-size: 1.075rem; color: var(--mm-muted); margin: 0 0 1.2em; max-width: 62ch; }
.mm-muted { color: var(--mm-muted); }

.mm-head { margin-bottom: clamp(26px, 3.5vw, 44px); max-width: 70ch; }
.mm-head--center { margin-inline: auto; text-align: center; }
.mm-head .mm-lead { margin-bottom: 0; }
.mm-head--center .mm-lead { margin-inline: auto; }

.mm-rule {
    width: 56px; height: 4px; border: 0; border-radius: 4px;
    background: linear-gradient(90deg, var(--mm-accent), var(--mm-accent-2));
    margin: 0 0 1.1rem;
}
.mm-head--center .mm-rule { margin-inline: auto; }

/* -------------------------------------------------------------- buttons -- */

.mm-btn {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    padding: .82em 1.5em;
    border: 1px solid transparent;
    border-radius: var(--mm-radius-sm);
    font-weight: 650;
    font-size: .93rem;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
    white-space: nowrap;
}
.mm-btn:hover { transform: translateY(-1px); }
.mm-btn:active { transform: translateY(0); }
.mm-btn:focus-visible { outline: 2px solid var(--mm-accent); outline-offset: 3px; }

.mm-btn--primary {
    background: linear-gradient(135deg, var(--mm-accent), var(--mm-accent-2));
    color: var(--mm-accent-ink);
    box-shadow: 0 6px 18px rgba(248, 23, 17, .28);
}
.mm-btn--primary:hover { box-shadow: 0 10px 26px rgba(248, 23, 17, .36); }

.mm-btn--dark { background: var(--mm-ink); color: #fff; }
.mm-btn--dark:hover { background: var(--mm-ink-2); }

/*
 * color: inherit rather than a hard-coded ink — this button appears on dark
 * backgrounds (.mm-hero, .mm-spotlight--dark) that are not always wrapped in
 * .mm-section--dark, so a fixed dark color went invisible against them.
 * Inheriting the ambient text color adapts automatically everywhere.
 * Hover uses currentColor for the same reason: a fixed dark hover border
 * would otherwise disappear on a dark background.
 */
.mm-btn--ghost { border-color: var(--mm-line); background: transparent; color: inherit; }
.mm-btn--ghost:hover { border-color: currentColor; }

.mm-section--dark .mm-btn--ghost { border-color: var(--mm-line-dark); }
.mm-section--dark .mm-btn--ghost:hover { border-color: #6d7887; }

.mm-btn--sm { padding: .55em 1em; font-size: .84rem; }
.mm-btn--block { width: 100%; justify-content: center; }

/* --------------------------------------------------------------- header -- */

.mm-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--mm-line);
}
.mm-header__bar {
    display: flex; align-items: center; gap: 22px;
    min-height: 72px;
}
.mm-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.mm-logo img { max-height: 44px; width: auto; filter: hue-rotate(-22deg) saturate(1.08); }
.mm-logo__text {
    font-family: var(--mm-display);
    font-size: 1.5rem; font-weight: 700; line-height: 1;
    text-transform: uppercase; letter-spacing: .02em;
}
.mm-logo__text span { color: var(--mm-accent); }
.mm-logo__sub {
    display: block; font-family: var(--mm-font); font-size: .58rem;
    letter-spacing: .28em; color: var(--mm-muted); font-weight: 600; margin-top: 3px;
}

.mm-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mm-nav a {
    padding: .55em .85em;
    border-radius: 8px;
    font-size: .92rem; font-weight: 550;
    color: var(--mm-text);
    transition: background .15s ease, color .15s ease;
}
.mm-nav a:hover { background: var(--mm-paper-2); color: var(--mm-accent); }
.mm-nav a.is-active { color: var(--mm-accent); }

.mm-header__actions { display: flex; align-items: center; gap: 10px; }

.mm-search { position: relative; }
.mm-search input {
    width: 190px; padding: .58em .9em .58em 2.2em;
    border: 1px solid var(--mm-line); border-radius: 999px;
    background: var(--mm-paper-2); font-size: .88rem; color: var(--mm-text);
    transition: width .2s ease, border-color .15s ease;
}
.mm-search input:focus { outline: none; width: 230px; border-color: var(--mm-accent); background: #fff; }
.mm-search svg { position: absolute; left: .75em; top: 50%; transform: translateY(-50%); color: var(--mm-muted); }

.mm-burger {
    display: none; background: none; border: 1px solid var(--mm-line);
    border-radius: 8px; padding: .5em .6em; cursor: pointer;
}

@media (max-width: 960px) {
    .mm-burger { display: inline-flex; }
    .mm-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--mm-line);
        padding: 8px 20px 16px; box-shadow: var(--mm-shadow);
    }
    .mm-nav.is-open { display: flex; }
    .mm-nav a { padding: .8em .4em; border-bottom: 1px solid var(--mm-line); }
    .mm-search input, .mm-search input:focus { width: 150px; }
    .mm-header__actions .mm-btn { display: none; }
}
@media (max-width: 560px) {
    .mm-search { display: none; }
}

/* --------------------------------------------------------- topbar strip -- */

.mm-topbar {
    background: var(--mm-ink);
    color: var(--mm-muted-dark);
    font-size: .8rem;
}
.mm-topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 38px; flex-wrap: wrap;
}
.mm-topbar a { color: #dfe4ea; }
.mm-topbar a:hover { color: var(--mm-accent-2); }
.mm-topbar__links { display: flex; gap: 18px; align-items: center; }
@media (max-width: 640px) { .mm-topbar__links { display: none; } }

/* ----------------------------------------------------------------- hero -- */

.mm-hero {
    position: relative;
    background: var(--mm-ink);
    color: #fff;
    overflow: hidden;
}
.mm-hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(80% 120% at 12% 10%, rgba(248, 23, 17, .28), transparent 60%),
        radial-gradient(60% 90% at 90% 90%, rgba(60, 120, 255, .16), transparent 60%);
}
.mm-hero__inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
    padding-block: clamp(56px, 8vw, 104px);
}
.mm-hero__media img { border-radius: var(--mm-radius-lg); box-shadow: var(--mm-shadow-lg); }
.mm-hero .mm-lead { color: #c3cbd6; font-size: 1.12rem; }
.mm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (max-width: 900px) {
    .mm-hero__inner { grid-template-columns: 1fr; gap: 34px; }
    .mm-hero__media { order: -1; }
}

/* ---------------------------------------------------------------- cards -- */

.mm-grid { display: grid; gap: 22px; }
.mm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mm-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 1080px) {
    .mm-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .mm-grid--4, .mm-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .mm-grid--3, .mm-grid--4, .mm-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mm-grid { gap: 14px; }
}
@media (max-width: 420px) {
    .mm-grid--2, .mm-grid--3, .mm-grid--4, .mm-grid--5 { grid-template-columns: 1fr; }
}

.mm-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mm-card:hover { transform: translateY(-3px); box-shadow: var(--mm-shadow); border-color: #cfd6de; }

.mm-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--mm-paper-2);
    display: grid; place-items: center;
    padding: 14px;
}
.mm-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.mm-card__body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.mm-card__cat { font-size: .7rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--mm-muted); }
.mm-card__title {
    font-size: .97rem; font-weight: 620; line-height: 1.35; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mm-card:hover .mm-card__title { color: var(--mm-accent); }
/* Cards link straight out to the shop, so they end with an affordance rather
   than a price — pricing and stock live on photovideomall. */
.mm-card__go {
    margin-top: auto; padding-top: 10px;
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .78rem; font-weight: 620; color: var(--mm-muted);
    transition: color .15s ease, gap .15s ease;
}
.mm-card:hover .mm-card__go { color: var(--mm-accent); gap: 8px; }

.mm-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    padding: .28em .6em; border-radius: 6px;
    font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    background: var(--mm-accent); color: #fff;
}
.mm-badge--out { background: var(--mm-ink-3); }
.mm-badge--save { background: var(--mm-ok); }

/* ------------------------------------------------------- category tiles -- */

.mm-tile {
    position: relative; display: block;
    border-radius: var(--mm-radius);
    overflow: hidden;
    background: var(--mm-ink);
    aspect-ratio: 5 / 4;
    transition: transform .2s ease, box-shadow .2s ease;
}
.mm-tile:hover { transform: translateY(-3px); box-shadow: var(--mm-shadow-lg); }
.mm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .25s ease, transform .4s ease; }
.mm-tile:hover img { opacity: .48; transform: scale(1.05); }
.mm-tile__body {
    position: absolute; inset: auto 0 0 0; z-index: 2;
    padding: 18px;
    background: linear-gradient(to top, rgba(14, 17, 22, .92), transparent);
    color: #fff;
}
.mm-tile__name { font-family: var(--mm-display); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.mm-tile__count { font-size: .78rem; color: #b8c1cc; }

/* A group with no picture yet — an intentional-looking gradient plus its
   initial, rather than a bare dark box that reads as a missing image. */
.mm-tile--noimg { background: linear-gradient(135deg, var(--mm-ink-3), var(--mm-ink)); }
.mm-tile__glyph {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-family: var(--mm-display); font-weight: 700; text-transform: uppercase;
    font-size: 4rem; color: rgba(255, 255, 255, .14); line-height: 1;
}

/* -------------------------------------------------------------- carousel -- */

.mm-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: thin;
}
.mm-rail > * { scroll-snap-align: start; }
.mm-rail::-webkit-scrollbar { height: 7px; }
.mm-rail::-webkit-scrollbar-thumb { background: var(--mm-line); border-radius: 99px; }
.mm-rail::-webkit-scrollbar-thumb:hover { background: #c3cad3; }

/* ------------------------------------------------------------ spotlight -- */

.mm-spotlight { border-radius: var(--mm-radius-lg); overflow: hidden; }
.mm-spotlight__inner {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px;
    padding: clamp(28px, 4vw, 56px);
}
.mm-spotlight--dark { background: var(--mm-ink); color: #fff; }
.mm-spotlight--dark .mm-lead { color: #b9c2ce; }
.mm-spotlight--light { background: var(--mm-paper-2); }
.mm-spotlight--flip .mm-spotlight__media { order: -1; }
.mm-spotlight__media img {
    width: 100%; border-radius: var(--mm-radius);
    background: #fff; padding: 18px; object-fit: contain; aspect-ratio: 4/3;
}
@media (max-width: 820px) {
    .mm-spotlight__inner { grid-template-columns: 1fr; gap: 26px; }
    .mm-spotlight--flip .mm-spotlight__media { order: 0; }
}

/* ---------------------------------------------------------- brand strip -- */

.mm-brands { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.mm-brand-chip {
    display: inline-flex; align-items: center; gap: 9px;
    padding: .6em 1.15em;
    border: 1px solid var(--mm-line); border-radius: 999px;
    background: #fff;
    font-family: var(--mm-display); font-size: 1.02rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
    transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.mm-brand-chip:hover { border-color: var(--mm-accent); color: var(--mm-accent); transform: translateY(-2px); }
.mm-brand-chip img { max-height: 22px; width: auto; }
.mm-section--dark .mm-brand-chip { background: var(--mm-ink-2); border-color: var(--mm-line-dark); color: #e6eaef; }

/* --------------------------------------------------------- contact info -- */

.mm-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.mm-office {
    border: 1px solid var(--mm-line); border-radius: var(--mm-radius);
    padding: 22px 24px; background: #fff;
}
.mm-section--dark .mm-office,
.mm-office--dark { background: var(--mm-ink-2); border-color: var(--mm-line-dark); color: #e6eaef; }
.mm-office__label {
    font-size: .7rem; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--mm-accent); margin-bottom: .5rem;
}
.mm-office__city { font-family: var(--mm-display); font-size: 1.45rem; font-weight: 700; text-transform: uppercase; line-height: 1.1; margin-bottom: .5rem; }
.mm-office__addr { font-size: .93rem; line-height: 1.65; color: var(--mm-muted); white-space: pre-line; margin-bottom: .8rem; }
.mm-office--dark .mm-office__addr, .mm-section--dark .mm-office__addr { color: var(--mm-muted-dark); }
.mm-office__row { display: flex; align-items: center; gap: 8px; font-size: .93rem; padding: 2px 0; }
.mm-office__row a:hover { color: var(--mm-accent); }
.mm-office__row svg { flex: none; color: var(--mm-accent); }

/* ----------------------------------------------------------------- form -- */

.mm-form { display: grid; gap: 14px; }
.mm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .mm-form__row { grid-template-columns: 1fr; } }

.mm-field { display: grid; gap: 6px; }
.mm-field label { font-size: .82rem; font-weight: 620; color: var(--mm-muted); }
.mm-input, .mm-textarea, .mm-select {
    width: 100%;
    padding: .78em .95em;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-sm);
    background: #fff;
    font: inherit; font-size: .94rem; color: var(--mm-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.mm-input:focus, .mm-textarea:focus, .mm-select:focus {
    outline: none; border-color: var(--mm-accent);
    box-shadow: 0 0 0 3px rgba(248, 23, 17, .13);
}
.mm-textarea { min-height: 132px; resize: vertical; }
.mm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mm-alert {
    padding: .85em 1.1em; border-radius: var(--mm-radius-sm);
    font-size: .92rem; margin-bottom: 16px;
    border: 1px solid transparent;
}
.mm-alert--success { background: #e8f6f0; border-color: #b9e3d3; color: #12684d; }
.mm-alert--error   { background: #fdecec; border-color: #f3c6c6; color: #a41f1f; }

/* ------------------------------------------------------------ catalogue -- */

.mm-toolbar {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 14px 0 20px; border-bottom: 1px solid var(--mm-line); margin-bottom: 26px;
}
.mm-toolbar__count { color: var(--mm-muted); font-size: .9rem; margin-right: auto; }
.mm-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mm-chip {
    padding: .42em .9em; border: 1px solid var(--mm-line); border-radius: 999px;
    font-size: .84rem; font-weight: 560; background: #fff; transition: all .15s ease;
}
.mm-chip:hover { border-color: var(--mm-ink); }
.mm-chip.is-active { background: var(--mm-ink); border-color: var(--mm-ink); color: #fff; }

.mm-layout { display: grid; grid-template-columns: 232px 1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .mm-layout { grid-template-columns: 1fr; gap: 20px; } }

.mm-side__group { margin-bottom: 26px; }
.mm-side__title {
    font-family: var(--mm-display); font-size: 1.05rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--mm-line);
}
.mm-side__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mm-side__list a {
    display: flex; justify-content: space-between; gap: 8px;
    padding: .45em .6em; border-radius: 7px;
    font-size: .91rem; color: var(--mm-muted);
}
.mm-side__list a:hover { background: var(--mm-paper-2); color: var(--mm-text); }
.mm-side__list a.is-active { background: var(--mm-ink); color: #fff; font-weight: 600; }
.mm-side__list a.is-active span { color: #b8c1cc; }
.mm-side__list .mm-sub { padding-left: 1.5em; font-size: .87rem; }

.mm-pager { display: flex; gap: 7px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.mm-pager a, .mm-pager span {
    min-width: 40px; height: 40px; padding: 0 .7em;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--mm-line); border-radius: var(--mm-radius-sm);
    font-size: .9rem; font-weight: 580; background: #fff;
}
.mm-pager a:hover { border-color: var(--mm-ink); }
.mm-pager .is-active { background: var(--mm-ink); border-color: var(--mm-ink); color: #fff; }
.mm-pager .is-disabled { opacity: .4; pointer-events: none; }

.mm-empty { text-align: center; padding: 64px 20px; color: var(--mm-muted); }
.mm-empty__icon { font-size: 2.6rem; margin-bottom: .4rem; opacity: .5; }

/* ------------------------------------------------------------ long copy -- */

.mm-prose { font-size: .99rem; line-height: 1.75; color: #2c333d; }
.mm-prose h2, .mm-prose h3 { font-family: var(--mm-display); text-transform: uppercase; margin: 1.6em 0 .5em; }
.mm-prose p { margin: 0 0 1.1em; }
.mm-prose ul, .mm-prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.mm-prose li { margin-bottom: .35em; }
.mm-prose img { border-radius: var(--mm-radius); margin: 1.2em 0; }
.mm-prose a { color: var(--mm-accent); text-decoration: underline; text-underline-offset: 2px; }

.mm-crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--mm-muted); padding: 18px 0 0; flex-wrap: wrap; }
.mm-crumbs a:hover { color: var(--mm-accent); }
.mm-crumbs span { opacity: .5; }

/* --------------------------------------------------------------- footer -- */

.mm-footer { background: var(--mm-ink); color: #c3cbd6; padding-top: clamp(44px, 6vw, 68px); }
.mm-footer a { color: #c3cbd6; }
.mm-footer a:hover { color: var(--mm-accent-2); }
.mm-footer__grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 34px;
    padding-bottom: 40px;
}
@media (max-width: 900px) { .mm-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 540px) { .mm-footer__grid { grid-template-columns: 1fr; } }

.mm-footer__title {
    font-family: var(--mm-display); font-size: 1.05rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px;
}
.mm-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.mm-footer__bottom {
    border-top: 1px solid var(--mm-line-dark);
    padding: 20px 0;
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    font-size: .84rem; color: #8b95a3;
}
.mm-social { display: flex; gap: 9px; }
.mm-social a {
    width: 36px; height: 36px; display: grid; place-items: center;
    border: 1px solid var(--mm-line-dark); border-radius: 9px;
    transition: all .15s ease;
}
.mm-social a:hover { border-color: var(--mm-accent); background: var(--mm-accent); color: #fff; }

/* ------------------------------------------------------ builder helpers -- */
/* Utility classes the page builder exposes so authored content stays on-brand. */

.mm-text-center { text-align: center; }
.mm-text-right  { text-align: right; }
.mm-mt-0 { margin-top: 0; }
.mm-mb-0 { margin-bottom: 0; }
.mm-flex { display: flex; gap: 14px; flex-wrap: wrap; }
.mm-flex--center { justify-content: center; }
.mm-cols { display: grid; gap: 24px; }
.mm-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .mm-cols--2, .mm-cols--3 { grid-template-columns: 1fr; } }

.mm-note {
    border-left: 3px solid var(--mm-accent);
    background: var(--mm-paper-2);
    padding: 16px 20px; border-radius: 0 var(--mm-radius-sm) var(--mm-radius-sm) 0;
}

.mm-feature { display: grid; gap: 10px; }
.mm-feature__icon {
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(248, 23, 17, .1); color: var(--mm-accent);
    font-size: 1.3rem;
}

.mm-block-error {
    border: 1px dashed var(--mm-err); color: var(--mm-err);
    padding: 12px; border-radius: 8px; font-size: .85rem;
}

/* Placeholder shown when a dynamic block has nothing to render. */
.mm-block-empty {
    border: 1px dashed var(--mm-line);
    border-radius: var(--mm-radius);
    padding: 34px; text-align: center; color: var(--mm-muted); font-size: .92rem;
}

@media print {
    .mm-header, .mm-footer, .mm-topbar { display: none; }
}
