/* ==========================================================================
   IT Fix Premium Header
   Scope: top bar, primary navigation, compact mega menu and mobile drawer.
   Markup: itfix-layout.php. Behavior: itfix-v31-system.js.
   ========================================================================== */

:root {
  --ifx-bg: #F8FAFC;
  --ifx-surface: #FFFFFF;
  --ifx-surface-soft: #F1F5F9;
  --ifx-dark: #0F172A;
  --ifx-navy: #111827;
  --ifx-slate: #334155;
  --ifx-muted: #64748B;
  --ifx-border: #E2E8F0;
  --ifx-primary: #0F766E;
  --ifx-primary-2: #2563EB;
  --ifx-accent: #D98A24;
  --ifx-accent-soft: rgba(217, 138, 36, 0.12);
  --ifx-shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.10);
  --ifx-shadow-menu: 0 28px 80px rgba(15, 23, 42, 0.16);
  --ifx-line-soft: #EEF2F7;
  --ifx-primary-soft: rgba(15, 118, 110, 0.10);
  --ifx-blue-soft: rgba(37, 99, 235, 0.09);
  --ifx-focus: 0 0 0 3px rgba(15, 118, 110, 0.24);
  --ifx-ease: cubic-bezier(.22, .8, .26, 1);
  --ifx-header-h: 82px;
  --ifx-header-h-scrolled: 68px;
}

[data-itfixx-header],
[data-itfixx-header] *,
[data-itfixx-header] *::before,
[data-itfixx-header] *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

[data-itfixx-header] a {
  text-decoration: none;
}

[data-itfixx-header].itfixx-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  isolation: isolate;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(248, 250, 252, .88));
  border-bottom: 1px solid rgba(226, 232, 240, .88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transition:
    background-color .24s var(--ifx-ease),
    box-shadow .24s var(--ifx-ease),
    border-color .24s var(--ifx-ease);
}

[data-itfixx-header].itfixx-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, .42), rgba(37, 99, 235, .26), transparent);
  pointer-events: none;
}

body.ifx-v31-scrolled [data-itfixx-header].itfixx-header {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: rgba(226, 232, 240, .96);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.admin-bar [data-itfixx-header].itfixx-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar [data-itfixx-header].itfixx-header {
    top: 46px;
  }
}

/* Top bar */
[data-itfixx-header] .ifx-v31-utility {
  position: relative;
  z-index: 4;
  background: rgba(248, 250, 252, .92);
  border-bottom: 1px solid var(--ifx-border);
  color: var(--ifx-muted);
  font-size: 12px;
}

[data-itfixx-header] .ifx-v31-utility-row {
  width: 100%;
  max-width: 1480px;
  height: 38px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}

[data-itfixx-header] .ifx-v31-utility-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  color: var(--ifx-slate);
  font-size: 12px;
  font-weight: 560;
  line-height: 1;
  white-space: nowrap;
  transition: color .18s var(--ifx-ease);
}

[data-itfixx-header] .ifx-v31-utility-item svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  opacity: .78;
}

[data-itfixx-header] .ifx-v31-utility-item:hover,
[data-itfixx-header] .ifx-v31-utility-item:focus-visible {
  color: var(--ifx-primary);
}

[data-itfixx-header] .ifx-v31-utility-divider {
  width: 1px;
  height: 14px;
  margin-left: auto;
  background: var(--ifx-border);
}

[data-itfixx-header] .ifx-v31-utility-portal-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

[data-itfixx-header] .ifx-v31-utility-portal {
  height: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--ifx-border);
  border-radius: 999px;
  background: var(--ifx-surface);
  color: var(--ifx-slate);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition:
    border-color .18s var(--ifx-ease),
    color .18s var(--ifx-ease),
    box-shadow .18s var(--ifx-ease),
    transform .18s var(--ifx-ease);
}

[data-itfixx-header] .ifx-v31-utility-portal i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ifx-primary);
  box-shadow: 0 0 0 4px var(--ifx-primary-soft);
}

