/* MEGA MENU */

.mms-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    width: 660px;
    background: #121011;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(143, 1, 17, 0.16), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(143, 1, 17, 0.10), transparent 50%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    pointer-events: auto;
}

.mms-overlay.is-open {
    display: block;
    animation: mmsFadeUp 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mmsFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0);   }
}

/* Accent bar across the top */
.mms-overlay::before {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #8f0111 0%, #c8102e 50%, #8f0111 100%);
}

/* ── Two column layout ─────────────────────────────────────── */
.mms-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mms-col {
    padding: 26px 26px 24px;
}

.mms-col--mots {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.mms-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d9525f;
    margin: 0 0 16px 0;
}

.mms-heading::before {
    content: '';
    width: 14px;
    height: 2px;
    background: #8f0111;
    display: inline-block;
    border-radius: 2px;
}

/* ── MOT make items (monogram badge + label) ─────────────── */
.mms-makes {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mms-make {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #f2eeee;
    transition: background 0.15s ease, transform 0.15s ease;
}

.mms-make:hover {
    background: rgba(143, 1, 17, 0.16);
    transform: translateX(2px);
}

.mms-make__badge {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(143, 1, 17, 0.55);
    background: rgba(143, 1, 17, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.mms-make:hover .mms-make__badge {
    background: #8f0111;
    border-color: #8f0111;
}

.mms-make__badge svg {
    width: 17px;
    height: 17px;
    stroke: #e0838c;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.15s ease;
}

.mms-make:hover .mms-make__badge svg {
    stroke: #ffffff;
}

.mms-make__label {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #f2eeee;
}

/* ── Services items (icon + label) ───────────────────────── */
.mms-services {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mms-service {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #f2eeee;
    transition: background 0.15s ease, transform 0.15s ease;
}

.mms-service:hover {
    background: rgba(143, 1, 17, 0.16);
    transform: translateX(2px);
}

.mms-service__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(143, 1, 17, 0.10);
    border: 1px solid rgba(143, 1, 17, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.mms-service:hover .mms-service__icon {
    background: #8f0111;
    border-color: #8f0111;
}

.mms-service__icon svg {
    width: 17px;
    height: 17px;
    stroke: #e0838c;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.15s ease;
}

.mms-service:hover .mms-service__icon svg {
    stroke: #ffffff;
}

.mms-service__label {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #f2eeee;
}

/* ── Backdrop ─────────────────────────────────────────────── */
.mms-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: transparent;
    cursor: default;
}

.mms-backdrop.is-open {
    display: block;
}

/* Active nav item */
.menu-item--mms-active > .menu-link,
.menu-item--mms-active > a {
    color: #c8102e !important;
}

/* Chevron on trigger link */
.mots-services-menu > a {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.mots-services-menu > a::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg) translate(-1px, 0);
    transition: transform 0.2s ease;
}

.mots-services-menu:hover > a::after,
.mots-services-menu.menu-item--mms-active > a::after {
    transform: rotate(45deg) translate(0, -2px);
}

/* Mobile: hide */
@media (max-width: 768px) {
    .mms-overlay,
    .mms-backdrop {
        display: none !important;
    }
}