/* The shared Zita navigation is independent of the legacy Webflow menu. */
.zita-header-space { height: 0; }
body:is(.contact-page, .portfolio-page, .blog-page, .or-case-page, .cp-case-page, .zm-case-page, .cg-case-page) > .zita-header-space { height: 88px; }
.zita-header {
  --zh-ink: #24134e;
  --zh-focus: #4a3ff7;
  --zh-muted: #655d76;
  --zh-glass: rgba(251, 250, 255, .88);
  --zh-line: rgba(45, 24, 91, .14);
  --zh-hover: rgba(74, 63, 247, .07);
  --zh-cta: #4a3ff7;
  --zh-cta-ink: #fff;
  --zh-shadow: 0 5px 24px rgba(30, 14, 89, .06), inset 0 1px 1px rgba(255,255,255,.85);
  position: fixed;
  z-index: 25000;
  top: 12px;
  left: 50%;
  width: calc(100% - 48px);
  max-width: 1040px;
  margin: 0;
  color: var(--zh-ink);
  transform: translateX(-50%);
  transition: top .32s ease, max-width .4s cubic-bezier(.22,1,.36,1);
  font-family: var(--zita-font-family, "Parkinsans", Arial, sans-serif);
  text-align: left;
}
/* Override the portfolio page's legacy position reset on direct children. */
body.portfolio-page > .zita-header { position: fixed; z-index: 25000; }
.zita-header[data-theme="dark"] {
  --zh-ink: #faf9ff;
  --zh-focus: #87dce8;
  --zh-muted: #cdc7de;
  --zh-glass: rgba(24, 13, 55, .84);
  --zh-line: rgba(255,255,255,.2);
  --zh-hover: rgba(255,255,255,.09);
  --zh-cta: #fff;
  --zh-cta-ink: #000;
  --zh-shadow: 0 8px 28px rgba(9,3,27,.15), inset 0 1px 1px rgba(255,255,255,.13);
}
.zita-header *, .zita-header *::before, .zita-header *::after { box-sizing: border-box; }
.zita-header [hidden] { display: none !important; }
.zita-header a { color: inherit; text-decoration: none; }
.zita-header button { font: inherit; color: inherit; cursor: pointer; }
.zita-header svg { display: block; width: 18px; height: 18px; flex: 0 0 auto; }
.zita-header a:focus-visible, .zita-header button:focus-visible, .zita-header summary:focus-visible {
  outline: 2px solid var(--zh-focus);
  outline-offset: 3px;
}
.zita-header__bar, .zita-header__panel {
  border: 1px solid var(--zh-line);
  background: var(--zh-glass);
  box-shadow: var(--zh-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.zita-header__bar {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 5px 7px 5px 20px;
  border-radius: 999px;
  transition: min-height .32s ease, background-color .3s ease, border-color .3s ease, color .3s ease;
}
.zita-header.is-scrolled { top: 8px; max-width: 960px; }
.zita-header.is-scrolled .zita-header__bar { min-height: 52px; }
.zita-header__brand { display: block; position: relative; width: 81px; height: 34px; overflow: hidden; border-radius: 3px; }
.zita-header__brand img { position: absolute; width: 122px; height: 68.625px; max-width: none; left: -20.5px; top: -18.8px; transition: filter .3s ease; }
.zita-header[data-theme="dark"] .zita-header__brand img { filter: brightness(0) invert(1); }
.zita-header__desktop { display: flex; align-items: center; justify-content: center; gap: 2px; }
.zita-header .zita-header__link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 500; line-height: 1.25; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.zita-header__link:hover, .zita-header__link[aria-current="page"], .zita-header__link[aria-expanded="true"] { background: var(--zh-hover); }
.zita-header__services-toggle svg { width: 13px; height: 13px; transition: transform .2s ease; }
.zita-header__services-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.zita-header__actions { display: flex; align-items: center; gap: 5px; }
.zita-header .zita-header__cta { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 42px; padding: 10px 17px; border-radius: 999px; background: var(--zh-cta); color: var(--zh-cta-ink); font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; transition: background-color .3s ease, color .3s ease, box-shadow .2s ease; }
.zita-header__cta svg { width: 15px; height: 15px; transition: transform .2s ease; }
.zita-header__cta:hover { box-shadow: 0 0 0 3px var(--zh-hover); }
.zita-header__cta:hover svg { transform: translate(2px,-2px); }
.zita-header__menu-toggle { display: none; }
.zita-header__panel { position: absolute; top: calc(100% + 10px); left: 0; width: 100%; max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; border-radius: 24px; animation: zita-header-enter .22s cubic-bezier(.22,1,.36,1) both; }
.zita-header__services { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px; }
.zita-header__intro { display: flex; flex-direction: column; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--zh-hover); }
.zita-header__eyebrow { color: var(--zh-muted); font-size: 10px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.zita-header__intro p { margin: 15px 0 28px; color: var(--zh-ink); font-size: 23px; line-height: 1.25; letter-spacing: -.055em; font-weight: 600; }
.zita-header__all-services { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: 13px; line-height: 1.5; }
.zita-header__all-services:hover { text-decoration: underline; text-underline-offset: 4px; }
.zita-header__all-services svg { width: 14px; height: 14px; }
.zita-header__service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-content: start; gap: 6px; }
.zita-header__service { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 81px; padding: 14px; border-radius: 12px; transition: background-color .18s ease; }
.zita-header__service:hover, .zita-header__service[aria-current="page"] { background: var(--zh-hover); }
.zita-header__service strong { display: block; color: var(--zh-ink); font-size: 14px; font-weight: 600; line-height: 1.5; }
.zita-header__service small { display: block; margin-top: 5px; color: var(--zh-muted); font-size: 12px; line-height: 1.5; }
.zita-header__service > svg { width: 14px; height: 14px; margin-top: 2px; color: var(--zh-muted); }
.zita-header__mobile { display: none; }
@keyframes zita-header-enter { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 959px) {
  .zita-header { width: calc(100% - 32px); max-width: 720px; }
  .zita-header.is-scrolled { max-width: 660px; }
  .zita-header__bar { grid-template-columns: 1fr auto; gap: 8px; padding-left: 17px; }
  .zita-header__desktop { display: none; }
  .zita-header__menu-toggle { display: flex; position: relative; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
  .zita-header__menu-toggle:hover { background: var(--zh-hover); }
  .zita-header__menu-toggle span { display: block; width: 17px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
  .zita-header__menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .zita-header__menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .zita-header__services { display: none; }
  .zita-header__mobile { display: block; padding: 16px 22px; }
  .zita-header__mobile-link, .zita-header__mobile-services summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 51px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--zh-line); color: var(--zh-ink); font-size: 16px; font-weight: 500; line-height: 1.4; list-style: none; cursor: pointer; }
  .zita-header__mobile-services summary::-webkit-details-marker { display: none; }
  .zita-header__mobile-services summary svg { width: 16px; height: 16px; transition: transform .2s ease; }
  .zita-header__mobile-services[open] summary svg { transform: rotate(180deg); }
  .zita-header__mobile-service-list { display: grid; gap: 1px; padding: 8px 0 10px 12px; }
  .zita-header__mobile-service-list a { display: flex; align-items: center; min-height: 44px; padding: 9px 0; color: var(--zh-muted); font-size: 14px; line-height: 1.5; }
  .zita-header__mobile a:hover, .zita-header__mobile a[aria-current="page"] { color: #4a3ff7; }
  .zita-header[data-theme="dark"] .zita-header__mobile a:hover, .zita-header[data-theme="dark"] .zita-header__mobile a[aria-current="page"] { color: #87dce8; }
  .zita-header__email { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--zh-muted) !important; font-size: 12px; }
}
@media (max-width: 379px) {
  .zita-header { width: calc(100% - 24px); }
  .zita-header__bar { padding-left: 13px; gap: 4px; }
  .zita-header .zita-header__cta { gap: 6px; padding-inline: 10px; }
  .zita-header__cta svg { display: none; }
  .zita-header__brand { width: 64px; height: 30px; }
  .zita-header__brand img { width: 96px; height: 54px; left: -16px; top: -14.75px; }
}
@media (prefers-reduced-motion: reduce) {
  .zita-header, .zita-header *, .zita-header *::before, .zita-header *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .zita-header__bar, .zita-header__panel { border-color: CanvasText; background: Canvas; color: CanvasText; }
  .zita-header .zita-header__cta { border: 1px solid ButtonText; background: ButtonFace; color: ButtonText; }
}