[data-itfixx-header] .ifx-v31-portal-caret {
  width: 9px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  opacity: .62;
  transition: transform .18s var(--ifx-ease);
}

[data-itfixx-header] .ifx-v31-utility-portal:hover,
[data-itfixx-header] .ifx-v31-utility-portal:focus-visible,
[data-itfixx-header] .ifx-v31-utility-portal-wrap.is-open .ifx-v31-utility-portal {
  color: var(--ifx-primary);
  border-color: rgba(15, 118, 110, .38);
  box-shadow: 0 8px 20px rgba(15, 118, 110, .10);
  transform: translateY(-1px);
}

[data-itfixx-header] .ifx-v31-utility-portal-wrap.is-open .ifx-v31-portal-caret {
  transform: rotate(180deg);
}

[data-itfixx-header] .ifx-v31-portal-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  padding: 10px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--ifx-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--ifx-shadow-menu);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s var(--ifx-ease), transform .18s var(--ifx-ease), visibility .18s var(--ifx-ease);
}

[data-itfixx-header] .ifx-v31-portal-panel::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ifx-primary), var(--ifx-primary-2), var(--ifx-accent));
  border-radius: 0 0 2px 2px;
}

[data-itfixx-header] .ifx-v31-utility-portal-wrap.is-open .ifx-v31-portal-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

[data-itfixx-header] .ifx-v31-portal-panel a {
  min-height: 64px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "thumb meta"
    "thumb title"
    "thumb text";
  column-gap: 12px;
  align-items: center;
  padding: 9px;
  border-radius: 12px;
  color: var(--ifx-dark);
  transition: background-color .18s var(--ifx-ease), transform .18s var(--ifx-ease);
}

[data-itfixx-header] .ifx-v31-portal-panel a:hover,
[data-itfixx-header] .ifx-v31-portal-panel a:focus-visible {
  background: var(--ifx-surface-soft);
  transform: translateX(2px);
}

[data-itfixx-header] .ifx-v31-portal-thumb {
  grid-area: thumb;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ifx-surface-soft);
}

[data-itfixx-header] .ifx-v31-portal-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

[data-itfixx-header] .ifx-v31-portal-panel small {
  grid-area: meta;
  color: var(--ifx-primary);
  font-size: 10px;
  font-weight: 760;
  line-height: 1.1;
  text-transform: uppercase;
}

[data-itfixx-header] .ifx-v31-portal-panel b {
  grid-area: title;
  color: var(--ifx-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

[data-itfixx-header] .ifx-v31-portal-panel span:not(.ifx-v31-portal-thumb) {
  grid-area: text;
  color: var(--ifx-muted);
  font-size: 12px;
  line-height: 1.3;
}

[data-itfixx-header] .ifx-v31-utility-lang {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ifx-muted);
  background: rgba(241, 245, 249, .76);
  font-size: 11px;
  font-weight: 680;
  white-space: nowrap;
}

/* Primary bar */
[data-itfixx-header] .itfixx-header-bar {
  position: relative;
  z-index: 3;
  background: transparent;
}

[data-itfixx-header] .itfixx-header-inner {
  width: 100%;
  max-width: 1480px;
  min-height: var(--ifx-header-h);
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 30px;
  transition: min-height .24s var(--ifx-ease), padding .24s var(--ifx-ease);
}

body.ifx-v31-scrolled [data-itfixx-header] .itfixx-header-inner {
  min-height: var(--ifx-header-h-scrolled);
}

[data-itfixx-header] .itfixx-logo {
  min-width: 0;
  width: auto;
  height: var(--ifx-header-h);
  min-height: var(--ifx-header-h);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ifx-dark);
  transition: min-height .24s var(--ifx-ease);
}

body.ifx-v31-scrolled [data-itfixx-header] .itfixx-logo {
  height: var(--ifx-header-h-scrolled);
  min-height: var(--ifx-header-h-scrolled);
}

[data-itfixx-header] .itfixx-logo img {
  width: 132px;
  height: 66px;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
  transition: width .24s var(--ifx-ease), height .24s var(--ifx-ease);
}

