/* Single source of truth for the desktop primary header. */
@media (min-width: 651px) {
  .site-header {
    position: fixed !important;
    inset: 0 0 auto !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 78px !important;
    margin: 0 !important;
    padding: 10px clamp(22px, 5vw, 76px) !important;
    gap: clamp(18px, 3vw, 40px) !important;
    background: rgba(13, 27, 37, .28) !important;
    color: #fff !important;
  }

  .site-header .brand {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    gap: 10px !important;
    min-width: 190px !important;
  }

  .site-header .brand img {
    display: block !important;
    width: 58px !important;
    height: 49px !important;
    object-fit: contain !important;
  }

  .site-header .brand span {
    display: block !important;
    font-size: 15px !important;
    line-height: 1.05 !important;
  }

  .site-header .nav {
    display: flex !important;
    align-items: center !important;
    gap: clamp(15px, 2vw, 27px) !important;
    margin-left: auto !important;
  }

  .site-header .header-actions {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    gap: 10px !important;
  }

  .site-header .header-phone {
    white-space: nowrap !important;
  }

  .site-header .header-cta,
  .site-header .header-certificate {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    min-height: 42px !important;
    white-space: nowrap !important;
  }

  .site-header.is-compact {
    min-height: 64px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    background: rgba(13, 27, 37, .92) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .18) !important;
  }

  .site-header.is-compact .brand img {
    width: 39px !important;
    height: 34px !important;
  }
}

@media (max-width: 1050px) and (min-width: 651px) {
  .site-header .nav,
  .site-header .header-actions { display: none !important; }
  .site-header .menu-button { display: block !important; margin-left: auto !important; }
}
