/* PRATIXUS v10.14 — stable shared header navigation */
:root { --pratixus-header-bg:#0c1b2b; --pratixus-gold:#f5b942; }
.v7-header, .pratixus-global-header { width:100%; min-height:82px; background:var(--pratixus-header-bg); border-bottom:1px solid rgba(245,185,66,.16); }
.v7-header *, .pratixus-global-header * { box-sizing:border-box; }
.v7-header .v7-header-inner, .pratixus-global-header .v7-header-inner, .pratixus-global-header .pratixus-header-inner {
 width:min(calc(100% - 48px),1540px); min-height:82px; margin-inline:auto;
 display:grid; grid-template-columns:270px minmax(0,1fr) 180px; align-items:center; column-gap:10px;
}
.v7-header .v7-brand, .pratixus-global-header .v7-brand, .pratixus-global-header .pratixus-brand { min-width:0; display:flex; align-items:center; white-space:nowrap; flex-shrink:0; }
.v7-header .v7-nav, .pratixus-global-header .v7-nav, .pratixus-global-header .pratixus-nav { min-width:0; display:flex; justify-content:center; align-items:center; flex-wrap:nowrap; gap:clamp(4px,.32vw,7px); white-space:nowrap; }
.v7-header .v7-nav a, .pratixus-global-header .v7-nav a, .pratixus-global-header .pratixus-nav a { display:inline-flex; align-items:center; white-space:nowrap; font-size:clamp(10px,.60vw,11.5px); font-weight:650; line-height:1.2; letter-spacing:-.035em; flex:0 0 auto; padding:5px 0; }
.v7-header .v7-header-cta, .pratixus-global-header .v7-header-cta, .pratixus-global-header .pratixus-header-cta { width:180px; min-width:180px; height:50px; min-height:50px; justify-self:end; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:0 16px; border:0; border-radius:999px; background:linear-gradient(105deg,#f3a51f,#ffd47b); color:#081626!important; font-size:13px; font-weight:700; line-height:1.15; white-space:nowrap; text-decoration:none; box-shadow:0 8px 24px rgba(245,185,66,.12); }
.v7-header .v7-nav a[aria-current="page"], .pratixus-global-header .v7-nav a[aria-current="page"], .pratixus-global-header .pratixus-nav a[aria-current="page"] { color:var(--pratixus-gold)!important; text-decoration:underline; text-underline-offset:5px; }
@media(max-width:1450px) { .v7-header .v7-header-inner, .pratixus-global-header .v7-header-inner, .pratixus-global-header .pratixus-header-inner { width:calc(100% - 32px); grid-template-columns:240px minmax(0,1fr) 165px; column-gap:8px; } .v7-header .v7-header-cta, .pratixus-global-header .v7-header-cta, .pratixus-global-header .pratixus-header-cta { width:165px; min-width:165px; font-size:12px; } .v7-header .v7-nav, .pratixus-global-header .v7-nav, .pratixus-global-header .pratixus-nav { gap:clamp(3px,.25vw,5px); } .v7-header .v7-nav a, .pratixus-global-header .v7-nav a, .pratixus-global-header .pratixus-nav a { font-size:9.8px; } }
@media(max-width:1150px) { .v7-header .v7-header-inner, .pratixus-global-header .v7-header-inner, .pratixus-global-header .pratixus-header-inner { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding-block:12px; } .v7-header .v7-nav, .pratixus-global-header .v7-nav, .pratixus-global-header .pratixus-nav { order:3; flex:1 0 100%; flex-wrap:wrap; justify-content:center; } .v7-header .v7-header-cta, .pratixus-global-header .v7-header-cta, .pratixus-global-header .pratixus-header-cta { margin-left:auto; } }
@media(max-width:700px) { .v7-header .v7-header-inner, .pratixus-global-header .v7-header-inner, .pratixus-global-header .pratixus-header-inner { width:calc(100% - 24px); min-height:70px; } .v7-header .v7-nav, .pratixus-global-header .v7-nav, .pratixus-global-header .pratixus-nav { display:none; } .v7-header .v7-header-cta, .pratixus-global-header .v7-header-cta, .pratixus-global-header .pratixus-header-cta { width:auto; min-width:0; height:42px; min-height:42px; padding:0 13px; } }



/* PRATIXUS v10.15 — ensure the hamburger actually reveals the mobile nav.
   The legacy pages use #v7Nav { display:none !important }; the open state
   must have greater specificity than that ID-only rule. */
@media (max-width: 900px) {
  header.v7-header {
    position: relative !important;
    z-index: 1000;
  }
  header.v7-header #v7MenuBtn,
  header.v7-header .v7-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    z-index: 1002;
    cursor: pointer;
  }
  header.v7-header #v7Nav.v7-nav-open,
  header.v7-header nav#v7Nav.v7-nav.v7-nav-open {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 12px 20px 20px !important;
    margin: 0 !important;
    background: #0c1b2b !important;
    border-top: 1px solid rgba(245,185,66,.25) !important;
    border-bottom: 1px solid rgba(245,185,66,.45) !important;
    box-shadow: 0 16px 28px rgba(0,0,0,.35) !important;
    z-index: 1001 !important;
    white-space: normal !important;
  }
  header.v7-header #v7Nav.v7-nav-open a,
  header.v7-header nav#v7Nav.v7-nav.v7-nav-open a {
    display: block !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    padding: 12px 4px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}


/* PRATIXUS v10.16 — one mobile/tablet nav state across all pages */
@media (max-width: 900px) {
  header.v7-header #v7Nav,
  header.v7-header nav#v7Nav.v7-nav {
    display: none !important;
  }
  header.v7-header #v7Nav.v7-open,
  header.v7-header #v7Nav.v7-nav-open,
  header.v7-header nav#v7Nav.v7-nav.v7-open,
  header.v7-header nav#v7Nav.v7-nav.v7-nav-open {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 12px 20px 20px !important;
    margin: 0 !important;
    background: #0c1b2b !important;
    border-top: 1px solid rgba(245,185,66,.25) !important;
    border-bottom: 1px solid rgba(245,185,66,.45) !important;
    box-shadow: 0 16px 28px rgba(0,0,0,.35) !important;
    z-index: 1001 !important;
    white-space: normal !important;
  }
  header.v7-header #v7Nav.v7-open a,
  header.v7-header #v7Nav.v7-nav-open a {
    display: block !important;
    width: 100% !important;
    padding: 12px 4px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }
}


