/* V43.1 — Stable desktop header, services link scrolls to #services.
   No dropdown, no overlay, no JavaScript dependency. */

@media (min-width:1101px){
  .site-header{
    position:sticky!important;
    top:0!important;
    z-index:5000!important;
    overflow:visible!important;
  }

  .site-header .nav{
    width:min(1360px,97%)!important;
    max-width:1360px!important;
    min-height:88px!important;
    height:88px!important;
    display:grid!important;
    grid-template-columns:190px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:18px!important;
  }

  .site-header .ms-brand{
    width:190px!important;
    min-width:190px!important;
    max-width:190px!important;
    gap:8px!important;
  }

  .site-header .ms-brand-mark,
  .site-header .ms-brand-mark img{
    width:58px!important;
    height:58px!important;
    max-width:58px!important;
    flex:0 0 58px!important;
  }

  .site-header .ms-brand-copy strong{
    font-size:15px!important;
  }

  .site-header .ms-brand-copy small{
    font-size:9.5px!important;
  }

  .site-header .ms-main-menu{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:18px!important;
    min-width:0!important;
    margin:0!important;
    padding:0 4px!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }

  .site-header .ms-main-menu > li{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
  }

  .site-header .ms-main-menu > li > a{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:44px!important;
    padding:10px 0!important;
    color:#142033!important;
    font:900 13px/1.3 'Cairo',Arial,sans-serif!important;
    white-space:nowrap!important;
    transition:color .2s ease!important;
  }

  .site-header .ms-main-menu > li > a:hover,
  .site-header .ms-main-menu > li > a.active{
    color:#009688!important;
  }

  .site-header .ms-main-menu > li > a::after{
    content:""!important;
    position:absolute!important;
    right:50%!important;
    bottom:3px!important;
    width:0!important;
    height:3px!important;
    transform:translateX(50%)!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,#009688,#2f7dd1)!important;
    transition:width .22s ease!important;
  }

  .site-header .ms-main-menu > li > a:hover::after,
  .site-header .ms-main-menu > li > a.active::after{
    width:100%!important;
  }

  .site-header .actions{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    white-space:nowrap!important;
  }

  .site-header .actions .btn-small{
    padding:9px 11px!important;
    font-size:12px!important;
    border-radius:12px!important;
  }

  #services{
    scroll-margin-top:110px!important;
  }
}

@media (min-width:1101px) and (max-width:1280px){
  .site-header .nav{
    width:98%!important;
    grid-template-columns:160px minmax(0,1fr) auto!important;
    gap:10px!important;
  }

  .site-header .ms-brand{
    width:160px!important;
    min-width:160px!important;
    max-width:160px!important;
  }

  .site-header .ms-brand-mark,
  .site-header .ms-brand-mark img{
    width:52px!important;
    height:52px!important;
    max-width:52px!important;
    flex-basis:52px!important;
  }

  .site-header .ms-brand-copy strong{
    font-size:13.5px!important;
  }

  .site-header .ms-brand-copy small{
    font-size:8.5px!important;
  }

  .site-header .ms-main-menu{
    gap:11px!important;
  }

  .site-header .ms-main-menu > li > a{
    font-size:11.5px!important;
  }

  .site-header .actions{
    gap:5px!important;
  }

  .site-header .actions .btn-small{
    padding:8px 8px!important;
    font-size:11px!important;
  }
}

@media (max-width:1100px){
  .site-header .ms-main-menu{
    display:none!important;
  }
}
