/* Lightweight, scoped client branding for partner portals.
   Keep selectors under .hp-client to avoid affecting legacy pages. */

.hp-client {
  font-family: var(--brand-font, inherit);
}

.hp-client-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.hp-client-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px;
  max-width: 1200px;
  margin:0 auto;
}

.hp-client-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: inherit;
  min-width: 200px;
}
.hp-client-brand img{
  height: 34px;
  width: auto;
  max-width: 180px;
  display:block;
}

.hp-client-title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.hp-client-title strong{
  font-size: 15px;
}
.hp-client-title span{
  font-size: 12px;
  opacity: .75;
}

.hp-client-nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
  flex:1;
}
.hp-client-nav a{
  text-decoration:none;
  font-size: 13px;
  padding:6px 8px;
  border-radius: 8px;
  color: inherit;
}
.hp-client-nav a:hover{
  background: rgba(0,0,0,.05);
}

.hp-client-actions{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.hp-client-link{
  font-size: 13px;
  text-decoration:none;
  color: var(--brand-primary, #111);
}
.hp-client-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  text-decoration:none;
  font-size: 13px;
  background: var(--brand-primary, #111);
  color: #fff;
}
.hp-client-btn:hover{ opacity:.92; }


.hp-client-footer{
  margin-top: 32px;
  border-top: 1px solid rgba(0,0,0,.08);
  background:#fff;
}
.hp-client-footer__inner{
  max-width: 1200px;
  margin:0 auto;
  padding: 22px 16px;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
.hp-client-footer h4{
  font-size: 14px;
  margin: 0 0 10px;
}
.hp-client-footer p,
.hp-client-footer a,
.hp-client-footer li{
  font-size: 13px;
}
.hp-client-footer a{ color: var(--brand-primary, #111); text-decoration:none; }
.hp-client-footer a:hover{ text-decoration:underline; }

.hp-client-branches ul,
.hp-client-links ul{
  list-style:none;
  padding:0;
  margin:0;
}
.hp-client-branches li,
.hp-client-links li{ margin: 0 0 6px; }

.hp-client-footer__bottom{
  max-width:1200px;
  margin:0 auto;
  padding: 10px 16px 18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:space-between;
  border-top: 1px solid rgba(0,0,0,.06);
  opacity:.85;
  font-size: 12px;
}

@media (max-width: 860px){
  .hp-client-header__inner{
    flex-wrap:wrap;
    justify-content:space-between;
  }
  .hp-client-nav{ order:3; flex-basis:100%; justify-content:flex-start; }
  .hp-client-footer__inner{ grid-template-columns: 1fr; }
}