body.ifx-v31-scrolled [data-itfixx-header] .itfixx-logo img {
  width: 118px;
  height: 58px;
}

[data-itfixx-header] .itfixx-logo-accent {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding-left: 14px;
  border-left: 1px solid var(--ifx-border);
  color: var(--ifx-muted);
  font-size: 11px;
  font-weight: 690;
  line-height: 1.1;
  white-space: nowrap;
}

[data-itfixx-header] .itfixx-logo-accent::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--ifx-accent);
  box-shadow: 0 0 0 4px var(--ifx-accent-soft);
}

[data-itfixx-header] .itfixx-desktop-nav {
  min-width: 0;
  display: flex;
  justify-content: center;
}

[data-itfixx-header] .itfixx-menu {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  list-style: none;
  white-space: nowrap;
}

[data-itfixx-header] .itfixx-menu-item {
  position: relative;
  list-style: none;
}

[data-itfixx-header] .itfixx-menu-item > a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ifx-slate);
  font-size: 14px;
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
  transition: color .18s var(--ifx-ease);
}

[data-itfixx-header] .itfixx-menu-item > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ifx-primary), var(--ifx-primary-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ifx-ease);
}

[data-itfixx-header] .itfixx-menu-item > a::after {
  display: none;
}

[data-itfixx-header] .itfixx-menu-item > a:hover,
[data-itfixx-header] .itfixx-menu-item > a:focus-visible,
[data-itfixx-header] .itfixx-menu-item.is-open > a,
[data-itfixx-header] .itfixx-menu-item:focus-within > a {
  color: var(--ifx-dark);
  outline: none;
}

[data-itfixx-header] .itfixx-menu-item > a:hover::before,
[data-itfixx-header] .itfixx-menu-item > a:focus-visible::before,
[data-itfixx-header] .itfixx-menu-item.is-open > a::before,
[data-itfixx-header] .itfixx-menu-item:focus-within > a::before {
  transform: scaleX(1);
}

[data-itfixx-header] .itfixx-menu-item--primary > a {
  color: var(--ifx-navy);
  font-weight: 720;
}

[data-itfixx-header] .itfixx-caret {
  width: 9px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .58;
  transition: transform .18s var(--ifx-ease), opacity .18s var(--ifx-ease), color .18s var(--ifx-ease);
}

[data-itfixx-header] .itfixx-menu-item.is-open .itfixx-caret,
[data-itfixx-header] .itfixx-menu-item:focus-within .itfixx-caret {
  color: var(--ifx-primary);
  opacity: 1;
  transform: rotate(180deg);
}

[data-itfixx-header] .itfixx-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

[data-itfixx-header] .itfixx-cta {
  min-width: 112px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(11, 94, 87, .52);
  border-radius: 12px;
  background: #0F766E;
  color: #fff;
  font-size: 14px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(15, 118, 110, .18);
  transition: transform .18s var(--ifx-ease), box-shadow .18s var(--ifx-ease), background-color .18s var(--ifx-ease);
}

[data-itfixx-header] .itfixx-cta:hover,
[data-itfixx-header] .itfixx-cta:focus-visible {
  background: #0B5E57;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 118, 110, .24);
  outline: none;
}

[data-itfixx-header] .itfixx-cta i {
  color: #F1D4A8;
  font-style: normal;
  transition: transform .18s var(--ifx-ease);
}

[data-itfixx-header] .itfixx-cta:hover i,
[data-itfixx-header] .itfixx-cta:focus-visible i {
  transform: translateX(3px);
}

/* Mega menu */
[data-itfixx-header] .itfixx-mega-layer {
  position: absolute;
  left: 50%;
  top: 100%;
  width: max-content;
  max-width: calc(100vw - 40px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity .2s var(--ifx-ease), transform .2s var(--ifx-ease), visibility .2s var(--ifx-ease);
}

[data-itfixx-header].is-mega-open .itfixx-mega-layer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(10px);
}

