/* NexCodify header — isolated nc- classes to reduce theme conflicts. */
:root { --nc-header-ink: #17202b; --nc-header-accent: #f47b20; --nc-header-tag: #27323d; --nc-header-line: #e7eaf0; }
.nc-header-shell, .nc-header-shell * { box-sizing: border-box; }
.nc-header-shell { position: sticky; top: 0; z-index: 9999; width: 100%; background: #fff; box-shadow: 0 3px 18px rgba(20, 30, 45, .07); }
body.admin-bar .nc-header-shell { top: 32px; }
.nc-header-container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.nc-topbar { background: #f8fafc; border-bottom: 1px solid var(--nc-header-line); }
.nc-topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nc-topbar-contact { display: flex; align-items: center; gap: 18px; min-width: 0; }
.nc-contact-link { display: inline-flex; align-items: center; gap: 8px; color: var(--nc-header-ink); font-size: 13px; text-decoration: none; white-space: nowrap; }
.nc-contact-link:hover { color: var(--nc-header-accent); }
.nc-icon { display: inline-flex; width: 16px; height: 16px; color: var(--nc-header-accent); }
.nc-icon svg, .nc-social-link svg, .nc-menu-toggle svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nc-icon svg path:not([d*="M22 16.92"]) { }
.nc-company-tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 14px; background: var(--nc-header-tag); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.nc-topbar-socials { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nc-social-link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #dce1e7; border-radius: 50%; color: #3d4650; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.nc-social-link svg { width: 14px; height: 14px; }
.nc-social-link:hover { color: #fff; background: var(--nc-header-accent); border-color: var(--nc-header-accent); }
.nc-mainbar { background: #fff; }
.nc-mainbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 88px; }
.nc-brand { flex: 0 0 auto; max-width: 220px; }
.nc-brand > a { display: inline-flex; align-items: center; text-decoration: none; }
.nc-brand .custom-logo { display: block; width: auto; max-width: 210px; max-height: 62px; object-fit: contain; }
.nc-brand-text { color: var(--nc-header-ink); font-size: 27px; font-weight: 800; letter-spacing: -.8px; }
.nc-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 25px; flex: 1; }
.nc-navigation ul { list-style: none; margin: 0; padding: 0; }
.nc-menu { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.2vw, 32px); }
.nc-menu li { position: relative; }
.nc-menu a { display: inline-flex; align-items: center; padding: 12px 0; color: var(--nc-header-ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.nc-menu a:hover, .nc-menu .current-menu-item > a, .nc-menu .current-menu-ancestor > a { color: var(--nc-header-accent); }
.nc-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 210px; padding: 10px 14px; background: #fff; border: 1px solid var(--nc-header-line); border-radius: 10px; box-shadow: 0 12px 28px rgba(20,30,45,.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.nc-menu .sub-menu a { display: flex; padding: 10px 4px; white-space: nowrap; }
.nc-menu li:hover > .sub-menu, .nc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nc-meeting-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 19px; border-radius: 999px; background: var(--nc-header-accent); color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: transform .2s ease, background .2s ease; }
.nc-meeting-button:hover { background: #d96513; transform: translateY(-1px); }
.nc-menu-toggle, .nc-mobile-socials { display: none; }
@media (max-width: 960px) {
  .nc-header-container { width: min(100% - 32px, 760px); }
  .nc-topbar-inner { padding: 8px 0; align-items: flex-start; }
  .nc-topbar-contact { flex-wrap: wrap; gap: 8px 14px; }
  .nc-company-tag { padding: 7px 11px; }
  .nc-mainbar-inner { min-height: 76px; gap: 15px; }
  .nc-brand { max-width: 190px; }
  .nc-brand .custom-logo { max-width: 180px; max-height: 54px; }
  .nc-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--nc-header-line); border-radius: 10px; background: #fff; color: var(--nc-header-ink); padding: 11px; cursor: pointer; }
  .nc-menu-toggle .nc-toggle-close { display: none; }
  .nc-menu-toggle[aria-expanded="true"] .nc-toggle-open { display: none; }
  .nc-menu-toggle[aria-expanded="true"] .nc-toggle-close { display: block; }
  .nc-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 110px); overflow-y: auto; padding: 18px 22px 24px; flex-direction: column; align-items: stretch; gap: 14px; background: #fff; border-top: 1px solid var(--nc-header-line); box-shadow: 0 15px 24px rgba(20,30,45,.12); }
  .nc-navigation.nc-is-open { display: flex; }
  .nc-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nc-menu li { width: 100%; }
  .nc-menu a { display: flex; width: 100%; padding: 13px 4px; border-bottom: 1px solid #f0f2f5; }
  .nc-menu .sub-menu { display: none; position: static; min-width: 0; padding: 0 0 0 16px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nc-menu li.nc-submenu-open > .sub-menu { display: block; }
  .nc-menu .sub-menu a { white-space: normal; }
  .nc-navigation .nc-meeting-button { align-self: flex-start; }
  .nc-mobile-socials { display: flex; flex-wrap: wrap; gap: 10px; padding: 6px 0; }
  .nc-topbar-socials { display: none; }
}
@media (max-width: 560px) {
  body.admin-bar .nc-header-shell { top: 46px; }
  .nc-header-container { width: calc(100% - 28px); }
  .nc-topbar-inner { flex-direction: column; gap: 8px; }
  .nc-topbar-contact { width: 100%; align-items: flex-start; flex-direction: column; gap: 7px; }
  .nc-contact-link { font-size: 12px; }
  .nc-company-tag { font-size: 11px; }
  .nc-mainbar-inner { min-height: 68px; }
  .nc-brand { max-width: 165px; }
  .nc-brand .custom-logo { max-width: 160px; max-height: 48px; }
  .nc-brand-text { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .nc-header-shell *, .nc-header-shell *::before, .nc-header-shell *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