/* PRATIXUS v10.17 — shared nav final state for every interior page */
@media (max-width: 900px) {
  header.v7-header #v7MenuBtn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 1003 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  header.v7-header #v7Nav {
    display: none !important;
  }
  header.v7-header #v7Nav.v7-open,
  header.v7-header #v7Nav.v7-nav-open {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 12px 20px 20px !important;
    margin: 0 !important;
    background: #0c1b2b !important;
    border-top: 1px solid rgba(245,185,66,.25) !important;
    border-bottom: 1px solid rgba(245,185,66,.45) !important;
    box-shadow: 0 16px 28px rgba(0,0,0,.35) !important;
    z-index: 1002 !important;
    white-space: normal !important;
  }
  header.v7-header #v7Nav.v7-open a,
  header.v7-header #v7Nav.v7-nav-open a {
    display: block !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    padding: 12px 4px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }
}



/* PRATIXUS v10.18 — normalize desktop header on all pages.
   In particular, neutralize older page-local nav rules on Automotive Consulting.
   Active/current links must not change font metrics or spacing. */
@media (min-width: 1200px) {
  header.v7-header.pratixus-global-header .v7-header-inner {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) 180px !important;
    column-gap: 10px !important;
    align-items: center !important;
  }
  header.v7-header.pratixus-global-header #v7Nav.v7-nav {
    display: flex !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
  header.v7-header.pratixus-global-header #v7Nav.v7-nav a,
  header.v7-header.pratixus-global-header #v7Nav.v7-nav a[aria-current="page"],
  header.v7-header.pratixus-global-header #v7Nav.v7-nav a:hover,
  header.v7-header.pratixus-global-header #v7Nav.v7-nav a:focus-visible {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    padding: 5px 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    font-style: normal !important;
    line-height: 1.2 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
    white-space: nowrap !important;
    transform: none !important;
  }
  header.v7-header.pratixus-global-header #v7Nav.v7-nav a[aria-current="page"] {
    color: #f5b942 !important;
    text-decoration: underline !important;
    text-underline-offset: 5px !important;
  }
  header.v7-header.pratixus-global-header a.v7-header-cta {
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
    justify-self: end !important;
  }
}