[data-itfixx-header] .itfixx-mega-panel {
  --ifx-mega-width: 900px;
  position: relative;
  width: var(--ifx-mega-width);
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 150px);
  display: none;
  grid-template-columns: 278px minmax(0, 1fr);
  gap: 0;
  padding: 10px;
  overflow: auto;
  border: 1px solid rgba(226, 232, 240, .96);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  box-shadow: var(--ifx-shadow-menu);
}

[data-itfixx-header] .itfixx-mega-panel::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--ifx-primary), var(--ifx-primary-2), var(--ifx-accent));
  pointer-events: none;
}

[data-itfixx-header] .itfixx-mega-panel.is-active {
  display: grid;
}

[data-itfixx-header] .itfixx-mega-panel[data-itfixx-panel="kurumsal"] {
  --ifx-mega-width: 760px;
  grid-template-columns: 286px minmax(0, 1fr);
}

[data-itfixx-header] .itfixx-mega-panel[data-itfixx-panel="it-destek"] {
  --ifx-mega-width: 990px;
}

[data-itfixx-header] .itfixx-mega-panel[data-itfixx-panel="siber"],
[data-itfixx-header] .itfixx-mega-panel[data-itfixx-panel="m365"],
[data-itfixx-header] .itfixx-mega-panel[data-itfixx-panel="web"] {
  --ifx-mega-width: 900px;
}

[data-itfixx-header] .itfixx-mega-feature {
  position: relative;
  min-height: 244px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(150deg, #0F172A 0%, #102A33 58%, #0F766E 132%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

[data-itfixx-header] .itfixx-mega-feature::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 2px;
  background: var(--ifx-accent);
  border-radius: 0 0 2px 2px;
}

[data-itfixx-header] .itfixx-mega-feature::after {
  display: none;
  content: none;
}

[data-itfixx-header] .itfixx-mega-feature > * {
  position: relative;
  z-index: 1;
}

[data-itfixx-header] .itfixx-mega-ico {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
}

[data-itfixx-header] .itfixx-mega-ico svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #D7F4F1;
  stroke-width: 1.75;
}

[data-itfixx-header] .itfixx-mega-feature small {
  display: block;
  margin: 0 0 9px;
  color: #A7E4DE;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.25;
  text-transform: uppercase;
}

[data-itfixx-header] .itfixx-mega-feature strong {
  display: block;
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
  font-weight: 760;
  line-height: 1.22;
}

[data-itfixx-header] .itfixx-mega-feature p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.58;
}

[data-itfixx-header] .itfixx-mega-feature a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: auto;
  color: #fff;
  border-bottom: 1px solid rgba(217, 138, 36, .72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color .18s var(--ifx-ease), color .18s var(--ifx-ease);
}

[data-itfixx-header] .itfixx-mega-feature a:hover,
[data-itfixx-header] .itfixx-mega-feature a:focus-visible {
  color: #F6E7D0;
  border-bottom-color: var(--ifx-accent);
  outline: none;
}

[data-itfixx-header] .itfixx-mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-content: start;
  padding: 12px 12px 12px 18px;
}

[data-itfixx-header] .itfixx-mega-panel[data-itfixx-panel="kurumsal"] .itfixx-mega-links {
  grid-template-columns: 1fr;
}

[data-itfixx-header] .itfixx-mega-links a {
  position: relative;
  min-height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px 12px 34px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ifx-dark);
  box-shadow: none;
  transform: none;
  transition:
    background-color .18s var(--ifx-ease),
    border-color .18s var(--ifx-ease),
    transform .18s var(--ifx-ease);
}

[data-itfixx-header] .itfixx-mega-links a::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ifx-border);
  transition: background-color .18s var(--ifx-ease), box-shadow .18s var(--ifx-ease);
}

[data-itfixx-header] .itfixx-mega-links a::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 34px;
  bottom: 14px;
  width: 1px;
  background: var(--ifx-line-soft);
  opacity: .8;
}

[data-itfixx-header] .itfixx-mega-links a:hover,
[data-itfixx-header] .itfixx-mega-links a:focus-visible {
  background: var(--ifx-surface-soft);
  border-color: rgba(226, 232, 240, .9);
  transform: translateX(2px);
  outline: none;
}

