.mhk-global-footer,
.mhk-global-footer * {
    box-sizing: border-box;
}

.mhk-old-footer-hidden {
    display: none !important;
}

.mhk-global-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #f6f1e8;
    background:
        radial-gradient(circle at 50% -10%, rgba(214,182,84,.12), transparent 34%),
        linear-gradient(180deg, #050505 0%, var(--mhk-footer-bg) 55%, #000 100%);
    border-top: 1px solid rgba(214,182,84,.55);
    padding: clamp(70px, 8vw, 118px) 20px 0;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mhk-footer-aura {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: -280px;
    width: 850px;
    height: 520px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,182,84,.12), transparent 68%);
    filter: blur(20px);
    pointer-events: none;
}

.mhk-footer-dots {
    position: absolute;
    z-index: -1;
    width: 270px;
    height: 270px;
    opacity: .2;
    background-image: radial-gradient(circle, var(--mhk-footer-accent) 1.2px, transparent 1.6px);
    background-size: 14px 14px;
    -webkit-mask-image: radial-gradient(circle, #000, transparent 72%);
    mask-image: radial-gradient(circle, #000, transparent 72%);
    pointer-events: none;
}

.mhk-footer-dots-left { left: -80px; top: 18%; transform: rotate(-12deg); }
.mhk-footer-dots-right { right: -90px; bottom: 12%; transform: rotate(15deg); }

.mhk-footer-wrap {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.mhk-footer-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding: clamp(28px, 4vw, 50px);
    border: 1px solid var(--mhk-footer-accent);
    border-radius: 28px;
    background:
        linear-gradient(120deg, rgba(214,182,84,.12), transparent 42%),
        rgba(10,10,10,.94);
    box-shadow: 0 28px 90px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.02);
    overflow: hidden;
}

.mhk-footer-cta::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mhk-footer-accent), transparent);
    animation: mhkFooterLine 6s ease-in-out infinite;
}

