/* Shared navigation refinements. Source content and page-specific layouts stay scoped. */
.shell-skip-link { position: fixed; z-index: 10002; top: 12px; left: 16px; padding: 12px 20px; border-radius: 8px; background: #5230da; color: #fff; transform: translateY(-160%); }
.shell-skip-link:focus { transform: translateY(0); outline: 3px solid #b4a2fa; outline-offset: 3px; }
.react-inner-hero .pxl-page-title-description { color: #f3f1fa; line-height: 1.7; }
#pxl-header-elementor .shell-navigation-trigger { display: flex; align-items: center; height: 103px; margin: 0; padding: 0; border: 0; background: transparent; color: #17131f; font: 500 16px/1 Rubik, sans-serif; text-transform: none; cursor: pointer; white-space: nowrap; }
#pxl-header-elementor .shell-navigation-trigger b { transition: transform .18s ease; }
#pxl-header-elementor .shell-navigation-trigger[aria-expanded="true"] { color: #5230da; }
#pxl-header-elementor .shell-navigation-trigger[aria-expanded="true"] b { transform: rotate(180deg); }
#pxl-header-elementor :is(a,button,input):focus-visible { outline: 3px solid #a893f5; outline-offset: 4px; }
#pxl-header-elementor .shell-dropdown[aria-hidden="true"] { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
#pxl-header-elementor .shell-dropdown[aria-hidden="false"] { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
#pxl-header-elementor .shell-dropdown.shell-megamenu { top: var(--shell-menu-top, 183px) !important; max-height: calc(100dvh - var(--shell-menu-top, 183px) - 16px) !important; overscroll-behavior: contain; }
#pxl-header-elementor .shell-dropdown.shell-megamenu[aria-hidden="false"] { transform: translate(-50%, 0); }
#pxl-header-elementor .shell-dropdown:not(.shell-megamenu) { top: 100%; }
#pxl-header-elementor .shell-mobile-menu { height: 100dvh; overscroll-behavior: contain; }
#pxl-header-elementor .shell-mobile-menu nav button { min-height: 48px; }
#pxl-header-elementor .shell-mobile-menu nav a { min-height: 40px; }

@media (min-width: 1200px) {
  /* Compact pages keep their own geometry; Home defines normal and sticky layouts separately. */
  #pxl-header-elementor.shell-header--compact .shell-header-main { align-items: center; }
  #pxl-header-elementor.shell-header--compact .pxl-header-nav { width: auto !important; flex: 1 1 0% !important; min-width: 0; padding-left: clamp(20px, 2.5vw, 44px) !important; }
  #pxl-header-elementor.shell-header--compact .pxl-menu-primary { width: 100% !important; gap: clamp(10px, 1.4vw, 26px); justify-content: space-between !important; padding-right: 24px !important; }
  #pxl-header-elementor.shell-header--compact .pxl-menu-primary::before, #pxl-header-elementor.shell-header--compact .pxl-menu-primary::after { display: none; }
  #pxl-header-elementor.shell-header--compact .pxl-menu-primary > li { margin: 0 !important; flex: 0 0 auto; }
  #pxl-header-elementor.shell-header--compact .shell-phone { width: 255px !important; height: auto !important; flex: 0 0 255px !important; }
  #pxl-header-elementor.shell-header--compact .shell-phone span { width: auto !important; flex: 1 1 auto !important; white-space: nowrap; }
  #pxl-header-elementor.shell-header--compact .shell-phone a { word-break: normal !important; white-space: nowrap; font-size: 18px !important; line-height: 28px !important; }
  #pxl-header-elementor.shell-header--compact .shell-search { width: 48px; height: 48px; flex: 0 0 48px !important; margin: 0 20px 0 0 !important; }
  #pxl-header-elementor.shell-header--compact .shell-consult { width: auto !important; height: 52px !important; flex: 0 0 auto !important; align-self: center !important; margin-right: 20px; padding: 0 20px !important; gap: 12px; border-radius: 8px; font-size: 14px !important; white-space: nowrap !important; }
  #pxl-header-elementor.shell-header--compact .shell-consult-label { flex: 0 1 auto !important; max-width: none !important; line-height: 1.4 !important; word-break: normal !important; white-space: nowrap; }
  #pxl-header-elementor.shell-header--compact .shell-consult i { flex: 0 0 auto; }
  #pxl-header-elementor .shell-tiered-submenu { left: auto; right: calc(100% + 9px); }
  #pxl-header-elementor .shell-tiered-flyout::after { right: auto; left: -14px; }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  #pxl-header-elementor.shell-header--compact .shell-phone { display: none; }
  #pxl-header-elementor.shell-header--compact .shell-topbar { overflow: hidden; }
  #pxl-header-elementor.shell-header--compact .shell-header-main { width: 100%; }
  #pxl-header-elementor.shell-header--compact .shell-logo { width: 150px !important; flex-basis: 150px !important; }
  #pxl-header-elementor.shell-header--compact .shell-topbar p { width: auto !important; flex: 1 1 auto !important; }
  #pxl-header-elementor.shell-header--compact .shell-top-contact a { margin-right: 16px; font-size: 12px; }
  #pxl-header-elementor.shell-header--compact .shell-top-contact a + a::before { margin-right: 16px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  #pxl-header-elementor .shell-navigation-trigger { font-size: 14px; }
  #pxl-header-elementor.shell-header--compact .shell-topbar p { display: none; }
  #pxl-header-elementor.shell-header--compact .shell-top-contact { margin: 0 auto; }
  #pxl-header-elementor.shell-header--compact .shell-top-contact a:first-child { max-width: 410px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  #pxl-header-elementor *, #pxl-header-elementor *::before, #pxl-header-elementor *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Button triggers share the Home sticky dimensions used by link triggers. */
@media (min-width: 1200px) {
  #pxl-header-elementor.pxl-header-fixed:not(.shell-header--compact) .shell-navigation-trigger { height: 105px; font-size: 16px; font-weight: 400; line-height: 105px; }
}
@media (min-width: 1400px) and (max-width: 1699px) {
  #pxl-header-elementor.pxl-header-fixed:not(.shell-header--compact) .shell-navigation-trigger { font-size: 15px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  #pxl-header-elementor.pxl-header-fixed:not(.shell-header--compact) .shell-navigation-trigger { font-size: 13px; }
}

/* Inner pages follow Box's centered 1440px content container in both states.
   The original Home/Box Elementor headers use their own geometry. */
@media (min-width: 1200px) {
  #pxl-header-elementor.shell-header--compact .shell-header-main,
  #pxl-header-elementor.shell-header--compact .shell-topbar {
    width: min(calc(100% - 30px), 1440px) !important;
    max-width: 1440px !important;
    margin-inline: auto;
  }
  #pxl-header-elementor.shell-header--compact .shell-header-main { height: 103px !important; }
  #pxl-header-elementor.shell-header--compact .shell-navigation-trigger svg { width: 6px; height: 5px; margin-left: 5px; transition: transform .18s ease; }
  #pxl-header-elementor.shell-header--compact .shell-navigation-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
}
@media (min-width: 1470px) {
  #pxl-header-elementor.shell-header--compact .shell-logo { width: 128.55px !important; flex: 0 0 128.55px !important; padding: 0 !important; margin-right: 55px; justify-content: flex-start; }
  #pxl-header-elementor.shell-header--compact .shell-logo img { width: 128.55px !important; height: 55px !important; }
  #pxl-header-elementor.shell-header--compact .pxl-header-nav { padding: 0 !important; }
  #pxl-header-elementor.shell-header--compact .pxl-menu-primary { gap: 0; padding: 0 !important; }
  #pxl-header-elementor.shell-header--compact .pxl-menu-primary > li { margin: 0 24px !important; }
  #pxl-header-elementor.shell-header--compact .shell-navigation-trigger { height: 103px; font-size: 16px; font-weight: 500; color: #000; }
  #pxl-header-elementor.shell-header--compact .shell-navigation-trigger[aria-expanded="true"] { color: #5230da; }
  #pxl-header-elementor.shell-header--compact .shell-search { width: 24px; height: 25px !important; flex: 0 0 24px !important; margin: 0 40px 0 30px !important; padding: 0; border: 0; font-size: 24px !important; }
  #pxl-header-elementor.shell-header--compact .shell-consult { width: 175.2px !important; flex: 0 0 175.2px !important; margin: 0; padding: 0 24px !important; gap: 10px; font-size: 16px !important; font-weight: 500; background: #5230da; box-shadow: none; }
  #pxl-header-elementor.shell-header--compact .shell-consult i { width: auto; height: auto; flex: 0 0 auto; border-radius: 0; background: transparent; font-size: 20px; }
}

/* The AI Assistant source uses the original Elementor CTA as a full-height
   final navigation column.  This route-only exception must live after the
   compact-navigation rules because that file is loaded after the app CSS. */
@media (min-width: 1200px) {
  body.page-id-12292 #pxl-header-elementor.shell-header--compact .shell-consult {
    width: 170px !important;
    height: 104px !important;
    flex: 0 0 170px !important;
    align-self: stretch !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border-radius: 8px;
    box-shadow: none;
    white-space: normal !important;
  }

  body.page-id-12292 #pxl-header-elementor.shell-header--compact .shell-consult-label {
    max-width: 78px !important;
    overflow: visible;
    text-align: center;
    text-overflow: clip;
    white-space: normal !important;
    word-break: break-all !important;
  }

  body.page-id-12292 #pxl-header-elementor.shell-header--compact .pxl-header-nav {
    padding-left: 54px !important;
  }

  body.page-id-12292 #pxl-header-elementor.shell-header--compact .pxl-menu-primary {
    justify-content: flex-start !important;
    gap: 52px !important;
    padding-right: 0 !important;
  }

  body.page-id-12292 #pxl-header-elementor.shell-header--compact .shell-search {
    width: 22px;
    height: 25px;
    flex: 0 0 22px !important;
    margin: 0 41px 0 0 !important;
    padding: 0;
    border: 0;
  }
}