[data-itfixx-header] .itfixx-mega-links a:hover::before,
[data-itfixx-header] .itfixx-mega-links a:focus-visible::before {
  background: var(--ifx-primary);
  box-shadow: 0 0 0 4px var(--ifx-primary-soft);
}

[data-itfixx-header] .itfixx-mega-links a b {
  color: var(--ifx-dark);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.28;
}

[data-itfixx-header] .itfixx-mega-links a span {
  color: var(--ifx-muted);
  font-size: 12.5px;
  line-height: 1.42;
}

[data-itfixx-header] .itfixx-mega-links a[aria-current="page"] {
  background: rgba(241, 245, 249, .86);
}

[data-itfixx-header] .itfixx-mega-links a[aria-current="page"]::before {
  background: var(--ifx-accent);
  box-shadow: 0 0 0 4px var(--ifx-accent-soft);
}

/* Mobile */
[data-itfixx-header] .itfixx-mobile-toggle {
  min-width: 48px;
  min-height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--ifx-border);
  border-radius: 14px;
  background: var(--ifx-surface);
  color: var(--ifx-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
  transition: border-color .18s var(--ifx-ease), color .18s var(--ifx-ease), box-shadow .18s var(--ifx-ease);
}

[data-itfixx-header] .itfixx-mobile-toggle:hover,
[data-itfixx-header] .itfixx-mobile-toggle:focus-visible {
  color: var(--ifx-primary);
  border-color: rgba(15, 118, 110, .34);
  box-shadow: 0 10px 24px rgba(15, 118, 110, .12);
}

[data-itfixx-header] .itfixx-mobile-toggle-bars {
  width: 20px;
  height: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

[data-itfixx-header] .itfixx-mobile-toggle-bars i {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s var(--ifx-ease), opacity .22s var(--ifx-ease);
}

[data-itfixx-header].is-mobile-open .itfixx-mobile-toggle-bars i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

[data-itfixx-header].is-mobile-open .itfixx-mobile-toggle-bars i:nth-child(2) {
  opacity: 0;
}

[data-itfixx-header].is-mobile-open .itfixx-mobile-toggle-bars i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

[data-itfixx-header] .itfixx-mobile-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  z-index: 9998;
  border-top: 1px solid var(--ifx-border);
  background: rgba(248, 250, 252, .98);
  box-shadow: 0 28px 70px rgba(15, 23, 42, .18);
  transition: max-height .28s var(--ifx-ease), visibility 0s linear .28s;
}

[data-itfixx-header].is-mobile-open .itfixx-mobile-panel {
  max-height: calc(100dvh - 92px);
  overflow-y: auto;
  visibility: visible;
  transition: max-height .28s var(--ifx-ease), visibility 0s linear 0s;
}

[data-itfixx-header] .itfixx-mobile-inner {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

[data-itfixx-header] .itfixx-mobile-group,
[data-itfixx-header] .itfixx-mobile-link,
[data-itfixx-header] .itfixx-mobile-portal {
  border: 1px solid var(--ifx-border);
  border-radius: 14px;
  background: var(--ifx-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  overflow: hidden;
}

[data-itfixx-header] .itfixx-mobile-group > summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  color: var(--ifx-dark);
  font-size: 15px;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

[data-itfixx-header] .itfixx-mobile-group > summary::-webkit-details-marker {
  display: none;
}

[data-itfixx-header] .itfixx-mobile-group > summary::marker {
  content: "";
}

[data-itfixx-header] .itfixx-mobile-group > summary i {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .62;
  transition: transform .18s var(--ifx-ease), opacity .18s var(--ifx-ease);
}

[data-itfixx-header] .itfixx-mobile-group[open] {
  border-color: rgba(15, 118, 110, .38);
}

[data-itfixx-header] .itfixx-mobile-group[open] > summary {
  color: var(--ifx-primary);
}

[data-itfixx-header] .itfixx-mobile-group[open] > summary i {
  transform: rotate(225deg);
  opacity: 1;
}

[data-itfixx-header] .itfixx-mobile-sub {
  display: grid;
  gap: 2px;
  padding: 6px 8px 10px;
  border-top: 1px solid var(--ifx-line-soft);
}

[data-itfixx-header] .itfixx-mobile-sub a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ifx-slate);
  font-size: 14px;
  font-weight: 580;
}

