/* Shared Hardy Brothers header and logo treatment.
   Loaded after page-specific styles so all public pages share one brand treatment. */
:root {
  --hb-navy: #0b2454;
  --hb-blue: #2563eb;
  --hb-border: #e2e8f0;
}
header,
header.site-header,
header.guide-header {
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px 24px;
  padding:10px clamp(18px,5%,64px) !important;
  background:#fff !important;
  color:var(--hb-navy) !important;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 14px rgba(11,36,84,.12) !important;
}
header .logo,
header .brand,
header .guide-brand {
  display:inline-flex;
  flex:0 0 auto;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0;
  color:var(--hb-navy) !important;
  text-decoration:none !important;
  line-height:1;
  letter-spacing:normal;
  font-size:inherit;
  font-weight:inherit;
  white-space:nowrap;
}
header .logo-mark {
  display:block;
  width:clamp(104px,12vw,142px);
  height:27px;
  margin:0 0 1px;
}
header .logo-name {
  color:var(--hb-navy);
  font-size:clamp(1.15rem,2vw,1.55rem);
  line-height:1;
  font-weight:900;
  letter-spacing:-.045em;
  text-transform:uppercase;
}
header .logo-tag {
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:4px;
  color:var(--hb-navy);
  font-size:.65rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.28em;
  text-transform:uppercase;
}
header .logo-tag::before,
header .logo-tag::after {
  content:"";
  width:18px;
  height:2px;
  background:var(--hb-blue);
}
header nav,
header .guide-nav {
  display:flex !important;
  align-items:center;
  justify-content:center;
  flex:1 1 560px;
  flex-wrap:wrap;
  gap:7px 17px !important;
  min-width:0;
}
header nav a,
header .guide-nav a {
  color:var(--hb-navy) !important;
  text-decoration:none;
  font-size:.9rem;
  line-height:1.35;
  font-weight:650;
  white-space:nowrap;
  padding:6px 0;
  border-bottom:2px solid transparent;
  transition:color .18s ease,border-color .18s ease;
}
header nav a:hover,
header nav a[aria-current="page"],
header .guide-nav a:hover {
  color:var(--hb-blue) !important;
  border-bottom-color:var(--hb-blue);
}
header .header-phone,
header .phone {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:0 0 auto;
  background:var(--hb-navy) !important;
  color:#fff !important;
  padding:10px 17px;
  border:0;
  border-radius:999px;
  font-size:.98rem;
  line-height:1.25;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
header .header-phone:hover,
header .phone:hover {
  background:var(--hb-blue) !important;
  color:#fff !important;
}
header .header-right {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex:1 1 620px;
  flex-wrap:wrap;
  gap:12px 20px;
}
@media (max-width:1100px) {
  header,
  header.site-header,
  header.guide-header {
    justify-content:center;
  }
  header .header-right {
    justify-content:center;
    flex-basis:100%;
  }
  header nav,
  header .guide-nav {
    flex-basis:100%;
  }
}
@media (max-width:640px) {
  header,
  header.site-header,
  header.guide-header {
    gap:10px;
    padding:9px 12px !important;
  }
  header nav,
  header .guide-nav {
    gap:5px 12px !important;
  }
  header nav a,
  header .guide-nav a {
    font-size:.8rem;
    padding:5px 0;
  }
  header .header-phone,
  header .phone {
    padding:9px 14px;
    font-size:.9rem;
  }
}
