/* MECMISR Professional Header — Stage 1 */

.site-header {
  position: sticky !important;
  top: 0;
  z-index: 10000;
  background: rgba(255,255,255,0.97) !important;
  border-bottom: 1px solid #eceeef;
  box-shadow: 0 8px 28px rgba(20,25,30,0.06);
  backdrop-filter: blur(15px) !important;
}

.site-header .header-inner {
  width: min(100% - 40px, 1420px) !important;
  max-width: 1420px !important;
  min-height: 88px;
  margin: 0 auto;
  padding: 10px 0 !important;
  display: grid !important;
  grid-template-columns: 250px minmax(0,1fr) auto;
  align-items: center;
  gap: 20px;
}

.site-header .brand {
  display: flex !important;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.site-header .brand-mark {
  width: 82px !important;
  height: 60px !important;
  flex: 0 0 82px;
  font-size: 0 !important;
  background:
    url('/assets/brand/mecmisr-unified-logo.png?v=unified-mec-20260726_125019')
    center / contain no-repeat;
}

.site-header .brand-mark span {
  display: none !important;
}

.site-header .brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-header .brand-name {
  color: #252a2e;
  font-size: 18px !important;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .3px;
}

.site-header .brand-ar,
.site-header .brand-small {
  display: none !important;
}

.site-header .brand-sub {
  color: #70777d;
  font-size: 10px !important;
  font-weight: 750;
  line-height: 1.3;
  white-space: nowrap;
}

.site-header .main-nav {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.site-header .main-nav > a,
.site-header .nav-dropdown > button {
  min-height: 42px;
  padding: 0 9px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #252a2e !important;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.site-header .main-nav > a:hover,
.site-header .nav-dropdown > button:hover {
  color: #c8102e !important;
  background: #fff2f4;
}

.site-header .main-nav > a[href="/work-with-us/"],
.site-header .main-nav > a[href="#construction-cv"],
.site-header .main-nav > a[href="#client-certificates"],
.site-header .main-nav > a[href="#management-contact"],
.site-header .main-nav > a[href="#document-request"],
.site-header .main-nav > a[href="/#contact"] {
  display: none !important;
}

.site-header .header-actions {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.site-header .lang-btn,
.site-header .mecmisr-saas-top-button,
.site-header .header-btn {
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap;
}

.site-header .lang-btn,
.site-header .mecmisr-saas-top-button {
  border: 1px solid #c8102e !important;
  background: #fff !important;
  color: #c8102e !important;
}

.site-header .header-btn {
  border: 1px solid #c8102e !important;
  background: #c8102e !important;
  color: #fff !important;
  box-shadow: 0 9px 22px rgba(200,16,46,.18);
}

.site-header .header-btn:hover {
  background: #a90f26 !important;
}

@media (max-width: 1180px) {
  .site-header .header-inner {
    min-height: 76px;
    grid-template-columns: minmax(0,1fr) auto;
  }

  .site-header .main-nav,
  .site-header .header-actions {
    display: none !important;
  }

  .site-header .mobile-menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 600px) {
  .site-header .header-inner {
    width: min(100% - 28px, 1420px) !important;
    min-height: 72px;
  }

  .site-header .brand-mark {
    width: 66px !important;
    height: 48px !important;
    flex-basis: 66px;
  }

  .site-header .brand-name {
    font-size: 16px !important;
  }

  .site-header .brand-sub {
    font-size: 9px !important;
  }
}


/* MECMISR COMPANY DROPDOWN */

.site-header .company-dropdown {
  position: relative;
}

.site-header .company-dropdown .nav-dropdown-menu {
  right: 0 !important;
  left: auto !important;
  min-width: 225px;
  max-height: 420px;
  overflow-y: auto;
}

.site-header .company-dropdown .nav-dropdown-menu a {
  display: flex !important;
  min-height: 40px;
  padding: 10px 13px !important;
  align-items: center;
  white-space: nowrap;
}

/* Company dropdown arrow */
.site-header .company-dropdown > button::after {
  content: "▾";
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  line-height: 1;
  color: currentColor;
}

.site-header .company-dropdown > button {
  display: inline-flex !important;
  align-items: center;
}


/* MECMISR ELECTRONIC QUOTATION MENU */
.site-header .company-dropdown .nav-dropdown-menu {
  min-width: 285px !important;
}
