.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  width: 100%;
}

.site-header .site-navbar {
  min-height: 86px;
}

.site-header > .container {
  max-width: 1360px;
}

.site-header .brand-logo img,
.site-header .mobile-menu-head img,
.footer-logo img {
  max-width: 200px;
  height: auto;
}

.site-header .nav-link-item {
  color: #fdfde1;
  text-decoration: none;
}

.site-header .nav-link-item:hover,
.site-header .nav-link-item.active {
  color: #ff0000;
}

.menu-overlay,
.mega-menu-overlay {
  pointer-events: none;
}

.nav-item.dropdown:hover .mega-menu-master,
.nav-item.dropdown.header-dropdown-open .mega-menu-master {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-master {
  pointer-events: none;
}

.mega-sidebar a,
.column-links-list a,
.footer-service-link,
.contact-value,
.text-link-main-white {
  text-decoration: none;
}

.footer-service-link:hover,
.contact-value:hover,
.text-link-main-white:hover {
  color: #ff0000 !important;
}

.mobile-menu-close,
.mobile-menu-trigger,
.go-back {
  cursor: pointer;
}

@media (max-width: 991.98px) {
  body.menu-open {
    overflow: hidden;
  }

  .menu-overlay.active {
    position: fixed;
    inset: 0;
    z-index: 1041;
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.68);
  }

  .menu-block {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1042;
    width: min(88vw, 390px);
    height: 100vh;
    overflow-y: auto;
    background: #0b0b0b;
    transition: right 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    visibility: hidden;
    opacity: 0;
  }

  .menu-block.active {
    right: 0;
    visibility: visible;
    opacity: 1;
  }

  .mobile-menu-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 82px;
    padding: 18px 22px;
    background: #0b0b0b;
    border-bottom: 1px solid rgba(253, 253, 225, 0.16);
  }

  .mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fdfde1;
    font-size: 30px;
    line-height: 1;
  }

  .site-menu-main {
    display: block !important;
    padding: 18px 22px 32px;
  }

  .site-menu-main .nav-item {
    border-bottom: 1px solid rgba(253, 253, 225, 0.12);
  }

  .site-menu-main .nav-link-item {
    display: flex !important;
    justify-content: space-between !important;
    padding: 15px 0;
    color: #fdfde1;
  }

  .mega-menu-master {
    position: static !important;
    width: 100% !important;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    transition: max-height 0.3s ease;
    pointer-events: auto;
  }

  .nav-item.dropdown.header-dropdown-open .mega-menu-master {
    max-height: 1600px;
  }

  .mega-container {
    display: block !important;
    padding: 0 !important;
  }

  .mega-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 0 14px !important;
  }

  .sidebar-tab {
    padding: 10px !important;
    border: 1px solid rgba(253, 253, 225, 0.12);
    border-radius: 8px;
  }

  .mega-main-panel {
    padding: 0 !important;
  }

  .mega-grid-dynamic {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .column-heading-top {
    margin: 8px 0;
    font-size: 16px;
  }

  .column-link-item {
    display: block;
    padding: 7px 0;
    font-size: 14px;
  }

  .header-btn {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .site-header .site-navbar {
    min-height: 74px;
  }

  .site-header .brand-logo img,
  .site-header .mobile-menu-head img,
  .footer-logo img {
    max-width: 160px;
  }

  .footer-top-row,
  .footer-bottom-row,
  .footer-contact-info {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .contact-item {
    justify-content: center;
  }

  .aximo-copywright,
  .aximo-copywright.threes {
    text-align: center !important;
    justify-content: center !important;
  }
}
