/**
 * Magic Hat Header & Footer Design System Styles
 */

/* ==========================================================================
   1. HEADER CORE STYLES
   ========================================================================== */
.mh-header {
  position: relative;
  background: var(--mh-color-main, #ffffff);
  border-bottom: 1px solid var(--mh-color-border-muted, #e2e8f0);
  box-sizing: border-box;
  width: 100%;
  z-index: 1000;
  transition: all 0.25s ease;
}

.wp-block-template-part:has(.mh-header-sticky) {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mh-header-sticky {
  position: sticky;
  top: 0;
  background: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mh-header-sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--mh-color-main, #ffffff) 85%, transparent);
  z-index: -1;
  pointer-events: none;
}

.mh-header-inner {
  position: relative;
  z-index: 1;
}

.mh-header-container-contained {
  max-width: var(--mh-content-width, 1200px);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.mh-header-container-full {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.mh-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  box-sizing: border-box;
}

/* Logo */
.mh-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mh-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.mh-logo-img {
  height: var(--mh-logo-h, 36px);
  max-height: var(--mh-logo-h, 36px);
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  transition: height 0.2s ease;
}

.mh-site-title {
  font-family: var(--mh-font-heading, 'Outfit', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--mh-color-text-heading, #0f172a);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Desktop Navigation */
.mh-desktop-nav {
  display: flex;
  align-items: center;
}

.mh-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.mh-nav-menu li {
  position: relative;
  margin: 0;
  padding: 0;
}

.mh-nav-menu a {
  display: inline-block;
  font-family: var(--mh-font-body, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--mh-color-text-main, #334155);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.mh-nav-menu a:hover,
.mh-nav-menu li.current-menu-item > a {
  color: var(--mh-color-brand-base, #2563eb);
}

/* Nested Submenu Dropdowns */
.mh-nav-menu ul.sub-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 200px;
  background: var(--mh-color-main, #ffffff);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  padding: 6px 0;
  list-style: none;
  margin: 8px 0 0;
  display: none;
  flex-direction: column;
  z-index: 1000;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}

.mh-nav-menu li:hover > ul.sub-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mh-nav-menu ul.sub-menu li a {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--mh-color-text-main, #334155);
  display: block;
}

.mh-nav-menu ul.sub-menu li a:hover {
  background: var(--mh-color-section, #f8fafc);
  color: var(--mh-color-brand-base, #2563eb);
}

/* Right Actions & CTA */
.mh-header-right-actions,
.mh-minimal-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.mh-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mh-color-brand-base, #2563eb);
  color: #ffffff !important;
  font-family: var(--mh-font-body, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
  transition: all 0.15s ease;
}

.mh-header-cta:hover {
  background: var(--mh-color-brand-hover, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   2. HEADER LAYOUT VARIATIONS
   ========================================================================== */

/* Centered Layout */
.mh-header-layout-centered .mh-header-row-top {
  justify-content: center;
  padding-bottom: 8px;
  position: relative;
}

.mh-header-layout-centered .mh-header-row-top .mh-hamburger {
  position: absolute;
  right: 20px;
}

.mh-header-layout-centered .mh-header-row-bottom {
  justify-content: center;
  gap: 32px;
  padding-top: 4px;
  padding-bottom: 14px;
}

/* Split Layout */
.mh-header-layout-split .mh-header-split-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.mh-header-layout-split .mh-nav-split-left .mh-nav-menu {
  justify-content: flex-end;
}

.mh-header-layout-split .mh-nav-split-right .mh-nav-menu {
  justify-content: flex-start;
}

.mh-header-layout-split .mh-split-right-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

/* Minimal Layout */
.mh-header-layout-minimal .mh-hamburger-always {
  display: inline-flex !important;
}

/* Floating Glass Island Layout */
.mh-header-layout-floating_pill {
  background: transparent !important;
  border-bottom: none !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 14px;
  pointer-events: none;
}
.mh-header-layout-floating_pill .mh-header-inner {
  pointer-events: auto;
}
.mh-header-pill-wrap {
  padding: 0 16px;
  box-sizing: border-box;
}
.mh-header-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--mh-color-main, #ffffff) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--mh-color-border-muted, rgba(226, 232, 240, 0.8));
  border-radius: 9999px;
  padding: 8px 24px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.12), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  max-width: 1080px;
  margin: 0 auto;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mh-header-pill:hover {
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.18), 0 0 15px rgba(98, 201, 255, 0.15);
  border-color: color-mix(in srgb, var(--mh-color-brand-base, #62c9ff) 40%, var(--mh-color-border-muted, #e2e8f0));
}
.mh-cta-pill {
  border-radius: 9999px;
}

/* Stacked Utility Layout */
.mh-header-utility-bar {
  background: var(--mh-color-section, #f8fafc);
  border-bottom: 1px solid var(--mh-color-border-muted, #e2e8f0);
  padding: 6px 0;
  font-size: 12px;
  color: var(--mh-color-text-muted, #64748b);
}
.mh-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-sizing: border-box;
}
.mh-utility-tagline {
  font-size: 12px;
  font-weight: 500;
}
.mh-utility-right .mh-footer-social-wrap {
  gap: 10px;
}
.mh-utility-right .mh-social-btn {
  width: 24px;
  height: 24px;
}
.mh-utility-right .mh-social-btn .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

/* Inline Search & Command Bar Layout */
.mh-header-search-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.mh-header-search-container {
  flex: 1;
  max-width: 380px;
  position: relative;
}
.mh-header-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.mh-search-field-icon {
  position: absolute;
  left: 10px;
  color: var(--mh-color-text-muted, #64748b);
  font-size: 16px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.mh-header-search-input {
  width: 100%;
  background: var(--mh-color-section, #f8fafc);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 20px;
  padding: 6px 38px 6px 32px;
  font-size: 13px;
  color: var(--mh-color-text-main, #334155);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.mh-header-search-input:focus {
  background: var(--mh-color-main, #ffffff);
  border-color: var(--mh-color-brand-base, #62c9ff);
  box-shadow: 0 0 0 3px rgba(98, 201, 255, 0.2);
}
.mh-search-shortcut-badge {
  position: absolute;
  right: 10px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--mh-color-main, #ffffff);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  color: var(--mh-color-text-muted, #94a3b8);
  pointer-events: none;
}
.mh-search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--mh-color-main, #ffffff);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
  z-index: 1005;
  max-height: 280px;
  overflow-y: auto;
  padding: 4px 0;
}
.mh-search-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--mh-color-text-main, #334155);
  font-size: 13px;
  transition: background 0.15s ease;
}
.mh-search-autocomplete-item:hover,
.mh-search-autocomplete-item.active {
  background: var(--mh-color-section, #f1f5f9);
  color: var(--mh-color-brand-base, #2563eb);
}

/* Announcement Ticker Layout */
.mh-header-layout-announcement_ticker {
  display: flex;
  flex-direction: column;
}
.mh-header-ticker-bar {
  background: var(--mh-color-text-heading, #0f172a);
  color: #ffffff;
  padding: 8px 24px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mh-ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mh-ticker-badge {
  background: var(--mh-color-brand-base, #62c9ff);
  color: #080c14;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  border-radius: 9999px;
  text-transform: uppercase;
}
.mh-ticker-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.mh-ticker-link:hover {
  color: var(--mh-color-brand-base, #62c9ff);
}
.mh-header-ticker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Dual Action / Converter Layout */
.mh-header-dual-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mh-dual-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mh-header-ghost-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--mh-color-text-main, #334155);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.mh-header-ghost-btn:hover {
  color: var(--mh-color-brand-base, #2563eb);
  background: var(--mh-color-section, #f1f5f9);
}

/* 11. SaaS App Console Bar */
.mh-header-app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mh-app-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mh-env-pill {
  background: rgba(98, 201, 255, 0.1);
  color: #62c9ff;
  border: 1px solid rgba(98, 201, 255, 0.3);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.mh-app-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mh-nav-bell-btn {
  background: transparent;
  border: none;
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mh-color-text-muted, #64748b);
  transition: all 0.15s ease;
}
.mh-nav-bell-btn:hover {
  background: var(--mh-color-section, #f1f5f9);
  color: var(--mh-color-text-heading, #0f172a);
}
.mh-bell-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: #62c9ff;
  border-radius: 50%;
  box-shadow: 0 0 6px #62c9ff;
}

/* 12. Mega Directory Nav Bar */
.mh-header-mega-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mh-mega-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mh-sales-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--mh-color-text-muted, #64748b);
  text-decoration: none;
  transition: color 0.15s ease;
}
.mh-sales-link:hover {
  color: var(--mh-color-brand-base, #62c9ff);
}

/* 13. Launch Highlight Bar */
.mh-header-highlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mh-highlight-center {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mh-launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(98, 201, 255, 0.08);
  border: 1px solid rgba(98, 201, 255, 0.3);
  color: var(--mh-color-text-heading, #0f172a);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.mh-launch-pill:hover {
  background: rgba(98, 201, 255, 0.18);
  border-color: #62c9ff;
}
.mh-pill-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #62c9ff;
  box-shadow: 0 0 8px #62c9ff;
}

/* 14. Direct Line & Emergency Bar */
.mh-header-tel-utility-bar {
  background: #0f172a;
  color: #ffffff;
  padding: 6px 24px;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mh-tel-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--mh-content-width, 1200px);
  margin: 0 auto;
}
.mh-status-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
}
.mh-open-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}
.mh-tel-link {
  color: #62c9ff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mh-header-tel-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mh-cta-call {
  background: #0f172a !important;
  color: #62c9ff !important;
  border: 1px solid #62c9ff !important;
}

/* 15. Commerce Bar with Live Cart */
.mh-header-ecom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mh-ecom-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mh-currency-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  background: var(--mh-color-section, #f1f5f9);
  border-radius: 4px;
  color: var(--mh-color-text-heading, #0f172a);
}
.mh-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  text-decoration: none;
  color: var(--mh-color-text-heading, #0f172a);
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--mh-color-section, #f1f5f9);
  transition: all 0.15s ease;
}
.mh-cart-btn:hover {
  background: color-mix(in srgb, var(--mh-color-brand-base, #2563eb) 12%, transparent);
  color: var(--mh-color-brand-base, #2563eb);
}
.mh-cart-count {
  font-size: 10px;
  font-weight: 800;
  background: var(--mh-color-brand-base, #62c9ff);
  color: #080c14;
  border-radius: 9999px;
  padding: 1px 6px;
}

/* 16. Developer Docs Sub-Header */
.mh-header-docs-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mh-docs-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mh-github-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--mh-color-section, #f1f5f9);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 6px;
  text-decoration: none;
  color: var(--mh-color-text-heading, #0f172a);
}
.mh-header-docs-subnav {
  background: var(--mh-color-section, #f8fafc);
  border-top: 1px solid var(--mh-color-border-muted, #e2e8f0);
  padding: 8px 24px;
}
.mh-docs-subnav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--mh-content-width, 1200px);
  margin: 0 auto;
}
.mh-docs-version-tag {
  font-size: 11px;
  font-weight: 800;
  color: #62c9ff;
  background: #0f172a;
  padding: 2px 7px;
  border-radius: 4px;
}
.mh-docs-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.mh-crumb-item {
  color: var(--mh-color-text-muted, #64748b);
  cursor: pointer;
}
.mh-crumb-item.active {
  color: var(--mh-color-brand-base, #62c9ff);
  font-weight: 600;
}
.mh-crumb-sep {
  color: var(--mh-color-border-muted, #cbd5e1);
}

/* 17. Vertical Dock Bar */
.mh-header-dock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mh-cta-dock {
  background: #0f172a !important;
  color: #62c9ff !important;
  border: 1px solid #334155 !important;
}

/* 18. Aurora Glass Ribbon */
.mh-header-aurora-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}
.mh-cta-aurora {
  background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(98, 201, 255, 0.3) !important;
}
.mh-aurora-glow-line {
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #62c9ff 30%, #a855f7 70%, transparent);
  opacity: 0.85;
}

/* 19. Creator & Media Channel Bar */
.mh-header-creator-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mh-creator-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mh-creator-channels {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mh-creator-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mh-color-section, #f1f5f9);
  color: var(--mh-color-text-heading, #0f172a);
  text-decoration: none;
  transition: all 0.15s ease;
}
.mh-creator-icon-btn:hover {
  background: var(--mh-color-brand-base, #2563eb);
  color: #ffffff;
}

/* 20. Swiss Architectural Header */
.mh-header-swiss-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mh-swiss-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mh-swiss-meta {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--mh-color-text-muted, #64748b);
  border-left: 1px solid var(--mh-color-border-muted, #e2e8f0);
  padding-left: 14px;
}
.mh-cta-swiss {
  border-radius: 0 !important;
  font-family: monospace;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Off-Canvas Focus Layout */
.mh-header-offcanvas-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mh-offcanvas-trigger-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mh-hamburger-focus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--mh-color-section, #f1f5f9);
  border-radius: 8px;
  padding: 8px 16px;
  gap: 10px;
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  cursor: pointer;
  width: auto !important;
  height: 38px !important;
  box-sizing: border-box;
  transition: all 0.15s ease;
}
.mh-hamburger-focus:hover {
  border-color: var(--mh-color-brand-base, #62c9ff);
  background: color-mix(in srgb, var(--mh-color-brand-base, #62c9ff) 10%, var(--mh-color-main, #ffffff));
}
.mh-hamburger-focus .mh-hamburger-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--mh-color-text-heading, #0f172a);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

/* ==========================================================================
   3. RESPONSIVE HAMBURGER & MOBILE DRAWER
   ========================================================================== */
.mh-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  color: var(--mh-color-text-heading, #0f172a);
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mh-hamburger:hover {
  background: var(--mh-color-section, #f8fafc);
  border-color: var(--mh-color-border, #cbd5e1);
}

.mh-hamburger-box {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

.mh-hamburger-inner,
.mh-hamburger-inner::before,
.mh-hamburger-inner::after {
  width: 18px;
  height: 2px;
  background-color: var(--mh-color-text-heading, #0f172a);
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.mh-hamburger-inner {
  top: 5px;
  left: 0;
}

.mh-hamburger-inner::before {
  content: "";
  top: -5px;
  left: 0;
}

.mh-hamburger-inner::after {
  content: "";
  top: 5px;
  left: 0;
}

/* Hamburger active transformation */
.mh-hamburger.is-active .mh-hamburger-inner {
  transform: rotate(45deg);
}

.mh-hamburger.is-active .mh-hamburger-inner::before {
  top: 0;
  opacity: 0;
}

.mh-hamburger.is-active .mh-hamburger-inner::after {
  top: 0;
  transform: rotate(-90deg);
}

/* Off-Canvas Slide Drawer */
.mh-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: visibility 0.3s ease;
}

.mh-mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mh-mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mh-mobile-nav.is-open .mh-mobile-nav-backdrop {
  opacity: 1;
}

.mh-mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--mh-color-main, #ffffff);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.mh-mobile-nav.is-open .mh-mobile-nav-drawer {
  transform: translateX(0);
}

.mh-mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--mh-color-border-muted, #e2e8f0);
}

.mh-mobile-nav-brand {
  font-family: var(--mh-font-heading, 'Outfit', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--mh-color-text-heading, #0f172a);
}

.mh-mobile-nav-close {
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--mh-color-text-muted, #64748b);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.mh-mobile-nav-close:hover {
  color: var(--mh-color-text-heading, #0f172a);
}

.mh-mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.mh-mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-mobile-menu-list li {
  margin: 0;
  padding: 0;
}

.mh-mobile-menu-list a {
  display: block;
  padding: 14px 24px;
  font-family: var(--mh-font-body, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--mh-color-text-heading, #0f172a);
  text-decoration: none;
  border-bottom: 1px solid var(--mh-color-section, #f1f5f9);
  transition: background 0.15s ease, color 0.15s ease;
}

.mh-mobile-menu-list a:hover {
  background: var(--mh-color-section, #f8fafc);
  color: var(--mh-color-brand-base, #2563eb);
}

.mh-mobile-nav-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--mh-color-border-muted, #e2e8f0);
  background: var(--mh-color-main, #ffffff);
}

.mh-mobile-cta {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* ==========================================================================
   4. FOOTER CORE STYLES
   ========================================================================== */
.mh-footer {
  border-top: 1px solid var(--mh-color-border-muted, #e2e8f0);
  font-family: var(--mh-font-body, 'Inter', sans-serif);
  padding: 60px 24px 30px;
  margin-top: auto;
  box-sizing: border-box;
  width: 100%;
}

.mh-footer-bg-surface_section {
  background: var(--mh-color-section, #f8fafc);
  color: var(--mh-color-text-muted, #64748b);
}

.mh-footer-bg-surface_white {
  background: var(--mh-color-card, #ffffff);
  color: var(--mh-color-text-muted, #64748b);
}

.mh-footer-bg-surface_dark {
  background: var(--mh-color-main, #0f172a);
  color: var(--mh-color-text-muted, #94a3b8);
  border-top-color: var(--mh-color-border-muted, #1e293b);
}

.mh-footer-bg-surface_dark .mh-footer-site-name,
.mh-footer-bg-surface_dark .mh-footer-heading {
  color: var(--mh-color-text-heading, #f8fafc) !important;
}

.mh-footer-bg-surface_dark .mh-footer-menu-list a,
.mh-footer-bg-surface_dark .mh-inline-menu a {
  color: #94a3b8;
}

.mh-footer-bg-surface_dark .mh-footer-menu-list a:hover,
.mh-footer-bg-surface_dark .mh-inline-menu a:hover {
  color: #62c9ff;
}

.mh-footer-container {
  max-width: var(--mh-content-width, 1200px);
  margin: 0 auto;
}

.mh-footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 12px;
}

.mh-footer-logo-img {
  height: var(--mh-logo-h, 40px);
  width: auto;
  max-height: var(--mh-logo-h, 40px);
  object-fit: contain;
  transition: height 0.2s ease;
}

.mh-footer-site-name {
  font-family: var(--mh-font-heading, 'Outfit', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--mh-color-text-heading, #0f172a);
}

.mh-footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 320px;
}

/* Grid Footers */
.mh-footer-grid {
  display: grid;
  gap: 40px;
}

.mh-footer-cols-5 {
  grid-template-columns: 1.5fr repeat(4, 1fr);
}

.mh-footer-cols-3 {
  grid-template-columns: 1.5fr repeat(2, 1fr);
}

.mh-footer-heading {
  font-family: var(--mh-font-heading, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-color-text-heading, #0f172a);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mh-footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-footer-menu-list li {
  margin-bottom: 10px;
}

.mh-footer-menu-list a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.mh-footer-menu-list a:hover {
  color: var(--mh-color-brand-base, #2563eb);
}

/* Centered Minimal Footer */
.mh-footer-centered-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.mh-footer-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mh-inline-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.mh-inline-menu a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.mh-inline-menu a:hover {
  color: var(--mh-color-brand-base, #2563eb);
}

/* Split Footer */
.mh-footer-split-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 30px;
}

.mh-footer-split-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

/* Social Icons */
.mh-footer-social-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.mh-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--mh-color-text-main, #000000) 6%, transparent);
  color: inherit;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mh-social-btn:hover {
  background: var(--mh-color-brand-base, #2563eb);
  color: var(--mh-color-text-inverse, #ffffff);
  transform: translateY(-2px);
}

/* Bottom Bar */
.mh-footer-bottom-bar {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--mh-color-border-muted, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.mh-footer-bg-surface_dark .mh-footer-bottom-bar {
  border-top-color: var(--mh-color-border-muted, #1e293b);
}

.mh-footer-bg-surface_dark .mh-bento-tile,
.mh-footer-bg-surface_dark .mh-footer-dock-bar {
  background: var(--mh-color-main, #0f172a);
  border-color: var(--mh-color-border-muted, #1e293b);
  color: var(--mh-color-text-muted, #94a3b8);
}

.mh-footer-bg-surface_dark .mh-bento-tile .mh-footer-heading,
.mh-footer-bg-surface_dark .mh-newsletter-banner-title,
.mh-footer-bg-surface_dark .mh-statement-title {
  color: var(--mh-color-text-heading, #f8fafc) !important;
}

.mh-footer-bg-surface_dark .mh-statement-top {
  border-bottom-color: var(--mh-color-border-muted, #1e293b);
}

.mh-footer-bg-surface_dark .mh-newsletter-banner-card {
  background: color-mix(in srgb, var(--mh-color-brand-base, #62c9ff) 10%, #0f172a);
  border-color: var(--mh-color-border-muted, #1e293b);
}

.mh-footer-bg-surface_dark .mh-newsletter-input {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.mh-copyright-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.mh-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--mh-color-text-main, #000000) 6%, transparent);
  color: inherit;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mh-back-to-top:hover {
  background: var(--mh-color-brand-base, #2563eb);
  color: var(--mh-color-text-inverse, #ffffff);
}

/* Bento Grid Footer */
.mh-bento-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 20px;
  margin-bottom: 40px;
}
.mh-bento-tile {
  background: var(--mh-color-card, #ffffff);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 12px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.mh-bento-tile:hover {
  border-color: color-mix(in srgb, var(--mh-color-brand-base, #62c9ff) 40%, var(--mh-color-border-muted, #e2e8f0));
  transform: translateY(-2px);
}
.mh-bento-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.mh-status-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
}
.mh-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: mh-pulse 2s infinite;
}
@keyframes mh-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.mh-bento-desc {
  font-size: 13px;
  color: var(--mh-color-text-muted, #64748b);
  margin: 0 0 16px;
  line-height: 1.5;
}
.mh-newsletter-input-group {
  display: flex;
  gap: 6px;
}
.mh-newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--mh-color-border-muted, #cbd5e1);
  border-radius: 6px;
  font-size: 13px;
  background: var(--mh-color-main, #ffffff);
  color: var(--mh-color-text-main, #334155);
  outline: none;
}
.mh-newsletter-input:focus {
  border-color: var(--mh-color-brand-base, #2563eb);
}
.mh-newsletter-submit {
  background: var(--mh-color-brand-base, #2563eb);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.mh-newsletter-submit:hover {
  background: var(--mh-color-brand-hover, #1d4ed8);
}

/* Big Statement CTA Footer */
.mh-footer-statement-wrap {
  display: flex;
  flex-direction: column;
}
.mh-statement-top {
  padding: 40px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--mh-color-border-muted, #e2e8f0);
}
.mh-statement-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mh-color-brand-base, #2563eb);
  background: color-mix(in srgb, var(--mh-color-brand-base, #2563eb) 12%, transparent);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}
.mh-statement-title {
  font-family: var(--mh-font-heading, 'Outfit', sans-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--mh-color-text-heading, #0f172a);
  max-width: 800px;
  margin: 0 auto 30px;
}
.mh-statement-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mh-color-brand-base, #2563eb);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}
.mh-statement-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}
.mh-statement-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 10px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Newsletter Lead-In Footer */
.mh-newsletter-banner-card {
  background: color-mix(in srgb, var(--mh-color-brand-base, #2563eb) 8%, var(--mh-color-card, #ffffff));
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 12px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}
.mh-newsletter-banner-title {
  font-family: var(--mh-font-heading, 'Outfit', sans-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--mh-color-text-heading, #0f172a);
}
.mh-newsletter-banner-desc {
  margin: 0;
  font-size: 14px;
  color: var(--mh-color-text-muted, #64748b);
}
.mh-newsletter-banner-form {
  min-width: 320px;
  max-width: 420px;
  width: 100%;
}

/* Floating Dock Footer */
.mh-footer-dock-wrap {
  width: 100%;
}
.mh-footer-dock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  background: var(--mh-color-card, #ffffff);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.mh-dock-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mh-dock-copy {
  font-size: 12px;
  color: var(--mh-color-text-muted, #64748b);
}

/* Site Directory / Dense Sitemap Footer */
.mh-footer-sitemap-wrap {
  width: 100%;
}
.mh-sitemap-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mh-color-border-muted, #e2e8f0);
  margin-bottom: 32px;
}
.mh-sitemap-brand-block {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mh-sitemap-system-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  padding: 3px 10px;
}
.mh-status-beacon-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}
.mh-status-beacon-label {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
}
.mh-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.mh-sitemap-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--mh-color-text-heading, #0f172a);
  margin: 0 0 14px;
}
.mh-sitemap-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mh-sitemap-links a {
  font-size: 13px;
  color: var(--mh-color-text-muted, #64748b);
  text-decoration: none;
  transition: color 0.15s ease;
}
.mh-sitemap-links a:hover {
  color: var(--mh-color-brand-base, #2563eb);
}

/* Creator & Community Social Hub Footer */
.mh-footer-social-hub-wrap {
  width: 100%;
}
.mh-social-hub-headline {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 28px;
}
.mh-social-hub-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--mh-color-text-heading, #0f172a);
  margin: 0 0 6px;
}
.mh-social-hub-subtitle {
  font-size: 14px;
  color: var(--mh-color-text-muted, #64748b);
  margin: 0;
}
.mh-social-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.mh-social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--mh-color-card, #ffffff);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.mh-social-card:hover {
  border-color: var(--mh-color-brand-base, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.mh-social-card-icon {
  color: var(--mh-color-text-heading, #0f172a);
  display: flex;
  align-items: center;
}
.mh-social-card-meta {
  display: flex;
  flex-direction: column;
}
.mh-social-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-color-text-heading, #0f172a);
}
.mh-social-card-badge {
  font-size: 11px;
  color: var(--mh-color-text-muted, #64748b);
}
.mh-social-hub-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--mh-color-border-muted, #e2e8f0);
}

/* 11. Multi-Platform App Download Footer */
.mh-footer-app-download-wrap {
  width: 100%;
}
.mh-app-download-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 30px;
  gap: 24px;
}
.mh-app-download-info {
  max-width: 600px;
}
.mh-app-banner-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}
.mh-app-banner-desc {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 20px;
}
.mh-app-badges-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.mh-app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1e293b;
  border: 1px solid #475569;
  padding: 8px 16px;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.15s ease;
}
.mh-app-badge-btn:hover {
  background: #334155;
  border-color: #62c9ff;
}
.mh-badge-copy {
  display: flex;
  flex-direction: column;
}
.mh-badge-sub {
  font-size: 9px;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
}
.mh-badge-store {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.mh-qr-code-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: #1e293b;
  border-radius: 10px;
  border: 1px solid #334155;
}
.mh-qr-placeholder {
  width: 64px;
  height: 64px;
  background: #0f172a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #62c9ff;
  border: 1px dashed #475569;
}
.mh-qr-label {
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* 12. Trust & Compliance Enterprise Footer */
.mh-footer-trust-wrap {
  width: 100%;
}
.mh-trust-badges-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--mh-color-section, #f8fafc);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 8px;
  margin-bottom: 32px;
}
.mh-trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mh-color-text-heading, #0f172a);
}
.mh-trust-badge-item .dashicons {
  color: var(--mh-color-brand-base, #2563eb);
}
.mh-trust-disclaimer {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mh-color-text-muted, #64748b);
  margin-top: 12px;
}

/* 13. CLI & Developer Terminal Footer */
.mh-footer-terminal-wrap {
  width: 100%;
}
.mh-terminal-card {
  background: #0b0f19;
  border: 1px solid #1e293b;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  margin-bottom: 28px;
}
.mh-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}
.mh-terminal-dots {
  display: flex;
  gap: 6px;
}
.mh-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mh-dot-red { background: #ef4444; }
.mh-dot-yellow { background: #f59e0b; }
.mh-dot-green { background: #10b981; }
.mh-terminal-title {
  font-family: monospace;
  font-size: 11px;
  color: #94a3b8;
}
.mh-terminal-ping {
  font-family: monospace;
  font-size: 11px;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mh-ping-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}
.mh-terminal-body {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: monospace;
  font-size: 14px;
}
.mh-cli-prompt {
  color: #62c9ff;
  font-weight: 700;
}
.mh-cli-text {
  color: #f8fafc;
  flex: 1;
}
.mh-cli-copy-btn {
  background: #1e293b;
  color: #62c9ff;
  border: 1px solid #334155;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mh-cli-copy-btn:hover {
  background: #2563eb;
  color: #ffffff;
}
.mh-terminal-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.mh-terminal-links {
  display: flex;
  gap: 20px;
}
.mh-terminal-links a {
  color: var(--mh-color-text-muted, #64748b);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.mh-terminal-links a:hover {
  color: var(--mh-color-brand-base, #62c9ff);
}

/* 14. Commerce & Payment Methods Footer */
.mh-footer-ecom-store-wrap {
  width: 100%;
}
.mh-ecom-help-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mh-color-text-muted, #64748b);
  margin-top: 10px;
}
.mh-payment-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin: 24px 0 16px;
  border-top: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-bottom: 1px solid var(--mh-color-border-muted, #e2e8f0);
}
.mh-payment-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--mh-color-text-muted, #64748b);
}
.mh-payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mh-pay-chip {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--mh-color-section, #f1f5f9);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  color: var(--mh-color-text-heading, #0f172a);
}

/* 15. Global Hubs & Location Cards Footer */
.mh-footer-hubs-wrap {
  width: 100%;
}
.mh-hubs-header {
  text-align: center;
  margin-bottom: 28px;
}
.mh-hubs-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--mh-color-text-heading, #0f172a);
  margin: 0 0 6px;
}
.mh-hubs-desc {
  font-size: 13px;
  color: var(--mh-color-text-muted, #64748b);
  margin: 0;
}
.mh-hubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.mh-hub-card {
  background: var(--mh-color-card, #ffffff);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mh-hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mh-hub-city {
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-color-text-heading, #0f172a);
}
.mh-hub-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  background: var(--mh-color-section, #f1f5f9);
  border-radius: 4px;
  color: var(--mh-color-brand-base, #2563eb);
}
.mh-hub-address {
  font-size: 12px;
  line-height: 1.5;
  color: var(--mh-color-text-muted, #64748b);
  margin: 0;
}
.mh-hub-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--mh-color-brand-base, #2563eb);
  text-decoration: none;
}

/* 16. Philosophy & Manifesto Quote Footer */
.mh-footer-manifesto-wrap {
  width: 100%;
}
.mh-manifesto-quote {
  margin: 0 0 32px;
  padding: 32px;
  background: var(--mh-color-section, #f8fafc);
  border-left: 3px solid var(--mh-color-brand-base, #62c9ff);
  border-radius: 0 8px 8px 0;
}
.mh-quote-body {
  font-family: var(--mh-font-heading, 'Outfit', serif);
  font-size: 20px;
  line-height: 1.5;
  font-style: italic;
  color: var(--mh-color-text-heading, #0f172a);
  margin: 0 0 12px;
}
.mh-quote-author {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--mh-color-text-muted, #64748b);
  font-style: normal;
}
.mh-manifesto-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--mh-color-border-muted, #e2e8f0);
  padding-top: 20px;
}

/* 17. Operations & Real-Time Status Footer */
.mh-footer-status-wrap {
  width: 100%;
}
.mh-status-beacon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  border: 1px solid #334155;
  margin-bottom: 28px;
}
.mh-status-beacon-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mh-beacon-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
  animation: mhBeaconPulse 2s infinite;
}
@keyframes mhBeaconPulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}
.mh-status-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}
.mh-status-uptime {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}
.mh-status-btn {
  font-size: 12px;
  font-weight: 600;
  color: #62c9ff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(98, 201, 255, 0.3);
  background: rgba(98, 201, 255, 0.08);
  transition: all 0.15s ease;
}
.mh-status-btn:hover {
  background: rgba(98, 201, 255, 0.2);
}
.mh-status-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mh-status-links {
  display: flex;
  gap: 18px;
}
.mh-status-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--mh-color-text-muted, #64748b);
  text-decoration: none;
}

/* 18. Accordion FAQ Quick-Help Footer */
.mh-footer-faq-wrap {
  width: 100%;
}
.mh-faq-section-header {
  text-align: center;
  margin-bottom: 24px;
}
.mh-faq-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--mh-color-text-heading, #0f172a);
  margin: 0 0 6px;
}
.mh-faq-subtitle {
  font-size: 13px;
  color: var(--mh-color-text-muted, #64748b);
  margin: 0;
}
.mh-faq-accordion {
  max-width: 800px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mh-faq-item {
  background: var(--mh-color-card, #ffffff);
  border: 1px solid var(--mh-color-border-muted, #e2e8f0);
  border-radius: 8px;
  overflow: hidden;
}
.mh-faq-question {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--mh-color-text-heading, #0f172a);
  outline: none;
}
.mh-faq-answer {
  padding: 0 18px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mh-color-text-muted, #64748b);
}

/* 19. Media Stream & Episode Player Footer */
.mh-footer-podcast-wrap {
  width: 100%;
}
.mh-podcast-player-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  border: 1px solid #334155;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.mh-podcast-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mh-podcast-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #62c9ff;
  color: #080c14;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.mh-podcast-play-btn:hover {
  transform: scale(1.05);
}
.mh-podcast-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #62c9ff;
}
.mh-podcast-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 2px 0 0;
}
.mh-podcast-channels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mh-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #1e293b;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.15s ease;
}
.mh-channel-pill:hover {
  background: #334155;
}

/* 20. Swiss Typographic Colophon Footer */
.mh-footer-colophon-wrap {
  width: 100%;
}
.mh-colophon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mh-color-border-muted, #e2e8f0);
  margin-bottom: 20px;
}
.mh-colophon-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: monospace;
}
.mh-colophon-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--mh-color-text-muted, #64748b);
  letter-spacing: 0.5px;
}
.mh-colophon-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--mh-color-text-heading, #0f172a);
}
.mh-colophon-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mh-colophon-nav {
  display: flex;
  gap: 16px;
}
.mh-colophon-nav a {
  font-family: monospace;
  font-size: 12px;
  color: var(--mh-color-text-muted, #64748b);
  text-decoration: none;
}
.mh-colophon-nav a:hover {
  color: var(--mh-color-brand-base, #62c9ff);
}

/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 900px) {
  .mh-footer-cols-5 {
    grid-template-columns: 1fr 1fr;
  }
  .mh-footer-cols-3 {
    grid-template-columns: 1fr 1fr;
  }
  .mh-bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mh-hubs-grid,
  .mh-colophon-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mh-app-download-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .mh-payment-badges-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .mh-bento-grid,
  .mh-hubs-grid,
  .mh-colophon-grid {
    grid-template-columns: 1fr;
  }
  .mh-statement-bottom,
  .mh-newsletter-banner-card,
  .mh-footer-dock-bar,
  .mh-status-beacon-card,
  .mh-podcast-player-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .mh-header-search-container {
    display: none;
  }

  .mh-desktop-nav,
  .mh-header-row-bottom.mh-desktop-nav-wrap,
  .mh-header-cta-wrap {
    display: none !important;
  }

  .mh-hamburger {
    display: inline-flex !important;
  }

  .mh-header-row {
    padding: 12px 16px;
  }

  .mh-header-layout-split .mh-header-split-row {
    display: flex;
    justify-content: space-between;
  }

  .mh-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mh-footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mh-footer-split-wrap {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .mh-footer-split-right {
    align-items: center;
  }

  .mh-footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