[data-itfixx-header] .itfixx-mobile-sub a:hover,
[data-itfixx-header] .itfixx-mobile-sub a:focus-visible,
[data-itfixx-header] .itfixx-mobile-sub a[aria-current="page"] {
  color: var(--ifx-primary);
  background: var(--ifx-surface-soft);
  outline: none;
}

[data-itfixx-header] .itfixx-mobile-link {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--ifx-dark);
  font-size: 15px;
  font-weight: 720;
}

[data-itfixx-header] .itfixx-mobile-link:hover,
[data-itfixx-header] .itfixx-mobile-link:focus-visible {
  color: var(--ifx-primary);
  border-color: rgba(15, 118, 110, .38);
  outline: none;
}

[data-itfixx-header] .itfixx-mobile-portal {
  padding: 14px;
}

[data-itfixx-header] .itfixx-mobile-portal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

[data-itfixx-header] .itfixx-mobile-portal-head span {
  color: var(--ifx-dark);
  font-size: 15px;
  font-weight: 760;
}

[data-itfixx-header] .itfixx-mobile-portal-head small {
  color: var(--ifx-muted);
  font-size: 12px;
  font-weight: 620;
}

[data-itfixx-header] .itfixx-mobile-portal-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

[data-itfixx-header] .itfixx-mobile-portal-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--ifx-border);
  border-radius: 10px;
  background: var(--ifx-bg);
  color: var(--ifx-slate);
  font-size: 13px;
  font-weight: 650;
}

[data-itfixx-header] .itfixx-mobile-portal-links a:hover,
[data-itfixx-header] .itfixx-mobile-portal-links a:focus-visible {
  color: var(--ifx-primary);
  border-color: rgba(15, 118, 110, .34);
  background: var(--ifx-surface-soft);
  outline: none;
}

[data-itfixx-header] .itfixx-mobile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 2px;
}

[data-itfixx-header] .itfixx-mobile-cta {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1;
  text-align: center;
}

[data-itfixx-header] .itfixx-mobile-cta--primary {
  grid-column: 1 / -1;
  border: 1px solid rgba(11, 94, 87, .52);
  background: var(--ifx-primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 118, 110, .20);
}

[data-itfixx-header] .itfixx-mobile-cta--primary i {
  color: #F1D4A8;
  font-style: normal;
}

[data-itfixx-header] .itfixx-mobile-cta--ghost {
  border: 1px solid var(--ifx-border);
  background: var(--ifx-surface);
  color: var(--ifx-slate);
}

[data-itfixx-header] .itfixx-mobile-cta:hover,
[data-itfixx-header] .itfixx-mobile-cta:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

[data-itfixx-header] a:focus-visible,
[data-itfixx-header] button:focus-visible,
[data-itfixx-header] summary:focus-visible {
  outline: none;
  box-shadow: var(--ifx-focus);
}

html.itfixx-mobile-open,
body.itfixx-mobile-open {
  overflow: hidden;
}

body.itfixx-mobile-open .itfix-ai-widget,
body.itfixx-mobile-open #itfix-ai-assistant,
body.itfixx-mobile-open .ifx-v31-fab,
body.itfixx-mobile-open .itfix-floating-actions {
  z-index: 9980;
}

@media (max-width: 1380px) {
  [data-itfixx-header] .itfixx-header-inner {
    padding: 0 28px;
    column-gap: 22px;
  }

  [data-itfixx-header] .ifx-v31-utility-row {
    padding: 0 28px;
  }

  [data-itfixx-header] .itfixx-logo-accent {
    display: none;
  }

  [data-itfixx-header] .itfixx-menu {
    gap: 14px;
  }

  [data-itfixx-header] .itfixx-menu-item > a {
    font-size: 13.5px;
  }
}