.mhk-footer-eyebrow {
    display: inline-block;
    color: var(--mhk-footer-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.mhk-footer-cta h2,
.mhk-footer-grid h2 {
    color: #fff;
    margin: 9px 0 12px;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.mhk-footer-cta h2 {
    font-size: clamp(30px, 4vw, 52px);
}

.mhk-footer-cta p {
    max-width: 720px;
    margin: 0;
    color: #c9c3b8;
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.7;
}

.mhk-footer-cta-actions {
    display: grid;
    gap: 12px;
    min-width: min(300px, 100%);
}

.mhk-footer-btn {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.mhk-footer-btn:hover { transform: translateY(-2px); }
.mhk-footer-btn-gold { background: var(--mhk-footer-accent); color: #080808 !important; border: 1px solid var(--mhk-footer-accent); }
.mhk-footer-btn-outline { background: transparent; color: #f6f1e8 !important; border: 1px solid rgba(214,182,84,.55); }
.mhk-footer-btn-outline:hover { color: var(--mhk-footer-accent) !important; border-color: var(--mhk-footer-accent); background: rgba(214,182,84,.05); }

.mhk-footer-grid {
    display: grid;
    grid-template-columns: 1.08fr .78fr 1.14fr;
    gap: clamp(22px, 4vw, 50px);
    padding: clamp(55px, 7vw, 92px) 0 44px;
}

.mhk-footer-grid > * {
    min-width: 0;
}

.mhk-footer-grid h2 {
    font-size: clamp(24px, 2.5vw, 32px);
}

.mhk-footer-brand-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mhk-footer-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    border: 1px solid var(--mhk-footer-accent);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(214,182,84,.12), transparent);
    color: var(--mhk-footer-accent);
    font-weight: 900;
    overflow: hidden;
}

.mhk-footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mhk-footer-brand > p {
    color: #bcb6aa;
    line-height: 1.75;
    font-size: 14px;
    margin: 25px 0 22px;
}

.mhk-footer-owner {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-left: 2px solid var(--mhk-footer-accent);
    background: rgba(255,255,255,.018);
}

.mhk-footer-owner span,
.mhk-footer-contact small,
.mhk-footer-contact-static small,
.mhk-footer-info-cards small {
    color: var(--mhk-footer-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.mhk-footer-owner strong { color: #fff; font-size: 15px; }

.mhk-footer-social {
    margin-top: 18px;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(214,182,84,.25);
    border-radius: 13px;
    color: #f6f1e8 !important;
    text-decoration: none !important;
    transition: border-color .2s ease, transform .2s ease, color .2s ease;
}

.mhk-footer-social:hover { transform: translateX(3px); border-color: var(--mhk-footer-accent); color: var(--mhk-footer-accent) !important; }
.mhk-footer-social b { margin-left: auto; }
.mhk-footer-social-icon,
.mhk-footer-contact-icon,
.mhk-footer-info-icon {
    display: grid;
    place-items: center;
    color: var(--mhk-footer-accent);
}
.mhk-footer-social-icon { width: 30px; height: 30px; border-radius: 9px; background: rgba(214,182,84,.08); }
.mhk-footer-social svg,
.mhk-footer-contact-icon svg,
.mhk-footer-info-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.mhk-footer-nav ul {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.mhk-footer-nav li { border-bottom: 1px solid rgba(214,182,84,.16); }
.mhk-footer-nav a {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #f1ece2 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: color .2s ease, padding .2s ease;
}
.mhk-footer-nav a:hover { color: var(--mhk-footer-accent) !important; padding-left: 7px; }
.mhk-footer-nav b { color: var(--mhk-footer-accent); font-size: 9px; letter-spacing: .12em; }

.mhk-footer-contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    margin-top: 22px;
}

.mhk-footer-contact-list > a,
.mhk-footer-contact-static {
    min-height: 78px;
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(214,182,84,.22);
    border-radius: 14px;
    background: var(--mhk-footer-panel);
    color: #f6f1e8 !important;
    text-decoration: none !important;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.mhk-footer-contact-list > a:hover { transform: translateY(-2px); border-color: var(--mhk-footer-accent); background: rgba(214,182,84,.045); }
.mhk-footer-contact-static { grid-column: 1 / -1; }
.mhk-footer-contact-icon { width: 38px; height: 38px; border: 1px solid rgba(214,182,84,.28); border-radius: 11px; background: rgba(214,182,84,.05); }
.mhk-footer-contact-list span:last-child { min-width: 0; display: grid; gap: 4px; }
.mhk-footer-contact-list strong { color: #fff; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }

.mhk-footer-info-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin-bottom: 44px;
}

.mhk-footer-info-cards article {
    min-height: 88px;
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid rgba(214,182,84,.22);
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(214,182,84,.04), rgba(255,255,255,.01));
}

.mhk-footer-info-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(214,182,84,.08); border: 1px solid rgba(214,182,84,.25); }
.mhk-footer-info-cards article > div { display: grid; gap: 6px; }
.mhk-footer-info-cards strong { color: #fff; font-size: 14px; line-height: 1.35; }

.mhk-footer-bottom {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(214,182,84,.25);
    color: #8f8a81;
    font-size: 11px;
}

.mhk-footer-bottom p { margin: 0; }
.mhk-footer-bottom-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mhk-footer-bottom a,
.mhk-footer-cookie { color: #bcb6aa !important; text-decoration: none !important; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.mhk-footer-bottom a:hover,
.mhk-footer-cookie:hover { color: var(--mhk-footer-accent) !important; }

/* Footer cookie link: override external/theme button hover colors only here. */
body .mhk-global-footer .mhk-footer-bottom button.mhk-footer-cookie.mhk-consent-open,
body .mhk-global-footer .mhk-footer-bottom button.mhk-footer-cookie.mhk-consent-open:visited,
body .mhk-global-footer .mhk-footer-bottom button.mhk-footer-cookie.mhk-consent-open:focus,
body .mhk-global-footer .mhk-footer-bottom button.mhk-footer-cookie.mhk-consent-open:focus-visible,
body .mhk-global-footer .mhk-footer-bottom button.mhk-footer-cookie.mhk-consent-open:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    color: #bcb6aa !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline-color: var(--mhk-footer-accent) !important;
    text-decoration: none !important;
    text-shadow: none !important;
    transform: none !important;
}
body .mhk-global-footer .mhk-footer-bottom button.mhk-footer-cookie.mhk-consent-open:hover,
body .mhk-global-footer .mhk-footer-bottom button.mhk-footer-cookie.mhk-consent-open:focus-visible {
    color: var(--mhk-footer-accent) !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
}

@keyframes mhkFooterLine {
    0%, 100% { opacity: .35; transform: translateX(-20%); }
    50% { opacity: 1; transform: translateX(20%); }
}

@media (max-width: 980px) {
    .mhk-footer-cta { grid-template-columns: 1fr; }
    .mhk-footer-cta-actions { grid-template-columns: repeat(2, minmax(0,1fr)); min-width: 0; }
    .mhk-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .mhk-footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .mhk-global-footer { padding-inline: 14px; }
    .mhk-footer-cta { border-radius: 22px; }
    .mhk-footer-cta-actions,
    .mhk-footer-grid,
    .mhk-footer-info-cards { grid-template-columns: 1fr; }
    .mhk-footer-contact { grid-column: auto; }
    .mhk-footer-contact-list { grid-template-columns: 1fr; }
    .mhk-footer-contact-static { grid-column: auto; }
    .mhk-footer-bottom { align-items: flex-start; flex-direction: column; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); }
}

@media (max-width: 460px) {
    .mhk-footer-cta { padding: 25px 20px; }
    .mhk-footer-grid { padding-top: 50px; }
    .mhk-footer-brand-head { align-items: flex-start; }
    .mhk-footer-logo { width: 56px; height: 56px; flex-basis: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    .mhk-global-footer *,
    .mhk-global-footer *::before,
    .mhk-global-footer *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* v1.2: CTA actions closer to the copy; navigation simplified in PHP */
@media (min-width: 981px) {
    .mhk-footer-cta {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 285px);
        column-gap: clamp(26px, 3vw, 42px);
    }

    .mhk-footer-cta-actions {
        width: 100%;
        min-width: 0;
        max-width: 285px;
        justify-self: start;
        margin-right: clamp(18px, 2.4vw, 34px);
    }
}
