/* Doc On Call v39 — one stable header for the entire IT/EN site.
   Overrides only the global navigation, without touching content/CTAs outside it. */
header.site-header { width:100%; box-sizing:border-box; }
header.site-header .container.nav {
  box-sizing:border-box!important;
  width:min(calc(100% - 40px),1180px)!important;
  max-width:1180px!important;
  height:82px!important;
  min-height:82px!important;
  margin-inline:auto!important;
  padding:0!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
header.site-header .container.nav > .brand {
  box-sizing:border-box!important;
  width:230px!important;
  max-width:230px!important;
  flex:0 0 230px!important;
  min-width:0!important;
  height:52px!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:12px!important;
  zoom:1!important;
}
header.site-header .brand__logo {
  display:block!important;
  width:52px!important;
  height:52px!important;
  max-width:52px!important;
  flex:0 0 52px!important;
  object-fit:contain!important;
}
header.site-header .brand__wordmark {
  display:grid!important;
  width:166px!important;
  max-width:166px!important;
  min-width:0!important;
  line-height:1.1!important;
  gap:2px!important;
  overflow:hidden!important;
}
header.site-header .brand__wordmark strong {
  display:block!important;
  font-size:1.12rem!important;
  font-weight:800!important;
  line-height:1.12!important;
  white-space:nowrap!important;
}
header.site-header .brand__wordmark span {
  display:block!important;
  font-size:.68rem!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
header.site-header .nav__links {
  box-sizing:border-box!important;
  display:flex!important;
  position:static!important;
  flex:1 1 auto!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  gap:2px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
header.site-header .nav__links > a,
header.site-header .nav__links > .nav-item > button {
  box-sizing:border-box!important;
  flex:0 0 auto!important;
  width:auto!important;
  padding:10px 8px!important;
  font-size:.87rem!important;
  font-weight:700!important;
  line-height:1.3!important;
  white-space:nowrap!important;
}
header.site-header .nav__links > .nav-item { flex:0 0 auto!important; width:auto!important; }
header.site-header .nav__actions {
  box-sizing:border-box!important;
  display:flex!important;
  flex:0 0 auto!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  zoom:1!important;
}
header.site-header .nav__actions > .nav__phone { display:inline-flex!important; white-space:nowrap!important; font-size:.85rem!important; }
header.site-header .nav__actions > .dc-whatsapp-contact {
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex:0 0 172px!important;
  width:172px!important;
  min-width:172px!important;
  max-width:172px!important;
  height:48px!important;
  min-height:48px!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 8px!important;
  font-size:.82rem!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
header.site-header .nav__actions > .language-switch {
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex:0 0 118px!important;
  width:118px!important;
  min-width:118px!important;
  max-width:118px!important;
  min-height:44px!important;
  height:44px!important;
  padding:0 8px!important;
  font-size:.72rem!important;
  line-height:1!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  zoom:1!important;
}
header.site-header .nav__actions > .menu-toggle { display:none!important; }
@media (min-width:1101px) and (max-width:1279px) {
  header.site-header .nav__actions > .nav__phone { display:none!important; }
}
@media (max-width:1100px) {
  header.site-header .container.nav {
    width:min(calc(100% - 24px),1180px)!important;
    height:76px!important;
    min-height:76px!important;
    gap:8px!important;
  }
  header.site-header .container.nav > .brand {
    flex:0 1 auto!important;
    width:auto!important;
    max-width:none!important;
    height:44px!important;
    gap:8px!important;
  }
  header.site-header .brand__logo { width:40px!important; height:40px!important; max-width:40px!important; flex:0 0 40px!important; }
  header.site-header .brand__wordmark { width:auto!important; max-width:none!important; }
  header.site-header .brand__wordmark strong { font-size:16px!important; white-space:nowrap!important; }
  header.site-header .brand__wordmark span { display:none!important; }
  header.site-header .nav__actions {
    flex:0 0 auto!important;
    width:auto!important;
    margin-left:auto!important;
    gap:8px!important;
  }
  header.site-header .nav__actions > .nav__phone,
  header.site-header .nav__actions > .dc-whatsapp-contact,
  header.site-header .nav__actions > .btn { display:none!important; }
  header.site-header .nav__actions > .menu-toggle {
    box-sizing:border-box!important;
    display:inline-flex!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    flex:0 0 44px!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:0!important;
    border-radius:50%!important;
    zoom:1!important;
  }
  header.site-header .nav__actions > .language-switch {
    width:105px!important;
    min-width:105px!important;
    max-width:105px!important;
    flex:0 0 105px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 6px!important;
  }
  header.site-header .nav__links:not(.is-open) {display:none!important;}
  header.site-header .nav__links.is-open {
    box-sizing:border-box!important;
    position:absolute!important;
    z-index:200!important;
    left:12px!important;
    right:12px!important;
    top:calc(100% + 1px)!important;
    bottom:auto!important;
    display:grid!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    max-height:calc(100dvh - 110px)!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    gap:3px!important;
    padding:16px!important;
    margin:0!important;
    background:#fff!important;
    border:1px solid #dfe8ee!important;
    border-radius:16px!important;
    box-shadow:0 20px 45px #041f332e!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  header.site-header .nav__links.is-open > a,
  header.site-header .nav__links.is-open > .nav-item > button {width:100%!important;text-align:left!important;padding:12px 14px!important;white-space:normal!important;}
  header.site-header .nav__links.is-open > .nav-item {width:100%!important;}
  header.site-header .nav__links.is-open > .nav-item > button {display:flex!important;justify-content:space-between!important;}
  header.site-header .nav__links.is-open .services-dropdown {position:static!important;width:100%!important;max-width:none!important;box-shadow:none!important;}
}
@media (max-width:355px) {
  header.site-header .brand__logo {width:36px!important;height:36px!important;max-width:36px!important;flex-basis:36px!important;}
  header.site-header .brand__wordmark strong {font-size:15px!important;}
  header.site-header .nav__actions {gap:5px!important;}
  header.site-header .nav__actions > .language-switch {width:92px!important;min-width:92px!important;max-width:92px!important;flex-basis:92px!important;font-size:.65rem!important;}
}
/* Normalize the narrow notice strip above the navigation as well. */
body > .alert-bar { height:42px!important; min-height:42px!important; box-sizing:border-box!important; display:flex!important; align-items:center!important; }
body > .alert-bar .alert-bar__inner { height:42px!important; min-height:42px!important; box-sizing:border-box!important; align-items:center!important; }
header.site-header .nav__actions > .nav__phone > svg.icon { display:inline-block!important; width:18px!important; min-width:18px!important; max-width:18px!important; height:18px!important; flex:0 0 18px!important; }
/* Some old profile styles leave the services submenu in normal flow and blow up the header. */
header.site-header .nav-services { position:relative!important; }
header.site-header .nav-services > .services-dropdown {
  display:none!important;
  position:absolute!important;
  top:calc(100% + 8px)!important;
  left:0!important;
  z-index:210!important;
  width:420px!important;
  max-width:min(92vw,460px)!important;
  box-sizing:border-box!important;
  background:#fff!important;
  border-radius:16px!important;
  border:1px solid #e0e9ee!important;
  box-shadow:0 16px 36px #09263c22!important;
  padding:12px!important;
}
@media (min-width:1101px) {
  header.site-header .nav-services:hover > .services-dropdown,
  header.site-header .nav-services:focus-within > .services-dropdown,
  header.site-header .nav-services.is-open > .services-dropdown {display:grid!important;}
}
@media (max-width:1100px) {
  body > .alert-bar, body > .alert-bar .alert-bar__inner {height:48px!important;min-height:48px!important;}
  header.site-header .nav__links.is-open .nav-services > .services-dropdown {
    position:static!important;
    top:auto!important;
    left:auto!important;
    width:100%!important;
    max-width:none!important;
    border:0!important;
    background:#f4f8fa!important;
    border-radius:12px!important;
    box-shadow:none!important;
    margin-top:5px!important;
  }
  header.site-header .nav__links.is-open .nav-services.is-open > .services-dropdown {display:grid!important;}
}