@media (max-width: 1220px) {
  [data-itfixx-header] .itfixx-header-inner {
    padding: 0 22px;
    column-gap: 18px;
  }

  [data-itfixx-header] .itfixx-menu {
    gap: 11px;
  }

  [data-itfixx-header] .itfixx-menu-item > a {
    font-size: 13px;
  }

  [data-itfixx-header] .itfixx-cta {
    min-width: 104px;
    padding: 0 15px;
  }
}

@media (max-width: 1180px) {
  [data-itfixx-header] .itfixx-header-inner {
    min-height: 70px;
    grid-template-columns: auto auto;
  }

  body.ifx-v31-scrolled [data-itfixx-header] .itfixx-header-inner {
    min-height: 64px;
  }

  [data-itfixx-header] .itfixx-logo {
    height: 70px;
    min-height: 70px;
  }

  body.ifx-v31-scrolled [data-itfixx-header] .itfixx-logo {
    height: 64px;
    min-height: 64px;
  }

  [data-itfixx-header] .itfixx-logo img {
    width: 118px;
    height: 58px;
  }

  [data-itfixx-header] .itfixx-desktop-nav,
  [data-itfixx-header] .itfixx-actions {
    display: none;
  }

  [data-itfixx-header] .itfixx-mobile-toggle {
    display: inline-flex;
  }

  [data-itfixx-header] .itfixx-mega-layer {
    display: none !important;
  }
}

@media (max-width: 768px) {
  [data-itfixx-header] .ifx-v31-utility-row {
    height: 36px;
    padding: 0 16px;
    gap: 14px;
  }

  [data-itfixx-header] .ifx-v31-utility-divider,
  [data-itfixx-header] .ifx-v31-utility-portal-wrap,
  [data-itfixx-header] .ifx-v31-utility-lang {
    display: none;
  }

  [data-itfixx-header] .ifx-v31-utility-item {
    min-height: 32px;
    font-size: 12px;
  }

  [data-itfixx-header] .itfixx-header-inner {
    min-height: 66px;
    padding: 0 16px;
  }

  [data-itfixx-header] .itfixx-logo {
    height: 66px;
    min-height: 66px;
  }

  [data-itfixx-header] .itfixx-logo img {
    width: 108px;
    height: 54px;
  }

  [data-itfixx-header] .itfixx-mobile-toggle {
    min-height: 46px;
    min-width: 46px;
    border-radius: 13px;
  }

  [data-itfixx-header].is-mobile-open .itfixx-mobile-panel {
    max-height: calc(100dvh - 102px);
  }
}

@media (max-width: 430px) {
  [data-itfixx-header] .ifx-v31-utility-row {
    justify-content: space-between;
    gap: 8px;
  }

  [data-itfixx-header] .ifx-v31-utility-item {
    font-size: 11.5px;
  }

  [data-itfixx-header] .ifx-v31-utility-item svg {
    width: 13px;
    height: 13px;
  }

  [data-itfixx-header] .itfixx-header-inner {
    padding: 0 13px;
  }

  [data-itfixx-header] .itfixx-mobile-toggle-text {
    display: none;
  }

  [data-itfixx-header] .itfixx-mobile-inner {
    padding: 14px 13px 22px;
  }

  [data-itfixx-header] .itfixx-mobile-actions,
  [data-itfixx-header] .itfixx-mobile-portal-links {
    grid-template-columns: 1fr;
  }

  [data-itfixx-header] .itfixx-mobile-cta--primary {
    grid-column: auto;
  }
}

@media (max-width: 360px) {
  [data-itfixx-header] .ifx-v31-utility-row {
    padding: 0 12px;
  }

  [data-itfixx-header] .itfixx-logo img {
    width: 100px;
    height: 50px;
  }

  [data-itfixx-header] .itfixx-mobile-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-itfixx-header],
  [data-itfixx-header] *,
  [data-itfixx-header] *::before,
  [data-itfixx-header] *::after {
    animation-duration: .001ms;
    transition-duration: .001ms;
    scroll-behavior: auto;
  }
}
